NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

DyCoke: Dynamic Compression of Tokens for Fast Video Large Language Models

Keda Tao, Can Qin, Haoxuan You, Yang Sui, Huan Wang

Abstract

Video large language models (VLLMs) have significantly advanced recently in processing complex video content, yet their inference efficiency remains constrained because of the high computational cost stemming from the thousands of visual tokens generated from the video inputs. We empirically observe that, unlike single image inputs, VLLMs typically attend visual tokens from different frames at different decoding iterations, making a one-shot pruning strategy prone to removing important tokens by mistake. Motivated by this, we present DyCoke, a training-free token compression method to optimize token representation and accelerate VLLMs. DyCoke incorporates a plug-and-play temporal compression module to minimize temporal redundancy by merging redundant tokens across frames, and applies dynamic KV cache reduction to prune spatially redundant tokens selectively. It ensures high-quality inference by dynamically retaining the critical tokens at each decoding step. Extensive experimental results demonstrate that DyCoke can outperform the prior SoTA counterparts, achieving 1.5 $\times$ inference speedup, 1.4 $\times$ memory reduction against the baseline VLLM, while still improving the performance, with no training.

Introduction

While Large Language Models (LLMs) excel at text-based tasks, their application to video—Video Large Language Models (VLLMs)—introduces a significant "token explosion" problem. Processing a single video can generate tens of thousands of visual tokens, leading to massive memory overhead and slow inference due to the quadratic complexity of attention mechanisms.

Current efficiency solutions often rely on "one-shot" pruning, where tokens are permanently discarded at the start of inference. However, the authors of DyCoke observed that VLLM attention is fluid; tokens that appear unimportant initially may become crucial as the model generates its response. Static pruning permanently loses this information, degrading performance. DyCoke addresses this by introducing a dynamic, training-free approach to token management that allows the model to "change its mind" about token importance during decoding.

Methodology

DyCoke implements a two-stage pipeline to reduce visual token redundancy without sacrificing model intelligence.

  1. Visual Token Temporal Merging (TTM): This stage targets temporal redundancy during the initial prefilling phase. By comparing tokens in adjacent frames, DyCoke merges highly similar tokens (such as those representing static backgrounds). This process exploits temporal redundancy to reduce the initial token count by approximately 50-60%.
  2. KV Cache Dynamic Pruning: This is the core innovation of DyCoke. Instead of permanent deletion, spatially redundant tokens are moved to a Dynamic Pruning (DP) cache, which acts as a "recycle bin." At each decoding step, the model re-evaluates the importance of all tokens. If a token in the DP cache becomes relevant to the current context, it is restored to the active KV cache. This ensures that the model maintains access to critical visual information throughout the generation process.
The two-stage DyCoke pipeline: Temporal Merging and Dynamic KV Cache Pruning.

Experimental Results

The authors evaluated DyCoke across several video benchmarks, including MVBench, VideoMME, and ActivityNet-QA, using the LLaVA-OneVision model family ranging from 0.5B to 72B parameters.

  • Efficiency Gains: DyCoke achieved a 1.54× inference speedup and a 1.4× memory reduction on the LLaVA-OV-7B model compared to the baseline.
  • Performance Maintenance: On the MVBench benchmark, DyCoke (with K=0.7) achieved an average score of 57.5, nearly matching the full-token baseline of 58.0 while operating significantly faster.
  • Superiority over Baselines: DyCoke consistently outperformed other training-free methods like FastV and PruMerge. These competing methods often suffer from performance drops because they cannot recover tokens once they are pruned.
  • Regularization Effect: Interestingly, DyCoke occasionally outperformed the baseline (e.g., achieving a 59.6 avg. score vs 58.8). This suggests that by removing redundant visual noise, the model can focus more effectively on salient visual information, acting as an inference-time regularizer.
Quantitative comparison of DyCoke against baseline and state-of-the-art methods showing improvements in latency and memory.

Conclusion

DyCoke offers a powerful, training-free solution for the computational challenges of VLLMs. By combining temporal merging with a dynamic "recycle bin" for spatial tokens, it achieves significant speedups and memory savings while maintaining or even improving accuracy. This dynamic approach respects the fluid nature of attention in video understanding, providing a scalable path for efficient video AI.

Summary updated

BibTeX
@inproceedings{tao2025dycoke,
  author = {Keda TAO and Can Qin and Haoxuan You and Yang Sui and Huan Wang},
  title = {{DyCoke: Dynamic Compression of Tokens for Fast Video Large Language Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  url = {https://openreview.net/forum?id=xSEkmGstXm},
}
Figure