Why context matters in VQA and Reasoning: Semantic interventions for VLM input modalities
Kenza Amara, Lukas Klein, Carsten Lüth, Paul Jäger, Hendrik Strobelt, Mennatallah El-Assady
TL;DR
This paper systematically analyzes how image and text modalities contribute to Visual Language Model predictions in VQA and reasoning tasks using the SI-VQA dataset and ISI tool. It introduces seven modality configurations to probe complementary versus contradictory contexts, evaluating state-of-the-art VLMs (LLaVA variants and PaliGemma) across accuracy, reasoning quality, uncertainty, and attention attribution, with semantic entropy-based metrics like $SE(x)$ and the AUGRC measure for silent failures. Key findings show that complementary textual context improves accuracy and reasoning, while contradictory context degrades performance and confidence; image information dominates attention, and textual annotations offer limited benefit. The work also demonstrates that prompt engineering can modestly influence modality emphasis without reliably shifting attention, and highlights the problematic overconfidence of PaliGemma. Overall, SI-VQA and ISI provide a robust framework for rigorous analysis of modality integration and model reliability in multimodal predictions, with implications for dataset design and future VLM development.
Abstract
The various limitations of Generative AI, such as hallucinations and model failures, have made it crucial to understand the role of different modalities in Visual Language Model (VLM) predictions. Our work investigates how the integration of information from image and text modalities influences the performance and behavior of VLMs in visual question answering (VQA) and reasoning tasks. We measure this effect through answer accuracy, reasoning quality, model uncertainty, and modality relevance. We study the interplay between text and image modalities in different configurations where visual content is essential for solving the VQA task. Our contributions include (1) the Semantic Interventions (SI)-VQA dataset, (2) a benchmark study of various VLM architectures under different modality configurations, and (3) the Interactive Semantic Interventions (ISI) tool. The SI-VQA dataset serves as the foundation for the benchmark, while the ISI tool provides an interface to test and apply semantic interventions in image and text inputs, enabling more fine-grained analysis. Our results show that complementary information between modalities improves answer and reasoning quality, while contradictory information harms model performance and confidence. Image text annotations have minimal impact on accuracy and uncertainty, slightly increasing image relevance. Attention analysis confirms the dominant role of image inputs over text in VQA tasks. In this study, we evaluate state-of-the-art VLMs that allow us to extract attention coefficients for each modality. A key finding is PaliGemma's harmful overconfidence, which poses a higher risk of silent failures compared to the LLaVA models. This work sets the foundation for rigorous analysis of modality integration, supported by datasets specifically designed for this purpose.
