TAMP: Token-Adaptive Layerwise Pruning in Multimodal Large Language Models

Jaewoo Lee, Keyang Xuan, Chanakya Ekbote, Sandeep Polisetty, Yi R. Fung, Paul Pu Liang

TL;DR

TAMP (Token-Adaptive Multimodal Pruning) is a novel post-training pruning framework designed specifically for Multimodal Large Language Models (MLLMs). By introducing diversity-aware layerwise sparsity and attention-guided token selection, TAMP overcomes the modality bias plaguing traditional pruning methods, successfully compressing massive models while preserving their cross-modal reasoning capabilities.

What Problem Does This Paper Address?

Post-training pruning is a highly effective way to compress Large Language Models (LLMs) without incurring the massive costs of retraining. However, when state-of-the-art unimodal pruning methods (like Wanda or SparseGPT) are applied to Multimodal LLMs (MLLMs) that handle text, images, and audio, their performance plummets.

The authors identify a fundamental flaw: conventional pruning methods assume all tokens are created equal. In MLLMs, different modalities contribute vastly different numbers of tokens. For instance, a single image or audio clip can generate thousands of tokens, completely overwhelming the few dozen tokens representing the text prompt.

Traditional pruning methods rely on the $\ell_2$-norm of input activations across all tokens to determine weight importance. Because of the token-count imbalance, these activation metrics become heavily biased toward the overrepresented modality (e.g., visual or audio), as illustrated in Figure 1. Consequently, the model inadvertently prunes away parameters critical for text processing or subtle cross-modal interactions.

Figure 1: Illustration of multimodal token attributes. (Top): t-SNE visualization of multimodal output tokens of the layer, exhibiting unique distributions of each modality. (Bottom): Cosine similarity between the ℓ2-norm of tokens from each modality and all tokens, demonstrating a bias in input ac- tivations toward the modality with the largest token count (Na,Nv >>Nl), resulting in suboptimal weight pruning.

Methods

To solve this, the authors propose TAMP, which consists of two core components designed to respect the unique attributes of multimodal tokens:

  1. Diversity-Aware Sparsity (DAS): Instead of applying a uniform pruning ratio across all layers, TAMP calculates the intra-modality and inter-modality diversity of output tokens using cosine distance. Layers that produce highly diverse token distributions are deemed more critical for rich multimodal representation and are assigned a lower sparsity ratio (i.e., fewer weights are pruned).
  2. Adaptive Multimodal Input Activation (AMIA): To eliminate modality bias during weight importance evaluation, TAMP uses attention scores to dynamically select a small, highly representative subset of core input tokens. The $\ell_2$-norm activation is calculated only on these selected tokens, ensuring that underrepresented modalities (like language) still guide the pruning process.

An overview of the entire TAMP pipeline is shown in Figure 2.

Figure 2: Overview of TAMP. Our method utilizes multimodal token attributes to guide MLLM pruning. (Left): To effectively preserve each MLLM layer’s differing capability to encode rich multimodal output tokens after pruning, we apply layer-wise sparsity, assigning sparsity inversely to the layer’s importance, which is computed as the average of intra-modality (sv, sl) and inter-modality (svl) diversities (Section 3.2). (Right): To capture unique multimodal processing demands across different layers, we leverage attention scores to adaptively select multimodal input tokens for input activation calculations (Section 3.4).

Datasets

The authors evaluated TAMP across three state-of-the-art MLLM architectures using a tiny calibration set of just 128 samples per model:

  • LLaVA-NeXT (8B): Calibrated on ShareGPT4V and evaluated on vision-language benchmarks including MME, MMMU, MathVista, ChartQA, AI2D, and MMBench.
  • VideoLLaMA2 (7B): Calibrated on MUSIC-QA and evaluated across audio, video, and audiovisual tasks (Clotho-AQA, TUT2017, VocalSound, Muchomusic, VideoMME, NextQA-MC, EgoSchema, MV-Bench).
  • LLaVA-OneVision (7B): Calibrated on NLVR2 and evaluated on multi-image and video benchmarks (MuirBench, Mantis, BLINK, Text-rich VQA).

Key Insights and Ideas

  • The Precious Value Projection: In the multi-head attention (MHA) block, the value projection layers ($v\text{-proj}$) consistently exhibit much higher token diversity than query ($q\text{-proj}$) or key ($k\text{-proj}$) layers (see Figure 3). TAMP naturally allocates lower sparsity to these layers, confirming they are the true engines of multimodal representation.
  • MLLMs Have a Different "Engine Room" Than LLMs: In text-only LLMs, intermediate layers are often highly redundant and can be aggressively pruned. However, TAMP's analysis revealed that in MLLMs, intermediate layers are where active cross-modal integration happens, requiring lower sparsity. Conversely, the final layers focus primarily on language generation and tolerate higher sparsity.
  • Data Selection Beats Raw Volume: By using attention scores to select a balanced subset of tokens, AMIA prevents the pruning algorithm from being "blinded" by sheer token volume from a single modality.

Key Results

TAMP consistently outperformed established pruning baselines like Wanda, SparseGPT, ECoFLaP, and OWL:

  • LLaVA-NeXT (50% Sparsity): TAMP achieved 90.9% relative performance compared to the unpruned model, outperforming the strongest baseline by 1.9 percentage points.
  • VideoLLaMA2 (60% Sparsity): TAMP maintained 95.0% relative performance, dominating across nearly all audio and video tasks.
  • High-Sparsity Robustness: At an aggressive 70% sparsity ratio, where baseline models experienced catastrophic failure, TAMP maintained a significantly higher performance cushion, outperforming the second-best baseline by 8.2%.
  • Low Variance: TAMP demonstrated remarkable stability, showing the lowest standard deviation across different random calibration sets.

Limitations and Future Work

While TAMP marks a significant step forward for multimodal model compression, the authors note a few limitations:

  • Unstructured Pruning Focus: The primary method yields unstructured sparsity, which requires specialized hardware support to realize actual speedups. The authors experimented with structured block pruning, but the performance gains were less pronounced.
  • Modality Scope: The framework was only validated on vision, audio, and language. Its efficacy on rarer modalities like point clouds, molecular data, or protein sequences remains untested.
  • Hardware Benchmarks: The paper focuses on theoretical performance retention rather than wall-clock latency reductions on physical hardware.

Summary updated

BibTeX
@inproceedings{lee2025tamp,
  author = {Jaewoo Lee and Keyang Xuan and Chanakya Ekbote and Sandeep Polisetty and Yi R. Fung and Paul Pu Liang},
  title = {{TAMP: Token-Adaptive Layerwise Pruning in Multimodal Large Language Models}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2025},
  url = {https://openreview.net/forum?id=vmxRQ23T59},
}
Figure