Decoupled Similarity for Task-Aware Token Pruning in Large Vision-Language Models

Kexin Ma, Jing Xiao, Chaofeng Chen, Geyong Min, Guibo Zhu, Jinqiao Wang, Liang LiaoarXiv 2026

TL;DR

Large Vision-Language Models (LVLMs) face massive computational bottlenecks due to processing hundreds of redundant visual tokens. This paper introduces DeSAP (Decoupled Similarity-Aware Pruning), a training-free method that slashes visual tokens by up to 89% while preserving over 98% of model accuracy. By isolating fine-grained local details from global context within the visual encoder, DeSAP achieves a 9x reduction in FLOPs and a 2.3x prefill speedup.

What Problem Does This Paper Address?

When you pass an image to a Large Vision-Language Model (like LLaVA), the visual encoder chops it into a massive grid of visual tokens. Processing these tokens—especially during the LLM's "prefill" stage—dominates the computational cost.

To make inference faster, researchers use training-free token pruning to throw away less informative visual tokens. Existing methods generally fall into two flawed paradigms:

  1. Visual-centric pruning: Operates entirely on the visual encoder side, typically using [CLS] token attention. However, this attention is heavily biased toward broad global context and frequently discards fine-grained local details crucial for answering specific questions.
  2. Task-centric pruning: Operates on the LLM side, using cross-attention between text and vision tokens. While task-aware, this happens too late in the pipeline and suffers from a severe spatial bias: the LLM naturally attends more to tokens at the bottom of the image simply because they are physically closer to the text prompt in the flattened input sequence.

The authors of this paper set out to answer a compelling question: Can we introduce precise, task-aware guidance early on the encoder side while avoiding both global semantic bias and spatial sequence bias?

Methods

DeSAP achieves early, task-aware pruning through three core steps:

  • Hidden State Decomposition: The authors observe that the visual encoder's final hidden state is dominated by global context due to residual connections. To uncover local details, DeSAP decomposes the final layer's hidden state into a decoupled residual component (global context) and a decoupled attention component (local details).
  • Decoupled Similarity Alignment: Instead of computing vanilla cross-modal similarity using the full hidden state, DeSAP computes the cosine similarity between the decoupled attention component and the text prompt embeddings. They refine this with a bidirectional token-pair weighting strategy to filter out non-semantic text tokens (like padding), yielding a highly precise task-relevant attention map.
  • Dual-Source Pruning & Merging: Relying solely on the task prompt can be risky if the prompt is vague. DeSAP balances this by selecting half of its token budget based on the task-relevant map and the other half based on global visual saliency ([CLS] attention). Finally, rather than just dropping unselected tokens, DeSAP uses a clustering-based token merging strategy to average discarded tokens into the most similar retained tokens, ensuring no critical information is entirely lost.
Figure 1: Advantages of the proposed DeSAP method for token pruning. (a) Visual comparisons on token pruning area: yellow - salient semantics, red - task-aware semantics, blue - bias. (b) Quantitative comparison with existing SOTA token pruning methods on LLaVA-1.5-7B [27] at an 88.9% pruning ratio. DeSAP consistently demonstrates superior accuracy and efficiency.

Datasets

The authors evaluated DeSAP across 8 standard image-based benchmarks and 2 video-based benchmarks:

  • Image Benchmarks: GQA, ScienceQA, VQAv2, TextVQA, VizWiz (visual question answering); MMBench, MME, POPE (multimodal reasoning and object hallucination assessment).
  • Video Benchmarks: MSVD-QA, MSRVTT-QA.

No new datasets were introduced, focusing instead on demonstrating robust generalization across these widely accepted baselines.

Key Insights and Ideas

  • The Residual Connection Mask: Residual connections in Vision Transformers act as a strong smoothing factor, causing vanilla cross-modal similarity metrics to be dominated by background context. Stripping the residual component away reveals sharp, highly localized object features.
  • The Proximity Trap: Early LLM cross-attention maps are fundamentally unreliable for pruning because they exhibit a "bottom-of-the-image" bias caused by sequence token proximity, rather than actual semantic relevance.
  • Dual-Source Synergy: Visual saliency provides excellent coarse spatial boundaries, while task-aware similarity provides precise local targeting. Combining them under an equal budget outperforms trying to algorithmically "fix" the biases of either source individually.
Figure 2: Attention analysis in LVLMs. (a) [CLS] attention and cross-attention for pruning are biased toward global seman- tics and text-adjacent regions, respectively. (b) We separate detail-preserving attention from global semantic residuals by decomposing the hidden state. (c) Vanilla similarity is dominated by global semantics, while our decoupled similar- ity accurately identifies task-relevant local regions.

Key Results

The authors integrated DeSAP into multiple state-of-the-art architectures, including LLaVA-1.5-7B, LLaVA-NeXT-7B, and Qwen2.5-VL-7B, consistently outperforming existing methods:

  • LLaVA-1.5-7B: At an aggressive 88.9% pruning ratio (retaining only 64 out of 576 tokens), DeSAP maintained 98.1% of the original model's performance. This delivered a 9.1x reduction in FLOPs and a 2.3x prefill speedup.
  • Information Efficiency: When allowed a slightly higher budget of 192 tokens, DeSAP actually outperformed the unpruned baseline model by 0.3% on average, proving that removing visual noise can actively benefit LLM reasoning.
  • Small Object Preservation: Qualitative visualizations showed that while competing methods completely erased small, task-critical objects (like a distant fence or a small backpack), DeSAP consistently preserved them based on the text query.

Limitations and Future Work

Despite its strong performance, the authors note two primary limitations:

  1. Vague Queries: For open-ended or captioning-style tasks where the text prompt is diffuse (e.g., "Describe this image"), the task-guided similarity map becomes less effective, forcing the model to rely heavily on visual saliency. A dynamic, task-dependent budget allocator is left for future work.
  2. Long-Text Overhead: For very long text prompts, computing the token-wise cross-modal similarity matrix on the encoder side introduces non-negligible computational overhead. While currently mitigated by text-filtering techniques, designing a lighter text-selection mechanism remains an open challenge.

Summary updated

BibTeX
@misc{ma2026decoupled,
  author = {Kexin Ma and Jing Xiao and Chaofeng Chen and Geyong Min and Guibo Zhu and Jinqiao Wang and Liang Liao},
  title = {{Decoupled Similarity for Task-Aware Token Pruning in Large Vision-Language Models}},
  year = {2026},
  eprint = {2604.11240},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2604.11240},
}
Figure