NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

AgilePruner: An Empirical Study of Attention and Diversity for Adaptive Visual Token Pruning in Large Vision-Language Models

Changwoo Baek, Jouwon Song, Sohyeon Kim, Kyeongbo Kong

Introduction

Large Vision-Language Models (LVLMs) are notoriously slow due to the massive number of visual tokens they must process. This paper investigates the tug-of-war between "attention-based" and "diversity-based" token pruning, revealing that while diversity helps with complex scenes, it often triggers hallucinations. To address this, the authors introduce AgilePruner, an adaptive pruning strategy that uses an image's "effective rank" to dynamically balance focus and coverage, slashing computational costs by 89% while maintaining top-tier accuracy.

The Pruning Dilemma

When you ask an LVLM (like LLaVA or Qwen) to describe an image, the model converts that image into hundreds of "visual tokens." Because the attention mechanism in these models scales quadratically ($O(N^2)$), doubling the tokens quadruples the computational math. To fix this, researchers use pruning: discarding "unimportant" tokens before they reach the heavy-duty language model.

Existing pruning methods generally fall into two camps:

  1. Attention-based: Keep the tokens the model "looks at" the most.
  2. Diversity-based: Keep tokens that are unique to avoid redundancy and capture a wider context.

The problem is that the trade-offs between these approaches have not been well understood. Does keeping diverse tokens actually help, or does it just introduce noise? Why do some methods work on simple photos but fail on crowded scenes? This paper provides the first systematic empirical study to answer these questions.

Methodology: Peeking Under the Hood

To analyze how LVLMs process visual information, the authors utilize two clever metrics to evaluate token processing mechanisms:

  • Effective Rank (erank): A measure of how much unique information is actually present in the token embeddings. A high erank indicates a complex, diverse scene, while a low erank suggests a simple or repetitive one.
  • Attention Entropy: A measure of how "spread out" or concentrated the model's focus is.
Illustration of Effective Rank and Attention Entropy metrics.

Based on their analysis, they propose AgilePruner. Unlike previous methods that use a fixed strategy for every image, AgilePruner is adaptive. It sorts tokens by their attention scores and then removes "redundant" neighbors based on a similarity threshold ($\tau$). Crucially, this threshold is calculated on-the-fly based on the input image's complexity (erank). If an image is simple, it prunes conservatively to keep fine details; if it's complex, it prunes more aggressively to ensure a wide variety of features are captured.

Key Insights and Empirical Findings

The Diversity Trap

Diversity-based pruning is a double-edged sword. While it captures more objects (higher recall), it significantly increases hallucinations. By including "diverse" but low-importance tokens, the model often gets confused and starts imagining objects in the background that are not actually there.

Comparison showing how diversity-based pruning can lead to hallucinations compared to attention-based methods.

Image-Aware Preference

There is no "one size fits all" pruning strategy. Attention-based methods are "conservative" and excel at simple images with concentrated evidence. Conversely, diversity-based methods are better suited for complex images where features are scattered across the frame.

Erank as a Complexity Proxy

The authors found that erank is a remarkably stable and lightweight way to judge image complexity. Calculating it only adds about 3.2% to the total inference time, making it highly practical for real-world deployment.

Attention is the Anchor

The study shows that prioritizing high-attention tokens is the best way to suppress hallucinations, as these tokens concentrate the most "reliable" visual evidence.

Experimental Results

The researchers evaluated their approach across nine major benchmarks, covering General VQA (VQAv2, GQA, VizWiz, TextVQA), Reasoning (ScienceQA, MME), Hallucination (POPE, CHAIR), and Multilingual tasks (MMBench).

  • Efficiency: AgilePruner reduces FLOPs (floating-point operations) by 89% compared to the full-token model.
  • Accuracy: On the LLaVA-1.5-7B model, AgilePruner (retaining only 64 tokens out of 576) outperformed all other pruning baselines. It achieved 96.76% relative performance compared to the unpruned model, whereas other methods often saw significant drops.
  • Hallucination Control: On the CHAIR benchmark, AgilePruner achieved a hallucination score ($C_S$) of 52.2, which is much closer to the original model (51.0) than pure diversity-based methods (which spiked to 57.4+).
  • Model Agnostic: The principles held true across different architectures, including LLaVA-NeXT and Qwen2.5-VL.

Limitations and Future Work

The authors identify two specific failure modes for their adaptive approach:

  1. Low-erank images with many objects: If an image is "simple" (like a flock of birds in a clear sky) but contains many small, similar objects, the adaptive threshold might prune too many of them, leading to counting errors.
  2. High-erank images with localized evidence: In very busy scenes where the answer depends on one tiny, specific spot, the diversity-seeking behavior might "dilute" the model's focus away from that critical region.

Future work could involve extending this analysis to video tokens, where redundancy is even higher, or combining this adaptive thresholding with methods that dynamically change the number of tokens kept, rather than just which ones are selected.

Summary updated

BibTeX
@inproceedings{baek2026agilepruner,
  author = {Changwoo Baek and Jouwon Song and Sohyeon Kim and Kyeongbo Kong},
  title = {{AgilePruner: An Empirical Study of Attention and Diversity for Adaptive Visual Token Pruning in Large Vision-Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=2NLkhPex1M},
}
Figure