NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Envision, Attend, Then Respond: Counterfactual Hallucination Mitigation in Large Vision-Language Models

Yuxuan Liang, Fan Shi, Rui Zhu, Xu Li, Xiaolei Chen, Zhe Liu, Bin Li, Xiangyang XueCVPR 2026

TL;DR

Large Vision-Language Models (LVLMs) frequently succumb to "counterfactual hallucinations," blindly trusting their internal text-based commonsense priors over anomalous visual evidence (e.g., insisting a five-legged llama has only four legs). To fix this, the authors introduce Envision-Attend-Respond (EnAR), a training-free framework that uses a diffusion model to generate a "normal" version of the image, pinpoints the counterfactual anomalies by comparing attention maps, and applies contrastive decoding to force the model to ground its answers in reality.

What Problem Does This Paper Address?

While Large Vision-Language Models (LVLMs) excel at standard multimodal tasks, they suffer from a glaring cognitive bias: when an image contradicts real-world knowledge, the language model's strong linguistic priors often override the visual evidence. For example, if shown a picture of a five-legged llama, the model will confidently answer "four legs" because its web-scale pretraining has deeply ingrained the fact that llamas have four legs.

Existing hallucination mitigation techniques focus on general object presence or add random noise to images, but they struggle to handle these specific counterfactual scenarios where the model must actively suppress its common sense to describe an anomalous reality.

Methods

EnAR is a training-free, plug-and-play framework that operates in three distinct stages inspired by human cognitive conflict resolution:

  1. Envision (Visual Impression Generation): The framework leverages a pre-trained diffusion model to generate a "visual impression" ($\hat{V}$) of the input image. Because the diffusion model is trained on vast real-world data, its output represents an idealized, prior-consistent version of the scene (e.g., fixing the five-legged llama back into a normal four-legged one). By running multiple perturbations, it also computes a pixel-wise uncertainty map ($U$) to highlight modified regions.
  2. Attend (Counterfactual Element Localization): Both the original image and the visual impression are fed into the LVLM's vision encoder. EnAR extracts the attention maps and computes an element-wise absolute difference. Combining this contrastive attention map with the uncertainty map allows the framework to precisely isolate the tokens corresponding to the counterfactual anomaly. These anomalous tokens are then masked out using a standard <pad> token, creating a secondary padded input stream ($v'$).
  3. Respond (Contrastive Decoding): During text generation, the model contrastively decodes the logits from the original visual stream against the padded visual stream. By penalizing the tokens that dominate when the anomaly is masked out, the model is forced to focus on the actual, counterfactual visual evidence.
Figure 2. Overview of the EnAR framework. EnAR first generates a visual impression with a corresponding pixel-wise uncertainty map. Next, EnAR feeds both the original and impression images into the LVLM’s vision encoder to obtain contrastive attention, pads counterfactual tokens by combining attention differences with the uncertainty map. Finally, EnAR performs contrastive decoding over the original and padded inputs to suppress counterfactual hallucinations and produce the final response.

Datasets

The authors evaluated EnAR across five distinct hallucination and counterfactual benchmarks:

  • VLMBias: A specialized benchmark featuring subtly modified objects or logos designed to trigger counterfactual hallucinations.
  • PhD & WHOOPS: Benchmarks containing unusual, synthetic, or commonsense-breaking images.
  • HallusionBench: An advanced diagnostic suite assessing language hallucinations and visual illusions.
  • POPE (Object Presence Evaluation): The standard benchmark for general object hallucination evaluation (tested across Random, Popular, and Adversarial settings).

Key Insights and Ideas

  • Fighting Priors with Priors: Instead of trying to hard-code rules to suppress the LLM's internal knowledge, EnAR uses a generative visual prior (the diffusion model) to materialize what the model expects to see, making the visual contradiction explicit and measurable.
  • Shallow Layers are Better Localizers: Through ablation studies, the authors discovered that extracting attention maps from shallower layers of the vision encoder (specifically around layer 6) yields the best localization performance. Early layers focus on concrete, localized object features, whereas deeper layers suffer from "attention drift," where tokens act as global registers and lose spatial precision.
  • Model-Agnostic Architecture: Because EnAR operates entirely at the input token and decoding levels without modifying model weights, it works seamlessly across heterogeneous LVLM families (e.g., InternVL, Qwen, and LLaVA).

Key Results

EnAR demonstrated substantial, consistent improvements over state-of-the-art training-free baselines (like VCD, M3ID, and AGLA):

  • VLMBias: Achieved an absolute overall accuracy gain of 10.82% on InternVL3.5-8B (jumping from 19.83% to 31.36%) and 5.39% on Qwen2.5VL-7B.
  • POPE: Delivered an average F1-score improvement of 6.9% across all difficulty settings for LLaVA-v1.5-7B, proving that mitigating counterfactual bias also boosts general object grounding.
  • Qualitative Success: As shown in the case studies, EnAR successfully corrected model responses for highly deceptive images, such as identifying a modified car logo or accurately counting anomalous animal limbs.
Figure 6. Case study visualization. We illustrate how EnAR con- structs visual impressions, localizes counterfactual elements, and produces corrected responses.

Limitations and Future Work

  • Inference Overhead: The primary bottleneck of EnAR is computational efficiency. Generating multiple visual impressions via a diffusion model during the Envision stage introduces significant latency, making it less suitable for real-time applications in its current form.
  • Baseline Reasoning Caps: On highly complex reasoning tasks within the benchmarks (such as the "Chess Pieces" category in VLMBias), all tested methods scored 0%. EnAR can redirect a model's attention to visual evidence, but it cannot fix fundamental logical or reasoning deficiencies inherent to the base LVLM.
  • Future Directions: The authors suggest exploring optimized, faster diffusion sampling methods or distilled consistency models to minimize the inference cost of generating visual impressions.

Summary updated

BibTeX
@inproceedings{liang2026envision,
  author = {Yuxuan Liang and Fan Shi and Rui Zhu and Xu Li and Xiaolei Chen and Zhe Liu and Bin Li and Xiangyang Xue},
  title = {{Envision, Attend, Then Respond: Counterfactual Hallucination Mitigation in Large Vision-Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=Qe9SEEDff4},
}
Figure