Why a VLM confidently names objects that aren't in the image, and how to cut it down
A vision-language model keeps describing objects that aren't actually in the photo — a fork on an empty table, a person who isn't there. Explain the root cause of this object hallucination and lay out concrete ways to reduce it.
A VLM hallucinates objects because the LLM's language prior overrides weak visual grounding — it completes the plausible scene from text co-occurrence instead of the pixels. Fix the imbalance, not the symptom.
Imagine someone who has read thousands of stories about kitchens. Show them a blurry photo of a kitchen and ask what is on the counter. Even if the counter is empty, they will say "a knife, maybe a cutting board" — because that is what kitchens usually have in all the stories they read. They are answering from memory of stories, not from the blurry photo. A vision model does the same: its word-brain knows what scenes usually contain, and when its eyes are fuzzy, the word-brain wins and it invents the usual stuff. To fix it you sharpen the photo, teach it with tricky empty scenes, or have it double-check each thing it named against the picture.
Detailed answer & concept explanation~7 min readEverything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
Spend 7-9 minutes: 3 on the prior versus evidence mechanism and why the signal is weak, 3 on the strengthen/rebalance/re-weight mitigation families, and 2 on contrastive decoding plus the production verification backstop.
Real products, models, and research that use this idea.
- LLaVA-family models on the POPE benchmark show measurable object hallucination on absent-object questions, the canonical case the prior-overriding mechanism predicts.
- Visual contrastive decoding cuts hallucination by contrasting LLaVA-style logits on the real image against a noised image baseline.
- Document and receipt AI pipelines add a detect and match verification step before trusting a VLM's described field list, catching confident misses in production.
What an interviewer would ask next. Try answering before peeking at the approach.
QHow does contrastive decoding mathematically subtract the language prior from the next-token distribution?
Don't say thisRed flags and common mistakes that signal junior thinking. Click to expand.
Red flags and common mistakes that signal junior thinking. Click to expand.
Blaming object hallucination on 'the model being bad at vision' instead of naming the real mechanism: a strong language prior overriding an under-weighted visual signal.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.
Same topic, related formats. Practice these next.