Contrast Where It Matters: Visual Evidence-Guided Decoding for Mitigating Hallucinations in LVLMs
Authors: Yiheng Li, Wenhao Wang, Xingyi Li, Mingda Jia, Zichang Tan, Yinhang Tang, Zhen Lei, Yang Yang
Organizations: School of Artificial Intelligence, University of Chinese Academy of Sciences · MAIS, Institute of Automation, Chinese Academy of Sciences · Vast Intelligence Lab · Institute of Information Engineering, Chinese Academy of Sciences · Sangfor Technologies Inc. · AInnovation · CAIR, HKISI, Chinese Academy of Sciences · SCSE, FIE, M.U.S.T
Despite strong multimodal capabilities, large vision-language models (LVLMs) often hallucinate when linguistic priors outweigh visual evidence or when predictions are grounded in irrelevant or misleading image regions. Training-free contrastive decoding mitigates hallucinations by contrasting the original prediction with an auxiliary one that exposes linguistic priors. Yet existing methods focus on altering the auxiliary input or computation and do not ensure that either branch uses query-relevant visual evidence during decoding. We propose Visual Evidence-Guided Decoding (VEGD), a training-free framework that identifies query-relevant visual evidence and guides its use throughout contrastive decoding. VEGD locates this evidence by aggregating localization heads with strong visual responses and coherent spatial structure, then selectively weakens it in the auxiliary image. During generation, VEGD directs visual-carrier heads in both branches toward the same evidence location, strengthening access to intact evidence in the main branch while anchoring the auxiliary branch to its weakened counterpart. An adaptive distribution fusion strategy then combines or contrasts their predictions according to distribution divergence. Experiments across diverse LVLMs and benchmarks demonstrate that VEGD consistently reduces hallucinations.
Figures & tables
Figure 1: Comparison of visual evidence utilization between our method and existing decoding methods. (a) Standard decoding is distracted by irrelevant visual content. (b) Existing contrastive decoding exposes language priors through the auxiliary branch, but the main branch may still rely on irrelevant or misleading visual evidence. (c) Our method identifies query-relevant visual evidence, uses it to construct the auxiliary input, and guides both branches toward it throughout decoding.
Figure 2: Overview of Visual Evidence-Guided Decoding. (a) Visual Evidence-Guided Auxiliary Branch Construction identifies query-relevant visual evidence with selected localization heads and uses it to construct the auxiliary image. (b) Dual-Branch Evidence Anchoring guides visual-carrier heads in both branches toward the same evidence during decoding, followed by adaptive fusion of their predictions.
Figure 3: Visual-evidence analysis. (a) Correct predictions depend more strongly on query-relevant evidence. (b) Direct access to this evidence strengthens in middle layers but weakens later. (c) Hallucinations can instead follow a causally misleading visual region. Bands in (b) denote 95% bootstrap confidence intervals.
Method
LLaVA-1.5-7B
InstructBLIP-7B
ShareGPT4V-7B
Acc. ↑
Prec. ↑
F1 ↑
Acc. ↑
Prec. ↑
F1 ↑
Acc. ↑
Prec. ↑
F1 ↑
MS-COCO
Regular
80.58
77.40
81.84
77.85
74.85
79.39
81.58
79.50
82.35
VCD [ 18 ]
80.22 (-0.36)
76.67 (-0.73)
81.69 (-0.15)
79.27 (+1.42)
77.19 (+2.34)
80.29 (+0.90)
81.91 (+0.33)
80.24 (+0.74)
82.57 (+0.22)
AvisC [ 37 ]
83.36 (+2.78)
81.00 (+3.60)
84.23 (+2.39)
84.33 (+6.48)
85.19 (+10.34)
84.32 (+4.93)
85.72 (+4.14)
86.28 (+6.78)
85.73 (+3.38)
ONLY [ 33 ]
84.88 (+4.30)
83.09 (+5.69)
85.51 (+3.67)
82.59 (+4.74)
79.21 (+4.36)
83.85 (+4.46)
83.77 (+2.19)
80.07 (+0.57)
84.93 (+2.58)
Ours
85.92 (+5.34)
86.25 (+8.85)
86.03 (+4.19)
85.04 (+7.19)
87.62 (+12.77)
84.64 (+5.25)
86.02 (+4.44)
87.74 (+8.24)
85.80 (+3.45)
Table 1: POPE [ 23 ] results on MS-COCO, A-OKVQA, and GQA, averaged over the random, popular, and adversarial splits. Acc. and Prec. denote accuracy and precision. Colored values show absolute changes from Regular decoding.
Method
LLaVA-1.5-7B
InstructBLIP-7B
ShareGPT4V-7B
CHAIR S ↓
CHAIR I ↓
Recall ↑
Length ↑
CHAIR S ↓
CHAIR I ↓
Recall ↑
Length ↑
CHAIR S ↓
CHAIR I ↓
Recall ↑
Length ↑
64 Tokens
Regular
25.2
8.8
55.9
53.6
30.6
11.6
55.9
54.1
16.0
7.4
42.3
52.0
VCD [ 18 ]
23.4
7.6
61.1
54.1
30.0
10.1
59.7
54.4
17.0
8.1
43.1
52.0
AvisC [ 37 ]
22.0
7.7
58.6
51.8
35.4
11.2
60.5
53.6
16.4
8.8
40.0
50.0
ONLY [ 33 ]
22.4
7.5
60.4
53.2
26.8
9.4
58.8
51.6
14.6
6.7
43.3
51.4
Ours
20.6
6.5
62.4
54.6
23.0
8.6
58.6
53.6
12.2
5.7
41.4
52.7
Table 2: CHAIR [ 30 ] results at maximum generation lengths of 64 and 128 tokens. CHAIR S and CHAIR I denote sentence- and instance-level hallucination; Recall and Length measure object coverage and average caption length.
Method
Object-level
Attribute-level
MME Score ↑
Existence ↑
Count ↑
Position ↑
Color ↑
LLaVA-1.5-7B
Regular
185.00
116.67
128.33
160.00
590.00
VCD [ 18 ]
185.00
118.33
126.67
163.33
593.33 (+3.33)
AvisC [ 37 ]
190.00
136.67
106.67
155.00
588.33 (-1.67)
ONLY [ 33 ]
190.00
141.67
128.33
165.00
625.00 (+35.00)
Table 3: MME-Hallucination [ 9 ] results across three backbones. Scores are reported for object- and attribute-level subsets; colored values show absolute changes from Regular decoding.
Backbone
Method
MT
C S ↓
C I ↓
R ↑
Len ↑
Regular
64
20.40
7.92
50.77
59.38
Ours
64
15.60
5.79
52.18
60.58
Regular
128
33.60
9.70
61.40
104.27
DeepSeek-VL2-Small
Ours
128
28.40
8.27
64.78
106.28
Regular
64
17.00
6.54
48.56
60.67
Ours
64
12.20
4.53
50.40
60.78
Table 4: CHAIR comparison of Regular decoding and VEGD across five recent LVLMs. MT denotes maximum output tokens; C S and C I denote sentence- and instance-level hallucination; R and Len denote object recall and average caption length.
Components
POPE
CHAIR-64 Tokens
MME Score ↑
ABC
SAIm
SAIa
Acc. ↑
F1 ↑
CS↓
CI↓
75.93
78.33
25.2
8.8
590.00
✓
80.37
81.73
21.4
6.8
621.67
✓
✓
81.07
82.01
20.6
6.7
596.67
✓
✓
80.73
82.00
19.8
6.1
606.67
✓
✓
✓
81.43
82.24
20.6
6.5
650.00
Table 5: Component ablation on LLaVA-1.5-7B. ABC denotes auxiliary construction, while SAIm and SAIa denote Spatial Attention Intervention in the main and auxiliary branches. POPE refers to the adversarial POPE-COCO split.
Figure 4: Sensitivity to head count and intervention depth. (a) varies K with intervention in the final 7 layers. (b) varies ∣Lanc∣ with K=6 . Results are on adversarial POPE-COCO and MME-Hallucination. Vertical lines mark the defaults.
Figure 5: Visual evidence localization. Results on positive adversarial POPE-COCO queries with LLaVA-1.5-7B. COCO boxes and instance masks are used only for evaluation. Error bars denote 95% bootstrap confidence intervals.
Figure 6: Visual evidence for positive and negative queries. Present targets are localized directly, while absent targets activate related candidates. Green/red frames denote Yes/No. Results are from LLaVA-1.5-7B on adversarial POPE-COCO.
Figure 7: Case Study. Results are obtained with InstructBLIP-7B on CHAIR. Red text marks hallucinated content.
School of Computer Science and Engineering, Southeast University, Nanjing, China · School of Artificial Intelligence, Shenzhen University, Shenzhen, China · National Engineering Laboratory for Big Data Systems Computing Technology, Shenzhen University, Shenzhen, China +3