arXiv:2611.04438cs.CVNov 2026

Manuscript Offprint

arXiv:2611.04438

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

Riasad Alvi, Md. Asaduzzaman Shuvo, Md. Ahashan Habib, Md. Faiyaz Abdullah Sayeedi

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/CIC_S/C_I 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. Our code is available at https://github.com/alvi-uiu/EGDR.

1. Introduction

Large vision-language models (LVLMs) produce fluent descriptions that are frequently ungrounded: they name objects the image does not contain, a failure that persists across architectures and is severe enough to block deployment where precision matters [18, 25, 31]. Broader diagnostics further expose language–vision confusion and attribute–relation errors [11, 37]. The cause is commonly traced to the language backbone asserting its own priors when the visual evidence is weak or ambiguous.

Figure

Figure 1. Overview of EGDR. Both gates share v, ℓ∗\ell^* and α\alpha; only the threshold differs. (a) A static gate applies one threshold τ\tau at every step. (b) EGDR lowers it to τeff(t)\tau_{\text{eff}}(t) using the entropy of the preceding step's logits, rescaled to the calibrated band, and so corrects states the static gate misses; at t=1t=1, e^=0\hat{e}=0 and τeff=τ\tau_{\text{eff}}=\tau. Gate strips are schematic; bubbles quote the second paragraph of real LLaVA-1.5-7B captions verbatim (CHAIR: hallucinated objects in red, grounded in green).

Training-time curation and robust instruction tuning reduce such failures but require new data or optimization [22, 42]; post-hoc correction can instead verify and revise an initial response, at the cost of a multi-stage pipeline [41]. Mitigating hallucination inside a single decoding pass is therefore attractive. Contrastive decoding compares the output distribution against one from a degraded or augmented visual input [2, 15] or an earlier layer [5]; contrasting two inputs is effective but needs more than one forward pass per token. Latent steering instead adds a precomputed direction to the hidden state and therefore preserves the single pass [17, 19, 27, 40]. Because a steering vector is applied

Figure

Figure 2. Pipeline of EGDR. (a) Held-out calibration selects the steering depth ℓ∗\ell^*, estimates the prior-removed direction v(ℓ∗)\mathbf{v}^{(\ell^*)}, threshold τ\tau, and entropy band [Hl0,Hhi][H_{\mathrm{l}_0}, H_{\mathrm{hi}}], and tunes α\alpha and wτw_\tau. (b) At each decoding step, the current hidden state yields risk RtR_t, while preceding-step entropy lowers τ\tau to τeff\tau_{\mathrm{eff}}. If Rt>τeffR_t > \tau_{\mathrm{eff}}, EGDR injects αv(ℓ∗)\alpha \mathbf{v}^{(\ell^*)}. This requires no additional forward pass or trained parameter. (c) The adaptive threshold admits states missed by the static gate; at the first token, e^=0\hat{e} = 0 and τeff=τ\tau_{\mathrm{eff}} = \tau.

everywhere it would perturb computation that is working correctly, these methods admit it through a gate: a risk score is computed from the current hidden state and the correction is injected only when that score exceeds a threshold τ\tau.

That threshold is a constant. The same value decides whether to intervene at an early caption token and at the two hundredth. Yet decoder uncertainty is not constant: the states at which LLaVA-1.5 commits to short answers occupy a narrow normalized-entropy band between 0.008 and 0.059, while the majority of free-running generation steps lie above it. This exposes a mismatch between a time-varying decoder and a time-invariant gate and suggests uncertainty as a causally available control signal. We evaluate it against both the original static gate and a firing-rate-matched alternative.

We use that signal to set the gate. At each step we read the entropy of the distribution produced at the previous step, rescale it to a band estimated during calibration, and lower the threshold in proportion: τeff=τ−wτe^t∣τ∣\tau_{\mathrm{eff}} = \tau - w_\tau \hat{e}_t |\tau|. Confident steps keep the calibrated operating point; uncertain steps are corrected more readily. The logits already exist; converting them to entropy adds a lightweight vocabulary reduction but no model forward pass and no trained parameter. We call it EGDR, Entropy-Gated Dynamic Rectification; Fig. 1 illustrates it and Fig. 2 details the pipeline.

The design follows from two further observations. The depth at which steering is effective is narrow and non-monotonic: F1 varies by 16.24 points across five adjacent layers and peaks at the penultimate one, so we select the layer by calibration rather than by convention. And the mechanism is confined to multi-token generation, since a causally available entropy estimate does not exist at the first

decoded token: on discriminative benchmarks answered in one token the effective threshold reduces to τ\tau and EGDR uses the same decision-time intervention as static steering. This delimits where the method applies and explains why its benefit appears in captioning while discriminative accuracy is preserved.

On LLaVA-1.5-7B, a calibrated static gate lowers CHAIRT_{T} from 15.30 to 14.30 and CHAIRS_{S} from 53.00 to 32.00. Replacing only its constant threshold with EGDR further lowers the two metrics to 13.60 and 29.00. A static threshold matched to EGDR in firing rate reaches 14.00 and 30.50, respectively. EGDR also improves on the static gate on LLaVA-NeXT-7B, while POPE, MME and MM-Vet remain effectively unchanged and measured overhead is approximately 2% per token.

Our contributions are:

  • We identify a temporal mismatch between a fixed steering threshold and non-stationary predictive uncertainty, and test preceding-step entropy as a causally available control signal without adding a model forward pass.

  • We introduce EGDR, modulating the gate rather than the steering direction or its magnitude, and show that its benefit is not explained by intervening more often: a static gate matched in firing rate recovers only part of it.

  • We show that the benefit grows monotonically with the generation budget and vanishes on single-token answers: this is the behavior the mechanism predicts, and one a discriminative benchmark does not expose.

  • We use held-out validation, rather than an architectural convention, to select intervention depth and strength, and compare all gates at that locked operating point.

References (44)