Enhancing Visual Reliance in Text Generation: A Bayesian Perspective on Mitigating Hallucination in Large Vision-Language Models

Nanxing Hu, Xiaoyue Duan, Jinchao Zhang, Guoliang Kang

Introduction: The Hallucination Hurdle in LVLMs

Large Vision-Language Models (LVLMs), such as LLaVA, demonstrate remarkable fluency in multimodal tasks. However, they are plagued by "hallucination"—the generation of text that is contextually plausible but factually inconsistent with the visual input. This phenomenon typically arises when the underlying Large Language Model (LLM) backbone prioritizes its internal linguistic priors over the provided visual evidence. While existing solutions often rely on computationally intensive contrastive decoding or fine-tuning, they frequently fail to address the fundamental Bayesian mechanics of why visual reliance breaks down. This paper identifies three specific culprits: noisy visual tokens, biased language priors, and "posterior collapse," where the model eventually ignores the image entirely.

Methodology: The EVRB Framework

To address these issues, we introduce EVRB (Enhancing Visual Reliance from a Bayesian perspective). EVRB is a training-free decoding strategy that intervenes during inference to ensure the model remains anchored to visual reality.

The EVRB framework addresses redundant visual conditions, biased language priors, and posterior collapse during inference.

1. Redundant Visual Token Pruning

Not all visual tokens contribute equally to accurate generation. Some tokens are ambiguous and introduce noise into the context. EVRB evaluates the quality of visual tokens by passing them through the language model head to predict the subsequent text token. Tokens that result in high-entropy predictions—indicating model uncertainty—are classified as redundant and pruned. This ensures that only clear, informative visual evidence influences the generation process.

2. Language Prior Rectification

LLMs possess strong inherent biases toward specific word sequences based on their pre-training data. Following Bayesian principles, the posterior probability (prediction given the image) is proportional to the product of the prior (prediction without the image) and the likelihood. EVRB isolates visual evidence by dividing the model's output probability by its "blind" prior probability, effectively "canceling out" the LLM's linguistic stubbornness and forcing reliance on the visual likelihood.

3. Collapse-Aware Early Stopping

As sequences grow longer, LVLMs often enter an "autopilot" mode, where the influence of visual input diminishes—a state termed posterior collapse. EVRB monitors the Jensen-Shannon (JS) divergence between the posterior and prior distributions for visual-relevant tokens. A significant drop in divergence signals that the model is no longer utilizing the image. At this point, EVRB dynamically increases the probability of the <EOS> token to terminate generation before hallucinations occur.

Experimental Evaluation

EVRB was evaluated across several benchmarks, including POPE (object probing), CHAIR (captioning), and MME (general cognitive abilities).

  • Discriminative Tasks (POPE): On MSCOCO, EVRB achieved a state-of-the-art F1 score of 85.2%, outperforming existing methods like OPERA and VCD.
  • Generative Tasks (CHAIR): The sentence-level hallucination metric (CHAIR_S) improved significantly, dropping from 50.0 (vanilla LLaVA) to 39.8, while maintaining high recall.
  • Efficiency: Crucially, EVRB is computationally efficient. By utilizing a separated KV-cache, it performs inference in a single forward pass, making it significantly faster than contrastive decoding alternatives like ICD or VCD.

Conclusion

EVRB provides a mathematically grounded, training-free solution to LVLM hallucinations. By pruning noisy tokens, rectifying priors, and detecting posterior collapse, it ensures that models remain faithful to the visual input. The success of this Bayesian approach suggests that future LVLM development could benefit from integrating these constraints directly into the training or alignment phases.

Summary updated

BibTeX
@inproceedings{hu2025enhancing,
  author = {Nanxing Hu and Xiaoyue Duan and Jinchao Zhang and Guoliang Kang},
  title = {{Enhancing Visual Reliance in Text Generation: A Bayesian Perspective on Mitigating Hallucination in Large Vision-Language Models}},
  booktitle = {ACM Multimedia},
  year = {2025},
  doi = {10.1145/3746027.3755606},
}
Figure