Introduction
Scene Graph Generation (SGG) is a critical task in computer vision that involves mapping an image into a structured graph where nodes represent objects and edges represent their relationships. While these graphs are invaluable for complex tasks like image retrieval and visual reasoning, training them typically requires dense, localized supervision. This involves manually drawing bounding boxes for every object and explicitly linking them to specific relationships—a process that is both labor-intensive and difficult to scale.
Weakly Supervised Scene Graph Generation (WSSGG) seeks to alleviate this burden by learning from "unlocalized" data, such as image captions. The central challenge in WSSGG is grounding: determining which pixels correspond to which entities in a caption. Most current methods rely on object-consistency, ensuring a region looks like the object it is labeled as. However, they often lack interaction-consistency. For instance, if an image contains two people, an object-aware model might struggle to identify which one is "riding" a skateboard without understanding the relational context. This paper introduces a framework that fuses object-level and interaction-level knowledge to solve the grounding problem more effectively.
The Student-Teacher Framework
The authors propose a distillation-based approach where a "Student Grounder" learns from the combined wisdom of two specialized "Teachers."
1. The Student Grounder
The core of the model is a grounding module trained via Multiple Instance Learning (MIL). It treats the image as a "bag" of potential regions and the caption as a "bag" of entities, attempting to find the most statistically likely matches between the two.
2. The Object-aware Teacher
To provide categorical grounding, the framework uses an off-the-shelf object detector pretrained on large-scale datasets like OpenImages. This teacher ensures that if a caption mentions a "boy," the student focuses on regions that statistically match the visual features of a person.
3. The Interaction-aware Teacher
To capture the nuances of relationships, the authors leverage a pretrained Vision-Language (VL) model (ALBEF). By utilizing Grad-CAM, they extract activation maps that highlight the specific image areas the VL model focuses on when processing relationship-based text. This allows the model to distinguish between objects based on their actions and interactions rather than just their appearance.
Adaptive Knowledge Fusion
Because pretrained teachers can be noisy or suffer from domain shifts, the framework does not treat their advice as absolute. Instead, it employs two adaptive strategies to weight their suggestions:
- Expert-guided Reweight: Uses CLIP to measure the semantic similarity between the grounded region and the text entity, acting as an external validator.
- Self-guided Reweight: A learnable adaptor network that predicts the reliability of each teacher's suggestion for a specific sample, allowing the model to ignore a teacher if it appears to be hallucinating or out-of-domain.
The student is then trained to mimic these fused "pseudo-labels" using KL-divergence loss, effectively transferring "common sense" from massive pretrained models into the specific task of scene graph generation.
Experimental Results
The model was evaluated on the Visual Genome (VG) and COCO benchmarks across various supervision settings, including unlocalized triplets and natural language captions. Key findings include:
- State-of-the-Art Performance: On the VG Caption task, the model improved Recall@50 from 8.05% to 10.50%, a significant relative improvement over previous methods.
- Improved Grounding: In the "Unlocalized Graph" setting, it achieved a Recall@100 of 13.15%, surpassing the previous best of 11.50%.
- Mutual Benefit: Interestingly, the model improved object detection accuracy (mAP) by nearly 4% over baselines. This suggests that better relationship understanding actually helps the model locate objects more precisely, as the context of the interaction provides additional clues about the object's identity.
Conclusion and Future Work
By integrating object-aware and interaction-aware knowledge, this framework demonstrates that WSSGG can achieve high performance without the need for manual bounding box annotations. While the current model uses "hard" pseudo-labels and focuses on static images, the authors identify two primary avenues for future research: the use of "soft" probabilistic labels to preserve nuanced information and the extension of this framework to Video Scene Graph Generation, where temporal interactions provide even richer data for weak supervision.
Summary updated