Visual Token Routing: Learning to keep tokens that matter
Pranjal Aggarwal, Sean Welleck
Abstract
Computer-use agents (CUAs) have recently achieved superhuman performance on several long-horizon benchmarks. However, their computational cost limits their use in long-horizon tasks and real-time domains such as video games. A key bottleneck is representing each screenshot as thousands of visual tokens, which accumulate into long contexts as agents reason over extended interaction histories. We observe that most of these visual tokens are either semantically irrelevant to the agent's next action or temporally redundant across screenshots. Building on this observation, we introduce Visual Token Routing (VTR), a joint training framework for learning sparse visual representations that preserve the information needed for action prediction. In VTR, we train the vision-language model together with a lightweight spatio-temporal router that examines each image region in the current and previous screenshots and decides whether its visual token enters the language model. We optimize the router using an adaptive loss to keep the number of visual tokens as small as possible while minimizing performance degradation. With just 2,000 training steps, VTR matches the performance of the full-resolution model on OSWorld, CUA-World, and video game action prediction, while using 2.5-5.8x fewer visual tokens. These savings reduce inference cost by up to 3.3x and speed up prefill by up to 2.9x. VTR also outperforms lowering the image resolution and other baselines for dropping tokens, by up to 12.8 points on OSWorld. Overall, VTR enables computer-use agents to process only the visual tokens they need, allowing them to be used in long-horizon tasks and real-time domains at a fraction of the computational cost. Code and models are available at https://pranjal2041.github.io/vtr
Create a lesson
Related papers
RI-Prune: Relation and Information Aware Visual Token Pruning for Multi-Image Vision-Language Models
Shared title terminology · Dongjin Lee, Eunju Lee, Jinhee Jang et al.
When Visually Rich Documents Meet Multi-Vector Retrieval for Region-level Retrieval-Augmented Generation
Shared title terminology · Xu Yuan, Liangbo Ning, Yujuan Ding et al.
PhiJEPA: Denoising Latent Predictions for Visual Representation Learning
Shared title terminology · Makoto Yamada, Yao-Hung Hubert Tsai
PathOPEN: A pathologist-curated histopathology dataset for visual question answering
Shared title terminology · Awais Naeem, Zhongling Xu, George Huang et al.
Ego2Ego: Generative Visual Perspective Taking Across Collaborators
Shared title terminology · Chuhan Jiao, John Gideon, Anshul Gupta et al.
PanoUAV-Track: Full-Spherical UAV Visual Tracking in the Wild
Shared title terminology · Bingyu Li, Lichang Yang, Zhiyuan Zhao et al.