TL;DR
ZOO-Prune is a training-free token pruning framework for Vision-Language Models (VLMs) that efficiently reduces visual token redundancy during inference. By estimating token sensitivity using zeroth-order perturbations at the lightweight projection layer, it prunes up to 94.4% of visual tokens without sacrificing accuracy, delivering up to a 2.30× end-to-end inference speedup.
What Problem Does This Paper Address?
Large Vision-Language Models (VLMs) like LLaVA excel at multimodal reasoning but suffer from high inference latency and memory overhead. A primary culprit is the sheer volume of visual tokens generated by modern vision backbones—ranging from 576 tokens in LLaVA-1.5 to 2,880 tokens in high-resolution models like LLaVA-NeXT.
To make VLMs practical for deployment, researchers use training-free token pruning to discard less informative visual tokens at inference time. However, existing methods fall into two flawed camps:
- Attention-based methods: Rely on raw attention scores, which are often unstable across layers and frequently over-focus on redundant background regions.
- Diversity-based methods: Select tokens by maximizing feature diversity (distance in embedding space). While this ensures broad coverage, it treats all tokens equally and often discards highly localized, task-critical visual details.
Methods
The authors introduce ZOO-Prune (ZerOth-Order gradient estimation for token pruning), which unifies token sensitivity (importance) and feature diversity into a single training-free framework.
Key components include:
- Zeroth-Order (ZO) Sensitivity Estimation: Instead of computing exact gradients via expensive backpropagation through the massive LLM, ZOO-Prune uses a Randomized Gradient Estimator (RGE). It injects small, symmetric Gaussian noise perturbations ($\pm hu_j$) into the tokens and measures how much they alter the output.
- The Projector Proxy: Running ZO estimation through a full vision encoder is computationally prohibitive. ZOO-Prune solves this by applying perturbations exclusively at the lightweight multimodal projection layer (the bottleneck aligning vision and language spaces). The authors empirically demonstrate that token importance rankings at this intermediate layer serve as an excellent, low-cost proxy for the full model's sensitivity.
- Sensitivity-Aware Diversity Selection: To avoid selecting redundant tokens from the same highly sensitive region, the normalized sensitivity scores are combined with a cosine-similarity-based diversity metric using a multiplicative fusion score. Tokens are then selected greedily.
Datasets
The method was evaluated across 9 diverse vision-language benchmarks using the lmms-eval framework:
- Core VQA & Reasoning: GQA, MMBench (MMB), MME, POPE, ScienceQA (SQA), VQA$^v2$, and TextVQA (VQA$^{Text}$).
- Advanced High-Resolution Benchmarks: MMMU and SEED-Bench-Inference (SEED-I).
Key Insights and Ideas
- The Projector as a Semantic Filter: The projection layer isn't just a dimensionality mapper; it acts as a semantic bottleneck. Because it aligns visual features directly with the language space, token sensitivities calculated here inherently emphasize task-relevant cues.
- Attention $\neq$ Influence: The paper reinforces a growing consensus in deep learning: raw attention weights do not reliably correlate with a token's actual impact on model outputs.
- Sensitivity and Diversity are Complementary: Ablation studies showed that sensitivity-only selection excels at reasoning but fails when broad context is needed (e.g., TextVQA). Diversity-only selection provides coverage but misses key details. Multiplying them together yields a sweet spot that requires zero hyperparameter tuning.
Key Results
ZOO-Prune was validated on LLaVA-1.5 (7B/13B), LLaVA-NeXT-7B, and Qwen2.5-VL-7B:
- Extreme Compression: On LLaVA-1.5-7B, ZOO-Prune retained 95.20% of the baseline accuracy while keeping only 64 out of 576 tokens (an 88.9% reduction), significantly outperforming attention-based methods like FastV and diversity methods like DivPrune.
- High-Resolution Scalability: On LLaVA-NeXT-7B (which scales up to 2,880 tokens), it maintained 98.3% performance at 77.8% pruning, and 95.4% performance at an aggressive 94.4% pruning ratio (retaining only 160 tokens).
- Wall-Clock Speedups: At the 160-token setting on an NVIDIA L40S GPU, ZOO-Prune accelerated the prefilling time by 2.59× and achieved a 2.30× end-to-end inference speedup.
Limitations and Future Work
While ZOO-Prune provides an excellent training-free trade-off, the authors note some minor limitations:
- Task-Specific Nuances: Sensitivity-only metrics can occasionally lag on context-heavy tasks like TextVQA if the pruning is too aggressive, though their hybrid diversity selection mitigates this.
- Future Work: The success of gradient-free sensitivity signals at the projection layer points toward broader applications, such as scaling token compression dynamically or applying similar zeroth-order pruning to other multimodal architectures (e.g., video or audio-language models).
Summary updated