Vision models see fewer tokens by keeping key object surroundings
Not All Tokens Are Worth Seeing: The Role of Background Tokens in Object-Centric Video Reasoning
Computer Vision and Pattern RecognitionArtificial Intelligence
Summary
Sometimes, to answer questions about a video, you just need to look at the important objects, not the whole scene. The authors studied how much visual information computer models really need to understand videos about objects moving or interacting. They found that models can't rely on object pixels alone but do well if they also see a small area around each object. Using this idea, they created a method to quickly select only the necessary parts of video frames, making the models faster without losing accuracy.
What this means in practice
- •For video processing engineers: Reduce computation by selecting important image patches around objects during video model training and inference, speeding up processing without losing accuracy.
- •For computer vision developers: Design efficient visual encoders that focus on object regions plus their surroundings to maintain performance while using fewer input tokens.
Authors
Saman Motamed, Minghao Chen, Luc Van Gool, Iro Laina
Abstract
Many visual question answering (VQA) tasks on video depend on how specific objects move, change and interact, such as which one moved, what hit it, how many landed in a basket, or whether what happened was physically plausible. A person could answer such questions from a clip that shows only the objects, with everything else blanked out. Is that enough for a video language model (VLM), and if not, what else does it need to see? To address this question, we analyze object-centric reasoning in VLMs, tracing which visual tokens carry information about individual objects. For this analysis, we build two synthetic video benchmarks with training splits and exact per-object masks, one on physical plausibility, and one on causes, counterfactuals and counts. We train two state-of-the-art VLMs, Qwen3-VL-8B and InternVL3.5-8B, on the training splits of both benchmarks with a single recipe, varying only which visual tokens they see. We find that object tokens alone fall short of the full-token counterparts, but adding the halo of tokens around each object closes the gap. Our analysis shows that the vision encoder places object information in surrounding tokens, selected by position rather than image content, through their direct attention to the object. Building on these findings, we propose HaloTok, a token pruning method that uses a small trained head to predict object locations, keeps those tokens with their halo, and drops all other patches before the vision encoder. Across both synthetic benchmarks and real videos from Perception Test, HaloTok performs comparably to the full-token models for both VLMs, with no significant loss in any setting, using about half the tokens and up to twice the training speed.