Organizations: School of Information Science and Technology / National Key Laboratory of Deep Space Exploration, University of Science and Technology of China, China · Shenzhen International Graduate School, Tsinghua University, China · School of Software, Tsinghua University, China
Large Vision-Language Models (LVLMs) demonstrate impressive multimodal capabilities, yet suffer from hallucination - generating factually inaccurate content. Contrastive Decoding (CD) mitigates this by contrasting amateur and expert branches at the logit level. However, our investigation reveals that such logit-level interventions fundamentally compromise generation coherence, necessitating restrictive penalty constraints unrelated to hallucination suppression. We introduce Attention Contrastive Decoding (ACD), a training-free plug-in that complements logit-level CD by relocating part of the contrastive operations to the attention mechanism. Operating at an earlier stage of the forward pass, ACD performs smooth semantic-preserving interventions through an Adaptive Subtraction Strategy (ASS), which attenuates hallucination-associated attention patterns while amplifying critical visual information. Extensive experiments demonstrate that combining ACD with existing CD methods (e.g., VCD+ACD) produces substantially more coherent outputs with further reduced hallucinations, eliminating restrictive penalties while enabling trustworthy multimodal generation.
Figures & tables
Figure 1: (a) VCD mitigates hallucinations by subtracting hallucination-induced distributions from original outputs. (b) However, logit-level subtraction disrupts linguistic coherence compared to vanilla decoding .
Figure 2: Overview of the proposed framework (VCD + ACD). (a) Attention Contrastive Decoding (ACD). Given an image v and its perturbed counterpart v′ , ACD computes parallel attention maps Atclean and Atnoisy within the decoder. Contrastive subtraction is performed in the continuous attention space (Equation 9 ), producing a refined attention distribution AtACD that sharpens focus on visually grounded regions while suppressing hallucination-prone activations. The resulting logits are produced by the refined attention and decoded directly, replacing the logit-level subtraction and penalty mechanism of conventional CD methods. (b) Adaptive Subtraction Strategy (ASS). Rather than applying uniform subtraction, ASS constructs a binary mask Mt that distinguishes signal-degraded positions (amplified by (1+α) ) from hallucination-risk positions (suppressed via contrastive subtraction), yielding a modulated attention map with an enhanced signal-to-noise ratio.
Figure 3: Visualization of the Adaptive Subtraction Strategy (ASS). (a) Input image. (b) Clean attention correctly focuses on the person. (c) Under hallucination induction, attention drifts to background noise. (d) Attention after ASS. The red box marks a Case 1 region ( Aclean>Anoisy ): ASS amplifies the clean signal by (1+α) , producing sharper focus than (b). The yellow box marks a Case 2 region ( Anoisy≥Aclean ): ASS suppresses spurious activation via contrastive subtraction. The resulting map (d) achieves a higher signal-to-noise ratio than the original clean state (b), widening the margin between object and background.
Model
LLaVA-1.5
Qwen-VL
Decoding
Chairs↓
Chairi↓
Recall ↑
Chairs↓
Chairi↓
Recall ↑
Regular
54.1
18.5
73.4
50.5
15.0
71.1
VCD
51.8
16.2
76.8
47.5
13.7
71.5
VCD+ACD
51.0
14.3
78.3
47.0
12.5
72.1
ICD
52.1
15.5
76.7
48.1
13.1
69.6
ICD+ACD
50.2
13.9
78.5
46.5
12.6
71.9
Table 1: Results of CHAIR hallucination evaluation for the open-ended caption generation task.
Table 5
Qwen3-VL-4B
Qwen3-VL-8B
Method
Regular
VCD
ACD
Regular
VCD
ACD
Hallu.
Chairs↓
28.3
26.1
24.1
23.2
22.6
20.8
Chairi↓
11.4
10.7
8.8
8.4
8.4
7.3
Recall ↑
55.2
54.7
57.8
47.2
48.7
49.1
Coher.
CIDEr ↑
0.277
0.265
0.274
0.387
0.294
0.389
BLEU-4 ↑
0.121
0.120
0.122
0.158
0.129
0.160
Table 4: Hallucination and coherence evaluation on Qwen3-VL. Upper: CHAIR metrics; Lower: generation quality metrics.
Model
LLaVA-1.5
Setting
Random
Popular
Adversarial
Decoding
Acc.
Precision
Recall
F1
Acc.
Precision
Recall
F1
Acc.
Precision
Recall
F1
Regular
83.2
91.7
73.0
81.3
81.8
88.9
72.8
80.0
78.9
83.1
72.7
77.6
VCD
87.6
92.8
81.4
86.7
82.6
87.1
80.5
83.7
77.3
73.4
86.4
79.4
VCD+ACD
86.5
92.4
82.6
87.2
83.4
88.9
81.2
84.9
77.2
74.8
87.1
80.5
ICD
87.5
87.2
80.9
83.9
83.2
83.5
79.7
81.6
79.1
72.4
86.5
78.8
Table 5: Experimental results on the three POPE subsets derived from MSCOCO with LLaVA-1.5 and Qwen-VL.
Method
Pen.
ASS
Chairs↓
Chairi↓
Recall ↑
Regular
✗
✗
54.1
18.5
73.4
VCD W/Open.
✗
✗
53.4
17.6
74.9
VCD
✓
✗
51.8
16.2
76.8
VCD+ACD base
✗
✗
52.1
15.6
77.4
VCD+ACD
✗
✓
51.0
14.3
78.3
Table 6: Effectiveness of different components on the CHAIR dataset using LLaVA-1.5.
Metrics
Regular
VCD
VCD+ACD
CIDEr ↑
0.266
0.231
0.266
BLEU-4 ↑
0.094
0.054
0.096
METEOR ↑
0.360
0.301
0.361
ROUGE-L ↑
0.365
0.324
0.368
GPT-5-assisted ↑
0.920
0.860
0.980
Table 7: Generation quality evaluation on the CHAIR dataset using LLaVA-1.5 across different decoding strategies.
Appendix figures & tables19 assets
Supplementary material from the paper’s appendix.
Appendix
Figure 4: Empirical validation of distributional smoothness. We compare VCD (logit-level) and VCD+ACD (attention-level) on LLaVA-1.5-7B across 500 CHAIR images (max 128 tokens). (a,b) TV distance distributions; (c,d) KL divergence distributions; (e,f) step-wise temporal dynamics with ±1 std shading. ACD consistently yields smoother, more stable output distributions across all metrics and decoding steps.
Figure 7: Layer-wise cosine similarity between clean and noisy stream hidden states (LLaVA-1.5-7B, 32 layers). Text tokens maintain consistently higher similarity than visual tokens. Divergence peaks at middle layers and partially recovers in deeper layers, confirming bounded propagation.
Method
Total Time
GPU-Memory
Latency/Example
Regular
13:46
14.7G
0.276s
VCD
26:51
15.8G
0.537s
VCD+ACD
24:37
15.3G
0.493s
Appendix
Table 8: A comparison of inference speed and GPU memory usage for different methods applied to the LLaVA-1.5 model on POPE subset benchmark.
Figure 8: MME full set results on LLaVA-1.5
Model
Decoding
Conv
Detail
Complex
Total
Acc.
Detail
Acc.
Detail
Acc.
Detail
Acc.
Detail
LLaVA-1.5(7B)
VCD
4.67
3.67
4.50
5.67
3.88
4.88
4.30
4.75
VCD+ACD
6.83
3.71
7.50
7.33
3.97
5.21
6.10
5.40
LLaVA-1.5(13B)
VCD
5.32
4.50
5.25
6.10
4.92
5.30
5.10
5.85
VCD+ACD
7.72
4.90
8.23
7.88
5.00
5.80
6.70
6.25
Appendix
Table 9: Experimental evaluation of GPT-5 is conducted on the LLaVA-Bench-Wild dataset using LLaVA-1.5 architectures with 7B and 13B parameter configurations.
Sampling Strategy
VCD w/ ACD
Chairs↓
Chairi↓
Recall ↑
Greedy
No
51.6
15.3
77.4
Yes
50.5
14.1
79.2
Sampling
No
51.8
16.2
76.8
Yes
51.0
14.3
78.3
Top P
No
51.8
16.3
76.5
Yes
51.0
14.3
78.4
Appendix
Table 10: An ablation study of different sampling strategies.
τ
Chairs↓
Chairi↓
Recall ↑
−0.02
51.4
14.5
77.8
−0.01
50.8
14.4
78.1
0 (Ours)
51.0
14.3
78.3
+0.01
51.1
14.7
78.0
+0.02
51.3
14.5
77.6
Appendix
Table 11: Sensitivity of ASS to the threshold τ on CHAIR (LLaVA-1.5).
Subset
Method
Chairi↓
Recall ↑
Clean Correct (45.8%)
VCD
8.2
75.0
VCD+ACD
4.5
77.2
Clean Hallucinating (54.2%)
VCD
23.0
78.3
VCD+ACD
22.6
79.2
Appendix
Table 12: Stratified analysis on CHAIR (LLaVA-1.5). “Clean Correct” denotes instances where the base model produces zero hallucinations.
Model
Method
Perception ↑
Cognition ↑
4B
Regular
1644.8
585.4
VCD
1695.7
630.7
ACD
1694.8
647.5
8B
Regular
1705.3
680.0
VCD
1741.0
663.9
ACD
1746.2
671.4
Appendix
Table 13: MME results on Qwen3-VL.
Model
Method
Acc. ↑
F1 ↑
4B
VCD
0.872
0.869
ACD
0.877
0.875
8B
VCD
0.884
0.880
ACD
0.885
0.881
Appendix
Table 14: POPE Adversarial results on Qwen3-VL.
Benchmark
8B
4B
POPE
12.83%
0%
MME
69.21%
0.13%
ACD: 0% on all settings.
Appendix
Table 15: Malformed output rate of VCD on Qwen3-VL.
Figure 9: More examples from CHAIR of our proposed ACD for hallucination corrections. Hallucinated parts from LVLM’s decoding are highlighted in red.
Figure 10: More examples from CHAIR of our proposed ACD for hallucination corrections. Hallucinated parts from LVLM’s decoding are highlighted in red.
Figure 11: More examples from LLaVA-Bench of our proposed ACD for hallucination corrections. Hallucinated parts from LVLM’s decoding are highlighted in red.
Figure 12: More examples from LLaVA-Bench of our proposed ACD for hallucination corrections. Hallucinated parts from LVLM’s decoding are highlighted in red.
Figure 13: The configuration to build an image-description evaluator with GPT-5.
Figure 14: The configuration to build an coherence evaluator with GPT-5.
School of Artificial Intelligence, University of Chinese Academy of Sciences · MAIS, Institute of Automation, Chinese Academy of Sciences · Vast Intelligence Lab +5