StreamingAssistant: Efficient Visual Token Pruning for Accelerating Online Video Understanding

Xinqi Jin, Hanxun Yu, Bohan Yu, Kebin Liu, Jian Liu, Keda Tao, Yixuan Pei, Huan Wang, Fan Dang, Weiqiang WangarXiv 2025 · DOI

Abstract

StreamingAssistant is a novel framework designed to mitigate the "token explosion" problem in Multimodal Large Language Models (MLLMs) during online video understanding. By employing a two-stage pruning workflow—temporal and spatial—the system significantly reduces the computational burden of processing continuous video streams. The core innovation lies in the Maximum Similarity to Spatially Adjacent Video Tokens (MSSAVT) metric and a parallelizable "checkerboard" masked pruning strategy. StreamingAssistant achieves up to 93.5% token reduction with negligible latency (<1ms) and improves accuracy by up to 4% on key benchmarks.

Introduction

The integration of video capabilities into Large Language Models has opened new frontiers in AI, yet it faces a significant challenge: the massive volume of visual tokens generated from high-resolution video frames. In real-time applications such as AI-assisted glasses or surveillance, this "token explosion" leads to prohibitive memory overhead and high response latency. Existing pruning methods often rely on computationally expensive attention mechanisms or global similarity metrics that disrupt the spatial structure necessary for LLM positional embeddings. StreamingAssistant addresses these issues by prioritizing local spatial context and efficient parallel execution.

Methodology

StreamingAssistant utilizes a hierarchical pruning approach to maintain an informative and manageable token buffer for the LLM.

Temporal Pruning

The first stage involves temporal pruning using existing algorithms to identify and remove frames with minimal temporal variation. This prevents the model from wasting computational resources on redundant static information.

Spatial Pruning and MSSAVT

The second stage focuses on intra-frame redundancy. The authors introduce MSSAVT (Maximum Similarity to Spatially Adjacent Video Tokens). Unlike global methods that compare a token to every other token in a frame, MSSAVT calculates similarity only between a token and its four immediate neighbors. This approach assumes that tokens highly similar to their neighbors represent redundant uniform regions (e.g., background sky) that can be removed without compromising the overall spatial understanding of the scene.

Masked Pruning Strategy

To overcome the latency bottleneck of iterative redundancy updates, StreamingAssistant employs a checkerboard masking strategy. By treating the frame as a grid and designating specific squares as pruning candidates, the system ensures that no two candidates are neighbors. This decoupling allows for massive, safe, and parallel pruning in a single step, as the removal of one token does not affect the redundancy scores of other candidates.

Detailed view of the spatial pruning logic and masked strategy

Experimental Evaluation

The framework was evaluated on four major benchmarks: StreamingBench, OVO-Bench, Video-MME, and LongVideoBench. These datasets cover a range of tasks from causal reasoning to long-term action recognition.

Key Results

  • Accuracy Improvement: On StreamingBench, StreamingAssistant increased the overall score from a 67.28% baseline to 70.24%. This suggests that pruning redundant tokens acts as a regularizer, helping the model focus on core semantic content.
  • High Efficiency: The system maintains over 95% relative accuracy even when pruning 93% of visual tokens.
  • Sub-millisecond Latency: The entire pruning process is optimized for real-time use, consistently taking less than 1ms, whereas iterative sequential pruning methods can exceed 20ms.

Conclusion

StreamingAssistant demonstrates that local spatial similarity is a more effective and efficient metric for visual token pruning than global alternatives. By preserving the local neighborhood structure and utilizing a parallelizable masking strategy, the framework enables high-performance, real-time video understanding on resource-constrained devices. Future work will explore advanced buffer management for indefinite video streams and dynamic masking techniques.

Summary updated

BibTeX
@misc{jin2025streamingassistant,
  author = {Xinqi Jin and Hanxun Yu and Bohan Yu and Kebin Liu and Jian Liu and Keda Tao and Yixuan Pei and Huan Wang and Fan Dang and Jiangchuan Liu and Weiqiang Wang},
  title = {{StreamingAssistant: Efficient Visual Token Pruning for Accelerating Online Video Understanding}},
  year = {2025},
  eprint = {2512.12560},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.12560},
}
Figure