Introduction
Scene Graph (SG) classification is a critical computer vision task that involves identifying objects and their semantic relationships within an image. However, the progress of SG models is often hindered by the high cost of manual annotation. Labeling a single image requires precise bounding boxes for every object and explicit definitions for every relationship, making large-scale dataset creation prohibitively expensive.
This paper introduces Texema, a framework designed to bypass this bottleneck by leveraging textual descriptions—which are far easier to collect than structured scene graphs—to train robust relational reasoning modules. By treating text as a source of "image-grounded" symbolic knowledge, Texema enables models to learn complex visual relationships even in extreme low-data regimes.
The Texema Framework
The core philosophy of Texema is the decoupling of visual perception from relational reasoning. While a model's backbone must process raw pixels to detect objects, the subsequent reasoning about how those objects interact can be learned from structured representations derived from text.
Text-to-Graph Extraction and Grounding
To utilize unstructured text, the authors employ a fine-tuned T5 (Text-to-Text Transfer Transformer) to convert captions into structured triples (e.g., (man, standing with, child)). To make these symbolic triples compatible with a vision model, they are mapped into the visual feature space.
By training a linear layer to identify the "cluster centers" of visual embeddings for each object and predicate class, the model creates a bridge between language and vision. This allows the relational reasoning component (a Graph Transformer) to process "fake" visual features derived from text as if they were extracted from real images.
Denoising Graph Autoencoder
The training process utilizes a denoising objective. Graphs extracted from text are mapped to visual embeddings, and certain nodes or edges are randomly masked. The Graph Transformer is then tasked with reconstructing these missing elements. This process teaches the model the underlying logic and common-sense structure of real-world scenes (e.g., understanding that a person is likely to be "sitting on" a bench) without requiring a massive corpus of annotated images.
Experimental Results
The effectiveness of Texema was evaluated using the Visual Genome (VG) dataset, specifically focusing on scenarios with limited annotated data (1% and 10% splits). The results demonstrate that injecting knowledge from text significantly boosts performance:
- Scene Graph Classification (SGCls): In the 1% data regime (~500 images), Texema achieved an 8x improvement in accuracy over supervised baselines.
- Object and Predicate Classification: The model showed a 3x improvement in object classification and a 1.5x improvement in predicate classification.
- Annotation Efficiency: Remarkably, fine-tuning the model with T5-extracted graphs from text performed nearly as well as using the expensive, manually annotated ground-truth graphs.
Conclusion and Future Work
Texema proves that textual descriptions can effectively substitute for high-cost image annotations in training relational reasoning modules. While the method currently requires a small parallel set of image-text pairs to establish the initial visual-textual grounding, it opens the door to using massive external text corpora like Wikipedia to further enhance visual common sense. Future research may focus on reducing the reliance on parallel data and addressing the inherent biases present in textual descriptions of visual scenes.
Summary updated