Correcting Visual Blur Induced by Attention Distraction to Reduce Hallucinations: Algorithm and Theory
Summary
Multimodal large language models (MLLMs) frequently exhibit object hallucinations, a problem linked to an attention distraction phenomenon similar to human visual blur. This manifests in MLLMs as spatial inconsistency across multi-head attention and temporal fading of visual attention during decoding. Theoretical analysis indicates that such attention dispersion increases model complexity and impairs classification generalization. To address this, researchers propose the Attention-Focused Approach for Improved Image Perception (AFIP), a training-free framework. AFIP corrects attention distraction by enriching cross-head attention and reinforces visual grounding through dynamic historical attention enhancement. Extensive experiments on models like LLaVA-1.5, Shikra, MiniGPT-4, and Qwen-VL demonstrate AFIP's effectiveness, achieving over 50% improvement on CHAIR C_I and C_S metrics without additional training, and maintaining robustness across varying generation lengths up to 256 tokens.
Key takeaway
For Machine Learning Engineers deploying MLLMs in hallucination-sensitive applications, you should consider integrating the Attention-Focused Approach for Improved Image Perception (AFIP). This training-free, plug-and-play module effectively reduces object hallucinations by correcting attention inconsistencies and reinforcing visual grounding during inference. Implement AFIP in intermediate to deeper Transformer layers, tuning the top-k head selection to [5.5, 7.5] and the dynamic gating threshold τ to [0.4, 0.6] for optimal performance without additional training overhead.
Key insights
MLLM hallucinations arise from spatial attention inconsistency and temporal visual attention decay, which AFIP mitigates by enhancing visual grounding.
Principles
- Hallucinations link to human-like attention distraction in MLLMs.
- Attention dispersion increases model complexity and degrades generalization.
- Consistent multi-head attention improves generalization and token discrimination.
Method
AFIP corrects attention distraction by aggregating multi-head information and penalizing irrelevant areas, while adaptively fusing historical visual attention with a dynamic gating mechanism in deeper layers.
In practice
- Implement AFIP as a training-free, plug-and-play module.
- Apply attention modulation only to intermediate and deeper layers.
- Tune k (top heads) to [5.5, 7.5] and τ (gating threshold) to [0.4, 0.6].
Topics
- Multimodal LLMs
- Object Hallucination
- Attention Mechanisms
- Visual Grounding
- Inference-time Mitigation
- Generalization Theory
Best for: Research Scientist, Computer Vision Engineer, AI Scientist, Machine Learning Engineer, AI Engineer
Related on AIssential
See Counsel's argued verdicts on the open AI decisions leaders are weighing →
Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.