Context-based Transfer and Efficient Iterative Learning for Unbiased Scene Graph Generation

Qishen Chen, Xinyu Lyu, Haonan Zhang, Pengpeng Zeng, Lianli Gao, Jingkuan Song · OpenReview

TL;DR

This paper introduces Adaptive Label Finetuning (ALF), a novel one-stage approach to improve Scene Graph Generation (SGG) by addressing the long-tail distribution of relation labels. ALF uses context to adaptively transfer labels and iteratively refines models, achieving better performance with significantly reduced computational cost compared to existing methods.

What Problem Does This Paper Address?

Scene Graph Generation (SGG) aims to represent the relationships between objects in an image as a semantic graph. A major challenge in SGG is the "long-tail distribution" of relation labels, meaning a few relations are very common, while most are rare. This bias leads models to predict coarse or incorrect relations, especially for less frequent ones. Existing "data transfer" methods try to fix this by converting coarse labels to finer ones, but they often ignore the specific context of subject-object pairs (leading to nonsensical transfers like "eating" for a "woman-table" pair) and require costly multi-stage retraining.

Methods

The paper proposes Adaptive Label Finetuning (ALF), a plug-and-play, one-stage pipeline. ALF has two core components:

  1. Adaptive Label Construction (ALC): This component addresses the context issue. It first uses Predicate-Context Constraints to identify all plausible relations for a given subject-object pair based on their co-occurrence in the training data. Then, Restriction-Based Judgment uses these constraints and the model's current predictions to re-rank and select the most appropriate fine-grained relation for transfer, avoiding contextually incorrect labels.
  2. Adaptive Iterative Learning (AIL): This component tackles the retraining cost. Instead of discarding pre-trained models and retraining from scratch, AIL iteratively finetunes the existing model using the adaptively generated labels from ALC. This auto-regressive process allows the model and the transferred labels to co-evolve, leading to more accurate and efficient learning.

Datasets

The primary dataset used for training and evaluation is Visual Genome. This dataset is noted for its long-tail distribution of predicates, making it a suitable benchmark for evaluating methods that address this issue.

Key Insights and Ideas

  • Context is King for Relation Transfer: The most significant insight is that simply transferring labels isn't enough; the specific subject-object pair's context is crucial for accurate relation transfer. Ignoring this leads to nonsensical predictions.
  • One-Stage is More Efficient: The paper demonstrates that a one-stage approach (ALF) can achieve comparable or better results than multi-stage methods while drastically reducing training time and computational resources.
  • Iterative Refinement is Powerful: Allowing the model's predictions to guide the label transfer process (and vice-versa) in an iterative loop leads to a more robust and accurate system.

Key Results

  • Performance Improvement: ALF achieved a 16% improvement in mR@100 compared to the standard Motif model.
  • Efficiency Gains: ALF incurred only a 6% increase in calculation costs compared to the state-of-the-art IETrans method, while significantly reducing extra training iterations (e.g., 2000 for ALF vs. 30,000 for IETrans on the Motif baseline).
  • Reduced Long-Tail: Visualizations show that ALF effectively reduces the long-tail distribution of relation labels, making the dataset more balanced.
  • Qualitative Improvements: Visualizations show ALF producing more fine-grained and contextually appropriate relations (e.g., "plant-growing on-rock" vs. "plant-near-rock") and avoiding erroneous predictions.

Limitations and Future Work

  • Dataset Skew: The paper acknowledges that existing SGG datasets are skewed towards common labels, and ALF may still face challenges with very rare or complex predicates (e.g., "inquire," "contain," "glance") that are underrepresented.
  • Future Work: The authors suggest that addressing these dataset limitations will be pivotal for augmenting SGG applications in complex or open-domain scenarios. Further research could focus on improving comprehension and prediction for such challenging predicates.

Summary updated

Abstract

Scene Graph Generation (SGG) endeavors to predict the relationships between subjects and objects in a given image. Nevertheless, the long-tail distribution of relations often leads to biased prediction on coarse labels, presenting a substantial hurdle in SGG. To address this issue, researchers focus on unbiased SGG and introduce data transfer methods to transfer coarse-grained predicates into fine-grained ones across the entire dataset. However, these methods encounter two primary challenges: 1) They overlook the inherent context constraints imposed by subject-object pairs, leading to erroneous relations transfer. 2) Additional retraining process are required after the data transfer, which incurs substantial computational costs. To overcome these limitations, we introduce the first plug-and-play one-stage data transfer pipeline in SGG, termed Adaptive Label Finetuning (ALF), which eliminates the need for extra retraining sessions and meanwhile significantly enhance models' relation recognition capability across various SGG benchmark approaches. Specifically, ALF consists of two components: Adaptive Label Construction (ALC) and Adaptive Iterative Learning (AIL). By imposing Predicate-Context Constraints within relation space, ALC adaptively re-ranks and selects candidate relations in reference to model's predictive logits utilizing the Restriction-Based Judgment techniques, achieving robust relation transfer. Supervised with labels transferred by ALC, AIL iteratively finetunes the SGG models in an auto-regressive manner, which mitigates the substantial computational costs arising from the retraining process. Extensive experiments demonstrate that ALF achieves a 16% improvement in mR@100 compared to the typical SGG method Motif, with only a 6% increase in calculation costs compared to the state-of-the-art method IETrans.
BibTeX
@misc{chen2023context,
  author = {Qishen Chen and Xinyu Lyu and Haonan Zhang and Pengpeng Zeng and Lianli Gao and Jingkuan Song},
  title = {{Context-based Transfer and Efficient Iterative Learning for Unbiased Scene Graph Generation}},
  year = {2023},
  eprint = {2312.17425},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2312.17425},
}
Figure