Mitigating Video Hallucinations via Attention-Guided Representation Perturbation
Authors: Zhixin Cai, Ruoqi Yuan, Xinchen Yang, Zhuofan Chen, Jun Bai, Chuantao Yin, Wenge Rong
Organizations: School of Computer Science and Engineering, Beihang University · Beijing Institute for General Artificial Intelligence, BIGAI · Sino-French Engineer School, Beihang University
Video large language models (Video LLMs) often generate responses unsupported by the input video. Contrastive decoding (CD) can mitigate these hallucinations, but its effectiveness depends on how the negative branch weakens visual evidence. Existing methods rely on predefined perturbations or masking guided by question reconstruction, offering limited control over the model's visual reliance during answer generation. We introduce Attention-guided Representation Perturbation for Contrastive Decoding (ARP-CD), a training-free framework for constructing contrastive negatives directly in representation space. ARP-CD uses the attention mass assigned to visual tokens at the answer-prediction position to guide bounded gradient updates of the language model's input visual hidden states. These updates reduce visual attention and produce a negative input, whose predictions are contrasted with those of the original branch throughout generation. Experiments across four Video LLMs and four benchmarks show that ARP-CD outperforms representative training-free baselines in most model--benchmark settings, reducing hallucinations while improving general video understanding. Further analyses show that attention-guided perturbation directions improve negative quality and that the resulting negatives provide effective contrastive references for correcting the original predictions.
Figures & tables
Figure 1: Comparison of negative branch construction in video contrastive decoding. (a) TCD downsamples frames, while MotionCD combines predictions from forward and reversed videos ( Zhang et al., 2024a ; Kong et al., 2025 ) . (b) SEASON constructs spatial and temporal negatives through noise injection and temporal feature homogenization ( Wu et al., 2026a ) . (c) MACD optimizes object and frame masks using query reconstruction feedback ( Xiao and Zhou, 2026 ) . (d) ARP-CD uses attention gradients to optimize visual hidden states, reducing attention to visual tokens at the answer-prediction position.
Figure 2: Overview of ARP-CD . (A) We reduce attention from the last prompt token to visual patches by backpropagating the attention objective from a selected decoder layer to the input perturbation. (B) Bounded perturbations of the input visual hidden states produce a negative representation. (C) CD combines predictions from the original and negative branches.
Model
Method
Hallucination
General Understanding
VideoHallucer
EventHallusion
Video-MME
MVBench
Qwen2.5-VL-3B
Vanilla
46.51
40.23
51.85
58.83
DINO-HEAL
47.31
40.65
51.89
59.18
TCD
43.52
43.04
52.00
59.40
MotionCD
36.35
43.46
45.44
52.95
MACD
44.31
40.93
50.56
57.63
Table 1: Main results (%). EventHallusion reports the count-weighted aggregate of selection and description scores. Within each model and benchmark, the best scores are bold with darker blue shading, and the second-best are underlined with lighter blue shading.
Model
Method
VideoHallucer
EventHallusion
Video-MME
MVBench
Qwen2.5-VL-3B
IsoPert
46.10
41.35
51.89
59.00
RadCon
46.60
41.35
51.96
58.85
QueryRec
46.25
38.68
52.15
59.23
AttnCal
46.92
38.12
51.74
58.93
ARP-CD (Ours)
48.01
51.48
52.48
59.55
Video-LLaVA-7B
IsoPert
29.23
23.63
27.22
43.68
Table 2: Ablation results for negative construction (%). Within each model and benchmark, the best scores are bold with blue shading.
Attention modulation
Generation
Qwen2.5-VL-3B
Video-LLaVA-7B
VideoHallucer
Video-MME
VideoHallucer
Video-MME
Unmodified
Direct
46.51
51.85
27.93
26.19
Suppress ( ↓ )
Contrast ( ARP-CD , Ours)
48.01
52.48
31.95
32.91
Enhance ( ↑ )
Contrast
44.17
51.96
29.04
26.46
Suppress ( ↓ )
Direct
45.02
51.21
27.86
26.08
Enhance ( ↑ )
Direct
45.73
51.33
25.80
28.89
Table 3: Attention modulation and generation strategy (%). Contrast uses the optimized representations as a negative branch; Direct generates from them alone. Within each model and benchmark, the best scores are bold with blue shading.
Model
Method
VideoHallucer
Video-MME
Retained (%)
Mean D
Retained (%)
Mean D
Qwen2.5-VL-3B
IsoPert
100.00
-0.0025
100.01
-0.0030
RadCon
100.28
-0.0031
100.15
-0.0014
QueryRec
103.09
-0.0019
126.02
0.0102
AttnCal
44.42
-0.0036
9.69
-0.0038
ARP-CD (Ours)
44.42
0.0175
9.69
0.0208
Table 4: First-token contrastive effects on candidate pairs retained by the original branch’s plausibility mask. Retained is the median negative-to-original visual attention ratio; mean D measures the logit-margin correction per unit α in raw logit units. The largest mean D values are bold with blue shading.
Model
Method
VideoHallucer
Video-MME
Time (s)
× Vanilla
Time (s)
× Vanilla
Qwen2.5-VL-3B
Vanilla
0.46
1.00
0.84
1.00
DINO-HEAL
0.68
1.39
1.22
1.44
TCD
1.09
2.27
1.74
2.09
MotionCD
1.33
3.12
2.58
3.00
MACD
8.84
22.66
19.66
19.84
Table 5: Inference latency on sampled inputs using a single A100 40GB GPU. Time is the median latency per answer; × Vanilla is the median per-input latency ratio to Vanilla.
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Correct/answered
Coverage (%)
Qwen2.5-VL-3B
Vanilla
1400/2700
100.00
DINO-HEAL
1401/2700
100.00
TCD
1404/2700
100.00
MotionCD
1227/2700
100.00
MACD
1365/2700
100.00
Appendix
Table 6: Video-MME answer coverage for the main comparison, out of 2,700 questions per run. Accuracy follows the official evaluator’s correct/answered convention.
Model
Vanilla
Transfer
ARP-CD
Δ
Qwen2.5-VL-3B
51.85
52.30
52.48
+0.19
Video-LLaVA-7B
26.19
30.02
32.91
+2.89
Appendix
Table 7: Effect of question conditioning on Video-MME (%). Transfer uses perturbations optimized for another question about the same video. Δ is ARP-CD minus Transfer (pp).
Recent Video Large Language Models (Video-LLMs) have demonstrated strong capability in video understanding, yet they still suffer from hallucinations. Existing mitigation methods typically rely on training, input modification, auxiliary guidance, or additional decoding procedures, while largely overlooking a more fundamental challenge. During generation, Video-LLMs tend to over-rely on a limited portion of temporal evidence, leading to temporally imbalanced evidence aggregation across the video. To address this issue, we investigate a decoder-side phenomenon in which the model exhibits a temporally imbalanced concentration pattern. We term the frame with the highest aggregated frame-level attention mass the anchor frame. We find that this bias is largely independent of the input video and instead appears to reflect a persistent, model-specific structural or positional bias, whose over-dominance is closely associated with hallucination-prone generation. Motivated by this insight, we propose Decoder-side Temporal Rebalancing (DTR), a training-free, layer-selective inference method that rebalances temporal evidence allocation in middle-to-late decoder layers without altering visual encoding or requiring auxiliary models. DTR adaptively calibrates decoder-side visual attention to alleviate temporally imbalanced concentration and encourage under-attended frames to contribute more effectively to response generation. In this way, DTR guides the decoder to ground its outputs in temporally broader and more balanced video evidence. Extensive experiments on hallucination and video understanding benchmarks show that DTR consistently improves hallucination robustness across diverse Video-LLM families, while preserving competitive video understanding performance and high inference efficiency.
Zijian Liu, Sihan Cao, Pengcheng Zheng +5
University of Electronic Science and Technology of China · Institute of Software Chinese Academy of Sciences · Harbin Institute of Technology, Shenzhen +1
Hallucinations in large vision--language models (LVLMs) often arise when language priors dominate over visual evidence, leading to object misidentification and visually inconsistent descriptions. We address this problem by framing hallucination mitigation as contrastive guidance that steers generation toward visually grounded and semantically faithful text. We propose Attention-space Contrastive Guidance (ACG), a training-free, single-pass method that operates directly in self-attention layers, where hallucination-inducing cross-modal biases emerge. ACG constructs both image-conditioned and approximate text-only attention paths within a single forward pass, enabling efficient guidance before errors accumulate at the output layer. Because this masking-based surrogate can introduce approximation bias, we further apply a lightweight orthogonal projection that suppresses components aligned with the text-only path, yielding a more visually grounded correction. Experiments on CHAIR and POPE show that ACG improves faithfulness over existing training-free baselines while maintaining caption quality, reducing latency by up to 2× compared to multi-pass contrastive decoding methods.
Video Large Language Models (Video-LLMs) remain prone to spatiotemporal hallucinations, often generating visually unsupported details or incorrect temporal relations. Existing mitigation methods typically treat hallucination as a uniform decoding failure, applying globally shared correction rules. We instead observe that decoder layers contribute differently to visual grounding and later linguistic composition, indicating that intervention must be layer-aware. Based on this insight, we propose STEAR, a layer-aware spatiotemporal evidence intervention framework. STEAR identifies high-risk decoding steps and selects token-conditioned visual evidence from grounding-sensitive middle layers. It uses this shared evidence for two coupled purposes: restoring missing local grounding in middle layers, and constructing temporally perturbed patch-level counterfactuals to falsify inconsistent reasoning during late-layer decoding. Consequently, STEAR mitigates both spatial and temporal hallucinations within an efficient single-encode inference framework. Experiments across representative Video-LLM backbones and challenging benchmarks demonstrate that STEAR consistently reduces hallucinations while improving faithfulness, temporal consistency, and robustness. Our results confirm that reliable video decoding relies on intervening on precise evidence at the right layer, rather than enforcing a global penalty. The code is provided in the Supplementary Material.
Linfeng Fan, Yuan Tian, Ziwei Li +1
Gaoling School of Artificial Intelligence, Renmin University of China, Beijing, China · King Abdullah University of Science and Technology, Thuwal, Saudi Arabia