Generalized Unbiased Scene Graph Generation

Xinyu Lyu, Lianli Gao, Junlin Xie, Pengpeng Zeng, Yulu Tian, Jie Shao, Heng Tao Shen · OpenReview

TL;DR

This paper introduces "Generalized Unbiased Scene Graph Generation" (G-USGG), a new problem formulation that addresses both predicate-level and concept-level imbalances in scene graph generation. They propose the Multi-Concept Learning (MCL) framework, which uses novel techniques like Balanced Prototypical Memory and Concept Regularization to improve how models understand and generate relationships, especially for rare or complex scenarios.

What Problem Does This Paper Address?

Scene Graph Generation (SGG) aims to represent images as structured graphs of objects and their relationships (e.g., "person riding horse"). Traditional SGG models struggle with "imbalance" issues. The most studied is predicate-level imbalance, where models favor common relationship types (like "on") over rare ones (like "hanging from"). However, this paper highlights a more pervasive problem: concept-level imbalance. Even if a predicate is balanced, the combinations of subjects and objects (contexts) within that predicate can be highly imbalanced. For example, the predicate "riding" might have many "person-horse" examples but very few "train-track" examples. This concept-level imbalance severely hinders a model's ability to generalize to unseen or rare subject-object pairings, impacting its "compositional generability." The authors propose G-USGG to tackle both these imbalances simultaneously.

Methods

The core of the proposed solution is the Multi-Concept Learning (MCL) framework, designed to be a plug-and-play module for existing SGG models. MCL consists of three main components:

  • Concept-Prototype Construction (CPC): This module quantifies the "semantic scale" or diversity of concepts within each predicate. It does this by analyzing the distribution of subject-object pairs (contexts) for a given predicate and then determines the appropriate number of "concept-prototypes" to represent the variations within that predicate.
  • Balanced Prototypical Memory (BPM): This component addresses the concept-level imbalance by creating balanced representations. It uses memory queues to store representations of different concepts within a predicate. By averaging these representations, BPM generates more balanced "prototypical representations" that are then fused with the model's conventional relation features. This ensures that rare concepts are not overshadowed by common ones.
  • Concept Regularization (CR): This module further refines the learning process. It includes:
  • Entity Dispersion Loss (Le): Encourages instances and prototypes from different predicate classes to move away from each other.
  • Predicate Dispersion Loss (Lp): Increases the distance between groups of concept-prototypes belonging to different predicates, reducing semantic overlap.
  • Concept Dispersion Loss (Lc): Enhances the discriminability among concept-prototypes within the same predicate, preventing models from collapsing all concepts into a single prototype.

Datasets

The authors evaluate their MCL framework on two widely used scene graph generation datasets:

  • Visual Genome (VG-SGG): Contains 108k images with 150 entity categories and 50 predicate categories.
  • Open Image (OI-SGG): Features 301 entity classes and 31 predicate classes across 85k images and 472k relations.

Key Insights and Ideas

  • Concept-level imbalance is a critical, overlooked problem: The paper convincingly argues that concept-level imbalance (imbalance in subject-object pairs within a predicate) is more pervasive and challenging than predicate-level imbalance, significantly impacting generalization.
  • One size does not fit all for prototypes: Unlike previous methods that use a fixed number of prototypes per class, CPC dynamically determines the number of concept-prototypes based on the semantic diversity of each predicate.
  • Memory as a balancing act: BPM uses memory queues to store and average representations, effectively giving rare concepts a fairer chance during training.
  • Regularization for clarity: CR acts as a multi-faceted regularizer, ensuring that different predicates are distinct and that variations within a single predicate are well-represented.
  • Model-agnostic effectiveness: MCL can be seamlessly integrated with various existing SGG models, demonstrating its broad applicability and robustness.

Key Results

The proposed MCL framework, when integrated with benchmark models, consistently improves performance across various metrics and tasks (Predicate Classification, Scene Graph Classification, and Scene Graph Detection).

  • VG-SGG: MCL achieved significant improvements, leading to new state-of-the-art results. For example, when applied to the Motifs baseline, it improved F@100 scores by 5.2% (PredCls), 19.2% (SGCls), and 22.5% (SGDet).
  • OI-SGG: MCL also achieved state-of-the-art performance, outperforming the previous best method (PE-Net) by 0.6% and 1.2% on key metrics (wmAPrel, wmAPphr), reaching a scorewtd of 45.4%.
  • Few-shot and Zero-shot Recognition: MCL significantly boosted performance in these challenging scenarios, demonstrating its ability to handle rare and unseen relationships. For instance, it achieved a 5.8% improvement on mCR@100 compared to a strong baseline.
  • Qualitative Results: Visualizations (attention heatmaps, t-SNE plots, and generated scene graphs) clearly show that MCL leads to more balanced predictions, better concept discrimination, and more accurate generation of rare relationships compared to debiased methods.

Limitations and Future Work

  • Hyperparameter Sensitivity: While the paper demonstrates MCL's robustness, it notes that the optimal memory size (M) and number of prototypes (K) might require tuning for specific datasets or tasks. The paper empirically finds K=64 to be optimal for their experiments.
  • Computational Cost: The proposed framework, while effective, likely adds some computational overhead due to the memory queues and regularization terms. The paper doesn't explicitly detail the speedup/slowdown.
  • Future Work: The authors suggest further exploring the impact of different memory sizes and prototype configurations. They also imply that the framework's effectiveness can be further extended to other related tasks. The paper's focus is on improving existing SGG models, suggesting future work could involve developing entirely new architectures inspired by MCL.

Summary updated

BibTeX
@misc{lyu2023generalized,
  author = {Xinyu Lyu and Lianli Gao and Junlin Xie and Pengpeng Zeng and Yulu Tian and Jie Shao and Heng Tao Shen},
  title = {{Generalized Unbiased Scene Graph Generation}},
  year = {2023},
  eprint = {2308.04802},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.04802},
}
Figure