ToDRE: Visual Token Pruning via Diversity and Task Awareness for Efficient Large Vision-Language Models

Duo Li, Zuhao Yang, Shijian LuarXiv 2025 · OpenReview

Abstract

Visual token pruning aims to compress and prune redundant visual tokens which play a critical role in efficient inference with large vision-language models (LVLMs). However, most existing work estimates visual redundancy using a single metric, such as cross-modal attention or visual token similarity. We show that visual token diversity and task-specific token relevance are two crucial yet orthogonal factors that complement each other in conveying useful information and should therefore be treated separately for more effective visual token pruning. Building upon this insight, we design ToDRE, a two-stage and training-free framework that incorporates Token Diversity and task RElevance for effective token compression and efficient LVLM inference. Instead of pruning redundant tokens, we introduce a greedy max-sum diversification algorithm that selects and retains a subset of diverse and representative visual tokens after the vision encoder. On top of that, ToDRE leverages an "information migration" mechanism to eliminate task-irrelevant visual tokens within certain decoder layers of large language model (LLM) to further improve token pruning and LVLM inference. Extensive experiments show that ToDRE prunes 90% of visual tokens after the vision encoder as well as all visual tokens in certain LLM decoder layers, leading to a 2.6x speed-up in total inference time while maintaining 95.0% model performance plus excellent model compatibility.

Introduction

Large Vision-Language Models (LVLMs), such as LLaVA, have demonstrated remarkable capabilities in multimodal understanding. However, their computational cost is significant, primarily driven by the hundreds or thousands of visual tokens processed by the Transformer backbone. Existing data-centric pruning methods attempt to mitigate this by removing redundant tokens without retraining. However, these methods typically rely on single metrics like cross-modal attention scores, which often suffer from positional bias or noise. ToDRE addresses this by balancing visual information diversity with task-specific relevance.

Methodology

ToDRE is a two-stage, training-free pipeline designed for "plug-and-play" integration with existing LVLMs:

Stage 1: Diversity-Driven Token Selection

Immediately following the vision encoder, ToDRE employs a greedy max-sum diversification algorithm. Rather than selecting tokens based solely on attention importance, it identifies a subset of tokens that are maximally distinct from one another. Starting with a "pivot" token (identified via [CLS] attention), the algorithm iteratively adds tokens with the lowest cumulative similarity to the existing set, ensuring a representative summary of the entire image.

Stage 2: Relevance-Driven Token Reduction

The framework leverages a phenomenon termed "information migration." Empirical analysis shows that in the early layers of an LLM, there is significant interaction between visual and text tokens. As processing continues, visual information is effectively "absorbed" into the text representations, shifting the model toward unimodal reasoning.

Figure 6: Cross-modal attention ratios across LLM layers demonstrate the "information migration" effect, where visual tokens become redundant in deeper layers.

ToDRE monitors cross-modal attention ratios; when these fall below a specific threshold (e.g., $\tau = 0.10$), the framework discards all remaining visual tokens for the subsequent layers, accelerating both prefilling and decoding.

Experimental Results

ToDRE was evaluated across twelve multimodal benchmarks, including MME, ScienceQA, and VideoMME, using backbones like LLaVA-NeXT and Qwen2.5-VL.

Figure 1: Qualitative comparison of pruning methods and quantitative performance across benchmarks. ToDRE maintains spatial context better than attention-based pruning and achieves high performance across diverse tasks.

Key findings include:

  • Efficiency: Achieved a 2.6× total inference speedup on LLaVA-NeXT-7B.
  • Token Reduction: Pruned 90% of visual tokens post-encoder and eliminated all visual tokens in the latter half of LLM decoder layers.
  • Performance: Maintained 95.0% of original model performance on average, occasionally outperforming baselines in video tasks by reducing redundant noise.
  • Memory: Reduced peak GPU memory usage from 15.9 GB to 13.6 GB on standard setups.

Conclusion

ToDRE demonstrates that inter-token diversity and task relevance are orthogonal factors that, when treated separately, allow for aggressive pruning without significant performance loss. While the benefits are most pronounced in long-form generation, the framework offers a robust, architecture-agnostic solution for scaling LVLM inference efficiency.

Summary updated

BibTeX
@misc{li2025todre,
  author = {Duo Li and Zuhao Yang and Shijian Lu},
  title = {{ToDRE: Visual Token Pruning via Diversity and Task Awareness for Efficient Large Vision-Language Models}},
  year = {2025},
  eprint = {2505.18757},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.18757},
}
Figure