TL;DR
TransPrune is a training-free, highly efficient token pruning method for Large Vision-Language Models (LVLMs) that cuts inference TFLOPs by more than half while preserving multimodal performance. By analyzing "token transitions"—how visual token representations change in magnitude and direction as they pass through network layers—it reliably identifies and retains the most semantically important visual information without introducing positional bias.
What Problem Does This Paper Address?
Large Vision-Language Models (LVLMs) excel at multimodal tasks but suffer from massive computational overhead during inference. A primary culprit is the sheer volume of visual tokens generated from high-resolution images or video frames.
To make inference scalable, researchers use token pruning to discard redundant visual tokens. However, existing methods have critical flaws:
- Attention-based methods suffer from positional bias, where the model inherently assigns higher attention scores to tokens at the very beginning or end of a sequence, regardless of their actual content.
- Similarity-based methods merge tokens that look alike, making them task-agnostic and poor at preserving details crucial for specific user instructions.
TransPrune addresses these gaps by introducing a metric that evaluates token importance based on its dynamic evolution across the model's internal modules.
Methods
TransPrune introduces a novel framework that operates entirely within the LLM during inference, requiring no additional training.
The method relies on two primary components to score token importance:
- Token Transition Variation (TTV): Instead of looking at static token states or inter-token relationships, TTV measures how an individual token changes as it passes through a layer's self-attention and feed-forward network (FFN) modules. It quantifies this "self-transition" along two dimensions:
- Magnitude change: The ratio of the output to input $L_2$ norm.
- Directional change: The cosine similarity between the input and output representations.
- Instruction-Guided Attention (IGA): To ensure the pruning is task-aware, IGA calculates the average attention weights from the user's instruction tokens to the visual tokens.
To stabilize pruning across the network, TransPrune uses a Token Transition Accumulation strategy, summing TTV scores across a predefined set of middle layers (typically layers 7–12) before making sequential pruning decisions at specific stages. The final token importance score balances TTV and IGA using a hyperparameter $\alpha$.
Datasets
The authors evaluated TransPrune across a comprehensive suite of eight standard vision-language benchmarks:
- Perception & Reasoning: MME, MMBench, SEED, ScienceQA (SQA-IMG), POPE, GQA.
- Text-Oriented VQA: TextVQA, VQA-v2.
- Video LLM Benchmarks: TGIF and MSVD (evaluated using Video-LLaVA).
Key Insights and Ideas
- Transitions as Semantic Signals: The core "aha moment" is that the dynamic transformation of a token's representation is a proxy for its semantic value. Tokens that undergo significant magnitude and orthogonal directional changes in the middle layers hold the most informational weight.
- The "Sweet Spot" of Middle Layers: Visualizations reveal that token transitions are most pronounced and concentrated in the middle layers (layers 6–14). This is where the LLM progressively shifts its focus from global features to local, instruction-guided details.
- Eradicating Positional Bias: Because TTV focuses strictly on a token's self-transition rather than computing full cross-attention matrices, it completely avoids the positional bias caused by causal attention masks.
Key Results
TransPrune sets a new state-of-the-art for within-LLM pruning approaches under tight computational budgets.
- Efficiency Gains: On LLaVA-v1.5-7B, the "TransPrune-High" configuration reduces inference TFLOPs to 40.8% of the original model while maintaining 100% of the baseline accuracy.
- Benchmark Superiority: As shown in the radar chart below, TransPrune consistently outperforms competing methods like PDrop, FastV, and SparseVLM across all six primary benchmarks under the lowest TFLOPs budget.
- Cross-Architecture Generalization: The authors successfully validated TransPrune on diverse architectures, including the higher-resolution LLaVA-Next-7B and the structurally distinct Qwen2.5-VL-7B.
- Complementary to Projector Pruning: TransPrune can be seamlessly combined with projector-based pruning methods (like VisionZip or CDPruner), reducing TFLOPs down to an impressive 11.5% of the baseline with minimal performance degradation.
Limitations and Future Work
While TransPrune demonstrates robust performance, the authors note a few areas for consideration:
- Task-Specific Weakness: When using TTV alone (without IGA), there is a noticeable performance drop on text-heavy tasks like TextVQA. This occurs because TTV relies purely on visual token transitions and lacks instruction-dependent semantics, underscoring the necessity of the combined TTV+IGA approach.
- Hyperparameter Dependency: The method relies on manual selection of the accumulation/pruning layers and the balancing parameter $\alpha$, which might require re-tuning for vastly different model architectures.
Summary updated