PruneVid: Visual Token Pruning for Efficient Video Large Language Models

Xiaohu Huang, Hao Zhou, Kai Han

Abstract

Video Large Language Models (VLLMs) face significant computational challenges due to the quadratic complexity of attention mechanisms applied to high-resolution, long-duration video inputs. We present PruneVid, a training-free framework designed to reduce visual token counts by over 80%. PruneVid employs a dual-stage approach: first, it merges redundant static background tokens across space and time; second, it utilizes intermediate LLM attention scores to prune tokens irrelevant to the user's query. Our results demonstrate that PruneVid achieves up to an 80% reduction in FLOPs while maintaining or even enhancing model accuracy across multiple benchmarks.

Introduction

The integration of video understanding into Large Language Models has unlocked powerful capabilities, yet the resource demands remain prohibitive. A single minute of video can translate into thousands of visual tokens, leading to an explosion in computational cost and memory usage. Existing solutions often require expensive retraining or rely on "blind" pruning methods that risk discarding task-critical information. PruneVid addresses these issues by being training-free, redundancy-aware, and query-sensitive.

Methodology

PruneVid operates through a two-stage pipeline integrated into the LLM pre-filling phase.

Spatial-Temporal Token Merging

The initial stage focuses on intrinsic redundancy. Videos are segmented into scenes, and "static" regions—areas with minimal temporal variation, such as backgrounds—are identified. These tokens are merged across the temporal dimension. Subsequently, a Density Peak Clustering (DPC-KNN) algorithm groups spatially similar tokens within both static and dynamic regions, significantly condensing the input before it reaches the LLM.

The PruneVid framework pipeline, showing the flow from video input through vision encoding, merging, and LLM-guided selection.

LLM-Guided Token Selection

The second stage introduces query-awareness. Condensed tokens are processed by the first few layers of the LLM. At a designated intermediate layer (e.g., layer 10), the system calculates cross-attention scores between the user's question and the visual tokens. Only the top $\alpha\%$ (typically 40%) of tokens—those the model actively "attends to" to formulate an answer—are retained in the KV cache for subsequent layers and decoding.

Key Insights

A core finding of PruneVid is that the LLM itself serves as the most effective filter. Unlike vision encoders that lack question context, the LLM's internal attention mechanisms naturally highlight tokens relevant to specific queries (e.g., focusing on a "red ball" when asked about it). Furthermore, pruning acts as a denoising mechanism; by removing irrelevant background data, the model is less prone to hallucinations, occasionally leading to higher accuracy than the full-token baseline.

Visualization of attention maps across different LLM layers, showing how the model focuses on query-relevant regions over time.

Experimental Results

PruneVid was evaluated on benchmarks including MVBench, Video-MME, and EgoSchema using models like PLLaVA and LLaVA-OneVision.

  • Efficiency: The framework reduced FLOPs by 74% to 80% and provided a 1.55x speedup in Time-To-First-Token (TTFT).
  • Performance: On MVBench, PruneVid improved PLLaVA's accuracy from 46.6% to 47.6% while utilizing only 16.2% of the original tokens.
  • Scalability: Testing on state-of-the-art models like Qwen2.5 VL confirmed the method's broad applicability.

Conclusion

PruneVid demonstrates that massive token pruning is possible without retraining, provided the system accounts for both temporal redundancy and query relevance. By leveraging the LLM's own attention as a guide, PruneVid makes long-form video understanding significantly more accessible on standard hardware.

Summary updated

BibTeX
@inproceedings{huang2025prunevid,
  author = {Xiaohu Huang and Hao Zhou and Kai Han},
  title = {{PruneVid: Visual Token Pruning for Efficient Video Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
}
Figure