Evading Visual Aphasia: Contrastive Adaptive Semantic Token Pruning for Vision-Language Models
The paper introduces COAST, a training-free, contrastive adaptive semantic token pruning framework that prevents "Visual Aphasia" by dynamically preserving essential visual tokens based on contextual dispersion and contrastive routing, achieving significant inference speedups while maintaining near-original performance across diverse vision-language models.
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
The Big Problem: The "Visual Aphasia" Glitch
Imagine you are hiring a very smart detective (the AI) to solve a mystery based on a photo and a specific question.
Most current AI models are like detectives who are too eager to please. When they look at a photo, they immediately focus on the biggest, brightest, most obvious thing (like a giant camel in a desert). If you ask them a tricky question about a tiny detail in the background (like a small sign on a cafe), they often ignore the background entirely because it didn't grab their attention at first glance.
The paper calls this failure mode "Visual Aphasia." It's like the detective suddenly loses their ability to "see" the visual evidence. They still understand your words, but they can't connect them to the picture anymore. So, they guess based on what usually happens in stories (language priors) rather than what is actually in the photo.
- The Result: You ask, "What is the name of the cafe?" and the AI, seeing a camel, confidently says, "The Camel Cafe," even though the sign clearly says "Daily Grind."
Why Does This Happen?
The paper argues that current AI models make a mistake early on. They try to speed things up by throwing away "boring" parts of the image right at the start. They use a simple rule: "If a part of the image isn't getting much attention right now, delete it."
But the researchers found that this rule is flawed. Some parts of the image look boring at first but become crucial later.
- The Analogy: Imagine reading a mystery novel. In Chapter 1, a character mentions a "red door" in passing. It seems unimportant. But in Chapter 10, that red door is the key to solving the crime. If you deleted the sentence about the red door in Chapter 1 to save time, you'd be lost in Chapter 10.
- The Reality: In AI, "low attention" tokens (the boring parts) often turn into "high attention" tokens later as the AI tries to figure out complex relationships (like "what is behind the camel?"). If you cut them too early, the AI loses the context needed to answer correctly.
The Solution: COAST (The Smart Tour Guide)
The authors created a new method called COAST (COntrastive Adaptive Semantic Token Pruning). Instead of just cutting out the "boring" parts, COAST acts like a smart tour guide who knows exactly what to keep.
COAST doesn't just look at one score to decide what to keep. It uses a two-step strategy:
The "Anchor" (The Main Attraction):
First, it identifies the specific parts of the image that directly answer the question (the "anchors"). If you ask about a hat, it keeps the hat. This is the "semantic evidence."The "Context" (The Surroundings):
This is the magic part. COAST realizes that sometimes you need the background to understand the foreground. It intentionally keeps some "low attention" parts of the image that act as a map or a frame of reference.- The Analogy: If you are looking for a specific person in a crowd, you don't just look at the person; you also need to see the people standing next to them to know who they are. COAST keeps the "people next to the person" even if they aren't the main focus.
How It Decides What to Keep (The "Entropy" Meter)
COAST has a special gauge called Attention Entropy. Think of this as a "confusion meter."
- Low Confusion (Focused): If the AI is very sure about what it's looking at (e.g., "That's a cat"), COAST keeps mostly the cat and throws away the rest.
- High Confusion (Dispersed): If the AI is looking at a complex scene with many objects and relationships, the "confusion meter" goes up. COAST sees this and says, "Okay, this is tricky. I need to keep more of the background context to help the AI figure it out."
It dynamically adjusts how much "main subject" vs. "background context" it keeps based on how hard the question is.
The Results: Faster and Smarter
The paper tested COAST on seven different benchmarks (like a final exam for AI).
- Speed: It cut the number of image pieces (tokens) the AI had to process by nearly 78%. This made the AI run 2.15 times faster.
- Accuracy: Despite cutting out so much data, the AI kept 98.6% of its original intelligence.
- The Win: Unlike other methods that caused the "Visual Aphasia" (hallucinating wrong answers), COAST kept the AI grounded in reality. It solved the "Camel Cafe" problem by keeping the tiny sign in the background, allowing the AI to read "Daily Grind" correctly.
Summary
- Old Way: "Delete everything that isn't the main focus right now." -> Result: AI gets confused and hallucinates.
- COAST Way: "Keep the main focus, but also keep enough background context to help us understand the relationships, especially if the scene is complex." -> Result: AI is faster, but still sees the whole picture and answers correctly.
The paper concludes that by treating image compression as a smart routing problem (deciding what to keep, not just how much to cut), we can make AI faster without making it "blind."
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.