arXiv:2610.19728cs.CVOct 2026

Manuscript Offprint

arXiv:2610.19728

Mitigating Video Hallucinations via Attention-Guided Representation Perturbation

Zhixin Cai, Ruoqi Yuan, Xinchen Yang, Zhuofan Chen, Jun Bai, Chuantao Yin, Wenge Rong

Abstract

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.

1 Introduction

Video LLMs have made substantial progress in video understanding, demonstrating strong performance across tasks such as video question answering, captioning, and reasoning (Maaz et al., 2024; Bai et al., 2025). Despite this progress, they still exhibit hallucinations, producing responses that are unsupported by or inconsistent with the visual evidence in the input video (Wang et al., 2024; Li et al., 2025). Such hallucinations undermine the reliability of video understanding and can lead to incorrect decisions in downstream applications (Zhou et al., 2026). Mitigating hallucinations and strengthening visual grounding are therefore crucial for reliable downstream use, including model-assisted evaluation of generated videos (Zhang et al., 2024a; Wu et al., 2026b).

Training-based methods mitigate hallucinations through architectural adaptations, contrastive video–text alignment, and reinforcement learning (Ma et al., 2024; Chang et al., 2026; Zhang et al., 2026). However, they incur substantial training costs and additional overhead for curating high-quality supervision (Huang et al., 2025; Cai et al., 2025). This motivates training-free methods that bypass these costs through inference-time intervention (Huang et al., 2024; Li et al., 2025). Among these approaches, CD has emerged as an effective strategy for mitigating video hallucinations (Wu et al., 2026a).

CD favors predictions whose likelihood decreases under weakened visual evidence, making its effectiveness critically dependent on how the negative branch attenuates that evidence (Suo et al., 2025). As shown in Figure 1, existing methods construct negative branches through predefined spatial or temporal perturbations, with limited adaptation to the model's visual dependencies (Kong et al., 2025). MACD introduces model feedback by using query reconstruction to guide object and frame masking (Xiao and Zhou, 2026). However, this reconstruction objective targets question-token prediction rather than directly measuring the model's visual reliance during answer generation (Xiao and Zhou, 2026). Moreover, its object and frame masks constrain intervention to content-space transformations, offering less direct control over the hidden representations used for generation than representation-level editing (Xiao and Zhou, 2026; Liu et al., 2025; Cai et al., 2025).

∗^{*}Equal contribution.

(a) TCD / MotionCD

Figure

Fixed temporal perturbations

(b) SEASON

Figure

Fixed corruption rules

(c) MACD

Figure

Adaptive negatives

Query-recon. feedback

Mask-limited updates

(d) ARP-CD (Ours)

Adaptive negatives

Answer-aligned feedback

Flexible updates

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.

Visual attention at the generation position provides an internal signal of the model's engagement with visual evidence during answer prediction (Huo et al., 2025; Xing et al., 2026). Prior work has associated insufficient visual attention with hallucinated responses, suggesting it captures the visual reliance that CD aims to modulate (Huang et al., 2024; Liu et al., 2024). Suppressing attention to informative visual tokens can produce useful contrastive negatives by weakening visual conditioning (Huo et al., 2025; Wang et al., 2026b). Task-guided embedding transformations and targeted feature edits further demonstrate that model behavior can be shaped directly in representation space (Zhang et al., 2025; Cai et al., 2026). In vision-language models, representation-level interventions enable fine-grained adjustments to the features used for generation, including adaptations to model- and input-specific signals (Liu et al., 2025; Cai et al., 2025; Wang et al., 2026a).

Building on this insight, we introduce ARP-CD, a training-free contrastive decoding framework that constructs negative branches through attention-guided representation perturbation. For each video-prompt pair, ARP-CD uses the attention mass allocated to visual tokens at the answer-prediction position as an internal optimization signal. Using the gradients of this signal, it iteratively updates the language model's input visual hidden states within a bounded perturbation budget to reduce visual attention. The optimized hidden states serve as the input to the negative branch. CD contrasts predictions from this branch with those of the original branch to favor responses supported by video evidence, thereby mitigating hallucinations.

We evaluate ARP-CD across four Video LLMs and four benchmarks. The results show that ARP-CD outperforms representative training-free baselines in most model–benchmark settings, reducing hallucinations while also improving general video understanding. Ablation studies show that attention-guided optimization selects perturbation directions that produce more effective contrastive negatives. Further analyses show that the optimized representations improve generation through the corrective contrast they create with the original branch. Together, these findings support using the model's visual engagement during answer generation to guide negative construction in representation space.

References (24)