Abstract
Visual Question Answering (VQA) models often rely on manually annotated "perfect" scene graphs, leading to significant performance degradation when applied to noisy, real-world images. We present SelfGraphVQA, a framework that utilizes self-supervised contrastive learning to extract robust visual reasoning from automatically generated scene graphs. By employing a Siamese network architecture and specialized maximization strategies, SelfGraphVQA bridges the gap between ideal and extracted scene graphs, achieving a nearly 25-percentage-point improvement over baseline models on the GQA dataset.
Introduction
Visual Question Answering (VQA) requires an AI to understand both a question and the complex spatial relationships within an image. Scene Graphs (SGs) are a popular representation for these relationships, mapping objects as nodes and their interactions as edges. However, a significant challenge exists: most high-performing SG-VQA models are trained on "ideal" human-annotated scene graphs. When these models are evaluated on scene graphs generated automatically by AI—which are often noisy or incomplete—accuracy on benchmarks like the GQA dataset can drop from 94.8% to 29.7%. This suggests that current models exploit the "perfection" of human annotations rather than performing true visual reasoning. SelfGraphVQA aims to create a framework robust enough to handle the imperfect, "extracted" scene graphs encountered in real-world scenarios.
Methods
SelfGraphVQA introduces a self-supervised framework that does not require expensive human labels. It utilizes an off-the-shelf, unbiased scene graph generator and a Siamese network architecture inspired by SimSiam.
The core approach involves generating two different "views" of a scene graph from a single image through semantically-preserving augmentations. The model is then trained to recognize that these different graphs represent the same underlying scene. Three primary maximization strategies were explored:
- Local Similarity: Matching individual object (node) embeddings between the two views.
- Global Similarity: Matching the overall summary representation of the entire graph.
- SelfSim (Permutation-Equivariant Regularization): A specialized loss ensuring that node ordering does not alter the graph's semantic meaning, aligning augmented views with an "anchored" original.
The architecture incorporates a Graph Attention Network (GAT) to distill relevant graph components based on the input question and utilizes BERT for expressive language processing.
Results and Discussion
The SelfGraphVQA framework demonstrates significant recovery in performance when using extracted scene graphs. While a baseline model trained on ideal data and tested on extracted data achieves only 29.7% accuracy, the SelfGraphVQA (SelfSim) variant reaches 54.0%, and the addition of BERT further improves this to 54.5%.
Key insights from the evaluation include:
- Reduced Linguistic Bias: Testing with injected noise in questions and graphs proved that the self-supervised approach relies more on actual visual cues than on language patterns.
- Robustness to Noise: Contrastive learning helps the model ignore noise in AI-generated graphs and focus on underlying structural information.
- Efficiency: The framework demonstrated faster convergence during training, approximately 20% faster than standard baselines.
- Visual Priority: Results suggest that for complex spatial reasoning, enhancing visual representation via the scene graph is more effective than increasing language model capacity alone.
Conclusion
SelfGraphVQA represents a major step toward making VQA models viable for real-world applications where human annotations are unavailable. By leveraging self-supervision, the model recovers a substantial portion of the performance lost when transitioning from ideal to extracted scene graphs. Future work will focus on developing more robust scene graph generators and exploring augmentations that specifically target the types of errors common in AI-generated graphs.
Summary updated