# HALMES: Knowing When to Intervene in LVLM Hallucination Mitigation

*Ruining Hu, Jiaqi Lu, Xiao Liu, Ying Shen, Yu Wang, Lin Zhang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/153080) · [Open on the map](../papers.html#p153080)

Category: [LLM Reasoning, Memory & RAG](../pcat/19.md) › [LVLM Hallucination Mitigation](../pgroup/248.md) · Type: new method · Keywords: LVLM hallucination mitigation, contrastive decoding, attention monitoring, selective intervention, plug-and-play module

Areas: [Multimodal](../areas/multimodal.md) › Multimodal Integration and Robustness › Multimodal Hallucination Mitigation; [Safety & Security](../areas/safety.md) › Language Model Security › Hallucination Detection

## Summary
HALMES is a lightweight plug-and-play module that detects hallucination precursor segments from attention features during generation and selectively applies contrastive decoding to mitigate hallucinations in LVLMs.

## Explained to a 5-year-old
Big computers that see and talk sometimes make up things that aren't there. To fix this, we look at how the computer thinks before it says something and see if it might be wrong. Then we only change its answer when we think it's wrong, not every time. This helps the computer be more accurate. It also keeps the good answers from being ruined.

## Explained to a 5-year-old, longer
Big computers that can see pictures and understand words sometimes say things that aren't true. These mistakes are called hallucinations, like saying there is a cat when there is actually a dog. Existing fixes try to correct the computer at every step of making a sentence, but this can also break correct sentences. The researchers looked at how the computer pays attention while it is thinking. They found that signs of a mistake appear earlier, before the wrong word is spoken. Using these early signs, they created a small helper that watches the computer's thoughts. When the helper sees that the thoughts look suspicious, it only changes the computer's answer for that part. This way, the computer fixes only the parts that are likely wrong, leaving the good parts untouched. The helper can work with many different kinds of computers that see and talk. In tests, the new method made the computer less likely to make mistakes while keeping its correct answers. It also avoided the problem of accidentally breaking correct sentences. The researchers made the helper and all its data available for others to use.

## For a technical reader
The paper addresses the issue of hallucinations in vision-language models by identifying early warning signals in the model’s attention mechanisms. A lightweight module monitors these signals and triggers contrastive decoding only for suspicious segments, preserving correct outputs. This selective intervention improves mitigation performance across multiple benchmarks while reducing unintended side effects. The solution is modular and can be combined with existing full-stage contrastive decoding methods.

## Problem
Large Vision-Language Models often generate object hallucinations that conflict with visual input. Existing inference-time mitigation methods intervene at every decoding step, which can disrupt correct generations and cause new hallucinations.

## Method
The approach analyzes the relationship between internal attention features and hallucinated token segments, identifying precursor signals during generation. It then uses a lightweight module to detect these signals and selectively applies contrastive decoding only to segments flagged as hallucination-prone, integrating with existing full-stage contrastive decoding methods.

## Results
The approach improves hallucination mitigation performance on multiple benchmarks while reducing the negative impact on normally generated outputs.

## Contributions
It shows that hallucination signals appear progressively in earlier token segments and proposes a way to detect these precursors and apply contrastive decoding only where needed, yielding better mitigation without harming correct outputs.

## Research questions this paper is counted under

- [How can vision-language models be made to faithfully ground their predictions in visual evidence and avoid hallucinations?](../q/23.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/153080)
