CROP: Contextual Region-Oriented Visual Token Pruning

Jiawei Guo, Feifei Zhai, Pu Jian, Qianrun Wei, Yu Zhou

TL;DR

Large Vision-Language Models (VLMs) are computationally expensive due to processing too many visual tokens per image. This paper introduces CROP, a novel framework that prunes these tokens by first identifying contextually relevant image regions based on the input question. CROP significantly improves efficiency and performance by focusing on essential visual information, outperforming existing methods.

What Problem Does This Paper Address?

Modern VLMs, crucial for tasks like visual question answering (VQA), process entire images, generating a large number of visual tokens. For instance, LLaVA-1.5 can produce 576 tokens, and LLaVA-NeXT up to 2880 tokens for a single image. This abundance of visual information, much of which might be irrelevant to a specific question, leads to massive memory and computational demands. Existing methods for reducing these tokens often rely on general image semantics or LLM attention maps, but they fail to consider the question itself, potentially discarding crucial information. This paper aims to address this by intelligently pruning visual tokens based on their relevance to the posed question.

Methods

CROP operates in two main stages:

  1. Localization Module: An efficient, pre-trained VLM is used to identify a "contextual region" within the image that is most relevant to the input question. This module is designed to be plug-and-play and doesn't require retraining the main VLM. Images are conceptually divided into an 8x8 grid, and the module outputs the bounding box coordinates of the relevant region.
  2. Pruning Stage: The identified contextual region guides two pruning strategies:
  3. Pre-LLM Compression (PLC): A dedicated, trainable compression module processes visual tokens before they enter the main VLM. This module adaptively assigns lower compression ratios to tokens within the contextual region and higher ratios to others. It also uses "anchor tokens" to preserve fine-grained details within the contextual region.
  4. Inner-LLM Pruning (ILP): This is a training-free method where visual tokens outside the identified contextual region are pruned directly within an early layer (layer K) of the main VLM. This approach leverages the observation that early VLM layers are more sensitive to explicit visual tokens.

Datasets

The paper utilizes several datasets for training and evaluation:

  • Training Data:
    • Region Localization samples: A combination of TextVQA, Flickr30k, DocVQA, VSR, GQA, and OpenImage datasets.
  • Preserving Instruction Following Ability: LLaVA Instruction Tuning data.
  • Total training samples: 610k.
  • Evaluation Benchmarks:
    • LLaVA-1.5 (7B and 13B) and LLaVA-NeXT models were evaluated on benchmarks including GQA, MME, VQAT, SQA, VQAV2, and POPE.
  • The Qwen2-VL model was also evaluated.

Key Insights and Ideas

  • Question-Guided Pruning is Crucial: The core insight is that simply pruning tokens based on general image features or attention is suboptimal. The question itself provides the most critical signal for identifying relevant visual information.
  • Spatial Coherence Matters: Preserving the spatial integrity of contextual regions, rather than just selecting sparse tokens, is vital for maintaining perceptual capabilities, especially under aggressive compression.
  • Early Layers are Sensitive: VLMs seem to rely more heavily on explicit visual tokens in their earlier layers, making ILP an effective training-free pruning strategy.
  • Localization as a Plug-and-Play Component: The Localization Module can be trained independently and seamlessly integrated with various VLMs, offering flexibility.

Key Results

  • State-of-the-Art Performance: CROP consistently outperformed existing visual token pruning methods across various VQA tasks and models (LLaVA-1.5, LLaVA-NeXT).
  • High Performance Retention: Even with aggressive pruning rates (e.g., 88.9% token reduction), CROP-ILP maintained high performance, retaining 96.0-96.2% of the original efficacy on LLaVA-1.5. PLC also showed strong retention (95.4-95.8%).
  • Training-Free ILP: The ILP strategy achieved competitive performance without any fine-tuning of the large VLM, making it a highly efficient drop-in solution.
  • Efficiency Gains: CROP-ILP accelerated LLaVA-NeXT-13B by more than twofold.
  • Localization Accuracy: The Localization Module demonstrated high accuracy, with predicted regions closely matching human-annotated ground truth, significantly outperforming random or center-based region selection.

Limitations and Future Work

  • PLC Training Cost: While ILP is training-free, the PLC strategy requires an initial fine-tuning cost for its compression module.
  • Global Context for Certain Tasks: For tasks requiring broad global context, the current single-region localization might be insufficient.
  • Future Work: The authors suggest exploring methods to further streamline the initial training phase for PLC or developing entirely training-free compression strategies. They also plan to investigate using multiple contextual regions to better handle tasks requiring global information.

Summary updated

BibTeX
@inproceedings{guo2025crop,
  author = {Jiawei Guo and Feifei Zhai and Pu Jian and Qianrun Wei and Yu Zhou},
  title = {{CROP: Contextual Region-Oriented Visual Token Pruning}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2025},
}
Figure