Hide the Draft: Span-Masked Revision for Grounded Image Descriptions

Vision-language models describe images fluently but often name objects that are not there. One well-documented cause is that, as a description grows longer, the model attends more to its own words and less to the image, so early fabrications seed later ones. The obvious fix borrowed from text editing is to generate a draft and then ask the model to revise it. Revision, however, feeds the model even more of its own text. We propose the opposite design for the second pass. A small probe on the frozen model's internal states flags the noun phrases most likely to be ungrounded. Those phrases are masked out. A lightweight low-rank adapter then re-fills each masked slot, or deletes it, while seeing the image and only a thinned-out version of the surrounding draft. The base model is never fine-tuned. The adapter runs only on the few flagged spans, and the probe that chooses what to fix also decides when to stop.

In two sentences: draft-then-revise loops for image descriptions are likely to fall into the same "trust your own text" failure that causes hallucination in the first place. We test whether hiding the suspicious parts of the draft and re-filling them from the image with a cheap adapter fixes hallucinations without losing detail. If it works, it does so at a small fraction of the cost of full-model reflective training or contrastive decoding.

Core Claim

The central hypothesis is that the amount of draft text visible during revision controls hallucination. Whole-draft rewriting should re-enter the "contextual trap" described in Why LVLMs Are More Prone to Hallucinations in Longer Responses: The Role of Context. That paper found that in long outputs, self-attention shifts from visual tokens to self-generated tokens and fabrications reinforce themselves. Span-masked re-decoding, with the surrounding draft attenuated, should keep attention on the image.

This mirrors a finding from grammatical error correction (GEC), where models fix grammar mistakes in text over several passes. Multi-pass Decoding for Grammatical Error Correction found that feeding drafts back causes the model to forget the original source sentence, and fixed this by explicitly re-fusing the source. In the multimodal setting the "source" is the image. We expect the analogous fix to be removing draft text, not adding source tags.

The claim is falsifiable at the mechanism level. We will measure attention mass on image tokens during the second pass and check whether it predicts the hallucination rate across revision conditions.

How it relates to prior work

The closest work is Perception in Reflection, which motivates this proposal and is its main competitor. Its method, RePer, trains a LLaVA-1.5 13B policy to revise its own captions over multiple dialogue turns using GPT-4o and rule-based critiques. To stop the model from deliberately writing bad first drafts so it can "improve" them, it adds a special unlikelihood loss. We differ in three ways:

  • Edits, not rewrites. We edit only flagged spans; RePer rewrites the whole caption with the full draft in context.
  • Small adapter, frozen drafter. We train only a small adapter and leave the drafting model frozen. Behavioral collapse is therefore impossible by construction, because nothing that produces the draft is ever optimized.
  • No external judge. We use no GPT-4o critic at training or inference.

Our edit-only design is drawn from text refinement. Lichtarge et al. (2019) and Sorokin (2022) showed that global rewriting causes drift and over-correction, while applying only the most confident elementary edit per pass does not. Ge et al. (2018) showed that fixing easy errors first clears context for harder ones. The masking mechanic comes from Chinese Spelling Corrector Is Just a Language Learner, whose D²C method masks low-confidence tokens and re-predicts them until the output stabilizes. In D²C, the confidence signal is linguistic and the replacement comes from text context alone. In ours, the confidence signal is visual grounding and the replacement must come from the image.

Two training-free methods supply the flagging signal and constrain the design. SHARP showed that faithful and hallucinated hidden states are linearly separable, with separability peaking around layers 10 to 15. SHARP uses this to add a fixed steering vector during single-pass decoding. We instead use the separability as a per-span detector that decides what to re-decode. Summary-Guided Decoding showed that restricting interventions to image-related nouns and visual adjectives preserves fluency, and we restrict flagging the same way.

UniAdapter and LoRA supply the adapter. LoRA, or low-rank adaptation, adds a small trainable product of two thin matrices to frozen weights. UniAdapter found that intermediate layers repay adaptation more than final layers. We place the adapter in the same intermediate band where SHARP finds separability. We keep the adapter unmerged, a cost LoRA's authors note for multi-task serving, because it is only switched on for second-pass spans.

MALM is a frozen-base hallucination adapter for text LLMs. It operates within a single decoding pass and has no visual input, so it informs the parameter budget rather than the mechanism. DSCR smooths the key-value cache once, before generation, and is query-agnostic. It is orthogonal to our method and can be stacked with it.

Research Program

Pass one. Pass one is the unmodified base model, LLaVA-1.5 7B and 13B, producing a long description.

Grounding probe. We train a linear probe on the frozen model's hidden states at a layer chosen in the 10–15 band. The probe is applied to the tokens of each noun phrase. Training labels come from model-generated COCO descriptions: an object mention is labeled hallucinated if it is absent from COCO annotations, which is the same matching CHAIR uses. We evaluate the probe's area under the ROC curve (AUROC) on held-out images before building anything on top of it.

The reviser. The reviser is a LoRA adapter, rank 8 to 32 on attention and MLP projections in roughly layers 8–16, trained with a self-supervised infilling objective. We take human COCO captions, mask noun-phrase spans, and train the adapter to reconstruct each span from the image. Two corruptions matter:

  • Context dropout. We also randomly mask a fraction of the non-target caption words. This forces the adapter to rely on the image rather than on sentence context.
  • Spurious-span insertion. We insert spans naming frequently co-occurring but absent objects, chosen the way POPE builds its adversarial negatives. The correct output for these spans is an explicit "delete" token, so the reviser learns that removal is a legitimate answer.

The adapter never sees base-model drafts during training. This keeps the training data free of the base model's own biases.

Inference loop. In each round, flagged spans above a threshold are masked, highest-confidence-of-error first. Non-flagged context outside a small window is dropped. The reviser fills or deletes the masked spans. The probe then re-scores the edited description. The loop stops when no span is flagged or after a small cap of rounds. Because the stop rule reuses the probe, the separate early-exit classifier of the GEC multi-pass work is unnecessary.

Training scale. The adapter trains on one GPU-day or less. This is the parameter-efficiency claim, set against RePer's full-backbone training plus GPT-4o scoring.

Baselines

Naive reference points. The do-nothing reference is the frozen LLaVA-1.5 draft under greedy decoding with fixed prompts. Because Evaluating Object Hallucination in Large Vision-Language Models reports that CHAIR has a prompt-template standard deviation of 3.22, every system is run on three fixed prompt templates and we report mean and spread. A second naive reference is prompted self-revision: the same frozen model is shown its draft and asked to correct mistakes. This costs nothing to train and is the most direct test of the contextual-trap prediction.

Strongest training-free competitor: SHARP. SHARP reports a sentence-level CHAIR (CHAIR_s) of 34.8 on LLaVA-v1.5, against a 52.8 baseline. It also reports 82.8% adversarial POPE accuracy on LLaVA-Next, against 79.5% for standard sampling, and 7.04 s per sample versus 13.97 s for visual contrastive decoding. We will rerun SHARP with our prompts and decoding settings rather than copy its numbers.

Other inference-time methods. We also include Summary-Guided Decoding, which reports a 16.5% relative CHAIR_s improvement on LLaVA-1.5. We include HalTrapper's contrastive contextual decoding where code allows. No reported CHAIR result for HalTrapper was found on Lacuna.

Strongest trained competitor: a RePer-style whole-draft reviser. RePer reports 51% HallusionBench accuracy with a 13B backbone and a +6.83% DetailCaps precision gain. We train a LoRA reviser with identical rank, layers, data and GPU budget. It sees the full draft plus the image and outputs a full rewritten description, trained to map corrupted human captions to clean ones. This holds everything fixed except the masking, so it isolates the key ingredient. We will also report RePer's published numbers. Because RePer uses full training and GPT-4o rewards, it is a ceiling reference, not a matched comparison.

Ablations. We test:

  • Draft visibility: full draft visible, windowed draft, or no draft around each span.
  • Span selection: probe-flagged spans against an equal number of random noun spans.
  • Number of passes: a single round against iterative rounds.
  • Who fills spans: the trained adapter against the frozen base model prompted to infill masked spans.
  • Adapter placement: intermediate layers against final layers.

What counts as winning. Beating SHARP means a lower CHAIR_s on LLaVA-v1.5 under the same protocol. Object recall, the fraction of annotated objects mentioned, must stay at or above the base draft's. Wall-clock time must stay below that of contrastive decoding.

Why not just…?

Why not just steer activations in one pass, as SHARP does? Steering applies one fixed direction to every token. It cannot react when a description drifts late in a long output, which is exactly where the contextual-trap paper locates the problem. Still, SHARP's 52.8 to 34.8 CHAIR_s reduction is large and costs no training, so it is a real threat. The experiment settles it in two steps. We compare at matched latency. We also test whether our method stacked on SHARP improves over SHARP alone. If neither comparison shows a gain, the revision loop is not worth its cost.

Why not just delete the flagged spans? This is the most dangerous alternative. If the probe is accurate, deletion alone will cut CHAIR. Our method only earns its place if re-filling recovers objects that deletion throws away, or corrects misnamed ones. We therefore run probe-plus-deletion as an explicit baseline and report object recall and DetailCaps precision alongside CHAIR. If deletion matches us on all three, we will report that the adapter is unnecessary and the contribution reduces to the probe.

Why not just LoRA-tune the base model on grounded captions? Supervised tuning on ordinary caption data inherits the co-occurrence statistics that the POPE study identifies as the driver of hallucination. It also does not change how attention shifts toward self-generated text in long outputs. We include a matched-budget LoRA fine-tune of the drafter as a baseline. We expect it to help short-answer POPE more than long-form CHAIR, and the gap between those two metrics is the test.

Why not let the model, or GPT-4o, revise the whole draft? Revisers that see the whole draft are what the contextual-trap analysis predicts will fail. Judge models also hallucinate errors when used as evaluators, as reported by Chen et al.. The prompted self-revision baseline and the matched whole-draft LoRA reviser test this directly. Our hypothesis is falsified if either one matches span masking at equal cost.

Proposed Experiments

Long-form hallucination. The main evaluation is long-form description on COCO, scored by CHAIR_s and instance-level CHAIR plus object recall. We add the generative split of AMBER and DetailCaps for precision and detail. GAPE is used as a secondary signal for fluency and completeness, with the caveat that it relies on GPT-4o.

Short-answer checks. POPE in its random, popular and adversarial settings, along with MME perception and HallusionBench, test whether the adapter harms short-answer behavior. For these, the loop is applied only when the answer contains a flagged span.

Mechanism check. The decisive mechanistic check is the attention measurement. For each revision condition, we record the share of attention on image tokens at the re-decoded positions and regress hallucination rate on it. The core claim holds if three things are true:

  • Masked revision raises image attention relative to whole-draft revision.
  • Higher image attention tracks lower CHAIR.
  • Removing context dropout from training erases the gain.

Probe-quality check. We sweep the flagging threshold and plot CHAIR against recall. This shows whether gains come from accurate detection or from aggressive editing.

Cost. We report per-sample latency against SHARP's 7.04 s and VCD's 13.97 s on LLaVA-Next, together with trainable parameter count and training GPU-hours.

Generality. We repeat the core comparison on Qwen-VL. This tests whether the probe layer and adapter placement transfer, given the placement sensitivity noted for UniAdapter.