Abstract
Current Vision-Language Models (VLMs) are frequently forced to provide answers to questions that require context missing from a single static image. This "forced guessing" often leads to hallucinations and unreliable outputs. We introduce CARA (Context-AwaRe Abstention), a novel detector designed to identify when a situation is underspecified. By allowing models to intelligently abstain from making baseless predictions, CARA significantly improves model reliability and trustworthiness across multiple benchmarks.
Introduction
Most Vision-Language Understanding (VLU) benchmarks, such as VQA or VCR, operate under the assumption that a single image contains all necessary information to answer a given question. However, real-world events are inherently temporal and situational. For instance, an image of a messy boat cannot definitively explain why it is messy without preceding context.
When models are trained on these "insufficient context" samples without an option to express uncertainty, they learn to rely on statistical biases or hallucinate plausible-sounding but unverified answers. This behavior undermines the deployment of VLMs in safety-critical domains like autonomous driving or assistive technologies.
Methodology
Our approach addresses context insufficiency through two primary mechanisms:
1. Probabilistic Context Selection
For datasets derived from video sources (e.g., VCR, VisualCOMET), we retrieve preceding and succeeding frames and scripts. We developed a "plug-and-play" module that scores these additional context pieces and selects the most relevant information to augment the model's input.
2. CARA: Context-AwaRe Abstention
In scenarios where external context is unavailable, we propose CARA, a detector that determines if a model should abstain from answering.
- Pseudo-Labeling: We train two models: a Context-aware VLM (C-VLM) with access to extra data, and a Vanilla VLM. A sample is labeled as "insufficient context" if the C-VLM is confident and correct while the Vanilla VLM is not.
- The Detector: CARA is a 24-layer cross-modal attention module trained on these labels. It analyzes image-question pairs during inference to predict context sufficiency without requiring the actual missing context.
Experimental Setup and Evaluation
We evaluated our methods across several standard benchmarks: VQA v2, OKVQA, A-OKVQA, GQA, VCR, and VisualCOMET. Additionally, we introduced:
- Visual SWAG: A multimodal adaptation of the SWAG dataset using video frames as premises.
- CASE (Context Ambiguity and Sufficiency Evaluation): A new evaluation set of 1,000 samples manually annotated by humans to establish a ground truth for situational ambiguity.
Key Insights
- Textual vs. Visual Context: Interestingly, adding more visual frames often introduced noise. In contrast, textual context (scripts or captions) provided the most consistent performance improvements.
- Generalization: A CARA detector trained on one benchmark (e.g., VCR) generalizes effectively to others (e.g., VQA v2) without retraining, indicating that context insufficiency is a fundamental property of the data.
- Evidence-Based Reasoning: By enabling abstention, we shift model behavior from "forced guessing" toward reasoning based on available evidence.
Results
CARA consistently improved accuracy by filtering out uncertain predictions. On the VCR benchmark, VL-BERT accuracy increased from 70.13% to 73.40%. In the CASE evaluation, CARA achieved 75.69% detection accuracy, significantly outperforming standard confidence-based baselines like MaxProb. Furthermore, integrating context selection with state-of-the-art models like BLIP-2 and MiniGPT-4 yielded gains in generative metrics (BLEU, CIDEr) on VisualCOMET.
Limitations and Future Work
While effective, the current context selection process is computationally intensive for long videos due to repeated input recomputation. Future work will focus on adapting the method for long-form, unsegmented content and refining the heuristic rules used for the final abstention decision to reduce manual tuning requirements.
Summary updated