TL;DR
Vision-language models (VLMs) choke on hour-long videos and massive image collections, both because GPU memory runs out and because irrelevant "distractor" frames drown out the signal. The authors discover that while a VLM’s standard attention scores are terrible at finding the right frames, its internal value vectors quietly hold a rich retrieval signal. By training just one new token (ReToken) to tap into that value space, they turn a frozen VLM into its own high-precision retriever—boosting accuracy on hour-long videos without ever training on a single video.
What Problem Does This Paper Address?
Suppose you ask a VLM, "Where did I leave my keys?" over a 60-minute egocentric video. Processing every visual token simultaneously will likely blow up your GPU's memory (the Key-Value, or KV, cache grows huge), and even if it fits, the sheer volume of irrelevant frames degrades the model's reasoning.
There are two standard workarounds. First, use an external retriever (like CLIP) to pick the top frames—which means maintaining two models and re-encoding images. Second, do what text-only LLMs do: look at the model's internal attention scores (query-key dot products) to see which frames the question "attends" to, and drop the rest.
Here’s the catch: in VLMs, attention scores are surprisingly terrible at visual retrieval. Because VLMs are usually trained on single, relevant images, they never learn to ignore visual distractors—resulting in noisy, flat attention maps that miss the ground truth.
Methods
Instead of matching queries against keys (which dictate how information is routed), the authors look at values (which carry the actual semantic content propagated forward). While value vectors are much more informative, simply averaging all the words in a user's question creates a noisy search vector that ruins that advantage.
To get a clean search signal, the authors introduce ReToken:
- Minimalist Architecture: They keep the entire pretrained VLM frozen and add just two things: a single learnable token embedding appended to the end of the user's question, and a single linear projection matrix at the final transformer layer.
- Value-Space Scoring: At the final layer, the projected ReToken output is compared (via cosine similarity) against the average value vector of each image or video frame. During training, this score is supervised directly against ground-truth relevance labels using a class-balanced binary cross-entropy loss.
- Two-Pass Inference: First, the video is ingested once and its KV states are cached. When a question arrives, Pass 1 runs the question + ReToken over the cache (using a lightweight top-256 filter in early layers so long videos fit in memory) to pick the top-$K$ frames at the final layer. Pass 2 loads only the cached KVs of those $K$ winning frames and generates the answer.
Datasets
No new datasets are introduced, though the authors curate a notably lean setup:
- Training (Images Only): MIRAGE, a multi-image QA dataset combining RetVQA, SlideVQA, WebQA, and synthetic distractor-augmented LLaVA data, where each image has a binary relevant/irrelevant label.
- Evaluation: Visual Haystacks (finding 1 relevant COCO image among up to 99 distractors) for images, alongside three zero-shot video benchmarks: QAEgo4D$_{\text{Test-MC}}$ (4–20 min egocentric videos), Video-MME (11 sec to 1 hr), and LVBench (extreme long-video understanding averaging 68 minutes per video).
Key Insights and Ideas
- Values beat Keys—if you ask nicely: In a controlled two-image test, switching from query-key matching to value-value matching with a precise target phrase (e.g., "a cow") jumps Recall@1 from 65.7% to 78.0% on Qwen3VL-8B. Values hold the rich visual-language semantics, whereas keys just handle token aggregation. However, feeding the whole noisy question sentence erases that gain—which is why learning a dedicated token is crucial.
- Images teach video retrieval for free: Despite never seeing a video during training, ReToken transfers zero-shot to hour-long videos. Teaching the token what visual values look like in static multi-image haystacks is enough to find keyframes in temporal streams.
- Precision vs. Recall dynamics: Standard attention retrieval (like ReKV) is imprecise, needing a huge frame budget $K$ just to stumble upon the right image. ReToken nails the needle on the first try ($K=1$), and actually loses accuracy if you force it to pull in more frames (which are inevitably distractors).
Key Results
- Visual Haystacks: With 50 images and budget $K=1$, ReToken boosts frozen Qwen3VL-8B accuracy by +13.4 points (58.6% $\rightarrow$ 72.0%) and InternVL3.5-8B by +12.4 points (>20% relative gain). Notably, its Recall@1 hits 64.7%, crushing external retriever SigLIP2 (20.8%) and attention-based ReKV (1.8%).
- Zero-Shot Long Video: On LVBench (hour+ videos), ReToken improves Qwen3VL-8B over uniform KV-cache sampling by +8.0 points (40.6% $\rightarrow$ 48.6%), with massive gains on localized tasks like Key Information Retrieval (+15.4 points). On QAEgo4D ($K=1$), it beats uniform sampling by +6.8 points.
- Single-GPU Footprint: Both training (under 4 hours) and hour-long video inference fit comfortably on a single H100 GPU.
Limitations and Future Work
- Compute Overhead & Dispersed Evidence: Two-pass inference and attending to 256 frames in early layers slightly increase latency and memory over single-pass methods. Furthermore, when a question requires summarization across an entire video, picking sparse frames backfires—ReToken drops 5.2 points below simple uniform sampling on LVBench summarization tasks.
- Frame-by-Frame Blindness: Because ReToken pools each frame into a single vector and scores frames independently, it can miss tiny localized objects or actions spanning multiple consecutive frames. Future work points toward retrieving short frame chunks, handling temporal queries ("what happened before X?"), training directly on video data, and scoring at the token level rather than the frame level.
Summary updated