Vision-language models, which answer questions about images, often "hallucinate". They assert objects, colors or spatial relations that are not in the picture, especially when the user's question presupposes them ("What color is the dog's collar?" when there is no dog). One cheap fix is to train a soft prompt: a handful of learned vectors placed in front of the input of a frozen model, tuned by gradient descent instead of written in words. Soft prompts are small, modular and leave the model's weights untouched. They also have two problems. They are unreadable. And a benchmark gain they produce can come from a shortcut rather than from better use of the image. On yes/no probes, a prompt that simply makes the model say "no" more often will look like a hallucination fix.
This note proposes training a soft prompt against false-premise hallucination while explicitly asking the model to give the same answer across paraphrases of the question. We then decompose the learned vectors into weighted mixtures of real vocabulary words. The decomposition lets us ask one question in the model's own vocabulary: did the prompt learn something like "look at the image and reject unsupported premises," or did it learn "lean toward no"? We answer it with ablations that remove each part of the word mixture and measure the effect. We also turn the decoded recipe back into a plain-text instruction and test whether it works as a discrete prompt. That yields a data-derived counterpart to hand-written anti-hallucination instructions.
Core Claim
The claim has three parts. The first is that a paraphrase-consistent soft prompt reduces modality-conflict hallucination on a frozen model without the general-capability loss seen with full fine-tuning. The second is that sparse vocabulary decomposition of that prompt separates two mechanisms. One is an answer-prior shift: weight on tokens like "no", "not" or "none", which a simple yes/no threshold could reproduce. The other is a grounding component: weight on tokens about seeing, the image or evidence, which a threshold cannot reproduce. The third is that only the grounding component survives on relation conflicts and on open-ended captioning, where no single answer token exists to bias toward.
If the decomposition shows the gain is mostly answer-prior shift, that is a publishable negative result about how hallucination benchmarks reward soft-prompt adaptation. Either outcome is informative.
Where This Sits
The interpretability method comes from Is Continuous Prompt a Combination of Discrete Prompts?. That paper models a soft vector as a sparse weighted sum of vocabulary embeddings and fits the weights to preserve both the vector and task behavior. Applied to masked-language-model sentiment classifiers, it revealed shortcut words such as "quality" and "taste". It recovered 75.18% SST-2 accuracy from the decoded mixture, against 49.86% for nearest-single-word decoding. It also let decoded prompts transfer from BERT to RoBERTa-large at 90.33% on Amazon polarity.
We reuse the method but move it to autoregressive vision-language models and to a task where the shortcut has a known, testable form, namely the yes-bias. The yes-bias was documented by Evaluating Object Hallucination in Large Vision-Language Models, which introduced the POPE probe benchmark and reported "Yes" rates near 99% in some settings. Nearest-neighbor decoding is known to fail. WARP and CoOp both found that learned prompts map to gibberish tokens. That is why we decode into mixtures rather than single words.
The problem setting comes from Robust Multimodal Large Language Models Against Modality Conflict. It built the MMMC dataset of false-premise questions (object, attribute and relation conflicts) and cut hallucination on Qwen2-VL-Instruct-2B from 46.55% to 18.00% with reinforcement learning. It also reported training instability and a loss of performance on standard tasks. This paper motivates our work and supplies the data. We replace its full-model training with a frozen model plus a soft prompt, and we add interpretation.
The consistency objective and its metrics come from two papers. Rethinking Hallucinations: Correctness, Consistency, and Prompt Multiplicity showed, for text-only models, that answers flip across rephrasings even when aggregate accuracy is stable, and that hallucination detectors largely measure this inconsistency. On the Relation between Sensitivity and Accuracy in In-Context Learning found that sensitivity to rephrasing correlates negatively with accuracy (Pearson r down to −0.40). Neither paper studied images or soft prompts. We use their ambiguity and self-consistency metrics as evaluation targets and turn consistency into a training signal.
Two papers constrain the design. Nemesis showed that soft-prompt vectors in CLIP grow in norm during training and that this hurts generalization, so we include its norm penalty. P-Tuning found that input-only prompts underperform below about 10B parameters. Our 7B and 2B backbones sit below that, so we also train deep prompts inserted at every layer, as a capacity comparison.
Research Program
We use two frozen backbones: LLaVA-1.5-7B, which is shared by most baselines below, and Qwen2-VL-Instruct-2B, the MMMC reinforcement-learning model. The training data is the MMMC training split. Each question is expanded into several paraphrases, and each paraphrase comes in a neutral version and a misleading version, following the questioning modes of the PhD benchmark. We hold out entire conflict categories to test transfer. For example, we train on object and attribute conflicts and test on relation conflicts.
The soft prompt $P$ is a set of $k$ vectors prepended to the text. Let $q_1,\dots,q_m$ be paraphrases of one question about image $x$, let $y$ be the correct answer, and let $p_P(\cdot\mid x,q)$ be the frozen model's output distribution with the prompt. The training objective is
$$ \mathcal{L}(P)=\frac{1}{m}\sum_{j=1}^{m} -\log p_P(y\mid x,q_j)\;+\;\lambda\,\frac{1}{m}\sum_{j=1}^{m}\mathrm{KL}\big(\bar p_P \,\|\, p_P(\cdot\mid x,q_j)\big)\;+\;\mu\,\|P\|_2^2 . $$
Here $\bar p_P$ is the average of the answer distributions over the $m$ paraphrases. The second term penalizes disagreement across rephrasings. The third is the uniform norm penalty from Nemesis. We initialize $P$ from the embedded text of the MagPrompt instruction. This makes "the soft prompt is just a better-optimized MagPrompt" the default hypothesis to beat.
For interpretation, each learned input-layer vector $p_t$ is decomposed as $p_t \approx \sum_i \alpha_{t,i} e_i$, where $e_i$ is the embedding of vocabulary word $i$ and $\alpha_{t,i}\ge 0$ is sparse. The weights are fit with Ju et al.'s joint objective, which balances reconstruction error against keeping the model's answers unchanged.
We sort the vocabulary into three groups before looking at any results:
- Answer-prior tokens: negations and "no"-type words.
- Grounding tokens: words about vision, images, evidence and verification.
- Residual: everything else.
Three causal tests follow. First, we zero out the answer-prior weights, re-embed the mixture, and measure what fraction of the hallucination reduction survives. Second, we do the same for the grounding weights. Third, we render the top-weighted words as a plain-text instruction and evaluate it as a discrete prompt, both on the same model and on the other backbone. The cross-backbone test mirrors Ju et al.'s transfer test and works despite the different tokenizers because the transfer happens through words.
A secondary analysis tracks prompt norm against the share of attention the model gives to visual tokens. Why LVLMs Are More Prone to Hallucinations in Longer Responses links attention drifting away from image tokens to hallucination. This lets us test whether norm growth crowds out the image.
Decoupling is lossy in anisotropic embedding spaces, as Ju et al. note. We therefore report fidelity: the fraction of the soft prompt's gain that the decoded mixture recovers. Conclusions about mechanism are drawn only where fidelity is high.
Baselines
The naive reference is the frozen model with no prompt. On LLaVA-1.5 it scores 83.63% POPE adversarial F1, the baseline figure reported by Decoupling Contrastive Decoding. Next to it we run the most important cheap control: the frozen model with its yes/no decision threshold recalibrated on the same training split. If the soft prompt only shifts the answer prior, this control will match it on POPE and MMMC's binary items. Beating it there, and on relation conflicts and captioning where no threshold applies, is the minimum bar.
The hand-written discrete baseline is MagPrompt, which wraps the question in instructions to prioritize the image. It reports macro F1 of 84.5 on POPE adversarial with LLaVA-1.5-13B, against 81.9 for visual contrastive decoding, and a 5.22% gain on LLaVA-1.5-7B. It is the most direct competitor because our prompt starts from its text. We run it with the exact wording on the same splits.
The strongest training-free competitor is SHARP. It adds fixed steering vectors, derived from faithful-versus-hallucinated activations, into layer 10. It reports POPE adversarial accuracy of 82.8% versus 79.5% on LLaVA-Next, and a reduction in sentence-level caption hallucination (CHAIRs) from 52.8 to 34.8 on LLaVA-v1.5. We derive SHARP's vectors from the same MMMC training images, so both methods see identical data.
The strongest trained competitor on object probing is Decoupling Contrastive Decoding, which trains a projector on hallucinated text and subtracts its logits. It reports 85.11% POPE adversarial F1 at the cost of two forward passes per token. We treat that number as the target on POPE and also report its doubled latency. For MMMC, the reference is Zhang et al.'s 18.00% hallucination rate after reinforcement learning on Qwen2-VL-2B. We do not expect to match it; we measure how much of it a frozen model plus soft prompt recovers. BBVPE reports CHAIRs falling from 62.8 to 46.3 and serves as a pixel-space reference for captioning.
We add a LoRA adapter trained on the same data, matched in trainable-parameter count and tuning budget, to separate "soft prompt" from "any small trained module."
Two ablations isolate our ingredients. The first removes the consistency term ($\lambda=0$). The second compares random initialization with MagPrompt initialization.
All trained methods get the same hyperparameter search budget and the same held-out validation split. A soft-prompt configuration beats a baseline if it matches or exceeds it on hallucination while staying within one point of the frozen model on SEED-Bench and MathVista, and while reducing paraphrase ambiguity.
Why not just…?
Why not just use MagPrompt? It is free and already works on strong instruction-followers. However, its authors report weak results on models with thin instruction tuning, and discrete wordings are brittle: The Butterfly Effect of Altering Prompts shows that trivial edits flip outputs. This is a real threat. If the decoded soft prompt turns out to read like MagPrompt and performs no better, we will say so. The paraphrase-ambiguity metric and the InstructBLIP-style weak-instruction-follower comparison are what settle it.
Why not just add SHARP's steering vector? It is cheap and needs no gradient training. But it adds the same vector to the activations regardless of the question. A soft prompt, by contrast, acts through attention and interacts with the specific premise in the question. We predict the difference shows up on relation conflicts and misleading paraphrases. Running SHARP on identical data at matched latency tests this directly. If SHARP matches us there, the case for a soft prompt rests only on interpretability and modularity.
Why not just recalibrate the yes/no threshold? This is the baseline that could embarrass the whole enterprise on POPE, and it is why the decomposition exists. Threshold shifts cannot help open-ended captioning or answers about relations. They also cannot explain a gain that survives removal of the answer-prior tokens. The ablation of those token weights directly measures how much of the gain is a threshold in disguise.
Why not just fine-tune with LoRA or reinforcement learning? Zhang et al. show that reinforcement learning gives the largest MMMC gains but is unstable and costs performance on standard tasks. Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing found that full fine-tuning distorts pretrained representations where prompt tuning does not. The parameter-matched LoRA run measures whether this holds here, with the capability check on SEED-Bench, MathVista, MME and MM-Vet.
Decisive Checks
Hallucination is evaluated on the three POPE splits, CHAIR captioning on COCO, MMMC's held-out conflict categories, HallusionBench and PhD's misleading mode. Consistency is measured on MMMC and POPE with the ambiguity and self-consistency metrics of Rethinking Hallucinations, computed over held-out paraphrases never seen in training. Capability loss is measured on MME perception (SHARP reports 510.0 to 613.3 on LLaVA-v1.5), SEED-Bench, MathVista and MM-Vet.
Four results decide the proposal:
- Beyond threshold recalibration: the soft prompt must beat the recalibrated threshold on relation conflicts and CHAIR, not only on POPE.
- Mechanism shown by removal: removing the grounding tokens from the decoded mixture must destroy most of the relation-conflict gain, while removing the answer-prior tokens mainly changes the POPE yes rate.
- A usable discrete recipe: the rendered discrete recipe must recover a meaningful share of the soft prompt's gain and must transfer across the two backbones better than MagPrompt's text does.
- Value of the consistency term: it must cut paraphrase ambiguity without costing accuracy.
If decoding fidelity is low on these autoregressive models, the program falls back to reporting soft-prompt versus steering results with norm and attention diagnostics, and it says so explicitly.
References
- Is Continuous Prompt a Combination of Discrete Prompts? Towards a Novel View for Interpreting Continuous Prompts
- Evaluating Object Hallucination in Large Vision-Language Models
- WARP: Word-level Adversarial ReProgramming
- Learning to Prompt for Vision-Language Models
- Robust Multimodal Large Language Models Against Modality Conflict
- Rethinking Hallucinations: Correctness, Consistency, and Prompt Multiplicity
- On the Relation between Sensitivity and Accuracy in In-Context Learning
- Nemesis: Normalizing the Soft-prompt Vectors of Vision-Language Models
- P-Tuning: Prompt Tuning Can Be Comparable to Fine-tuning Across Scales and Tasks
- Why LVLMs Are More Prone to Hallucinations in Longer Responses: The Role of Context
- Decoupling Contrastive Decoding: Robust Hallucination Mitigation in Multimodal Large Language Models
- Magnifier Prompt: Tackling Multimodal Hallucination via Extremely Simple Instructions
- SHARP: Steering Hallucination in LVLMs via Representation Engineering
- Black-Box Visual Prompt Engineering for Mitigating Object Hallucination in Large Vision Language Models
- The Butterfly Effect of Altering Prompts: How Small Changes and Jailbreaks Affect Large Language Model Performance
- Evaluating the Impact of Model Scale for Compositional Generalization in Semantic Parsing