Grounding Language with Vision: A Conditional Mutual Information Calibrated Decoding Strategy for Reducing Hallucinations in LVLMs

Hao Fang, Changle Zhou, Jiawei Kong, Kuofeng Gao, Bin Chen, Shu-Tao Xia

TL;DR

Large Vision-Language Models (LVLMs) frequently hallucinate because they over-rely on language priors and ignore visual context during text generation. This paper introduces CMI-VLD, a decoding strategy that maximizes the conditional mutual information between text and images by dynamically filtering out irrelevant visual tokens and calibrating text token probabilities. The result is a significant reduction in hallucinations across multiple benchmarks without sacrificing inference speed.

What Problem Does This Paper Address?

While Large Vision-Language Models (LVLMs) excel at cross-modal tasks, they suffer from a persistent flaw: hallucination. They frequently generate responses that sound perfectly fluent but describe objects, attributes, or relationships that simply do not exist in the input image.

This issue primarily stems from an attention bias during the autoregressive decoding phase. As the model generates text, its attention shifts heavily toward the text tokens it has already produced, causing it to rely on the language priors embedded in its LLM backbone rather than the actual visual content. While previous decoding-based fixes attempt to alter token distributions empirically, they lack a rigorous theoretical foundation and fail to dynamically manage the relationship between visual inputs and evolving text.

Methods

The authors propose CMI-VLD (Conditional Mutual Information-aware adaptive Vision-Language Decoding), framing hallucination mitigation as an information-theoretic bi-level optimization problem. The goal is to maximize the Conditional Pointwise Mutual Information (C-PMI) between the image and the generated text.

The optimization is split into two interdependent mechanisms:

  1. Calibrated Distribution Sampling (Text Modality): At each decoding step, the next-token probability distribution is adjusted to prioritize tokens that show a high difference in probability when conditioned on the image versus when the image is absent. This penalizes tokens driven purely by language priors.
  2. Visual Token Purification (Visual Modality): Recognizing that many image tokens become redundant as generation progresses, the authors introduce a lightweight, learnable Visual Token Purifier (a few transformer blocks and MLP layers). This module dynamically masks out irrelevant visual tokens (retaining roughly 80-90% of the most informative ones) based on the current text context and attention scores.
Figure 2: Overview of the proposed CMI-VLD decoding. At each timestep t, CMI-VLD mitigates hallucination by maximizing mutual dependency between the visual input and the ongoing response through the proposed vision-language purification. Specifically, the visual token purifier first incorpo- rates current input tokens to predict an image mask Mv, which filters out irrelevant visual tokens to enhance C-PMI. Based on the refined visual input, a text token distribution is correspondingly constructed to penalize hallucination-related text tokens and hence guide the next-token sampling to further strengthen the dependency on the visual input.

Datasets

  • Purifier Training: The lightweight purifier network was trained using image-text pairs from ShareGPT4V (2,000 samples for LLaVA models; 4,000 samples for InstructBLIP and Shikra).
  • Evaluation Benchmarks: The method was evaluated across five prominent benchmarks:
  • MSCOCO (via the CHAIR metric for object hallucination).
  • POPE (Polling-based Object Probing Evaluation) to test object existence across random, popular, and adversarial splits.
  • Visual Genome (leveraging GPT-4o for fine-grained attribute and relational hallucination detection).
  • MME and MMBench to ensure general multimodal understanding and reasoning capabilities were preserved.

Key Insights and Ideas

  • The "Less is More" Visual Paradox: Not all visual tokens are useful at every stage of text generation. By actively pruning out "distracting" or redundant visual tokens, the model can focus its attention on the visual features most relevant to the immediate word being generated, which actually increases the mutual information between modalities.
  • Theoretical Unification: The authors demonstrate that several existing contrastive decoding methods (which only manipulate text tokens) can be mathematically viewed as special, text-only cases of their broader C-PMI maximization framework.
  • Attention Allocation Bias: Even though image tokens make up the bulk of the input prompt, they receive disproportionately lower cumulative attention scores compared to system prompts and generated text as the generation sequence grows.

Key Results

  • Substantial Hallucination Reduction: On the CHAIR metric using greedy decoding, CMI-VLD achieved massive drops in sentence-level hallucination ($C_S$). For LLaVA-1.5, $C_S$ dropped from 45.0 to 29.9, outperforming competitive baselines like OPERA and SID.
  • Superior Fine-Grained Accuracy: In the GPT-4o assisted evaluation on Visual Genome images, CMI-VLD demonstrated a relative improvement of 15.89% in the Sentence-level Hallucination Ratio (SHR) for LLaVA-1.5 while maintaining text fluency.
  • Maintained Efficiency: Despite adding an extra neural network module (the purifier), the reduction of visual tokens processed by the LLM backbone offset the purifier's overhead. CMI-VLD maintained a high throughput (Tokens Per Second) comparable to purifier-free baselines.
GPT-4o assisted benchmark results

Limitations and Future Work

Despite its strong performance, the authors note a few limitations:

  • Training Overhead: Introducing the visual token purifier requires an offline training step on image-text pairs, which adds to the development pipeline complexity.
  • Diminishing Long-Response Gains: When the model generates exceptionally long text responses, the efficiency gains achieved by pruning visual tokens become less significant relative to the growing text context.
  • Fixed Masking Ratio: The current implementation uses a fixed token retention ratio ($\gamma$) throughout the entire generation process. The authors suggest that exploring adaptive purification strategies—where the masking ratio dynamically changes at each decoding step—is a promising direction for future research.

Summary updated

BibTeX
@inproceedings{fang2025grounding,
  author = {Hao Fang and Changle Zhou and Jiawei Kong and Kuofeng Gao and Bin Chen and Shu-Tao Xia},
  title = {{Grounding Language with Vision: A Conditional Mutual Information Calibrated Decoding Strategy for Reducing Hallucinations in LVLMs}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=W5HnIf2jla},
}
Figure