Attention Reallocation: Towards Zero-cost and Controllable Hallucination Mitigation of MLLMs
Chongjun Tu, Peng Ye, Dongzhan Zhou, Lei Bai, Gang Yu, Tao Chen, Wanli Ouyang
TL;DR
MLLMs frequently hallucinate due to excessive reliance on language priors driven by misallocated self-attention. The authors propose AttnReal, a training-free attention reallocation method that detects attention sinks among output tokens and redistributes their attention to visual tokens, controlled by a down-scaling factor to trade off faithfulness and overall performance. By operating within the forward pass with minimal overhead, AttnReal improves grounding and reduces hallucinations across six open-source MLLMs and three decoding strategies, as demonstrated on CHAIR, MMHal-Bench, and GPT-assisted evaluations. The work highlights the central role of attention distribution in hallucinations and offers a practical, scalable solution for safer, more reliable MLLMs in vision-language tasks.
Abstract
Multi-Modal Large Language Models (MLLMs) stand out in various tasks but still struggle with hallucinations. While recent training-free mitigation methods mostly introduce additional inference overhead via retrospection strategy and contrastive decoding, we propose attention reallocation (AttnReal) to mitigate hallucinations with nearly zero extra cost. Our approach is motivated by the key observations that, MLLM's unreasonable attention distribution causes features to be dominated by historical output tokens, which further contributes to hallucinated responses because of the distribution gap between different token types. Based on the observations, AttnReal recycles excessive attention from output tokens and reallocates it to visual tokens, which reduces MLLM's reliance on language priors and ensures the decoding process depends more on the visual inputs. More interestingly, we find that, by controlling the intensity of AttnReal, we can achieve a wide-range trade-off between the response faithfulness and overall performance. Comprehensive results from different benchmarks validate the effectiveness of AttnReal across six open-source MLLMs and three decoding strategies.
