YARD: Y-Architecture Register Decoding for Efficient Hallucination Mitigation in Large Vision-Language Models
YARD is a training-free framework that mitigates hallucinations in Large Vision-Language Models by employing a Y-architecture to share shallow computations and branch at middle layers, where it replaces fine-grained visual tokens with register tokens to generate an effective contrastive signal without the latency of a second forward pass.
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 a Large Vision-Language Model (LVLM) as a very talented but slightly overconfident storyteller. You show it a picture of a beach, and it starts describing the scene. Sometimes, it gets things right ("There are umbrellas and people"), but other times, it confidently invents details that aren't there ("And look, there's a surfboard and a dog!"). This is called hallucination.
The paper introduces a new method called YARD (Y-Architecture Register Decoding) to stop this storyteller from making things up, without needing to retrain the model or slow it down.
Here is how YARD works, broken down into simple concepts:
1. The Problem with Old Methods
Before YARD, researchers tried to fix hallucinations using a technique called "Contrastive Decoding." Think of this as asking the storyteller to tell the story twice:
- Version A (Clean): "Look at the real photo and tell me what you see."
- Version B (Degraded): "Tell me what you see, but pretend the photo is blurry or missing pieces."
The computer then compares the two stories. If Version B invents a surfboard but Version A doesn't, the computer knows to suppress the "surfboard" idea in the final answer.
However, previous methods had two big flaws:
- The "Blindfold" Approach: Some methods completely removed the visual input for Version B. This was too extreme. The model would just guess based on general knowledge (e.g., "Beaches usually have surfboards"), which didn't help catch specific lies about this specific beach.
- The "Double-Work" Approach: Other methods corrupted the image pixels (adding noise). This required the computer to process the image twice from scratch, which was very slow and expensive.
2. The YARD Solution: The "Y" Shape
YARD changes the game by building a Y-shaped path inside the model's brain.
- The Stem (Shared Path): Both the "Clean" story and the "Degraded" story start together. They share the first few layers of processing. This is like reading the first paragraph of a book together. This saves time because the model doesn't have to do double the work.
- The Split (The Middle Layer): At a specific point in the middle of the model's thinking process, the path splits.
- The Left Branch (Clean): Continues normally, looking at every tiny detail (patches) of the image.
- The Right Branch (Degraded): This is where the magic happens. Instead of looking at every tiny detail, this branch is forced to look at the image through a "Register."
3. The "Register" Metaphor
Imagine the image is a high-resolution map.
- The Clean Branch looks at the map and sees every street, tree, and house.
- The Degraded Branch (using YARD) is given a "Register." A Register is like a summary note that says, "This is a beach scene with water and sand," but it hides the specific details. It knows there are people, but it can't see where they are standing or what they are holding.
Why is this clever?
If the model tries to say, "There is a surfboard," the Clean Branch (which sees the details) checks the map and says, "No, I don't see a surfboard." The Degraded Branch (which only sees the general beach vibe) might say, "Well, beaches often have surfboards, so maybe?"
When the computer compares these two, it realizes: "The Clean Branch says 'No,' but the Degraded Branch is guessing 'Yes' based on general vibes." YARD then suppresses the "surfboard" guess. It keeps the story grounded in reality because the "Clean" branch has the proof, and the "Degraded" branch acts as a detector for things the model is just guessing.
4. Why the "Middle" Matters
The paper discovered that the model's brain works in stages.
- Early layers: Just getting the picture ready.
- Middle layers: This is the "sweet spot" where the model starts connecting the text to the specific visual details.
- Late layers: The model has already decided what to say.
YARD splits the path right in the middle. If you split too early, the model hasn't seen enough of the picture yet. If you split too late, the model has already "memorized" the details and won't be fooled by the degraded version. The middle is the perfect time to introduce the "Register" to test if the model is actually looking at the picture or just guessing.
5. The Result
By using this Y-shaped path and the "Register" trick:
- It's Faster: Because the two paths share the beginning, the model doesn't have to process the image twice from scratch.
- It's Smarter: It catches hallucinations better than previous methods because it creates a "fair fight" between a detailed view and a general view, rather than a detailed view vs. a blind guess.
- It Works Everywhere: The paper tested this on many different types of AI models, and it worked consistently well without needing to retrain them.
In short, YARD is like a fact-checker that sits inside the AI's brain, asking, "Are you sure you see that, or are you just guessing based on what usually happens?" It does this efficiently, without slowing down the conversation.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.