Introduction
Image Scene Graph Generation (SGG) is a critical task in computer vision that goes beyond simple object detection. While standard detection identifies "what" and "where," SGG aims to understand the attributes of objects and the semantic relationships between them (e.g., "man riding horse" or "cup on table"). Despite its importance, the field has been hampered by fragmented codebases, rigid architectures that tightly couple detection and relationship prediction, and inconsistent evaluation metrics. Microsoft researchers have addressed these challenges by releasing a comprehensive, modular SGG benchmark that unifies popular models and datasets under a single framework.
Methods and Architecture
The benchmark is built upon the well-established maskrcnn-benchmark and integrates five state-of-the-art SGG algorithms: IMP, MSDN, GRCNN, Neural Motif (NM), and RelDN.
A primary methodological contribution is the Decoupled SGG Model architecture. Traditionally, SGG models use a single "backbone" (like a ResNet) to extract features for both object detection and relationship prediction. The researchers propose a decoupled approach where the relationship module can either have its own backbone or receive pre-computed bounding boxes and labels from an independent, high-performance object detector. This allows for much greater architectural flexibility and independent optimization of components.
Additionally, the framework implements a fast and portable dataset format (TSV) and provides a pipeline for extracting features to be used in downstream tasks like image captioning or visual question answering.
Datasets
The benchmark supports the two most prominent datasets in the field:
- Visual Genome (VG): The standard academic testbed, featuring 150 object classes and 50 relation categories.
- Open Images (OI) Visual Relationship Detection: A large-scale public benchmark with 57 object classes and 9 relationship types, known for its challenging scale and class imbalance.
Key Insights and Analysis
- Decoupling is Superior: The authors found that joint training often leads to sub-optimal results because gradients from the relationship task can interfere with the object detection task. By decoupling them, the relationship module can focus entirely on semantics while leveraging the best available detectors.
- The "Refinement" Trap: Many SGG models attempt to "refine" object labels during the relationship prediction phase. Ablation studies show that this actually hurts performance; it is more effective to trust the raw outputs of a high-quality, pre-trained detector.
- The Frequency Barrier: A simple "Frequency + Overlap" baseline—which predicts relationships based on training data statistics for specific object pairs—is surprisingly competitive. This suggests that many current SGG models rely more on language priors (e.g., "people usually wear clothes") than on actual visual reasoning.
- Error Sources: Analysis shows that the majority of SGG errors stem from the initial object detection stage, followed by the relationship proposal stage.
Key Results
The benchmark provides a clear leaderboard across different models. RelDN emerged as the top performer on both datasets. On the Open Images benchmark, RelDN achieved a comprehensive score of 51.08, significantly outperforming other popular methods like Neural Motif (39.48).
In ablation studies, the decoupled architecture consistently outperformed the coupled version. For instance, on the Open Images dataset, the decoupled model achieved a Recall@50 of 75.40, compared to just 66.47 for a fully trained coupled model.
Conclusion and Future Work
While the decoupled architecture provides significant performance gains, models are still heavily bottlenecked by frequency priors. Current SGG methods struggle to move beyond dataset statistics to perform true visual relationship reasoning. Future work should focus on developing models that can better utilize visual signals to distinguish between common and rare relationships, especially in "long-tail" scenarios where certain relationships are rarely seen during training.
Summary updated