WACV 2027 Main Conference [ Algorithms Track ]

Entropy-Gated Dynamic Rectification for Object Hallucination in Large Vision-Language Models

Riasad Alvi1 Md. Asaduzzaman Shuvo1 Md. Ahashan Habib1 Md. Faiyaz Abdullah Sayeedi1,2

1United International University, Bangladesh    2BRAC University, Bangladesh

Overview of EGDR. (a) A static gate applies one constant threshold tau at every decoding step and still produces hallucinated objects. (b) EGDR lowers the threshold using the entropy of the preceding step's logits, corrects additional uncertain steps, and produces a grounded caption.
Both gates share the steering direction, depth and strength; only the threshold differs. (a) A static gate applies one threshold τ at every step. (b) EGDR lowers it to τeff(t) using the entropy of the preceding step's logits. Hallucinated objects in red, grounded in green.

Abstract

Large Vision-Language Models (LVLMs) routinely name objects that are absent from the image. Latent steering can reduce this failure in one model forward pass, but a fixed gate treats early and late decoding steps by the same criterion. We observe that predictive entropy varies sharply within free-running generation, while states that commit to short answers occupy a narrow, confident band. We exploit this temporal mismatch by using uncertainty as a causally available, token-local control signal for an existing steering gate. We propose Entropy-Gated Dynamic Rectification (EGDR), which lowers the intervention threshold when entropy derived from the preceding step's already available logits is high and retains the calibrated operating point when it is low. On LLaVA-1.5-7B, the underlying static gate lowers CHAIR CS/CI from 53.00/15.30 to 32.00/14.30; replacing only its constant threshold with EGDR further lowers them to 29.00/13.60. At a matched 58% intervention rate, the corresponding static control obtains 30.50/14.00. The gain over the static gate holds on LLaVA-NeXT-7B and grows with the generation budget, while POPE scores and general multimodal capability remain effectively unchanged. EGDR requires no additional model forward pass and adds roughly 2% measured latency.

Why preceding-step entropy?

States at which LLaVA-1.5 commits to a short answer occupy a narrow entropy band (0.008 to 0.059), yet 71.6% of steps in 512-token captions lie above it. Hallucinations follow the same pattern: the share of hallucinated object mentions rises from 3.2% in the first 32 tokens to 23.6% beyond token 64, and from 7.3% after a confident step to 16.7% after the most uncertain ones.

Heatmap of the share of hallucinated object mentions by decoding position (rows: tokens 1 to 32, 33 to 64, 65 and later) and preceding-step entropy (columns). Rates rise along both axes, reaching 32.7 percent for late, high-entropy steps.
Where object hallucinations occur (supplementary Fig. S2). Share of object mentions flagged by CHAIR in unsteered LLaVA-1.5-7B captions of COCO val2014 images, by decoding position and by the preceding-step entropy that the EGDR gate reads. Hallucinated objects are preceded by higher entropy than grounded ones (median 0.144 vs. 0.099; one-sided Mann–Whitney p < 10−5).

Method

Pipeline of EGDR. (a) Held-out calibration of depth, direction, threshold, entropy band, strength and modulation weight. (b) Entropy-gated decoding: the correction alpha v is injected when the risk exceeds the effective threshold. (c) The lowered threshold admits states missed by the static gate.
(a) Held-out calibration. (b) Entropy-gated decoding: the correction αv is injected when Rt > τeff(t). (c) The lowered threshold admits states the static gate misses.
  1. Calibrate once. On a small held-out pool of COCO train2014 images with yes/no existence queries, select the steering layer by validation F1, build a visual direction with the language prior projected out, and set τ at the 80th percentile of risk on correctly answered queries.
  2. Read uncertainty. At step t, the normalized entropy of the distribution produced at step t−1 is rescaled to the calibrated band [Hlo, Hhi], giving êt ∈ [0, 1]. These logits already exist, so no forward pass is added.
  3. Gate the correction. The fixed correction αv is injected only when the risk Rt = −cos(ht, v) exceeds the lowered threshold. Direction and strength never change.

τeff(t) = τ − wτ · êt · |τ|

Scaling by |τ| lowers the threshold for either sign of τ; with wτ = 0, EGDR is exactly the static gate.

Results

CHAIR on LLaVA-1.5-7B

EGDR attains the lowest CS and CI with captions almost as long as the static gate's; VTI lowers CS largely by shortening captions.

MethodCS ↓CI ↓Length (words)
Regular53.0015.3096.1
VCD51.5015.9097.8
M3ID49.5014.0094.2
ONLY50.0014.2093.4
AGLA50.5013.9095.0
VTI36.0015.6078.3
Static gate32.0014.3088.4
EGDR (ours)29.0013.6087.6

Isolating the gate

A static gate lowered until it fires as often as EGDR recovers only part of the gain; the remaining margin comes from when the correction is applied.

ConfigurationGate open (% of steps)CS ↓CI ↓
Static, calibrated τ21.032.0014.30
Static, matched firing rate58.230.5014.00
EGDR (ours)58.029.0013.60

Generation budget (tokens)

With no preceding steps there is no signal, so the margin over the static gate grows with caption length on both backbones.

LLaVA-1.5-7B · CS / CI
Method64128512
Regular22.00 / 9.0038.00 / 12.2053.00 / 15.30
Static gate14.00 / 7.4024.00 / 10.4032.00 / 14.30
EGDR13.50 / 7.3022.50 / 10.0029.00 / 13.60
LLaVA-NeXT-7B · CS / CI
Method64128512
Regular11.00 / 4.6019.00 / 6.1030.00 / 7.49
Static gate9.00 / 4.0016.00 / 5.2026.00 / 6.32
EGDR8.80 / 3.9515.20 / 5.0524.50 / 6.05

Discriminative accuracy and general capability

Both gates share τ at the first token, so on POPE EGDR stays within 0.02 F1 of the static gate; MME and MM-Vet are preserved. Decoding costs 14.60 ms per token against 14.29 ms unsteered.

POPE F1 ↑
MethodRandomPopularAdversarialMME ↑MM-Vet ↑
Regular86.5384.8582.451754.3331.10
VTI86.1984.0180.931690.2026.00
Static gate88.6286.6183.511787.2733.53
EGDR (ours)88.6486.6383.491786.1033.20

Qualitative example

Captions of a COCO val2014 street scene (ID 480140) from LLaVA-1.5-7B. Regular decoding invents a frisbee; the static gate invents backpacks; EGDR names neither.
LLaVA-1.5-7B, greedy decoding, 512 tokens. Hallucinated objects in red: the unsteered model invents a frisbee, the static gate invents backpacks, and EGDR names neither.

Citation

@inproceedings{alvi2027egdr,
  title     = {Entropy-Gated Dynamic Rectification for Object Hallucination
               in Large Vision-Language Models},
  author    = {Alvi, Riasad and Shuvo, Md. Asaduzzaman and Habib, Md. Ahashan
               and Sayeedi, Md. Faiyaz Abdullah},
  booktitle = {Proceedings of the IEEE/CVF Winter Conference on Applications
               of Computer Vision (WACV)},
  year      = {2027}
}