← Latest papers
🤖 machine learning

ReToken: One Token to Improve Vision-Language Models for Visual Retrieval

ReToken is a lightweight, single learnable embedding that efficiently retrieves query-relevant visual tokens from a pre-filled KV cache, significantly improving the performance of vision-language models on long-context image and video retrieval tasks while remaining computationally feasible on a single GPU.

Original authors: Yao Xiao, Reuben Tan, Zhen Zhu, Yuqun Wu, Jianfeng Gao, Derek Hoiem

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

Original authors: Yao Xiao, Reuben Tan, Zhen Zhu, Yuqun Wu, Jianfeng Gao, Derek Hoiem

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 are trying to find a specific needle in a massive, chaotic haystack. Now, imagine that instead of just a pile of hay, this haystack is a giant library of thousands of books, and you are asking a super-smart robot librarian to read the whole library to find the one sentence that answers your question. This is the world of "Vision-Language Models" (VLMs), a branch of artificial intelligence that tries to understand both images and text together.

For a long time, these robots have been great at looking at a single photo or a short clip. But when you give them a whole hour-long video or a stack of a hundred photos, they get overwhelmed. It's like asking a human to read a thousand books at once; their brain (or in this case, the computer's memory) can't hold it all, and they start to get confused by the noise. They might look at the wrong page or miss the clue entirely because they are trying to process everything at the same time. The big question scientists have been asking is: How do we teach these robots to be better at "searching" their own memory? How do we help them ignore the boring parts and zoom in on the exact moment or picture that matters, without needing a supercomputer the size of a house to do it?

This is where a new idea called ReToken comes in. Think of a Vision-Language Model as a detective who has been trained to solve crimes by looking at evidence. Usually, when you ask the detective a question like, "Where is the red car?", the detective looks at all the evidence (the images) and tries to guess which one is important based on how much attention they pay to it. The researchers in this paper discovered that this "attention" method is actually quite unreliable for videos and large image collections. It's like the detective getting distracted by a shiny object in the background and missing the red car entirely.

The team found that the robot's current way of searching is a bit broken. They tested it and found that when the robot tries to pick the right frame from a video using its standard "attention" signals, it only gets it right about 5% of the time. It's essentially guessing in the dark. They also noticed something strange: the robot's "attention" is trained to predict the next word in a sentence, not to find specific images. So, it's not very good at being a librarian.

To fix this, the authors invented ReToken. Imagine you have a magical, single "search button" that you can stick onto your question. Instead of asking the robot to scan the whole library, you give it this special button. This button is a tiny, learnable piece of code that the robot is trained to use specifically to hunt for the right picture. It works by looking at the "content" of the images (what the paper calls the "value" space) rather than just the "labels" or "keys" the robot usually uses.

Here is the magic trick: The researchers trained this single "search button" on a small set of image questions. They taught it to ignore the noise and lock onto the exact frame that answers the question. Once trained, this little token became a super-efficient retriever. When the robot is asked a question about a long video, this token acts like a laser pointer, instantly finding the few relevant frames out of thousands and ignoring the rest.

The results were surprisingly strong. When they tested this on a "Visual Haystack" challenge (finding one relevant image among many), the robot using ReToken improved its accuracy by over 13 points compared to its previous best. Even more impressively, they trained it only on still images, but when they gave it a long video to watch, it still worked! It transferred its skills perfectly, improving video understanding scores by 8 points on a difficult benchmark called LVBench.

The best part? This solution is incredibly lightweight. It doesn't require rebuilding the whole robot or using a massive supercomputer. The entire process, from training to watching a long video, fits on a single high-end graphics card (an H100). The authors suggest that this simple, single-token approach might be the key to making AI that can truly understand hours of video or massive image collections without getting lost in the details. It's a small change that helps the robot see the forest for the trees, proving that sometimes, you don't need a bigger brain; you just need a better way to look.

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 →