TL;DR
This paper tackles the challenge of Few-Shot Scene Graph Generation (FSSGG), where models must learn to recognize new object relationships with very few examples. They introduce a novel "Decomposed Prototype Learning" (DPL) method that breaks down predicate representations into multiple "prototypes" to better handle the diverse visual and semantic meanings of relationships, leading to improved performance on unseen predicates.
What Problem Does This Paper Address?
Scene Graph Generation (SGG) aims to understand images by identifying objects and the relationships between them, forming triplets like (subject, predicate, object). While current SGG models perform well with abundant annotated data, real-world applications often face a "long-tail" distribution of relationships, meaning many rare predicate types have very few or no examples for training. This is particularly problematic for Few-Shot SGG (FSSGG), where the goal is to generalize to these unseen predicates with minimal supervision. The core challenge in FSSGG is the high intra-class variance of predicates: a single predicate word can have multiple meanings (e.g., "has" can mean possession or eating), and its visual appearance can vary drastically depending on the subject and object involved. Existing few-shot learning methods struggle with this variance, making it hard to learn robust representations for new predicates.
Methods
The authors propose a Decomposed Prototype Learning (DPL) model for FSSGG. The key ideas are:
- Decomposed Prototypes: Instead of learning a single representation for each predicate, DPL decomposes it into multiple "prototypes." This allows the model to capture the diverse semantic meanings and visual patterns associated with a predicate, especially when considering different subject-object contexts.
- Subject-Object Contextualization: The prototypes are constructed by leveraging the subject and object information from support samples. This is crucial because the visual appearance of a predicate is highly dependent on the entities involved.
- Learnable Prompts: To effectively extract knowledge from pre-trained Vision-Language (VL) models (like CLIP), they use learnable prompts. These prompts act as learnable indicators that help infuse semantic knowledge into the prototype generation process, going beyond fixed, hand-crafted prompts.
- Query-Adaptive Representation: For a given query image, the model adaptively assigns weights to these decomposed prototypes based on the specific subject and object in the query. This creates a context-aware representation for the predicate, making predictions more reliable.
- Two-Network Architecture: The framework consists of a Query Embedding Network (QEN) to encode query samples and a Predicate Prototype Network (PPN) to generate and adaptively aggregate prototypes.
- Metric Learning: A cosine similarity-based metric learning approach is used to calculate the distance between the query embedding and the generated predicate prototype representations for classification.
Datasets
The experiments were conducted on two prevalent SGG datasets:
- Visual Genome (VG): The authors created two splits:
- VG-25: A popular split with 150 object categories and 50 predicate categories (25 seen, 25 unseen).
- VG-60: A larger split with 247 object categories and 140 predicate categories (80 seen, 60 unseen), designed for more robust evaluation of FSSGG.
- GQA: A split with 200 object categories and 100 predicate categories (50 seen, 50 unseen).
For evaluation, they used K-shot settings with K=1, 5, and 10.
Key Insights and Ideas
- Intra-class variance is the main hurdle: The paper strongly emphasizes that the difficulty in FSSGG stems from predicates having multiple meanings and visual appearances depending on context, not just from a lack of data.
- Decomposition is key: Breaking down a predicate into multiple prototypes is more effective than trying to find a single, unified representation, especially for handling diverse visual cues.
- Context is king: The subject and object of a relationship are not just passive participants; they actively shape the predicate's meaning and appearance. Leveraging this context is crucial for accurate FSSGG.
- Learnable prompts unlock VL models: Fixed prompts are insufficient for complex FSSGG tasks. Learnable prompts allow for more effective extraction of nuanced semantic knowledge from powerful VL models.
- Adaptive weighting matters: Simply averaging prototypes is less effective than adaptively weighting them based on the query's subject-object context, leading to more robust and accurate predictions.
Key Results
The proposed DPL model achieved state-of-the-art performance on unseen predicate prediction across various datasets (VG-25, VG-60, GQA-50) and K-shot settings (1, 5, 10).
- VG-25 (1-shot PredCls): DPL achieved 26.15% mR@20, outperforming strong baselines like PENET (23.02%) and CoOp (16.55%).
- VG-60 (5-shot PredCls): DPL achieved 42.07% mR@20, again surpassing baselines like PENET (35.69%) and CoOp (33.81%).
- GQA-50 (10-shot PredCls): DPL achieved 41.26% mR@20, demonstrating its effectiveness on a challenging dataset.
- Fine-tuning (DPL†): A fine-tuned version of DPL (DPL†) further boosted performance, especially in the challenging 1-shot setting, indicating the benefit of adapting to unseen data.
- Ablation Studies: The experiments confirmed the effectiveness of each component: multiple prototypes, learnable prompts, subject/object context, and reweighting aggregation all contributed significantly to the overall performance.
Limitations and Future Work
- Redundancy between prototypes: The authors acknowledge that their method doesn't explicitly handle redundancy between prototypes generated from similar object categories. This could lead to confusion when applying attention scores.
- Future work directions:
- Clustering similar prototypes: To address redundancy, they suggest clustering similar prototypes using multi-modal features of object categories or leveraging Large Language Models.
- Incorporating more useful information: For reweighting, they plan to explore incorporating more useful information beyond just semantic connections between subjects and objects.
Summary updated