TL;DR
This paper introduces Implicit Weight Pruning (IWP), a training-free visual token pruning framework for Large Vision-Language Models (LVLMs). By reinterpreting softmax attention as an implicit linear layer built from token-specific rank-1 weight updates, the authors transform token pruning into a principled matrix approximation problem. Combined with a fast selection algorithm, IWP achieves state-of-the-art efficiency and accuracy across major image and video benchmarks without requiring any retraining.
What Problem Does This Paper Address?
As Large Vision-Language Models (LVLMs) scale to handle high-resolution images and long videos, they face a massive influx of visual tokens. Because the computational complexity of self-attention scales quadratically with sequence length, this token explosion creates severe computational and memory bottlenecks during inference.
While existing methods attempt to prune redundant visual tokens, they largely rely on empirical heuristics—such as raw attention scores or feature diversity metrics—without explicitly accounting for the underlying structural mechanics of attention. This paper bridges that gap by establishing a mathematically principled framework for token pruning based on the internal mechanics of the attention layer.
Methods
The core innovation lies in viewing attention through its dual-form perspective.
1. Attention as Implicit Weight Updates
For linear attention, the operation can be rewritten using the associativity of matrix multiplication. Instead of computing query-key similarity first, we can view the keys ($K$) and values ($V$) as constructing an implicit weight matrix, $W_N = \sum_{i=1}^N k_i^\top v_i$. Each token $i$ contributes a rank-1 outer product update ($\Delta W_i$) to this dual weight matrix.
The authors extend this elegant formulation to standard softmax attention by leveraging kernel mapping into a Reproducing Kernel Hilbert Space (RKHS), yielding: $$\Delta W_i = \phi(k_i)^\top v_i$$
Pruning tokens thus elegantly reduces to finding a subset of tokens whose rank-1 updates best approximate the full dual weight matrix $W_N$.
2. Dual-Form Metrics
From this framework, the authors derive two key metrics:
- Information Magnitude: Measures a token's total contribution to both the dual weight and the attention normalizer: $\text{Score}_i = \kappa(q, k_i)\|v_i\|_2$.
- Information Duplication: Quantifies redundancy between two tokens by computing the Frobenius inner product of their rank-1 updates, which factorizes into value-space cosine similarity and kernelized key similarity.
3. Progressive Chunked MMR (PC-MMR)
Standard Maximal Marginal Relevance (MMR) balances magnitude and redundancy but is greedily sequential ($O(N^2)$ complexity), creating an inference bottleneck. To solve this, the authors introduce PC-MMR, which selects tokens in chunks rather than one-by-one. The chunk size is progressively increased ($b \leftarrow b \cdot g$) throughout the selection loop, drastically reducing overhead while maintaining high pruning quality.
Datasets
The framework was extensively evaluated across a diverse suite of image and video benchmarks using models like LLaVA-OneVision-7B and Qwen2.5-VL (7B/32B):
- Text-centric Visual Understanding: AI2D, DocVQA, InfoVQA, TextVQA.
- Knowledge-intensive Reasoning: MMBench, MMMU, MMStar, ScienceQA.
- Perception & Hallucination: MME, POPE.
- Video Understanding: EgoSchema, Video-MME, MLVU, NExT-QA.
Key Insights and Ideas
- Value Norms Matter: Traditional attention-based pruning often ignores the value vector ($v_i$). The dual-form derivation proves that the magnitude of a token's update is directly scaled by $\|v_i\|_2$. Neglecting this component leads to sub-optimal pruning, especially in high-resolution datasets where normalization effects are amplified.
- The Power of Kernel Space: Measuring token similarity in the kernelized key space (RKHS) yields significantly better pruning results than measuring similarity in the raw hidden-state or value spaces.
- Text Queries as Global Anchors: Rather than evaluating token importance against every individual query, aggregating text-token queries into a single representative vector ($q_T$) provides an excellent, low-cost global anchor for measuring visual token relevance.
Key Results
IWP consistently outperforms competitive empirical pruning baselines (like FastV and PACT) across various token budgets:
- Accuracy Retention: On LLaVA-OneVision-7B with a strict 22.2% token budget (77.8% tokens dropped), IWP achieves a relative average performance of 95.6% compared to the unpruned baseline, outperforming PACT (94.7%) and FastV (94.4%). At an extreme 11.1% budget, IWP maintains 90.5% performance while baselines degrade significantly.
- Video Understanding SOTA: On the long-video EgoSchema benchmark, IWP outperforms the second-best method by 1.2 percentage points under an 11.1% token budget.
- Efficiency Gains: Because IWP computes metrics independently of the full attention matrix, it is fully compatible with FlashAttention. PC-MMR runs 1.7–2.9× faster than exact greedy MMR, adding a negligible overhead of just ~0.02 seconds.
Limitations and Future Work
- Layer-Wise Isolation: The current theoretical analysis evaluates the deletion error within a single attention layer locally. It does not explicitly model how this pruning error propagates through subsequent transformer layers or interacts with residual connections and FFN layers.
- Heuristic Query Aggregation: While aggregating text queries into a mean vector ($q_T$) works exceptionally well empirically, this step is a practical design choice rather than a direct mathematical consequence of the dual-form theory.
- Hyperparameter Tuning: The chunk growth schedule and duplication penalty parameters in PC-MMR currently require empirical tuning.
Summary updated