NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

BCTR: Bidirectional Conditioning Transformer for Scene Graph Generation

Peng Hao, Weilong Wang, Xiaobing Wang, Yingying Jiang, Hanchao Jia, Shaowei Cui, Junhang Wei, Xiaoshuai Hao

This blog-style summary provides a technical overview of the paper "BCTR: Bidirectional Conditioning Transformer for Scene Graph Generation."

TL;DR

BCTR introduces a novel one-stage Scene Graph Generation (SGG) framework that replaces traditional unidirectional dependencies with a bidirectional conditioning mechanism. By enabling entities and predicates to mutually augment each other within a semantically aligned feature space (regularized via CLIP), BCTR achieves state-of-the-art performance, particularly on rare and unseen relationships.

What Problem Does This Paper Address?

Scene Graph Generation (SGG) involves identifying objects (entities) and their relationships (predicates) to form $(subject, predicate, object)$ triplets. It is a cornerstone for high-level tasks like visual question answering and image captioning.

The field has two main hurdles:

  1. Inefficient Interaction: Traditional two-stage methods are computationally expensive, while newer one-stage methods often assume a "one-way street" for information—usually conditioning predicates on entity features. This prevents entity detection from benefiting from relationship context (e.g., knowing something is "being sat on" helps identify it as a "bench").
  2. The Long-Tail Problem: SGG datasets are notoriously imbalanced. Models struggle to generalize to "tail" categories (rare relationships) or "zero-shot" scenarios (unseen triplets) because their feature spaces are unregularized and biased toward common samples.

Methods

The authors propose the Bidirectional Conditioning Transformer (BCTR), which features two core innovations:

1. Bidirectional Conditioning Generator (BCG)

Instead of a linear pipeline, BCG implements a mutual dependency between entity and predicate decoders.

  • Inner Interaction: Uses Bidirectional Attention (BiAtt) to allow information exchange between entity and predicate queries within a single layer.
  • Outer Interaction: Employs iterative refinement across multiple stages, where current detections are conditioned on previous estimates to progressively sharpen the scene graph.

2. Random Feature Alignment (RFA)

To solve the generalization problem, RFA aligns the model's visual feature space with the semantic space of a pre-trained Vision-Language Pre-trained Model (VLPM), specifically CLIP.

  • Masked Distillation: To prevent the model from collapsing all local relationship features into a single global "image gist," RFA randomly selects subsets of decoder features to align with CLIP's visual features. This preserves the diversity needed to represent multiple distinct relationships in one image.
  • CLIP-based Initialization: The classifier weights are initialized using CLIP text embeddings of the category names, providing a strong semantic prior for both common and rare classes.
The motivation and pipeline of BCTR, showing how bidirectional interaction in an aligned space helps recover missed nodes.

Datasets

The model was evaluated on two industry-standard benchmarks:

  • Visual Genome (VG): The most representative SGG dataset, containing 150 object categories and 50 predicate categories.
  • Open Image V6 (OI V6): A larger-scale dataset with 288 object categories and 30 predicate categories, used to test scalability and robustness.

Key Insights and Ideas

  • Mutual Enhancement: The "aha moment" is that bidirectional interaction isn't just a theoretical improvement; it practically helps recover "missed" nodes. If the model is confident about a "Laying on" predicate, that confidence flows back to help identify a blurry "Sofa" entity.
  • Semantic Alignment as a Regularizer: By forcing the model to learn features that "look like" language-aligned CLIP features, the model learns patterns of interaction rather than just memorizing training triplets. This is why it excels at zero-shot generalization.
  • Diversity via Randomness: The "Random" in RFA is crucial. Standard distillation can be too restrictive; by randomly masking features during alignment, the model maintains the flexibility to detect many different objects and actions simultaneously.

Key Results

BCTR achieves State-of-the-Art (SOTA) performance on both benchmarks:

  • Visual Genome: BCTR improved mean Recall (mR@100)—a metric that favors balanced performance across all classes—by 21% over the previous best one-stage method.
  • Long-Tail Success: In the "tail" category (the rarest relationships), BCTR outperformed the runner-up by a staggering 68%, proving the effectiveness of the RFA module.
  • Zero-Shot Generalization: The model showed significant gains in Zero-shot Recall (zR@k), indicating it can successfully predict relationship triplets it never saw during training.
  • Qualitative Improvement: Visualizations show BCTR is much better at detecting detailed relationships (like "woman wearing pant") compared to baselines that only catch prominent ones.

Limitations and Future Work

Despite its success, the authors note a few areas for improvement:

  • CLIP's Granularity: CLIP is designed for global image-text alignment. It sometimes struggles with the fine-grained, local structured knowledge (like specific object properties) required for perfect SGG.
  • Computational Overhead: The bidirectional mechanism and iterative stages add parameters and slow down inference speed (3.7 FPS vs. 5.1 FPS for the baseline).
  • Future Directions: The authors suggest exploring more advanced, fine-grained VLPMs and investigating how to better capture structured knowledge beyond simple triplets.

Summary updated

BibTeX
@article{hao2024bctr,
  author = {Peng Hao and Weilong Wang and Xiaobing Wang and Yingying Jiang and Hanchao Jia and Shaowei Cui and Junhang Wei and Xiaoshuai Hao},
  title = {{BCTR: Bidirectional Conditioning Transformer for Scene Graph Generation}},
  journal = {Information Fusion},
  year = {2024},
  doi = {10.1016/j.inffus.2025.103260},
}
Figure