ReToken: One Token to Improve Vision–Language Models for Visual Retrieval
Summary
Diagnoses query–key attention as a weak visual retriever in VLMs and scores frames in value space instead. ReToken is one learnable token plus a final-layer projection, trained with class-balanced BCE on MIRAGE multi-image QA while the VLM is frozen by default. On Visual Haystacks it lifts Qwen3VL-8B by 13.4 points and InternVL3.5-8B by 12.4 points at C=50 (>20% relative); trained only on images it transfers zero-shot to hour-scale video (+8.0 on LVBench with Qwen3VL-8B). Training and long-video inference fit on one H100. Code https://github.com/avaxiao/ReToken.
- Venue
- arXiv / UIUC / Microsoft Research
- Source
- arxiv
- Access
- free
- License
- CC BY 4.0
- License family
- Permissive
- Language
- en
- Purpose
- Select query-relevant visual tokens from a pre-filled visual KV cache with a single learnable retrieval embedding
- Scale
- Filtered MIRAGE MIQA 70,686 examples; Visual Haystacks C=1–100 K=1; QAEgo4D Test-MC; LVBench (~68 min avg); Video-MME; Qwen3VL-8B and InternVL3.5-8B; single H100
- Used for
- Unknown
- Time period
- 2026-07-30 (arXiv 2607.28627 v1)
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Jul 30, 2026
- arXiv categories
- cs.CV, cs.AI, cs.LG
- Author comment
- Code: https://github.com/avaxiao/ReToken
- Citations
- 0
- References
- 51
Abstract (from arXiv)
Long visual context poses a challenge for vision-language models: performance degrades as the number of distractors grows, and processing all tokens at once is computationally infeasible under GPU memory constraints. We present ReToken, a single learnable embedding trained as an explicit retrieval target that selects a sparse set of query-relevant visual tokens from a pre-filled visual KV cache. Trained on only a small image-QA dataset, ReToken yields consistent gains across image and video benchmarks: on Visual Haystacks it improves Qwen3VL-8B by 13.4 points and InternVL3.5 by 12.4 points (>20% relative), and on LVBench it transfers zero-shot to long video for an 8.0-point gain with Qwen3VL-8B. Thanks to its lightweight design, both training and long-video inference fit on a single H100. Code is available at: https://github.com/avaxiao/ReToken
Tags
Topics
vision-language models, visual retrieval, long-context VLMs
Research notes
- Primary: arxiv abs (CC BY 4.0, cs.CV/AI/LG). Code MIT https://github.com/avaxiao/ReToken (13 stars at check). Affiliations UIUC, Microsoft Research, Google DeepMind (Zhu; work done at UIUC). Correspondence yaox11@illinois.edu, dhoiem@illinois.edu. Discord posted AlphaXiv 2607.28627.
Similar entries
- Thread Scaling KV Cache Compression to Frontier Models (X thread by @RampLabs)
- Paper DualKV: Shared-Prompt Flash Attention for Efficient RL Training with Large Rollouts and Long Contexts
- Paper WeDLM: Reconciling Diffusion Language Models with Standard Causal Attention for Fast Inference
- Paper LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning
- Paper UNREAL: Unifying Retrieval and Long-Context with a Single Model
- Paper Context Language Models