TL;DR
This paper introduces "One-Shot Scene Graph Generation," a new task that aims to generate scene graphs from just one example per relationship type, mimicking human learning. They achieve this by leveraging "Multiple Structured Knowledge" (Relational and Commonsense) and an "Instance Relation Transformer" to capture contextual information, significantly outperforming existing methods on this challenging task.
What Problem Does This Paper Address?
Scene graph generation is a crucial task for understanding image content, representing objects and their relationships. However, existing methods are data-hungry, requiring tens or hundreds of labeled examples for each relationship to learn effectively. This is a stark contrast to human learning, where we can grasp new concepts and relationships from just one or a few examples. The paper addresses this gap by proposing a "One-Shot Scene Graph Generation" task, where the goal is to predict relationships with minimal supervision – only one labeled example per relationship triplet is available. This is particularly challenging because directly applying existing models to such limited data leads to a significant performance drop.
Methods
The core of the proposed method lies in two main innovations:
- Multiple Structured Knowledge (MSK): This approach injects rich prior knowledge into the model.
- Relational Knowledge: Extracted from the Visual Genome dataset, this captures common visual relationships between entities (e.g., "dog" is often "on" a "mat"). This knowledge is structured using adjacency matrices representing entity-entity and entity-predicate relationships.
- Commonsense Knowledge: Leveraged from ConceptNet, this encodes "sense-making" knowledge that helps in reasoning (e.g., "dogs desire to play"). This is also structured into a graph representation.
- Graph Convolutional Networks (GCNs): These are used to encode the structured relational and commonsense knowledge into rich semantic features.
- Instance Relation Transformer (IRT): To better capture the contextual information between detected objects, the authors propose an IRT. Unlike traditional methods that might process features in isolation or use RNNs (which have limitations in parallelization and long-term dependencies), the IRT uses a Transformer architecture. This allows it to effectively explore the relationships and context among detected instances by considering their visual features, label embeddings, and positional embeddings.
The final prediction combines the outputs from the IRT and the MSK extractors.
Datasets
- Visual Genome: Used for extracting Relational Knowledge. The authors mention using a filtered version of the dataset, common in prior work, which contains around 12 instances and 6 relationship triplets per image.
- One-Shot Visual Genome: A newly constructed dataset specifically for the one-shot scene graph generation task. It's created by ensuring each relationship triplet appears only once in the training set. This dataset contains approximately 18K images. The test set remains the same as the standard Visual Genome test set.
- ConceptNet: Used for extracting Commonsense Knowledge.
Key Insights and Ideas
- Human-like Learning: The fundamental insight is that mimicking human learning, which relies heavily on prior knowledge, is key to tackling low-data scenarios like one-shot learning.
- Knowledge as a Bridge: Structured knowledge (both visual relationships and commonsense reasoning) acts as a powerful bridge to overcome the lack of direct supervision in one-shot settings.
- Context is Crucial: Simply having object features isn't enough; understanding the contextual relationships between objects is vital for accurate scene graph generation, which the Instance Relation Transformer effectively addresses.
- Dual Knowledge Sources: Combining explicit visual relational knowledge with more abstract commonsense knowledge provides a more robust understanding of scene semantics.
Key Results
- Significant Improvement on One-Shot SGG: The proposed IRT+MSK method significantly outperforms existing state-of-the-art methods on the one-shot scene graph generation task across various metrics (PredCls, SGCls, SGDet) and recall levels (R@20, R@50, R@100). For instance, on the PredCls R@20 setting, their method achieves 41.3%, a substantial improvement over baselines that drop to around 5.0%.
- IRT Robustness: The IRT alone shows a lower performance decline on the one-shot task compared to MotifNet, indicating its robustness in capturing contextual information.
- MSK Effectiveness: Ablation studies confirm that both the Relational Knowledge and Commonsense Knowledge components contribute positively to the performance, with the combined MSK yielding the best results.
- Comparable Performance on Standard SGG: The method also achieves competitive results on the standard scene graph generation task, demonstrating its general applicability.
Limitations and Future Work
- Spatial Bias in Failures: The authors acknowledge that some failures occur due to an over-reliance on spatial information. For example, if a bounding box of a "window" completely contains a "bird," the model might incorrectly predict "bird on window." They suggest that reducing this spatial dependence could be a future direction.
- SGDet Performance: While strong on PredCls and SGCls, the performance on SGDet (which includes object detection) is noted as marginal improvement from MSK, as SGDet is heavily reliant on the object detector's accuracy.
- General Scene Graph Generation: While the paper focuses on the one-shot task, it also shows competitive results on the standard SGG task. However, the improvement from MSK is marginal in the standard setting, as rich annotations already provide sufficient supervision. Future work could explore how to better integrate prior knowledge in data-rich scenarios.
Summary updated