Introduction
Training models for Visual Relationship Detection (VRD)—identifying triplets like (subject, predicate, object)—traditionally requires exhaustive and expensive annotations. While object detection has matured, detecting interactions remains a significant challenge due to the combinatorial explosion of possible relationships. For instance, a dataset with 100 object categories and 70 predicates yields 700,000 potential interactions. This paper addresses the data bottleneck by proposing a method to learn these relations using only image-level predicate labels (e.g., knowing the word "riding" applies to an image), the weakest form of supervision used for this task to date.
Methodology
The authors decompose the problem into a multi-stage pipeline that transitions from coarse image-level labels to fine-grained spatial detections:
- Object Detection: A pre-trained Faster R-CNN identifies potential objects within the image.
- Graph Construction: The image is represented as a fully-connected graph where nodes represent detected objects (encoded with visual and spatial features) and edges represent potential relationships.
- Predicate Classification: A Graph Neural Network (GNN) is trained to predict image-level predicates. The architecture is designed with an inductive bias for pairwise relations, learning to aggregate information across edges.
- Explanation via Sensitivity Analysis: To localize the relationship, the authors perform a backward pass to calculate the gradient of the GNN's prediction with respect to the graph's nodes and edges. This "explanation" identifies the specific subject-object pair most responsible for the predicted predicate.
- Directional Prior: To resolve the inherent ambiguity of predicate-only labels (e.g., distinguishing "person eats apple" from "apple eats person"), a frequency-based prior is employed to determine the direction of the relationship.
Key Insights and Ideas
Graphs vs. Pixels for Explanations
Traditional explanation methods, such as Grad-CAM, often produce blurry pixel-level heatmaps that are difficult to map back to specific objects. By performing explanations on a discretized graph structure, the "heatmap" naturally identifies specific object pairs, making it significantly easier to recover clean triplets.
Inductive Bias and Supervision
By forcing the model to process data through a graph structure that mimics the structure of relationships, the model learns to focus on pairs of objects even without explicit triplet labels. However, the authors note a fundamental "direction-blindness" in predicate-only supervision, necessitating the use of semantic or frequency-based priors to disambiguate the flow of interaction.
Experimental Results
The method was evaluated on three benchmarks: HICO-DET (Human-Object Interaction), VRD (Generic relations), and UnRel (Unusual triplets).
- HICO-DET: The model achieved a Mean Average Precision (mAP) of 28.04, outperforming several fully-supervised baselines (e.g., the "Analogies" method at 19.40).
- VRD: The model reached a Recall@100 of 13.2, performing remarkably close to weakly-supervised methods that utilized full triplet labels (15.3).
- Zero-Shot Generalization: On the UnRel dataset, the model demonstrated a strong ability to detect "unseen" or rare relationships (e.g., "person riding dog"), proving that independent predicate learning generalizes better than joint triplet learning.
Conclusion
This research demonstrates that high-quality visual relationship detection is possible with minimal supervision. By leveraging the structured nature of graphs and the interpretability of sensitivity analysis, the model effectively bridges the gap between image-level concepts and spatial localizations. Future work aims to replace frequency-based directional priors with more principled approaches, such as natural language embeddings or small subsets of unlocalized triplet data.
Summary updated