Abstract
Scene Graph Generation (SGG) aims to transform images into structured representations of objects and their relationships. However, the field is significantly hampered by the "long-tail" distribution of predicates, where common relationships like "on" or "in" dominate the training data, causing models to ignore rare but descriptive "tail" predicates like "parked on" or "laying on." This paper introduces Compositional Feature Augmentation (CFA), a model-agnostic strategy that addresses this bias by enriching the feature diversity of rare classes. By decomposing relation features into intrinsic (object-specific) and extrinsic (contextual) components, CFA enables models to learn more robust decision boundaries for tail predicates without compromising performance on head classes.
Introduction
In Scene Graph Generation, the goal is to extract triplets in the form of <subject, predicate, object>. While modern object detectors have become highly proficient, the relational component remains a challenge due to extreme class imbalance. Traditional solutions often rely on re-balancing techniques, such as oversampling rare triplets or adjusting loss weights. However, these methods merely increase the frequency of existing samples without introducing new visual or contextual information. Consequently, models often fail to generalize, associating rare predicates with very specific, narrow contexts.
CFA shifts the focus from sample frequency to feature diversity. By treating a relationship as a composition of its participants and its environment, CFA synthetically generates a wider variety of training scenarios, effectively "filling in" the sparse feature space of tail predicates.
Methodology
CFA operates on the principle that a relation feature is composed of two distinct parts: Intrinsic Features (the visual characteristics of the subject and object) and Extrinsic Features (the surrounding scene context). The framework introduces two primary modules to augment these components:
Intrinsic-CFA
This module focuses on diversifying the objects involved in a relationship. To ensure that replacements are semantically and physically plausible, the authors employ a hierarchical clustering method to identify "suitable" alternatives based on four criteria:
- Pattern Similarity: Do the objects share functional behaviors (e.g., can both be "ridden")?
- Contextual Similarity: Do they appear in similar environments (e.g., cats and dogs in indoor rooms)?
- Semantic Similarity: Are they related in word-embedding space (using GloVe)?
- Spatial Restriction: Does the replacement maintain physical logic (e.g., replacing a "hat" with a "helmet" rather than a "shoe")?
By swapping a tail predicate's subject or object with a clustered alternative, the model learns that the relationship is defined by the interaction rather than just the specific object pair.
Extrinsic-CFA
To prevent the model from over-fitting a relationship to a specific background, Extrinsic-CFA utilizes a Mixup operation. It takes the features of a rare "query triplet" and blends them into the contextual features of a different image. This forces the model to decouple the relationship from its original background, ensuring that a predicate like "laying on" is recognized whether it occurs in a bedroom, a park, or a beach.
Experimental Results
The researchers evaluated CFA across two benchmark datasets: Visual Genome (VG) and GQA. Because CFA is model-agnostic, it was integrated into several baseline architectures, including Motifs and VCTree.
Quantitative Performance
CFA achieved state-of-the-art results on the "Mean Recall" metric, which balances performance across both head and tail classes:
- Visual Genome: Integrating CFA into the Motifs baseline improved the Mean Recall from 41.8% to 46.2%.
- GQA: The impact was even more pronounced on the GQA dataset, where the Motifs model's mean Recall (mR@100) surged from 14.7% to 33.8%, more than doubling the baseline performance.
Qualitative Impact
Qualitative analysis suggests that CFA allows models to distinguish between visually similar but semantically distinct relations. By learning more robust decision boundaries, the models can move beyond generic predicates (e.g., "on") to more specific ones (e.g., "standing on" or "parked on") when the visual evidence supports it.
Discussion and Future Work
The primary contribution of CFA is the demonstration that diversity in the feature space is more critical than simple frequency for solving long-tail bias. By leveraging the compositional nature of scene graphs, CFA provides a scalable way to generate synthetic training data without the need for manual labeling.
Currently, the method is optimized for two-stage SGG frameworks, where objects are detected before relations are classified. Future research will explore extending CFA to one-stage models and open-vocabulary SGG, where the goal is to identify relationships and objects that were never seen during the training phase by utilizing generative models or external knowledge bases.
Summary updated