Reducing Hallucinations in Vision-Language Models via Latent Space Steering

Sheng Liu, Haotian Ye, Lei Xing, James Zou
10/21/2024
cs.CVcs.AIcs.LG

No official code found. Best implementation: shengliu66/VTI (120 stars, last commit 2024-11-23).

Abstract

Hallucination poses a challenge to the deployment of large vision-language models (LVLMs) in applications. Unlike in large language models (LLMs), hallucination in LVLMs often arises from misalignments between visual inputs and textual outputs. This paper investigates the underlying mechanisms of hallucination, focusing on the unique structure of LVLMs that distinguishes them from large language models (LLMs). We identify that hallucinations often arise from the sensitivity of text decoders to vision inputs, a natural phenomenon when image encoders and text decoders are pre-trained separately. Inspired by this, we introduce Visual and Textual Intervention (VTI), a novel technique designed to reduce hallucinations by steering latent space representations during inference to enhance the stability of vision features. As a task-agnostic test-time intervention, VTI can be easily applied to any problem without additional cost. Extensive experiments demonstrate that it can effectively reduce hallucinations and outperform baseline methods across multiple metrics, highlighting the critical role of vision feature stability in LVLMs.

View on arXivView PDF

Code Implementations(1)

shengliu66/VTICommunity100%

Code for Reducing Hallucinations in Vision-Language Models via Latent Space Steering

1207PythonOct 20, 20241 years ago

Similar Papers

Cite this paper

@article{liu2024reducing,
  title  = {Reducing Hallucinations in Vision-Language Models via Latent Space Steering},
  author = {Sheng Liu and Haotian Ye and Lei Xing and James Zou},
  year   = {2024},
  eprint = {2410.15778},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2410.15778v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2410.15778.svg)](https://codeofpaper.com/paper/2410.15778)

Discussion