Fine-Grained Scene Graph Generation with Data Transfer

Ao Zhang, Yuan Yao, Qianyu Chen, Wei Ji, Zhiyuan Liu, Maosong Sun, Tat-Seng Chua

Abstract

Scene Graph Generation (SGG) is a critical task for deep visual understanding, yet it remains hampered by two primary challenges: the long-tail distribution of predicates and semantic ambiguity in human annotations. We present IETrans (Internal and External Data Transfer), a model-agnostic framework designed to automatically enhance SGG datasets. By refining vague labels through internal transfer and excavating missing annotations via external transfer, IETrans significantly improves the descriptive power of SGG models. Our approach doubles the performance on standard benchmarks and scales generation to over 1,800 categories.

Introduction

Scene Graph Generation (SGG) aims to transform images into structured "subject-predicate-object" triplets, such as man-riding-bike. This structured representation is vital for downstream tasks like visual reasoning and image retrieval. However, current SGG models suffer from two major hurdles:

  1. The Long-Tail Problem: Predicate distributions are heavily skewed. Generic terms like "on" or "near" appear frequently, while specific predicates like "parked on" or "flying through" are extremely rare. Models often default to these common terms to minimize loss.
  2. Semantic Ambiguity: Human annotators often provide "lazy" labels. A person on a horse might be labeled simply as "on" rather than the more informative "riding." This inconsistency creates optimization conflicts during training, as identical visual features are mapped to different semantic labels.
Figure 2: Conceptual overview of Internal and External Transfer. Internal transfer upgrades general predicates to informative ones, while external transfer identifies previously unlabelled relations.

The IETrans Framework

To address these issues, we propose IETrans, a plug-and-play framework that creates an "enhanced dataset" for training. It operates through two distinct mechanisms:

Internal Data Transfer

This component targets semantic ambiguity by identifying "confusion pairs"—instances where a specific predicate is frequently misclassified as a general one. To distinguish between general and specific terms, we introduce the Attraction Factor. This metric quantifies a predicate's generality based on the diversity of object types it connects. For example, "on" has a high attraction factor because it can connect almost any two objects, whereas "riding" has a low factor as it typically involves a person and a vehicle or animal. If a model predicts a specific label with high confidence for a sample currently labeled with a general one, IETrans "upgrades" the label.

External Data Transfer

To combat the long-tail problem and the sparsity of annotations, External Data Transfer focuses on object pairs labeled as "NA" (No Annotation). IETrans uses a pre-trained model to scan these unlabeled pairs and predict potential relationships. By "excavating" these missed triplets, the framework provides a wealth of additional training samples, particularly for rare classes that are often overlooked by human annotators.

Figure 3: The IETrans pipeline. The top row illustrates the Internal Transfer process (discovery, judgment, and transfer), while the bottom row shows the External Transfer process (NA relabeling and transfer).

Experimental Results

We evaluated IETrans on two benchmarks: the standard VG-50 (150 objects, 50 predicates) and a new, more challenging VG-1800 dataset featuring 1,807 predicate classes.

  • Performance Gains: On VG-50, applying IETrans to a standard "Neural Motif" model doubled the Mean Recall (mR@100), demonstrating a significant improvement in identifying rare and specific predicates.
  • Scalability: The VG-1800 benchmark highlights the framework's ability to handle fine-grained SGG. While baseline models could only predict 70 categories correctly, the IETrans-enhanced model successfully predicted 467 categories.
  • Qualitative Improvements: Models trained with IETrans produce far more descriptive scene graphs. Instead of generic triplets like (cloud, in, sky), the enhanced models generate informative relations such as (cloud, floating through, sky).

Conclusion

IETrans provides a robust, model-agnostic solution to the core data quality issues in Scene Graph Generation. By treating the model as a teacher to refine and expand its own training data, we can overcome the limitations of "lazy" human labeling and skewed distributions. While fine-grained SGG remains a difficult task, particularly as category counts scale into the thousands, IETrans represents a significant step toward more nuanced and human-like visual understanding.

Summary updated

BibTeX
@inproceedings{zhang2022fine,
  author = {Ao Zhang and Yuan Yao and Qianyu Chen and Wei Ji and Zhiyuan Liu and Maosong Sun and Tat-Seng Chua},
  title = {{Fine-Grained Scene Graph Generation with Data Transfer}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-19812-0\_24},
}
Figure