ShaRP: SHAllow-LayeR Pruning for Video Large Language Models Acceleration
Yingjie Xia, Tao Liu, Jinglei Shi, Qingsong Xie, Heng Guo, Jian Yang, Xi Wang
TL;DR
The paper tackles the high computational cost of pre-filling in Video LLMs by introducing ShaRP, a training-free token pruning framework that operates at shallow decoder layers. ShaRP combines segment-aware causal masking, positional bias calibration, and register token deduplication to overcome attention collapse, PE bias, and redundancy, enabling aggressive compression without retraining. It demonstrates strong performance across multiple video benchmarks and backbones, delivering substantial speedups while maintaining accuracy and compatibility with existing pruning methods. This work provides a practical paradigm for efficient VLLM inference in long-form video understanding tasks.
Abstract
Video Large Language Models (VLLMs) face the challenge of high computational load during the pre-filling stage due to the processing of an enormous number of visual tokens. Although attention-based pruning methods are widely used to accelerate inference, trials at early decoder layers often result in significant performance degradation, especially under high compression rates. We argue that while attention-based pruning inherently holds the potential to identify the most relevant visual tokens, its effectiveness in shallow decoder layers is limited by factors such as positional encoding bias and insufficient information interaction. In this paper, we propose an improved attention-based pruning framework, termed ShaRP, that integrates segment-aware causal masking, positional debiasing, and token deduplication for enhanced token selection. It enables effective pruning at shallow layers while maintaining stable performance under high compression rates without retraining. Extensive experiments demonstrate that ShaRP achieves competitive performance across multiple video understanding benchmarks, establishing a new paradigm for accelerating VLLM inference.
