Do We Really Need External Tools to Mitigate Hallucinations? SIRA: Shared-Prefix Internal Reconstruction of Attribution
SIRA is a training-free, internal contrastive decoding framework that mitigates hallucinations in large vision-language models by generating a language-prior-dominated counterfactual reference within the same transformer through masked attention in later layers, thereby reducing reliance on external tools and extra forward passes while preserving descriptive coverage.
Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
Imagine you have a very smart, well-read assistant (a Large Vision-Language Model) who is trying to describe a picture you just showed them. Sometimes, this assistant gets a little too confident in what they think they see, rather than what is actually there. They might say, "I see a red bicycle," when the picture is actually just a blurry shape that could be a bicycle, or they might invent details because they've read so many stories about bicycles that their brain fills in the gaps. This is called hallucination.
The paper introduces a clever new trick called SIRA to stop this from happening, without needing to retrain the assistant or hire a second person to double-check the work.
The Problem with Old Tricks
Previously, to stop the assistant from lying, researchers tried a method like this:
- Show the assistant the original picture.
- Then, show them a blurred or messed-up version of the same picture.
- Compare the two answers. If the assistant changes their story when the picture is blurry, maybe they were guessing.
The flaw: This is like asking someone to describe a painting, then asking them to describe the same painting while wearing foggy glasses. The "foggy glasses" version isn't a fair comparison because the glasses themselves distort the image. It's messy, takes twice as long (you have to look at the picture two separate times), and the distortion might create new errors.
The SIRA Solution: The "Shared Prefix"
SIRA takes a different approach. Instead of messing with the picture, it messes with the assistant's internal thought process while they are still thinking.
Think of the assistant's brain as a factory assembly line with many stations (layers) processing the image and the question.
- The Shared Start: The assistant starts by looking at the picture and the question together. They build a solid understanding of the scene in the early stations of the factory. This is the "Shared Prefix." SIRA makes sure both versions of the assistant agree on this initial understanding.
- The Fork in the Road: After the initial understanding is formed, SIRA splits the process into two parallel tracks running inside the same brain:
- Track A (The Full View): The assistant continues to look at the picture details as they finish their sentence.
- Track B (The "Blind" View): The assistant continues from the exact same starting point, but in the later stations, they are blindfolded to the specific picture details. They can only rely on their general knowledge and the sentence they've already started writing.
How It Fixes the Lie
Now, SIRA compares the two tracks at every step of writing the sentence:
- If the assistant says, "I see a dog," and Track A (seeing the dog) and Track B (blindfolded) both say "dog" with high confidence, SIRA knows this is likely just a guess based on common language (maybe dogs are common in stories). It lowers the score for "dog" because the blindfolded version didn't need the picture to say it.
- If the assistant says, "I see a purple elephant," and Track A says "purple elephant" (because they see it) but Track B says "no way, that's not in the story" (because they can't see it), SIRA knows the picture is the only reason for this claim. It boosts the score for "purple elephant."
Why It's Better
- No Extra Steps: It doesn't need to look at the picture twice. It does everything in one go, just by splitting the internal thought process.
- No Messy Distortions: It doesn't blur the picture. It just temporarily "turns off" the visual input for one version of the thought process, keeping the rest of the context perfectly aligned.
- No Training Needed: It works on existing models immediately. You don't have to teach the model anything new.
The Result
In tests, SIRA successfully stopped the assistants from making up objects that weren't there (like a "banana" that isn't in the photo) while still letting them describe the real things accurately. It's like having a built-in "reality check" that happens instantly inside the model's own brain, ensuring that what they say is actually supported by what they see, not just what they expect to see.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.