wikillm

Concept · 4 papers · updated 2026-11-01

Scene graph generation

Detect the objects in an image and predict a relation for each pair: a subject-predicate-object triplet, or a blocking dependency for bin picking. Image methods fall into CRF, TransE, CNN, RNN/LSTM, GNN, one-stage message-passing and query-graph families. Predicates are long-tailed, so compare mean recall per predicate. Robot papers use their own tasks and cannot be ranked against VG150.

scene-graphvisual-relationship-detectioninteraction-graphgrasp-planning

Markdown11 min read

AI-compiled overview, updated 2026-11-01, not yet reviewed by a human. Every claim cites its source; check it when a detail matters.

Overview

A scene graph is a graph built from an image. Each detected object is a node with a category, and each relation is a directed edge that becomes a subject-predicate-object triplet 2104.01111 §1.1 2104.01111 eq. 1. Scene graph generation (SGG) is the task of producing that graph from pixels.

The invariant every image-based variant keeps: objects are found first, then a predicate is decided for each ordered pair of objects, and pairs without a real relation are dropped 2104.01111 §1.2. The variants differ in how object and relation decisions share information. Most recent methods model the two jointly through context rather than independently 2104.01111 §2.6.

A second kind of variant does not classify predicates at all. It builds an interaction graph from tracked hand and object positions in human video, with edges set by thresholds on signal statistics 2508.05342 §3.2. See the last variant below.

Relations are unevenly distributed. Common predicates dominate the annotations, and rare ones are many and hard to learn, so a model that only fits frequent predicates scores well on plain recall and poorly on the rare ones 2104.01111 §4 2104.01111 §6.2.

Variants

Bottom-up, two-stage pipeline

Detect boxes, label the objects, then predict predicates for the detected pairs. The joint probability factorises into a box term, an object term given the boxes, and a relation term given boxes and objects 2104.01111 §1.2 2104.01111 eq. 7. Card: A Comprehensive Survey of Scene Graphs: Generation and Application.

Top-down, joint pipeline

Detect boxes, then infer objects and relations together from the box proposals 2104.01111 §1.2 2104.01111 eq. 8. Card: A Comprehensive Survey of Scene Graphs: Generation and Application.

One-stage message passing with priority-aware loss (GPS-Net)

Faster R-CNN proposals and their features form the nodes of a graph. Direction- aware message passing scores each ordered pair with a tri-linear model over the subject, object and union features, and sends each neighbour's feature along both directions of the pair 2003.12962 §3.1 2003.12962 eq. 3-4. A node-priority loss gives each object a focusing parameter from its share of the ground-truth triplets, capped at 2 2003.12962 §3.2 2003.12962 eq. 6-8. The predicate head adds a softened class-pair frequency prior, gated per pair by the union feature 2003.12962 §3.3 2003.12962 eq. 9-10. The paper describes the detector and the graph as one network trained jointly 2003.12962 §3. Card: GPS-Net: Graph Property Sensing Network for Scene Graph Generation. Its own ablation on VG adds each part to a baseline; the message-passing part gives the largest single gain in SGCls R@100 2003.12962 tab. 5.

Dense graph over detector queries (DETR-style)

Keep a DETR-style detector, then take its N object queries as graph nodes. A dense graph transformer updates node and edge features over all N x N pairs, and the edge read-out gives one relation logit per ordered pair 2409.02035 §4.1 2409.02035 §4.2. Training matches queries to ground-truth objects with Hungarian matching, then applies a binary cross-entropy loss to the relations of the matched queries only 2409.02035 §4.3 2409.02035 eq. 5-9. The target is dependency between objects in a bin: which one must come out first. Compared with object-pair pooling, which crops the feature map over the union of two boxes, this variant pairs query embeddings instead 2409.02035 §1. Card: A Modern Take on Visual Relationship Reasoning for Grasp Planning.

Model families

The survey describes five families. It does not rank them.

The survey does not cover the one-stage message-passing variant above, so it has no family label for it here.

Add-on: prior knowledge

Language priors, statistical priors from how annotated objects co-occur, and knowledge graphs. The survey suggests these help rare relations most 2104.01111 §3 2104.01111 §3.1 2104.01111 §3.2 2104.01111 §3.3. The frequency prior in the one-stage variant above is of the statistical kind: class-pair counts from the training annotations, softened and then gated per pair 2003.12962 §3.3.

Add-on: long-tailed predicates

Zero-, one- and few-shot learning, causal debiasing, and an energy-based loss over joint object and relation likelihood 2104.01111 §4. See long-tailed recognition. A per-node focusing term is a related idea: a focal-style loss whose focusing parameter depends on the node's role in the graph 2003.12962 §3.2. See focal loss.

Interaction graph from human video (rule-based edges)

Nodes are the two hands and the tracked objects. Each hand-object edge is labelled Coupled-Motion (the hand moves the object) or Docked, and each object-object edge is labelled E-OO (task-relevant) or T-OO (transitory). The labels come from distance gates and from the entropy and mutual information of the position signals, not from a learned predicate classifier 2508.05342 §3.2.1 2508.05342 §3.2.2 2508.05342 eq. 1 2508.05342 eq. 3. The edge thresholds are only partly stated: the distance gates are 0.15 m and 0.2 m, and the two MI thresholds are not 2508.05342 §5.1. The graph feeds a vision-language-action planner, see Information-Theoretic Graph Fusion with Vision-Language-Action Model for Policy Reasoning and Dual Robotic Control and vision-language-action model. Its graph accuracy is measured against the authors' own annotations on their own block-assembly video, not on a scene-graph benchmark 2508.05342 §6.1 2508.05342 eq. 9.

When to use which

The survey gives no single recommendation. The table follows the stated constraints and reported results of the cited papers.

SituationUseWhy
Rare relations matter for your task, not only "on" or "has"Add prior knowledge or a long-tail method, and report mR@KPrior knowledge is said to help rare relations most 2104.01111 §3. Among the methods the survey investigated, the energy-based loss gives the best mR@K 2104.01111 §6.2. The survey does not include GPS-Net, so that ranking does not cover it.
Single-stage training with the detector, and you want a predicate-level mean recall gain on VG150One-stage message passing with priority-aware loss (GPS-Net)Its own table gives 22.8 PredCls mR@100 against 19.4 for VCTree-HL, with the same detector family 2003.12962 tab. 2. Author-reported, and its ablation covers only its own setup 2003.12962 tab. 5. The GPS-Net card records that the released code is partial.
Few labelled examples of rare predicatesZero-, one- or few-shot approachesNamed as the way to handle rare object-predicate combinations 2104.01111 §4. The survey reports no numbers for them.
You want to test relation reasoning without detection errorsPredicate classification (PredCls) or scene graph classification (SGCls)In SGCls the boxes are given and only labels are predicted; PredCls gives boxes and labels 2104.01111 §6.2.
You need a system that starts from pixelsScene graph detection (SGDet)Nothing is given. In the survey's table, every method that gives both numbers has lower SGDet R@100 than SGCls R@100 2104.01111 tab. 2.
Input is RGB-D video of hands manipulating objects, and you need who touches what over timeInteraction graph with rule-based edgesIt labels hand-object and object-object links per frame without a predicate classifier 2508.05342 §3.2. Its MI thresholds are not stated, and it was tested on one block-assembly setup 2508.05342 §5.1 2508.05342 §6.1.
Dense clutter where dependencies set the picking order, and you can train a detector with query outputsDense graph over detector queriesReports the best AP_rel on each synthetic split and on synth-to-real, against the object-pair baselines it compares with 2409.02035 tab. 3. Its synth-to-real OR and OP are unstable, since no validation set exists to tune the score threshold 2409.02035 §6.3. Memory grows with N squared per graph layer; the paper's efficiency claim is about compute 2409.02035 §4.2.
Downstream use is captioning, retrieval, question answering or 3D roomsPick the family by your constraints, then check its evaluation setupThe survey lists these applications 2104.01111 §5 but does not rank families for them.
You need a reproducible implementationStart from the original paper of your chosen familyThe survey links no official code 2104.01111 §1 2104.01111 §6. Only GPS-Net and the two robot papers have cards here; the original works of the other families do not.

Reported numbers from the survey, author-reported on VG150 with graph constraints. Units are not stated in the table. Dashes mean no value in the source table 2104.01111 tab. 2:

Method (family or add-on)PredCls mR@100SGCls R@100SGDet R@100
IMP (RNN/LSTM)8.024.44.2
MotifNet (RNN/LSTM, statistical prior)15.336.530.3
VCTree-HL (RNN/LSTM)19.438.831.3
GB-Net (knowledge graph)20.938.830.0
ResCAGCN + PUM (statistical prior)22.039.031.3
VCTree-TDE, energy-based loss29.97--
BGT-Net (RNN/LSTM)-47.137.3
DG-PGNN (knowledge graph)-40.833.1

The energy-based loss row also lists SGCls mR@100 of 20.45 and SGDet mR@100 of 11.6 2104.01111 tab. 2.

GPS-Net's own VG table compares it with methods that use the Neural Motifs detector (marked ◇ there), and with RelDN's backbone (‡). Its "Mean" column is an average of recall values, not of mean recall; the same column in the GPS-Net table therefore does not measure mR. Values below are author-reported 2003.12962 tab. 1 2003.12962 tab. 2:

MethodDetectorPredCls R@100SGCls R@100SGDet R@100PredCls mR@100SGCls mR@100SGDet mR@100
IMP ◇Motifs61.335.424.510.56.04.8
MOTIFS ◇Motifs67.136.530.315.38.26.6
KERN ◇Motifs67.637.429.819.210.07.3
VCTREE-HL ◇Motifs68.138.831.319.410.88.0
RelDN ‡RelDN68.436.832.7---
GPS-Net ◇Motifs68.840.131.722.812.69.8
GPS-Net ‡RelDN69.742.333.2---

Other results in the same paper, also against RelDN with the same detector: on OpenImages the score_wtd is 47.03 against 44.61 2003.12962 tab. 3, and on VRD with a COCO backbone the relation R@50 is 27.8 against 25.3 2003.12962 tab. 4. Its ablation on VG reports PredCls R@100 of 67.3 for the baseline and 68.8 for the full model, and SGCls R@100 of 36.3 and 40.1 2003.12962 tab. 5.

Implementation sketch

The bottom-up pipeline is the common core. Each variant changes the boxes, the features or the predicate head. The sketch shows only that core.

Pseudocode
# Bottom-up scene graph generation  [arxiv:2104.01111 §1.2] [eq. 7]
# Input:  image I
# Output: boxes, object labels, and a predicate for each kept pair

def scene_graph(image):
    # 1. Propose boxes and per-box features  [arxiv:2104.01111 §1.2]
    boxes, feats = detector(image)                # feats: (n, d)

    # 2. Label each object  [arxiv:2104.01111 §1.2] [eq. 7]
    labels = classify_objects(feats)              # one class per box

    # 3. Score a predicate for every ordered pair  [arxiv:2104.01111 §1.2]
    for i, j in ordered_pairs(boxes):             # i != j
        rel[i, j] = predicate_head(feats[i], feats[j], labels[i], labels[j])

    # 4. Keep pairs that carry a real relation  [arxiv:2104.01111 §1.1]
    return boxes, labels, drop_background(rel)

Where variants differ: a top-down model replaces steps 2 and 3 with one joint step over the proposals 2104.01111 eq. 8. A dense query-graph model keeps the detector heads, feeds its N query embeddings into a graph transformer, and reads one relation logit per ordered pair 2409.02035 §4.2. A GNN or RNN variant replaces the independent pair scores with messages passed along the graph 2104.01111 §2.4 2104.01111 §2.5. The one-stage message-passing variant adds direction- aware messages before the pair head and a per-node focusing term to the object loss 2003.12962 §3.1 2003.12962 §3.2. Prior-knowledge and long-tail methods add terms to the predicate head 2104.01111 §3 2104.01111 §4. The interaction-graph variant has no predicate head: its edges come from threshold rules on hand and object signals 2508.05342 §3.2.1.

Contradictions

Numbers in the tables above come from different papers, not from one controlled experiment. Each row reflects its own backbone, training split and evaluation details, and the survey says its table is not a ranking 2104.01111 §6.2 2104.01111 tab. 2. Other disagreements matter when comparing papers:

  • The same baseline has different numbers in two papers. The survey lists IMP with PredCls R@100 53.0, SGCls R@100 24.4 and SGDet R@100 4.2 2104.01111 tab. 2. GPS-Net lists its IMP row, marked as using the Neural Motifs detector, with 61.3, 35.4 and 24.5 2003.12962 tab. 1. Neither card says which protocol the other paper used, so the two rows are not interchangeable.
  • Recall and mean recall can rank methods differently. A method can have high R@K and low mR@K, because frequent predicates dominate R@K 2104.01111 §6.2. GPS-Net's "Mean" column averages recall values, so it is not a mean-recall measure 2003.12962 tab. 1.
  • Graph constraint changes R@K. Some papers allow one predicate per object pair, others allow several 2104.01111 §6.2. The two sets of numbers are not comparable.
  • Interaction-graph and D3GD numbers are not comparable to VG150. The GF-VLA graph scores (GRA 98.5%, 97.2% and 96.8%) are on the authors' own videos and annotations, and no VG150 predicate metric is reported for them 2508.05342 §6.1 2104.01111 tab. 2. The D3GD AP_rel values are on MetaGraspNetV2 bin scenes with dependency labels 2409.02035 §3 2409.02035 §5.
  • The Docked rule is stated two ways. The text gives both "Docked if MI is falling and below a threshold, or already Docked" and "Docked may only follow Coupled-Motion" 2508.05342 §3.2.1. No statement of which reading the reported results used was found in the card.
  • Dataset size disagrees within the survey. The text says VrR-VG keeps the top 500 relationships, while its dataset table lists 117 relationship categories 2104.01111 §6.1 2104.01111 tab. 1. Check the original release before relying on either number.
  • Loss scale: paper and code differ. Eq. 9 sums the BCE over all P x P pairs. The released code takes a mean and rescales it by the number of matched nodes, so its magnitude differs from the equation 2409.02035 eq. 9 2409.02035 §4.3.
  • Softmax axis: paper and code differ. The paper says column-wise softmax. The code takes softmax over the first node index 2409.02035 §4.2.
  • One Easy number, two values. The D3G (DETR) synthetic-easy AP_rel is 76.27 in the main table and 76.77 in the design-choice table for the same configuration 2409.02035 tab. 3 2409.02035 tab. 5. Treat it as uncertain.

Papers

Source and license

Compiled from the papers listed on this page, all published under CC BY, CC BY-SA or CC0, with citations. See each paper's page for its authors and license.