Activation Steering Decoding: Mitigating Hallucination in Large Vision-Language Models through Bidirectional Hidden State Intervention

Jingran Su, Jingfan Chen, Hongxin Li, Yuntao Chen, Li Qing, Zhaoxiang ZhangACL 2025

Abstract

Large Vision-Language Models (LVLMs) often generate "hallucinations"—descriptions of objects or details not present in the input image. This paper introduces Activation Steering Decoding (ASD), a training-free method that identifies and intervenes in the model's internal neural patterns to suppress hallucinated content. By extracting a "hallucination direction" from hidden states and employing a bidirectional contrastive decoding mechanism, ASD significantly improves factual grounding without the need for expensive retraining or specialized visual experts.

Introduction

Despite the impressive capabilities of LVLMs like LLaVA and Qwen-VL, their tendency to hallucinate remains a major hurdle for reliable deployment. Existing mitigation strategies typically involve either computationally intensive fine-tuning (e.g., RLHF) or inference-time logit manipulation that can degrade general model intelligence. ASD takes a different approach by investigating whether the model's internal activations contain a signature of hallucination that can be steered during generation.

Methodology: Steering the Hidden States

The ASD framework operates in two primary stages: feature modeling and inference-time intervention.

1. Identifying the Hallucination Direction

The researchers first use a small calibration set to generate image descriptions, labeling tokens as either "factual" or "hallucinated" based on ground-truth annotations. By probing the transformer layers, they found that hallucinated content manifests as distinct, linearly separable patterns. A steering vector ($v^l$) is calculated for each layer as the difference between the mean activations of factual and hallucinated tokens, effectively defining a direction toward "truthfulness" in the hidden state space.

2. Bidirectional Activation Steering Decoding

During inference, ASD applies a "tug-of-war" mechanism. It performs two steered passes:

  • Positive Steering ($\pi^+$): The steering vector is added to the hidden states to promote factual patterns.
  • Negative Steering ($\pi^-$): The vector is subtracted to identify what the model would likely hallucinate.

A contrastive decoding formula then combines these to produce the final output: $$logit_{ASD} = (1 + \alpha) \cdot logit_{\pi^+} - \alpha \cdot logit_{\pi^-}$$ This approach amplifies factual features while aggressively suppressing the hallucination patterns identified in the negative pass.

Overview of the ASD framework: (a) collecting hallucination features to model neural activity, and (b) applying bidirectional steering at inference time.

Key Insights: The Neural Signature of Hallucination

A core finding of this work is that hallucinations are not random errors but systematic biases. A simple linear classifier can detect hallucination with approximately 82.5% accuracy by observing internal activations, particularly in the middle and later layers (e.g., layer 23 in a 32-layer model). This suggests that these layers are critical for integrating visual evidence with linguistic priors.

Test accuracy and F1 scores for hallucination detection across transformer layers, showing peak performance in the middle-to-late layers.

Experimental Results

ASD was evaluated on LLaVA-1.5-7B and Qwen-VL-Chat across several benchmarks:

  • Hallucination Benchmarks: On the POPE (GQA) subset, ASD achieved absolute accuracy gains of up to 8.54%. On the CHAIR benchmark, it reduced sentence-level hallucination rates by 10%.
  • General Capabilities: Unlike many training-free methods that trade off reasoning for accuracy, ASD improved scores on general benchmarks like MME (+16.51 points) and MMMU (+3.34 points), indicating that more accurate visual grounding enhances overall performance.

Conclusion and Future Work

Activation Steering Decoding provides an efficient, training-free solution to the hallucination problem in LVLMs. While currently focused on object-centric hallucinations, future work could extend this steering approach to address attribute and relational hallucinations by using more diverse calibration data.

Summary updated

BibTeX
@inproceedings{su2025activation,
  author = {Jingran Su and Jingfan Chen and Hongxin Li and Yuntao Chen and Li Qing and Zhaoxiang Zhang},
  title = {{Activation Steering Decoding: Mitigating Hallucination in Large Vision-Language Models through Bidirectional Hidden State Intervention}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure