Abstract
Scene Graph Generation (SGG) is a critical task for high-level image understanding, yet it is plagued by the extreme long-tail distribution of relationship predicates. Standard models often default to frequent but uninformative labels like "on" or "near," failing to capture the nuanced interactions that define a scene. We propose the Knowledge-Embedded Routing Network (KERN), which addresses this challenge by integrating structured statistical priors into a deep learning framework. KERN explicitly models the correlations between objects and relationships, effectively regularizing the semantic search space and significantly improving performance on rare relationship categories.
Introduction
The goal of Scene Graph Generation is to transform an image into a structured graph where nodes represent objects and edges represent their semantic relationships. While object detection has matured, predicting relationships remains difficult due to the "long-tail" nature of real-world data. In datasets like Visual Genome, a few common predicates appear thousands of times, while hundreds of others appear only sparingly. Consequently, models trained on this data tend to be biased toward frequent labels, resulting in "boring" scene graphs. KERN mitigates this by moving beyond purely data-driven learning, instead leveraging the inherent statistical regularities of the world as a guiding prior.
Methodology
KERN decomposes the SGG task into a multi-stage routing process that incorporates external knowledge at both the object and relationship levels.
1. Object Localization and Feature Extraction
The process begins with a Faster R-CNN backbone to generate object proposals and extract regional visual features.
2. Knowledge-Embedded Routing for Objects
To refine object classification, KERN constructs a graph where each region is a node. Edges between nodes are weighted based on the statistical probability of object co-occurrence (e.g., a "keyboard" is likely near a "monitor"). A Graph Convolutional Network (GCN) is then used to propagate context across these regions, allowing the model to resolve ambiguities through environmental context.
3. Knowledge-Embedded Routing for Relationships
For every pair of detected objects, KERN builds a specialized relationship graph. This graph includes nodes for the subject, the object, and all potential relationship labels. The structure is defined by the conditional probability of a relationship existing given the specific object pair.
As shown in Figure 4, the routing mechanism uses these structured priors to explore the interplay between objects and their potential interactions. A Gated Recurrent Unit (GRU) is employed to iteratively update the representation of the relationship, effectively "routing" information through the most probable semantic paths.
Experimental Results
The KERN framework was evaluated on the Visual Genome dataset. To specifically measure performance on the long-tail, the authors utilized mean Recall@K (mR@K), which averages recall across all predicate classes rather than just the most frequent ones.
Performance on Rare Classes
KERN demonstrates a significant advantage in identifying infrequent relationships. While traditional models like the Stacked Motif Network (SMN) perform well on the "top 10" most frequent predicates, their performance drops sharply for the remaining classes. KERN maintains a much more balanced performance profile.
As illustrated in Figure 1, KERN consistently outperforms the baseline across both frequent and rare categories. On the Scene Graph Classification (SGCls) task, KERN improved the mR@50 from 15.4% to 19.8%, representing a relative gain of nearly 29%.
Conclusion
The Knowledge-Embedded Routing Network (KERN) provides a robust solution to the long-tail problem in Scene Graph Generation. By making statistical knowledge explicit within the network architecture, KERN reduces the model's reliance on biased data distributions. Future work may involve extending this approach to dynamic or external knowledge bases, such as ConceptNet, to further enhance the model's ability to generalize to unseen or rare object-relationship combinations.
Summary updated