OTPrune: Distribution-Aligned Visual Token Pruning via Optimal Transport

Xiwen Chen, Wenhui Zhu, Gen Li, Xuanzhao Dong, Yujian Xiong, Hao Wang, Peijie Qiu, Qingquan Song, Zhipeng Wang, Shao Tang, Yalin Wang, Abolfazl Razi

TL;DR

OTPrune is a training-free framework that slashes the inference costs of Multi-modal Large Language Models (MLLMs) by pruning redundant visual tokens. By framing pruning as a distribution alignment problem using Optimal Transport, it ensures the remaining tokens aren't just diverse, but are globally representative of the original image, leading to state-of-the-art performance-efficiency trade-offs.

What Problem Does This Paper Address?

Multi-modal Large Language Models (like LLaVA or GPT-4V) are powerful but computationally expensive. A single image can be decomposed into hundreds of "visual tokens." Because the self-attention mechanism in these models scales quadratically with the number of tokens, these visual inputs create a massive bottleneck during inference.

Previous attempts to solve this via "pruning" (deleting unimportant tokens) usually fall into two camps:

  1. Attention-based: Deleting tokens with low attention scores (which can be noisy and unreliable).
  2. Diversity-based: Selecting tokens that are as different from each other as possible (like DivPrune).

The authors argue that diversity alone isn't enough. If you only pick the most "different" tokens, you might lose the overall "shape" or statistical distribution of the original visual data. This paper addresses the need for a pruning method that preserves both local diversity and global representativeness without requiring expensive retraining or calibration.

Methods

The core innovation is treating pruning as an Optimal Transport (OT) problem.

  • Distribution Alignment: Instead of just picking "distant" tokens, OTPrune selects a subset that minimizes the 2-Wasserstein distance between the distribution of the full token set and the distribution of the pruned subset.
  • Gaussian Surrogate: Since calculating Wasserstein distance over discrete sets is computationally hard, the authors approximate the token distributions as Gaussians. This allows them to derive a closed-form expression based on covariance matrices.
  • Submodular Optimization: They transform the OT objective into a tractable "$\gamma$-log-determinant" objective. Crucially, they prove this objective is monotone and submodular. In the world of optimization, submodularity is a "cheat code" that allows a simple greedy algorithm to achieve near-optimal results.
  • Efficient Greedy Selection: Using Cholesky decomposition, the algorithm iteratively picks the best token to add to the subset, resulting in a complexity of $O(mk^2)$, where $m$ is the original token count and $k$ is the budget.

Datasets

The authors conducted a massive evaluation across 11 benchmarks to ensure the method generalizes across different tasks:

  • General Reasoning & VQA: GQA, MMBench (MMB), MME, MMMU, ScienceQA-IMG (SQA), and OKVQA.
  • Image Captioning: COCO-2017, Flickr30k, and Nocaps.
  • Hallucination & Safety: POPE and SeedBench (SEEDB).

They tested these on several model architectures, including LLaVA 1.5 (7B/13B) and the more recent LLaVA 1.6-7B (LLaVA-NeXT).

Key Insights and Ideas

  • The "Aha!" Correlation: The researchers performed a preliminary study showing a strong positive correlation between lower OT distance and higher downstream task accuracy. This validated their core hypothesis: a subset that "looks like" the original distribution performs better.
  • Beyond Diversity: While diversity-based methods (like DivPrune) ensure tokens don't overlap, they can "drift" away from the original semantic center. OTPrune acts as an anchor, ensuring the subset remains semantically faithful to the original image.
  • Training-Free is King: Unlike methods that require fine-tuning (like M³) or calibration sets (like VTW), OTPrune is "plug-and-play." You can drop it into a pre-trained model and see immediate speedups with minimal accuracy loss.
  • Mathematical Rigor: By proving the submodularity of their surrogate objective, the authors provide a theoretical guarantee that their fast greedy algorithm isn't just a heuristic—it's mathematically grounded.

Key Results

  • Superior Trade-offs: OTPrune consistently outperformed state-of-the-art methods like FastV and DivPrune. For example, on LLaVA 1.5-7B, it achieved the best average rank across all 11 benchmarks while using only ~15% of the original FLOPs.
  • Robustness: The method is highly stable across different pruning ratios (from 5% to 20% retention) and different model scales.
  • Statistical Significance: A Wilcoxon signed-rank test confirmed that OTPrune statistically outperforms the previous state-of-the-art (DivPrune) with a p-value of 0.028.
  • Visual Fidelity: Qualitative analysis suggests that OTPrune retains tokens that better cover the entire scene compared to diversity-only methods, which sometimes cluster in high-variance areas while ignoring the background context.

Limitations and Future Work

  • Uniform Weighting: Currently, OTPrune assumes every original token is equally important (uniform mass). The authors acknowledge that some regions (like a person's face) might be more important than others (the sky).
  • Adaptive Importance: Future work could involve using "priors"—like attention maps from earlier layers—to give certain tokens more "weight" in the Optimal Transport calculation.
  • Soft-Weighting: The authors suggest exploring "soft-weighted" OTPrune, where token weights are dynamically adjusted during the pruning process to further boost performance at extremely high pruning ratios (e.g., keeping only 1-2% of tokens).

Summary updated

BibTeX
@inproceedings{chen2026otprune,
  author = {Xiwen Chen and Wenhui Zhu and Gen Li and Xuanzhao Dong and Yujian Xiong and Hao Wang and Peijie Qiu and Qingquan Song and Zhipeng Wang and Shao Tang and Yalin Wang and Abolfazl Razi},
  title = {{OTPrune: Distribution-Aligned Visual Token Pruning via Optimal Transport}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=kcn6HrWAB6},
}
Figure