CoViPAL: Layer-wise Contextualized Visual Token Pruning for Large Vision-Language Models

Zicong Tang, Ziyang Ma, Suqing Wang, Zuchao Li, Lefei Zhang, Hai Zhao, Yun Li, Qianren Wang · DOI

Abstract

Large Vision-Language Models (LVLMs) face significant computational bottlenecks due to the high volume of visual tokens processed during prefilling. CoViPAL introduces a lightweight, "plug-and-play" module that identifies and prunes redundant visual tokens before they reach the LLM backbone. By leveraging contextual signals from deeper layers early in the pipeline, CoViPAL reduces prefilling time by up to 60% and significantly lowers memory overhead while maintaining high accuracy across diverse multimodal benchmarks.

Introduction

Large Vision-Language Models (LVLMs) like LLaVA are computationally intensive, often processing thousands of visual tokens per image or video frame to capture fine-grained details. This leads to a massive "prefilling" bottleneck and high memory overhead. Existing solutions typically prune tokens within the LLM, but often struggle in early layers due to a lack of developed context. CoViPAL addresses this by demonstrating that with proper guidance, redundant visual data can be discarded right at the start of the processing pipeline.

Methodology: The Plug-and-Play Pruning Module

The core innovation of CoViPAL is the Plug-and-Play Pruning Module (PPM), a compact 71.2M parameter classifier positioned between the vision projector and the LLM backbone.

Architecture of the CoViPAL Plug-and-Play Pruning Module (PPM) integrated into an LVLM pipeline.

The PPM is trained using a two-stage strategy:

  1. Attention-Guided Training: The PPM learns to predict token importance by mimicking the attention weights of a deep layer (specifically layer 16) of a frozen LVLM. This allows the lightweight module to gain "foresight" into which tokens the larger model will prioritize.
  2. End-to-End Training: To bridge the gap between training and inference, a differentiable approximation of pruning is used. A sigmoid-log transformation creates a "soft" attention mask, and a contrastive-style regularization loss ensures clear separation between important and redundant tokens.

At inference, the PPM scores tokens, and only the top $K$ tokens (based on a user-defined reserve ratio) are passed to the LLM.

Key Insights and Results

A critical finding is that using attention from deeper layers (e.g., layer 16) to train the pruning module is significantly more effective than using shallow layers. Deep layers provide the semantic "big picture" necessary to judge token importance accurately.

Impact of different guidance configurations and pruning start layers on model performance across various token reserve ratios.

Performance Highlights

  • Efficiency Gains: CoViPAL reduces prefilling time by over 60% for 48-frame video inputs. It enables 64-frame inference on a single 24GB GPU, a task where standard models typically fail due to memory constraints.
  • Accuracy Retention: Even when pruning 75% of visual tokens (a 25% reserve ratio), the model maintains approximately 90% of original performance on image tasks and over 98% on video tasks.
  • Benchmarking: Evaluated across a suite of image (GQA, MME, SEED-Bench) and video (MVBench, MLVU) benchmarks, CoViPAL consistently outperformed state-of-the-art methods like FastV and SparseVLM.

Conclusion and Future Work

CoViPAL demonstrates that early-stage visual token pruning is not only possible but highly effective for scaling LVLMs. While currently validated on the LLaVA series, future work will explore its applicability to other backbones like Llama-3 or Mistral. Additionally, optimizing training kernels for compatibility with Flash Attention remains a priority for further enhancing training efficiency.

Summary updated

BibTeX
@misc{tang2025covipal,
  author = {Zicong Tang and Ziyang Ma and Suqing Wang and Zuchao Li and Lefei Zhang and Hai Zhao and Yun Li and Qianren Wang},
  title = {{CoViPAL: Layer-wise Contextualized Visual Token Pruning for Large Vision-Language Models}},
  year = {2025},
  eprint = {2508.17243},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.17243},
}
Figure