Abstract
Scene Graph Generation (SGG) aims to identify objects and their semantic relationships within images. Traditional approaches often treat relationship classification as a "flat" task, ignoring the complex contextual and hierarchical structures inherent in real-world interactions. This leads to two primary issues: high intra-class variation and a long-tailed distribution of predicates. We introduce HOSE-Net, a framework that embeds higher-order structural information into the model. By employing dynamic classifiers tailored to specific subject-object pairs and a hierarchical aggregation strategy, HOSE-Net significantly improves relationship detection, achieving state-of-the-art results on major benchmarks.
Introduction
Scene Graph Generation is a critical task for deep visual understanding, bridging the gap between perception and reasoning. A scene graph represents an image as a set of objects (nodes) connected by their relationships (edges), such as <man-riding-horse>.
Despite recent progress, standard SGG models struggle with the "unstructured output space" problem. They typically use a single, static classifier for a relationship label (e.g., "on"), regardless of whether the context involves a dog on a chair or a vase on a table. This lack of structure fails to account for the diverse visual manifestations of the same semantic relationship.
The Challenges of SGG
The authors identify two major hurdles stemming from an unstructured output space:
- Intra-class Variation: The visual appearance of a relationship is heavily dependent on the objects involved. As shown in the figure below, the relationship "on" or "in" looks vastly different across different contexts (e.g., flowers in a vase vs. a man on a chair). A generic classifier struggles to map these disparate visual features to the same label.
- Long-tailed Distribution: Predicates like "on" or "near" dominate the dataset, while more descriptive relationships like "parked on" or "hanging from" are rare. Standard deep learning models tend to overfit the frequent classes and ignore the "tail" of the distribution.
Methodology: HOSE-Net
HOSE-Net addresses these challenges by injecting structure into the learning process through two key modules:
Structure-aware Embedding-to-Classifier (SEC)
Instead of a static weight matrix for each relationship, the SEC module generates dynamic classifiers. It maps subject and object labels into context embeddings, which are refined via a Graph Convolutional Network (GCN) based on statistical co-occurrence. These embeddings are then used to synthesize a unique classifier for every specific subject-object pair, allowing the model to adapt to the local context.
Hierarchical Semantic Aggregation (HSA)
To prevent data sparsity when creating unique classifiers for every pair, the HSA module clusters objects into a semantic hierarchy. This clustering is based on "behavioral similarity"—how objects typically interact with others—rather than just visual appearance. For instance, "car" and "bus" are grouped because they share similar relational patterns (e.g., "on-street"). This allows the model to share knowledge across similar contexts, bolstering performance on rare relationships.
Experimental Results
HOSE-Net was evaluated on the Visual Genome (VG) and Visual Relationship Detection (VRD) datasets.
On the Visual Genome Predicate Classification (PRDCLS) task, HOSE-Net achieved a 69.2% Recall@100, surpassing previous state-of-the-art models like MotifNet (67.1%) and KERN (67.6%). Ablation studies confirmed that the HSA module effectively balances model complexity and performance, with an optimal clustering of 40 groups. Qualitatively, the HSA module successfully discovered intuitive hierarchies (e.g., grouping various types of clothing or vehicles) purely from relationship data, without manual linguistic supervision.
Conclusion
HOSE-Net demonstrates that structuring the output space is as vital as refining input features in SGG. By making classifiers context-dependent and leveraging behavioral hierarchies, the model effectively handles intra-class variation and the long-tail problem. Future work may involve integrating external linguistic knowledge to further refine the discovered semantic structures and addressing the persistent challenge of zero-shot relationship detection.
Summary updated