TL;DR
Multimodal Large Language Models (MLLMs) frequently "hallucinate" objects by relying too heavily on language priors rather than actual visual evidence. By revealing that existing contrastive decoding methods implicitly function by altering cross-modal attention, the authors introduce Attention-Steerable Contrastive Decoding (ASCD). ASCD directly manipulates attention scores during inference to reduce hallucinations by up to 38.2% with negligible computational overhead and absolutely no additional training.
What Problem Does This Paper Address?
When you ask an MLLM to describe an image, it often suffers from "text inertia"—the tendency to generate text based on common linguistic patterns rather than what is actually in the image (e.g., hallucinating a "surfboard" just because the image features a beach).
To fix this, recent inference-phase techniques like Visual Contrastive Decoding (VCD) and Instruction Contrastive Decoding (ICD) use a clever trick: they feed the model a perturbed input (like a noisy image or a confusing prompt) to create a "negative" logit distribution, which they then subtract from the original predictions to filter out hallucinations. However, why these methods worked remained a black box. This paper opens that box, proving that these methods succeed because they systematically redistribute internal cross-modal attention. Armed with this insight, the authors ask a logical question: instead of indirectly perturbing inputs, why not just steer the attention mechanism directly?
Methods
The authors first demonstrate that VCD and ICD naturally lower attention on visual tokens while raising it on textual tokens in their negative branches.
To cut out the middleman, ASCD directly modifies the unnormalized attention score matrices during the decoding process using a two-stage framework:
- Text-centric Head Selection (Offline): The method profiles the model on a small reference dataset to identify "text-centric" attention heads—the specific heads most prone to ignoring visual cues in favor of text priors.
- Attention Steering (Online): During generation, ASCD runs two parallel paths to calculate contrastive logits:
- Positive Steering: It amplifies the attention weights of the pre-identified text-centric heads, forcing the model to anchor its generation more heavily on the visual tokens.
- Negative Steering: It dynamically identifies and dampens attention on the most critical visual tokens on the fly, intentionally inducing a strong hallucination effect to serve as the perfect negative contrastive branch.
Finally, these two steered logit distributions are fused using a contrastive decoding rule with truncation, sharpening the final output distribution toward factuality.
Datasets
The authors evaluated ASCD across five prominent MLLM backbones (including LLaVA-1.5, LLaVA-NeXT, Phi2-SigLIP, and Qwen2.5-VL-Instruct) using several distinct benchmarks:
- Hallucination Benchmarks: POPE (Polling-based Object Probing Evaluation), CHAIR (Caption Hallucination Assessment with Image Relevance), and MMHal-Bench.
- Standard VQA Benchmarks: MMMU, MM-VET, ScienceQA, TextVQA, and GQA (used to ensure the model's general capabilities weren't degraded).
- Profiling/OOD Datasets: COCO was used for initial head profiling, and NIH ChestX-ray14 was leveraged to test out-of-domain robustness.
Key Insights and Ideas
- The Attention Mechanism is the Real Lever: The success of contrastive decoding isn't just magic logit subtraction; it is fundamentally tied to how cross-modal attention is redistributed.
- Model-Specific, Domain-Agnostic Biases: "Text-centric" attention heads are highly unique to each specific model architecture, but they are remarkably stable. A head identified as text-biased on natural COCO images remains text-biased even when processing completely out-of-domain medical chest X-rays.
- Surgical Precision Beats Blanket Blurring: Rather than noising an entire image (like VCD), selectively dampening only the top-performing visual tokens creates a cleaner, more effective negative signal for contrastive decoding.
Key Results
- Substantial Hallucination Reduction: ASCD consistently outperformed baseline models, VCD, and ICD, slashing object-level hallucinations on POPE, CHAIR, and MMHal-Bench by up to 38.2%.
- Preserved General VQA Performance: While VCD and ICD frequently degrade a model's general visual question-answering performance, ASCD maintained or even improved accuracy across standard VQA benchmarks (e.g., boosting ScienceQA performance).
- Negligible Overhead: Because ASCD operates directly on internal attention matrices rather than running separate forward passes with inflated prompts or image transformations, it adds at most ~0.01 seconds of latency and a tiny ~0.6 GB VRAM footprint over the baseline model, making it highly practical for real-time deployment.
Limitations and Future Work
The primary limitation acknowledged in the paper is architectural integration: the current ASCD prototype can only be integrated into the standard PyTorch "eager" execution path. It cannot yet take full advantage of highly optimized fused attention backends like FlashAttention-2 or Scaled Dot-Product Attention (SDPA). Overcoming this engineering bottleneck to allow fused-kernel attention steering is a clear path for future work.
Summary updated