← Latest papers
💬 NLP

Do All Visual Tokens Matter Equally? Object-Evidence Preserving Token Merging for Vision-Language Retrieval

The paper proposes SaMer, an object-aware token merging framework that significantly compresses image-side tokens for vision-language retrieval by preserving critical object-level evidence during training, thereby reducing storage costs and improving retrieval performance without requiring ground-truth bounding boxes at inference.

Original authors: Suhyeong Park, Junha Jung, Jungwoo Park, Jaewoo Kang

Published 2026-07-14
📖 4 min read☕ Coffee break read

Original authors: Suhyeong Park, Junha Jung, Jungwoo Park, Jaewoo Kang

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 massive library of photos, and you want to find the one picture that shows "a cat wearing a hat." In the old days, computers would look at the whole photo and give it a single "vibe score." But that's like judging a whole pizza just by its smell; you might miss the specific slice with the pepperoni you're craving.

Modern AI tries to be smarter. It breaks every photo into hundreds of tiny puzzle pieces (called "tokens") and saves the details of each piece separately. When you ask a question, the computer checks every single puzzle piece against your words to find the best match. This is great for finding specific details, but it's a storage nightmare. Imagine trying to carry a library of 1,000 tiny puzzle pieces for every single photo in your phone. It takes up too much space and makes searching painfully slow.

So, researchers asked: Do all those visual tokens matter equally?

The answer, according to this paper, is a loud "No." But here's the tricky part: if you just throw away the "boring" pieces or mash similar-looking pieces together, you might accidentally glue a "cat" piece to a "dog" piece because they both have fur. If you do that, your computer can no longer find the specific "cat" you asked for. It's like blending a red Lego brick and a blue Lego brick into purple; now you can't build a red castle anymore.

The Solution: SaMer (Semantic-aware Merging)

The authors propose a new method called SaMer. Think of SaMer as a super-smart librarian who organizes the puzzle pieces before you even ask a question.

  1. The Training Trick: While the computer is learning, SaMer uses a secret cheat sheet (object labels) to see where the actual objects are. It uses this to teach the system: "Hey, don't glue the cat's ear to the dog's tail, even if they look similar!" It forces the system to keep different objects separate, even when it's squishing them together.
  2. The Magic Merge: Instead of deleting 93% of the puzzle pieces, SaMer gently blends them into 64 super-representative "centroids." These aren't just random averages; they are carefully crafted summaries that keep the identity of the original objects intact.
  3. The Result: When you ask for "a cat," the system can still point directly to the "cat" summary, ignoring the "dog" summary, even though the "dog" summary is sitting right next to it.

The Numbers (The Proof)

The paper doesn't just guess; they tested this on real data. Here is what they found:

  • Massive Space Savings: By using only 64 tokens instead of the original thousands, they reduced the storage needed for the ColPali system by 16.09×. That's like shrinking a 263.7 GB library down to just 16.4 GB.
  • Speed Boost: Because there are fewer pieces to compare, the search became much faster. On one dataset, the speed (Queries Per Second) jumped by 4.3×, and on another, it nearly 9.1× faster.
  • Better Accuracy: Surprisingly, making the library smaller actually made it better at finding the right photo. On the Flickr30K dataset, the success rate (R@1) went up from 77.0 to 82.4. On MSCOCO, it rose from 47.4 to 51.6.

What They Ruled Out

The authors were very careful to say what doesn't work. They showed that simply throwing away pieces (pruning) or just blending everything together based on how similar colors look (feature-only pooling) causes the computer to lose track of specific objects. If you just blend similar-looking patches without knowing they belong to different objects, you lose the ability to distinguish them later. SaMer suggests that the key isn't just reducing the number of tokens, but preserving the evidence that future questions need to select.

How Sure Are They?

The authors measured this on real-world datasets like Flickr30K, MSCOCO, ImageCoDe, and DocVQA. They found that SaMer consistently outperformed other compression methods. They also measured how well the system could point to the exact part of the image mentioned in the text (grounding). SaMer showed that it kept the "phrase-level evidence" much better than other methods, with a "BoxMass" score (a measure of how well the relevance stays inside the correct object) jumping from 41.3 to 54.2.

The Bottom Line

The paper suggests that for AI to search images efficiently, we don't need to delete information; we need to organize it better. By merging tokens in a way that respects object boundaries, SaMer proves that you can shrink a massive image database by 16 times without losing the details, and actually find things better than before. It's a win for speed, a win for storage, and a win for accuracy.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →