Abstract
Scene Graph Generation (SGG) aims to parse images into structured representations where nodes represent objects and edges represent their relationships. Traditional methods often struggle with the mutual dependency between object identification and relationship prediction. We present the Relation Regularized Network (R2-Net), which addresses this by explicitly modeling object relationships through an affinity matrix and refining features using Graph Convolutional Networks (GCNs). By capturing relational context, R2-Net achieves state-of-the-art performance on the Visual Genome dataset.
Introduction
The task of Scene Graph Generation is pivotal for bridging computer vision and natural language understanding. While standard object detectors like Faster R-CNN excel at localization, they typically treat objects as independent entities. R2-Net introduces a framework to exploit the structural links between pairs of objects—the relational context—to improve both object classification and relationship predicate prediction.
Methodology: The R2-Net Architecture
The R2-Net operates in two primary stages following an initial object detection phase, as illustrated in the architecture diagram below.
Stage I: Object Label Refiner
In this stage, the model refines initial object detections using a Relation Regularized Label Encoder. It constructs an Affinity Matrix that estimates the likelihood of a relationship existing between any two detected objects. A GCN then propagates information across these potential links, allowing the features of related objects to inform one another. This process is supplemented by a Bi-LSTM to capture global scene context, resulting in more accurate object labels.
Stage II: Object Relationship Generator
Building on the refined labels from Stage I, a second Relation Regularized Encoder further updates object features. Finally, a Relationship Decoder utilizes these "relation-aware" features to predict specific semantic predicates (e.g., "standing on," "holding") for each pair of objects.
Key Insights
- Relational Context as a Feature: The core innovation is that the existence of a link is a powerful prior. For instance, if a "riding" relationship is detected, the subject is highly likely to be a "person" and the object a "horse" or "bicycle."
- Symmetric Affinity: Initial stages treat "relatedness" as a symmetric property to simplify the graph structure before determining directional, semantic predicates.
- Multi-task Learning: The model is trained with a specialized "relation regularized loss" to ensure the affinity matrices accurately reflect ground-truth connectivity.
Experimental Evaluation
R2-Net was evaluated on the Visual Genome dataset using three standard tasks: Predicate Classification (PREDCLS), Scene Graph Classification (SGCLS), and Scene Graph Detection (SGDET).
- Performance Gains: R2-Net achieved state-of-the-art results, notably reaching a Recall@50 of 37.5% on the SGCLS task, outperforming the Motifnet baseline (35.8%).
- Ablation Studies: Removing the GCN components or the label refiner led to significant performance drops (e.g., a 6.6% decrease in R@20 for SGCLS), validating the importance of relational regularization.
- Qualitative Success: The model successfully predicted relationships not present in ground-truth annotations, such as identifying a "handle" on a "pot," demonstrating its ability to generalize visual common sense.
Conclusion
R2-Net demonstrates that explicitly modeling the probability of relationships significantly enhances scene graph quality. While the model faces challenges regarding computational complexity and dependency on the initial detector's performance, it provides a robust framework for capturing complex visual relationships. Future work may focus on addressing the long-tail distribution of relationship predicates and optimizing the multi-stage architecture.
Summary updated