Abstract
Traditional Scene Graph Generation (SGG) is limited by fixed vocabularies for objects and relationships, hindering its utility in real-world, open-ended environments. This paper introduces OvSGTR (Open-vocabulary Scene Graph TRansformer), a framework designed to achieve "fully" open-vocabulary SGG. By aligning visual features with rich text embeddings and utilizing a visual-concept retention strategy, OvSGTR can identify objects and relationships unseen during supervised training. Experimental results on the VG150 benchmark demonstrate that OvSGTR significantly outperforms existing methods, particularly in recognizing novel relationships where previous models struggled to achieve non-zero performance.
Introduction: Breaking the Closed-Set Barrier
Scene Graph Generation (SGG) aims to transform images into structured graphs where nodes represent objects and edges represent their semantic relationships. While Open-Vocabulary Detection (OvD) has seen significant progress in identifying arbitrary objects, SGG has remained largely confined to a "closed-set" paradigm. Most existing models are restricted to a narrow, predefined vocabulary of relationships (e.g., "sitting on," "standing in"), failing to generalize to more descriptive or rare interactions like "racing" or "wearing."
The authors identify two primary challenges in expanding SGG boundaries: the scarcity of human-annotated data for diverse relationships and the issue of "catastrophic forgetting," where fine-tuning on specific datasets causes models to lose the broad semantic knowledge acquired during pre-training. To address these, the paper proposes a taxonomy of four SGG scenarios: Closed-set, OvD-SGG (novel objects), OvR-SGG (novel relationships), and the most challenging OvD+R-SGG (novel objects and relationships).
Methods: The OvSGTR Framework
OvSGTR is an end-to-end architecture built on the Detection Transformer (DETR) philosophy. It moves away from standard classification heads in favor of a multi-modal alignment approach.
Visual-Concept Alignment
Instead of treating labels as discrete indices, OvSGTR maps visual features of both objects and relationships into a shared mathematical space with text embeddings generated by a frozen BERT encoder. Classification is performed by calculating the similarity between visual features and text labels, allowing the model to recognize any concept present in the embedding space.
Weakly-Supervised Pre-training and Retention
To overcome data scarcity, the model is pre-trained on large-scale image-caption pairs (COCO, Flickr30k, SBU). A language parser extracts (subject, relation, object) triplets from these captions to provide a broad, albeit noisy, training signal. To prevent catastrophic forgetting during subsequent fine-tuning, the authors implement Visual-Concept Retention. This knowledge distillation strategy uses a teacher model (pre-trained on broad captions) to guide the student model, ensuring it retains the ability to recognize novel concepts while learning the specifics of the target SGG dataset.
Key Results and Insights
OvSGTR was evaluated on the VG150 benchmark, achieving state-of-the-art performance across all open-vocabulary settings:
- Novel Objects (OvD-SGG): The model outperformed previous benchmarks by nearly 20% in Recall@100 for unseen object categories.
- Novel Relationships (OvR-SGG): This is the most significant breakthrough; while prior models typically achieved 0% recall on novel relationships, OvSGTR reached 16.19% Recall@100.
- Efficiency: The model is highly efficient, with a faster inference time (0.13s per image) and fewer trainable parameters (41M) than many traditional closed-set architectures.
The researchers found that the "Retention" strategy is critical; without it, performance on novel relationships drops precipitously, proving that maintaining the integrity of the pre-trained semantic space is vital for open-vocabulary generalization.
Conclusion and Future Work
OvSGTR represents a major step toward fully open-vocabulary scene understanding. By shifting from fixed classifiers to visual-text alignment and employing distillation to preserve semantic knowledge, it breaks the long-standing limitations of closed-set SGG. Future work may involve integrating Large Language Models (LLMs) to replace simple parsers for more accurate triplet extraction and further closing the performance gap between base and novel categories.
Summary updated