Through the Magnifying Glass: Adaptive Perception Magnification for Hallucination-Free VLM Decoding

Shunqi Mao, Chaoyi Zhang, Weidong Cai
3/13/2025
14 citations
cs.CVcs.AI

Official code: ShunqiM/PM (15 stars, Python, last commit 2026-04-09).

Abstract

Existing vision-language models (VLMs) often suffer from visual hallucination, where the generated responses contain inaccuracies that are not grounded in the visual input. Efforts to address this issue without model finetuning primarily mitigate hallucination by contrastively reducing language biases or amplifying the weights of visual embedding during decoding.

Show full abstract

However, these approaches remain limited in their ability to capture fine-grained visual details. In this work, we propose the Perception Magnifier (PM), a novel visual decoding method that iteratively isolates relevant visual tokens based on attention and magnifies the corresponding regions, spurring the model to concentrate on fine-grained visual details during decoding. By magnifying critical regions while preserving the structural and contextual information at each decoding step, PM allows the VLM to enhance its scrutiny of the visual input, hence producing more accurate and faithful responses. Extensive experimental results demonstrate that PM not only achieves superior hallucination mitigation but also enhances language generation while preserving strong reasoning capabilities. Code can be found at https://github.com/ShunqiM/PM.

View on arXivView PDF

Code Implementations(1)

ShunqiM/PMOfficial100%
150Python, CudaMar 10, 20257 months ago

Similar Papers

Cite this paper

@article{mao2025through,
  title  = {Through the Magnifying Glass: Adaptive Perception Magnification for Hallucination-Free VLM Decoding},
  author = {Shunqi Mao and Chaoyi Zhang and Weidong Cai},
  year   = {2025},
  eprint = {2503.10183},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2503.10183v4}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2503.10183.svg)](https://codeofpaper.com/paper/2503.10183)

Discussion