Abstract: Selecting relevant key objects and reasoning about complex relationships across visual and linguistic domains are two critical challenges in Visual Question Answering (VQA). In this work, we introduce the VC-HGCL (Visual Commonsense based Heterogeneous Graph Contrastive Learning) module. By incorporating visual commonsense information and utilizing a heterogeneous graph contrastive learning framework, our method enhances visual reasoning. Designed as a plug-and-play component, VC-HGCL can be easily integrated into various VQA architectures. Our model features two key components: Commonsense-based Contrastive Learning, which focuses the model on discriminative objects and relevant attributes, and a Graph Relation Network (GRN) that effectively reasons about intra-domain and cross-domain correlations. Extensive experiments across four benchmarks demonstrate that VC-HGCL significantly improves the performance of seven representative VQA models.
The Challenge of Spurious Correlations
Standard VQA models often rely on "spurious correlations"—statistical co-occurrences in training data—rather than genuine reasoning. For instance, if a dataset frequently depicts babies being held by hands, a model might ignore visual evidence of a carrier and incorrectly predict "hands" when asked how a baby is supported.
The core challenge involves two tasks: Feature Selection (identifying relevant objects in complex scenes) and Relational Reasoning (understanding semantic links between visual and textual elements). Existing methods frequently overlook "visual commonsense"—the inherent causal knowledge of real-world object interactions.
Methodology: The VC-HGCL Framework
The VC-HGCL module is designed to be integrated into existing VQA architectures. Its functionality rests on three primary pillars:
- Visual Commonsense Extraction: Utilizing a pre-trained "VC R-CNN," the model extracts features ($F_{VC}$) representing an object's causal relationship with its environment (e.g., a "baby" feature influenced by a "strap").
- Contrastive Sample Generation: To ensure the model prioritizes these features, a triplet of samples is created: an Anchor (standard + commonsense features), a Positive sample (anchor + Gaussian noise), and a Negative sample (standard features only). Using InfoNCE loss, the model learns to pull the anchor and positive samples together while pushing the "commonsense-less" negative sample away.
- Graph Relation Network (GRN): Visual and textual entities are treated as nodes in a heterogeneous graph. The GRN calculates "homogeneous edges" (intra-domain relationships) and "heterogeneous edges" (cross-domain links). In image tasks, Intersection over Union (IoU) is used to prune information flow between non-overlapping objects, reducing noise.
Experimental Results and Insights
The researchers evaluated VC-HGCL on four major benchmarks: NExT-QA (causal/temporal video reasoning), MSVD-QA & MSRVTT-QA (general video recognition), and VCR (image-based rationale reasoning).
Key findings include:
- Universal Improvement: VC-HGCL boosted seven representative VQA models (e.g., HGA, HCRN, STVQA). On NExT-QA, it achieved gains of up to 2.30% in causal reasoning and 3.73% in temporal reasoning.
- Breaking Spurious Correlations: Contrastive learning acts as the necessary "stick" to force models to attend to subtle commonsense cues, preventing standard high-dimensional features from drowning out the commonsense signal.
- Prioritizing Low-Frequency Information: The model learns to value low-frequency semantic information (like a "strap") over high-frequency distractions (like "adult hands") when the former is the actual causal agent.
Conclusion
VC-HGCL offers a robust, plug-and-play solution for enhancing reasoning in VQA. By forcing models to focus on causal relationships rather than just statistical patterns, it achieves state-of-the-art performance. Future work will explore generalizing this framework to generative vision-language tasks like image captioning and visual dialog.
Summary updated