From General to Specific: Informative Scene Graph Generation via Balance Adjustment

Yuyu Guo, Lianli Gao, Xuanhan Wang, Yuxuan Hu, Xing Xu, Xu Lu, Heng Tao Shen, Jingkuan Song

Scene Graph Generation (SGG) is a critical task in computer vision that involves identifying objects and the relationships (predicates) between them. While object detection has matured, predicate prediction remains a bottleneck. Current SGG models tend to be "lazy," frequently predicting broad, safe predicates. For instance, a model might describe a scene as "stone on road" when "stone blocking road" would be far more useful for downstream applications like autonomous navigation.

Identifying Core Imbalances

The authors identify two primary reasons for this lack of specificity in generated scene graphs:

  1. Semantic Space Level Imbalance: Generic predicates like "on" have vast semantic boundaries. A person "standing on" snow is technically "on" snow. Because "on" is a broader category, it acts as a "safe" prediction that models (and human annotators) default to.
  2. Training Sample Level Imbalance: Datasets such as Visual Genome exhibit a severe long-tail distribution. Common predicates like "on," "has," and "wearing" appear orders of magnitude more frequently than informative ones like "walking on" or "parked on."
The long-tailed distribution of predicates in the Visual Genome dataset.

The BA-SGG Framework

To address these issues, the authors propose the Balance Adjustment SGG (BA-SGG) framework, which introduces two key components designed to force models to prioritize specific, high-information relationships.

Semantic Adjustment (SA)

SA is a post-processing technique that refines predictions using a transition matrix. It acknowledges that a prediction of a common predicate often masks a more specific underlying relationship. By analyzing the confusion between predicates in the training data, the model learns the latent relationships between general and specific terms and adjusts final probability scores toward more informative terms.

Transition matrix used for Semantic Adjustment to map generic predicates to specific ones.

Balanced Predicate Learning (BPL)

BPL tackles sample imbalance by leveraging Shannon Information Theory. Predicates are ranked by their "Information Content" (IC). The authors then create a balanced training subset by heavily undersampling frequent, low-IC predicates while preserving rare, high-IC ones. Crucially, they find that finetuning only the final classification layer on this balanced data is sufficient to significantly reduce bias without requiring a full model retrain.

Evaluation and Results

The framework was evaluated on the Visual Genome benchmark using standard metrics and a new metric: mean Recall with Information Content (mRIC). Unlike standard recall, mRIC weights correct predictions by their informativeness, rewarding models that choose specific predicates over generic ones.

BA-SGG demonstrated substantial improvements across various state-of-the-art architectures, including MotifNet, VCTree, and Transformer. For the Transformer baseline, Mean Recall (mR@100) on the Predicate Classification task surged from 17.5% to 34.2%. Qualitative results confirm that the model successfully transitions from generic descriptions (e.g., "person on skateboard") to informative ones (e.g., "person riding skateboard"), significantly improving the descriptive power of the resulting scene graphs.

Summary updated

BibTeX
@inproceedings{guo2021from,
  author = {Yuyu Guo and Lianli Gao and Xuanhan Wang and Yuxuan Hu and Xing Xu and Xu Lu and Heng Tao Shen and Jingkuan Song},
  title = {{From General to Specific: Informative Scene Graph Generation via Balance Adjustment}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2021},
  doi = {10.1109/iccv48922.2021.01607},
}
Figure