Informative Scene Graph Generation via Debiasing

Lianli Gao, Xinyu Lyu, Yuyu Guo, Yuxuan Hu, Yuan-Fang Li, Lu Xu, Heng Tao Shen, Jingkuan Song · DOI

TL;DR

This paper tackles the problem of "uninformative" scene graphs generated by current models, which often default to common, generic predicates (like "on") instead of more descriptive ones (like "standing on"). They propose DB-SGG, a framework that debiases predictions by considering semantic relationships between predicates and balancing the training data to favor informative ones, significantly improving scene graph quality.

What Problem Does This Paper Address?

Scene Graph Generation (SGG) aims to create a structured representation of an image by identifying objects and the relationships between them, forming triplets like (subject, predicate, object). This is crucial for tasks like image captioning and visual question answering. However, a significant issue in current SGG models is their tendency to predict overly common and generic predicates (e.g., "on," "in," "at") rather than more specific and informative ones (e.g., "standing on," "looking at," "blocking"). This bias leads to scene graphs that lack precise information, potentially causing misunderstandings. The authors attribute this problem to two key imbalances:

  1. Semantic Space Level Imbalance: Common predicates have broad semantic meanings, making them easier to annotate and thus more frequent in datasets. Informative predicates, while more descriptive, have narrower semantic spaces and can be conflated with common ones.
  2. Training Sample Level Imbalance: Datasets are heavily skewed towards common predicates, meaning models are trained on far more examples of generic relationships than specific ones, reinforcing the bias.

Methods

The paper introduces DB-SGG (Debiasing for Scene Graph Generation), a model-agnostic framework designed to address the identified imbalances. It comprises two main components:

  • Semantic Debiasing (SD): This component aims to restore informative predictions by modeling the semantic relationships between predicates.
  • Semantic Debiasing with Confusion Matrix (SDCM): This method uses the confusion matrix of a baseline SGG model to infer how likely a common predicate is to be confused with an informative one. It then uses a normalized transition matrix derived from this to adjust predictions.
  • Semantic Debiasing with Bipartite Graph (SDBG): A model-free approach that constructs a bipartite graph based on the overlap of subject-object labels involved in predicates. This captures semantic similarity between predicates, e.g., "walking on" and "standing on" share similar semantics due to common subject-object pairs.
  • Balanced Predicate Learning (BPL): This component addresses the training sample imbalance by creating a more balanced dataset.
  • Balanced Predicate Learning with Random Undersampling (BLRU): This strategy involves moving all informative predicate samples to an "adjusted domain" and then randomly undersampling common predicate samples to create a more balanced distribution.
  • Balanced Predicate Learning with Removing Ambiguous Samples (BLRA): This method uses a pre-trained SGG model to identify and remove ambiguous samples (where a single visual instance could be labeled with multiple predicates) from common predicate categories, further refining the adjusted domain.

The overall process involves training an initial SGG model on the original, imbalanced dataset, then constructing an adjusted domain using SD and BPL, and finally finetuning the model on this adjusted domain.

Datasets

The authors use the following datasets:

  • Visual Genome (SGG-VG): A widely used dataset for SGG, containing a large number of images, object categories, and predicate classes. The paper notes that 92% of predicates have few samples, highlighting the long-tail distribution issue.
  • SGG-GQA: A more complex dataset derived from Visual Genome, featuring a larger number of object and predicate categories, used to test the method's generalization.

The paper also mentions using Wikipedia as an external source for estimating predicate information content, alongside Visual Genome.

Key Insights and Ideas

  • The "Uninformative Predicate" Problem is Systemic: The paper clearly articulates that the tendency for SGG models to produce generic predicates isn't just a minor flaw but stems from fundamental imbalances in the data and semantic space.
  • Semantic Relationships are Key to Debiasing: The core idea is that understanding how predicates relate to each other (e.g., "on" is a broader category that can encompass "standing on") is crucial for correcting biased predictions.
  • Balancing the Training Data is Essential: Simply improving the model architecture isn't enough; the training data itself needs to be adjusted to give informative predicates a fair chance of being learned.
  • Model-Agnostic Components: The SD and BPL modules are designed to be plug-and-play, meaning they can be integrated with various existing SGG architectures, making the approach broadly applicable.
  • Information Content as a Metric: The paper introduces and utilizes the concept of "information content" (derived from Shannon's information theory) to quantify the informativeness of predicates, providing a principled way to distinguish common from rare/specific ones.

Key Results

  • Significant Performance Gains: The proposed DB-SGG framework, when applied to baseline models like Transformer, MotifNet, and VCTree, achieved substantial improvements. For instance, on the SGG-VG dataset, it improved Transformer's performance by 136.3%, 119.5%, and 122.6% on mR@20 across three SGG sub-tasks (PredCls, SGCls, SGDet).
  • Improved Informativeness: The new metric mRIC@K (mean recall with information content) showed that DB-SGG generates more informative scene graphs, with scores significantly higher than the baseline Transformer.
  • Effectiveness on Complex Datasets: The method demonstrated strong performance on the more challenging SGG-GQA dataset, indicating its robustness.
  • Downstream Task Benefits: The generated informative scene graphs also led to improvements in downstream tasks like sentence-to-graph retrieval and image captioning, demonstrating their practical utility.
  • Ablation Studies Confirm Component Effectiveness: Experiments showed that both SD and BPL components contribute significantly, and their combination yields the best results. Specifically, the SDBG approach for semantic debiasing and BLRA for balanced learning were found to be particularly effective.

Limitations and Future Work

  • Balancing Stability and Informativeness: The authors acknowledge that in some complex scenarios, their method might be too aggressive in choosing common predicates, leading to occasional instability. Future work could focus on finding a better balance between stability and informativeness.
  • Ambiguity in Annotation: While BLRA attempts to mitigate ambiguity, the inherent ambiguity in human annotations remains a challenge.
  • Information Source for IC: The paper explored Visual Genome and Wikipedia for information content. Further research could investigate other sources or more sophisticated methods for estimating predicate informativeness.
  • Computational Cost: While the components are model-agnostic, the training process, especially finetuning on the adjusted domain, might still incur significant computational costs.

Summary updated

BibTeX
@article{gao2023informative,
  author = {Lianli Gao and Xinyu Lyu and Yuyu Guo and Yuxuan Hu and Yuan-Fang Li and Lu Xu and Heng Tao Shen and Jingkuan Song},
  title = {{Informative Scene Graph Generation via Debiasing}},
  journal = {Int. J. Comput. Vis.},
  year = {2023},
  doi = {10.1007/s11263-025-02365-y},
}
Figure