Correcting Visual Blur Induced by Attention Distraction to Reduce Hallucinations: Algorithm and Theory

· Source: cs.AI updates on arXiv.org · Field: Technology & Digital — Artificial Intelligence & Machine Learning, Emerging Technologies & Innovation · Depth: Expert, extended

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

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

Topics

Best for: Research Scientist, Computer Vision Engineer, AI Scientist, Machine Learning Engineer, AI Engineer

Related on AIssential

Open in AIssential →

Editorial summary, takeaway, and curation by AIssential. Original article published by cs.AI updates on arXiv.org.