Linguistic Structures As Weak Supervision for Visual Scene Graph Generation

Keren Ye, Adriana Kovashka

Abstract

Prior work in scene graph generation requires categorical supervision at the level of triplets—subjects and objects, and predicates that relate them, either with or without bounding box information. However, scene graph generation is a holistic task: thus holistic, contextual supervision should intuitively improve performance. In this work, we explore how linguistic structures in captions can benefit scene graph generation. Our method captures the information provided in captions about relations between individual triplets, and context for subjects and objects (e.g. visual properties are mentioned). Captions are a weaker type of supervision than triplets since the alignment between the exhaustive list of human-annotated subjects and objects in triplets, and the nouns in captions, is weak. However, given the large and diverse sources of multimodal data on the web (e.g. blog posts with images and captions), linguistic supervision is more scalable than crowdsourced triplets. We show extensive experimental comparisons against prior methods which leverage instance- and image-level supervision, and ablate our method to show the impact of leveraging phrasal and sequential context, and techniques to improve localization of subjects and objects.

Introduction: Beyond Isolated Triplets

A Scene Graph is a structured representation of an image where nodes represent objects and edges represent their relationships. Traditionally, training models to generate these graphs requires "triplet" supervision, where human annotators manually label every subject, predicate, and object, often including bounding boxes. This process is not only expensive but also "local" in nature—it treats relationships in isolation, leading to ambiguity when multiple similar objects are present in a scene.

Comparison of standard triplet supervision vs. the proposed caption-based weak supervision. Captions provide global context (e.g., "checkered shirt") to disambiguate entities.

The authors address this by using natural language captions as weak supervision. Captions are abundant on the web and provide "global" context (e.g., "The man in the checkered shirt is standing on the rails"), which helps disambiguate entities and provides a more holistic view of the scene.

Methodology: Extracting Structure from Language

The proposed pipeline extracts and utilizes linguistic structures in three main stages to bridge the gap between text and pixels:

The multi-stage pipeline: (3.1) Phrasal context via GNNs, (3.2-3.4) Iterative grounding for visual box association, and (3.5) Sequential context for common-sense filtering.
  1. Phrasal Context: Instead of generic labels, the model uses a Graph Neural Network (GNN) to process a "text graph" parsed from the caption. This enriches entity representations with modifiers (e.g., "girl" becomes "girl wearing sunglasses sitting on sofa"), making it easier to locate the correct visual region.
  2. Iterative Grounding: An attention mechanism matches text entities to visual proposal boxes. To handle noise, the model employs Weakly Supervised Object Detection (WSOD) techniques to iteratively refine these groundings, bootstrapping better object locations during training.
  3. Sequential Context: To ensure physical plausibility, an RNN models the "fluency" of scene graph triplets. This acts as a common-sense filter, re-ranking predictions based on linguistic patterns (e.g., preferring plate-under-pizza over plate-on-pizza).

Experimental Evaluation

The model was evaluated on the Visual Genome (VG) and COCO datasets. The researchers tested under two settings: Cap-Graph (using noisy captions) and GT-Graph (using ground-truth text graphs to isolate model performance from parser errors).

Key Results

  • Performance Gains: On Visual Genome, the model outperformed the previous state-of-the-art weakly supervised method (VSPNet) by 59-67% in Recall@50.
  • Competitive with Full Supervision: When using ground-truth text graphs, the model's performance (7.30% R@50) surpassed older fully supervised methods like IMP (3.44%) and MotifNet (6.90%), despite lacking bounding box coordinates during training.
  • Ablation Insights: Each component—Phrasal, Iterative, and Sequential—contributed to the performance boost, with the Sequential common-sense module providing the most significant jump in final accuracy.

Conclusion

This work demonstrates that language is a powerful "incidental" teacher. By leveraging the inherent structure of captions, models can learn complex visual relationships without exhaustive manual labeling. While the model currently depends on external language parsers and faces "mention bias" (humans only describe interesting things), it represents a major step toward scalable, weakly supervised scene understanding.

Summary updated

BibTeX
@inproceedings{ye2021linguistic,
  author = {Keren Ye and Adriana Kovashka},
  title = {{Linguistic Structures As Weak Supervision for Visual Scene Graph Generation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2021},
  url = {https://openreview.net/forum?id=UknP9_QWcI1u},
}
Figure