Residual Decoding: Mitigating Hallucinations in Large Vision-Language Models via History-Aware Residual Guidance
Xinrong Chen, Xu Chu, Yingmin Qiu, Hengyuan Zhang, Jing Xiong, Shiyu Tang, Shuai Liu, Shaokang Yang, Cheng Yang, Hayden Kwok-Hay So, Ngai Wong
TL;DR
The paper tackles hallucinations in Large Vision-Language Models caused by language priors, showing that hallucinated tokens can emerge during decoding and overshadow visually grounded tokens. It introduces Residual Decoding (ResDec), a training-free decoding strategy that uses historical information and $JSD$ to identify stable semantic phases and generate a residual logit stream, which is blended with the current logits via a weight $\alpha$. By performing confidence-weighted aggregation over a historical window and fusing history with present information through $p_{\text{ResDec}}(y_t|v,x,y_{<t})$, ResDec substantially reduces hallucinations while maintaining efficiency, achieving average improvements of $7.84\%$ in accuracy and $8.01\%$ in F1 across three LVLMs on POPE benchmarks and attaining state-of-the-art results on multiple hallucination and comprehensive benchmarks. This shows decoding-time interventions can significantly improve visual grounding and reliability in LVLMs with negligible overhead, offering a practical path toward more trustworthy multimodal generation.
Abstract
Large Vision-Language Models (LVLMs) can reason effectively from image-text inputs and perform well in various multimodal tasks. Despite this success, they are affected by language priors and often produce hallucinations. Hallucinations denote generated content that is grammatically and syntactically coherent, yet bears no match or direct relevance to actual visual input. To address this problem, we propose Residual Decoding (ResDec). It is a novel training-free method that uses historical information to aid decoding. The method relies on the internal implicit reasoning mechanism and token logits evolution mechanism of LVLMs to correct biases. Extensive experiments demonstrate that ResDec effectively suppresses hallucinations induced by language priors, significantly improves visual grounding, and reduces object hallucinations. In addition to mitigating hallucinations, ResDec also performs exceptionally well on comprehensive LVLM benchmarks, highlighting its broad applicability.
