Semantic Diversity-Aware Prototype-Based Learning for Unbiased Scene Graph Generation

Jaehyeong Jeon, Kibum Kim, Kanghoon Yoon, Chanyoung Park

Abstract

Scene Graph Generation (SGG) often suffers from long-tail bias, where models over-predict common predicates like "on" at the expense of more informative ones. This paper introduces Diversity-aware Prototype-based Learning (DPL), a model-agnostic framework that addresses this by modeling the "semantic diversity" of predicates. By using probabilistic sampling around learned prototypes, DPL captures the varied visual contexts of a single label, leading to significant improvements in unbiased relationship detection.

Introduction: The Challenge of Semantic Diversity

The primary obstacle in unbiased SGG is the inherent ambiguity in predicate labels. A single label like "on" can describe vastly different physical relationships, such as a fruit "growing on" a tree or a tire "attached to" a bike. Standard models attempt to map these diverse visual features to a single point in semantic space, which inevitably leads to a bias toward the most frequent, generic interpretations.

Semantic diversity in SGG: (a) and (b) show how generic predicates like "on" or "hanging from" encompass distinct semantic meanings like "growing on" or "attached to". (c) illustrates mapping these features into a shared semantic space.

Methodology: Diversity-aware Prototype-based Learning (DPL)

The DPL framework enhances existing SGG architectures by replacing rigid classification with a flexible, region-based semantic mapping.

Core Components

  1. Learnable Prototypes: The model learns a central vector (prototype) for each predicate category.
  2. Probabilistic Sampling: To represent the semantic "territory" of a predicate, the model generates multiple samples around each prototype using a normal distribution. This allows the model to account for the variance in how a relationship might appear visually.
  3. Loss Functions:
    • Sample Matching Loss ($\mathcal{L}_{match}$): Ensures visual features are close to at least one generated sample of the correct label.
  4. Orthogonal Loss ($\mathcal{L}_{ortho}$): Maintains separation between different predicate regions to prevent overlap (e.g., ensuring "on" doesn't subsume "under").
The DPL training pipeline: Relation features and prototypes are processed through Prototype-based Biased Training and Semantic Diversity Learning (using Sample Matching and Orthogonal losses) to produce an unbiased inference model.

Experimental Evaluation

The researchers evaluated DPL on the Visual Genome (VG150) and GQA (GQA200) benchmarks. DPL demonstrated remarkable performance gains when integrated with various baseline models like Motifs, VCTree, and VTransE.

  • Performance Gains: On the Visual Genome dataset with the Motifs baseline, DPL increased Mean Recall (mR@100) from 16.1% to 37.4%.
  • Balanced Prediction: The F@K score, which balances overall accuracy and unbiasedness, consistently outperformed previous state-of-the-art methods like TDE or DLFE.
  • Qualitative Insights: Visualizations confirmed that DPL successfully clusters different semantic contexts of the same label, such as distinguishing "man on horse" from "woman on sidewalk."

Conclusion

DPL provides a robust, model-agnostic solution to the long-tail problem in Scene Graph Generation by explicitly modeling semantic diversity. By treating predicates as regions rather than points, the framework allows models to recognize specific, informative relationships that were previously overshadowed by generic "head" classes. Future work will explore scaling the sampling process to further refine these semantic boundaries.

Summary updated

BibTeX
@inproceedings{jeon2024semantic,
  author = {Jaehyeong Jeon and Kibum Kim and Kanghoon Yoon and Chanyoung Park},
  title = {{Semantic Diversity-Aware Prototype-Based Learning for Unbiased Scene Graph Generation}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73113-6\_22},
}
Figure