HoliTom: Holistic Token Merging for Fast Video Large Language Models
Kele Shao, Keda Tao, Can Qin, Haoxuan You, Yang Sui, Huan Wang
TL;DR
HoliTom tackles the token explosion in video LLMs by coupling a training-free holistic pruning pipeline that first applies global temporal segmentation (outer-LLM) and spatial merging with a robust inner-LLM token similarity merging. The temporal step uses dynamic programming to maximize prune-able features via a global redundancy metric; spatial merging employs attention-based token selection and density-peak clustering to handle residual redundancy, while inner-LLM merging averages selected tokens to preserve information. Empirical results on LLaVA-OneVision-7B and LLaVA-Video-7B show major efficiency gains (FLOPs down to 6.9% of the original) with negligible accuracy loss (approx. 99.1%), along with faster Time-To-First-Token and higher decoding throughput, validating the benefits of integrating outer- and inner-LLM pruning for long-form video understanding. The work provides a practical framework for deploying efficient video LLMs by intelligently distilling input tokens without costly model fine-tuning.
Abstract
Video large language models (video LLMs) excel at video comprehension but face significant computational inefficiency due to redundant video tokens. Existing token pruning methods offer solutions. However, approaches operating within the LLM (inner-LLM pruning), such as FastV, incur intrinsic computational overhead in shallow layers. In contrast, methods performing token pruning before the LLM (outer-LLM pruning) primarily address spatial redundancy within individual frames or limited temporal windows, neglecting the crucial global temporal dynamics and correlations across longer video sequences. This leads to sub-optimal spatio-temporal reduction and does not leverage video compressibility fully. Crucially, the synergistic potential and mutual influence of combining these strategies remain unexplored. To further reduce redundancy, we introduce HoliTom, a novel training-free holistic token merging framework. HoliTom employs outer-LLM pruning through global redundancy-aware temporal segmentation, followed by spatial-temporal merging to reduce visual tokens by over 90%, significantly alleviating the LLM's computational burden. Complementing this, we introduce a robust inner-LLM token similarity-based merging approach, designed for superior performance and compatibility with outer-LLM pruning. Evaluations demonstrate our method's promising efficiency-performance trade-off on LLaVA-OneVision-7B, reducing computational costs to 6.9% of FLOPs while maintaining 99.1% of the original performance. Furthermore, we achieve a 2.28x reduction in Time-To-First-Token (TTFT) and a 1.32x acceleration in decoding throughput, highlighting the practical benefits of our integrated pruning approach for efficient video LLMs inference.
