Mitigating Hallucinations in Large Vision-Language Models with Internal Fact-based Contrastive Decoding
Chao Wang, Xuancheng Zhou, Weiwei Fu, Yang Zhou
TL;DR
This work tackles object hallucination in large vision-language models by introducing Internal Fact-based Contrastive Decoding (IFCD), an inference-time, model-agnostic method that leverages internal representation editing to generate a pair of distributions ($P^+$ and $P^-$) and contrastively decode to suppress hallucinatory logits. A TruthX-based editing component reveals truthfulness in latent representations, and adaptive plausibility constraints limit the influence of dubious tokens. Evaluated on LLaVA 1.5 and InstructBLIP across POPE, MME, and MSCOCO, IFCD achieves consistent reductions in hallucinations and improvements in perceptual tasks, e.g., up to 9% POPE accuracy and 8% MME improvements, while preserving text generation quality. The results indicate a practical, low-cost improvement toward more truthful LVLM outputs without additional external data or fine-tuning, with broad relevance for reliable multimodal AI systems.
Abstract
Large Visual Language Models (LVLMs) integrate visual and linguistic modalities, exhibiting exceptional performance across various multimodal tasks. Nevertheless, LVLMs remain vulnerable to the issue of object hallucinations. Previous efforts to mitigate this issue focus on supervised fine-tuning (SFT) or incorporating external knowledge, both of which entail significant costs related to training and the acquisition of external data. To address these challenges, we propose a novel model-agnostic approach termed Internal Fact-based Contrastive Decoding (IFCD), designed to mitigate and suppress hallucinations during the inference process of LVLMs by exploiting the LVLMs' own hallucinations. IFCD is grounded in experimental observations that alterations to the LVLMs' internal representations tend to amplify hallucinations caused by language bias. By contrasting disturbed distribution, IFCD calibrates the LVLMs' output and effectively removes the hallucinatory logits from the final predictions. Experimental results validate that IFCD significantly alleviates both object-level and attribute-level hallucinations while achieving an average 9% accuracy improvement on POPE and 8% accuracy improvement on MME object hallucinations subset compared with direct decoding, respectively.
