ONLY: One-Layer Intervention Sufficiently Mitigates Hallucinations in Large Vision-Language Models

Zifu Wan, Ce Zhang, Silong Yong, Martin Q. Ma, Simon Stepputtis +4 more
7/1/2025
cs.CVcs.CL

Official code: zifuwan/ONLY (52 stars, MIT, last commit 2025-07-07).

Abstract

Recent Large Vision-Language Models (LVLMs) have introduced a new paradigm for understanding and reasoning about image input through textual responses. Although they have achieved remarkable performance across a range of multi-modal tasks, they face the persistent challenge of hallucination, which introduces practical weaknesses and raises concerns about their reliable deployment in real-world applications. Existing work has explored contrastive decoding approaches to mitigate this issue, where the output of the original LVLM is compared and contrasted with that of a perturbed version. However, these methods require two or more queries that slow down LVLM response generation, making them less suitable for real-time applications. To overcome this limitation, we propose ONLY, a training-free decoding approach that requires only a single query and a one-layer intervention during decoding, enabling efficient real-time deployment. Specifically, we enhance textual outputs by selectively amplifying crucial textual information using a text-to-visual entropy ratio for each token. Extensive experimental results demonstrate that our proposed ONLY consistently outperforms state-of-the-art methods across various benchmarks while requiring minimal implementation effort and computational cost. Code is available at https://github.com/zifuwan/ONLY.

View on arXivView PDF

Code Implementations(1)

zifuwan/ONLYOfficial100%
MIT

[ICCV 2025] ONLY: One-Layer Intervention Sufficiently Mitigates Hallucinations in Large Vision-Language Models

525C, C++Jun 27, 20251 years agoMIT

Similar Papers

Cite this paper

@article{wan2025only,
  title  = {ONLY: One-Layer Intervention Sufficiently Mitigates Hallucinations in Large Vision-Language Models},
  author = {Zifu Wan and Ce Zhang and Silong Yong and Martin Q. Ma and Simon Stepputtis and Louis-Philippe Morency and Deva Ramanan and Katia Sycara and Yaqi Xie},
  year   = {2025},
  eprint = {2507.00898},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2507.00898v1}
}

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/2507.00898.svg)](https://codeofpaper.com/paper/2507.00898)

Discussion