Ensemble predicate decoding for unbiased scene graph generation

Jiasong Feng, Lichun Wang, Hongbo Xu, Kai Xu, Baocai Yin

Abstract

Scene Graph Generation (SGG) aims to generate a comprehensive graphical representation that accurately captures the semantic information of a given scenario. However, the SGG model's performance in predicting more fine-grained predicates is hindered by a significant predicate bias. According to existing works, the long-tail distribution of predicates in training data results in the biased scene graph. However, the semantic overlap between predicate categories makes predicate prediction difficult, and there is a significant difference in the sample size of semantically similar predicates, making the predicate prediction more difficult. Therefore, higher requirements are placed on the discriminative ability of the model. In order to address this problem, this paper proposes Ensemble Predicate Decoding (EPD), which employs multiple decoders to attain unbiased scene graph generation. Two auxiliary decoders trained on lower-frequency predicates are used to improve the discriminative ability of the model. Extensive experiments are conducted on the VG, and the experiment results show that EPD enhances the model's representation capability for predicates. In addition, we find that our approach ensures a relatively superior predictive capability for more frequent predicates compared to previous unbiased SGG methods.

The Challenge of Predicate Bias

Scene Graph Generation (SGG) involves identifying objects in an image and the relationships (predicates) between them, such as [bird] -> [standing on] -> [banana]. A major hurdle in this field is predicate bias. Standard datasets are dominated by a few generic predicates like "on" or "has," while descriptive, fine-grained predicates like "standing on" are rare.

Models often adopt a "lazy" strategy, defaulting to high-frequency labels because they are statistically safer. This is exacerbated by semantic overlap; for instance, "on" and "standing on" are visually similar, but "on" is far more common. This leads to "fragmented" scene graphs that lack the detail necessary for complex downstream tasks.

Comparison of baseline and EPD prediction scores for a <bird, standing on, banana> relationship.

Ensemble Predicate Decoding (EPD)

To address this, the authors propose Ensemble Predicate Decoding (EPD), a model-agnostic "plug-in" that enhances the discriminative power of SGG models. Instead of a single classifier, EPD utilizes three specialized decoders sharing a common feature backbone:

  1. Main Decoder ($MD$): Trained on the full dataset (Head, Body, and Tail predicates) to ensure overall stability.
  2. Auxiliary Decoder 1 ($AD_1$): Trained only on "Body" and "Tail" predicates (mid-to-low frequency).
  3. Auxiliary Decoder 2 ($AD_2$): Trained exclusively on "Tail" predicates (the rarest).

By hiding high-frequency predicates from the auxiliary decoders, the model is forced to learn the subtle visual nuances of rare relationships. During inference, the outputs are combined via a weighted ensemble. Independent Batch Normalization (BN) layers for each branch allow the model to adapt to the varying statistical distributions of these sub-tasks.

The Ensemble Predicate Decoding (EPD) architecture featuring a main decoder and two auxiliary decoders.

Experimental Results

The model was evaluated on the Visual Genome (VG) dataset, which contains over 100,000 images with 50 predicate categories. EPD was integrated into existing state-of-the-art baselines like Motifs and VCTree.

Key findings include:

  • Improved Balance: When added to Motifs, EPD achieved a Mean score of 46.3 on the Predicate Classification (PredCls) task, outperforming both the baseline (40.9) and other debiasing methods like GCL (40.4).
  • Tail Predicate Boost: EPD significantly increased Mean Recall (mR@100) from 16.3% to 38.8% on PredCls.
  • Preserving Head Performance: Unlike many debiasing methods that sacrifice accuracy on common predicates to improve rare ones, EPD maintains a high Recall (R@K), demonstrating a superior balance across all predicate frequencies.

Conclusion

EPD provides a robust, model-agnostic solution to the long-standing problem of predicate bias in SGG. By forcing specialization through auxiliary decoders, it enables models to distinguish fine-grained interactions without losing the ability to recognize common ones. Future work may explore automated weighting mechanisms or applying similar ensemble strategies to object detection itself.

Summary updated

BibTeX
@inproceedings{feng2024ensemble,
  author = {Jiasong Feng and Lichun Wang and Hongbo Xu and Kai Xu and Baocai Yin},
  title = {{Ensemble predicate decoding for unbiased scene graph generation}},
  booktitle = {Neurocomputing},
  year = {2024},
}
Figure