Local Information Matters: Inference Acceleration For Grounded Conversation Generation Models Through Adaptive Local-Aware Token Pruning

Bizhe Bai, Jianjian Cao, Yadan Luo, Tao ChenarXiv 2025 · DOI

Introduction

Large Vision-Language Models (LVLMs) such as GLaMM and OMG-LLaVA have revolutionized tasks that require both natural language understanding and precise spatial reasoning. However, the computational overhead of processing hundreds of visual tokens remains a significant bottleneck for real-time applications. While token pruning methods like FastV and PyramidDrop have been successful in general tasks like image captioning, they often fail in Grounded Conversation Generation (GCG). In GCG, the model must not only describe objects but also provide pixel-perfect segmentation masks. This paper argues that "local information matters" and introduces Adaptive Local-Aware Token Pruning (ALTP) to bridge the gap between efficiency and grounding precision.

The Failure of Global Pruning in Grounding

Existing pruning strategies typically rely on global attention mechanisms to identify "unimportant" tokens. The authors discovered that these methods are disastrous for grounding because they frequently discard tokens representing small but critical objects. For example, a model might prune tokens for a curtain or a lamp because they don't dominate the global attention map in early layers. However, these tokens are essential later when the model needs to generate a mask for those specific objects. As shown in the comparison below, standard pruning can cause recall to drop from 0.8 to 0.4 by missing these fine-grained details.

Comparison of standard pruning (Fastv) vs. manual token retention. Standard pruning (c) fails to identify the backpack and curtain, while manual retention (d) restores grounding performance, motivating the need for automated local-aware pruning.

Methodology: Adaptive Local-Aware Token Pruning

ALTP shifts the focus from global importance to local structural integrity through two main modules:

  1. Detail Density Capture (DDC): Instead of treating the image as a uniform grid, ALTP uses SLIC superpixel segmentation to divide the image into visually coherent sub-regions. This ensures that even small, high-contrast objects are treated as distinct units, preventing them from being "averaged out" or ignored by global attention.
  2. Dynamic Density Formation (DDF): ALTP dynamically allocates a "token budget" based on the information density of each superpixel. Regions with high color variance and complexity (like patterned objects) keep more tokens, while uniform backgrounds (like plain walls) are pruned more aggressively.

This pruning typically occurs after the initial layers of the Large Language Model (LLM) backbone, allowing the model to establish a full visual context before switching to a highly compressed, local-aware representation.

Experimental Results and Insights

The researchers evaluated ALTP primarily on the GranDf dataset, the current benchmark for GCG. The results demonstrate a significant "win-win" for inference speed and accuracy:

  • Massive Compression: ALTP can prune up to 90% of visual tokens (reducing the count from 576 to 57) while maintaining high performance.
  • Superior Grounding Accuracy: At a 90% reduction level on the GLaMM model, ALTP outperformed PyramidDrop by 4.9% in AP50 and 5.0% in Recall.
  • Robustness: On OMG-LLaVA, ALTP improved mean Intersection over Union (mIOU) by 3.0% compared to baseline pruners at the same compression level.
Original GLaMM grounding (a) compared to standard Fastv pruning (c). Global pruning methods often miss small objects like the backpack entirely, whereas ALTP preserves the spatial scaffolding required for accurate masking.

Conclusion

The core insight of this work is that spatial reasoning requires the preservation of local details that global attention might initially overlook. By using superpixel-based density allocation, ALTP enables massive inference acceleration—up to 10x compression of visual tokens—without sacrificing the pixel-level precision required for grounded conversation. Future work will explore end-to-end training of these token allocation strategies to further optimize the balance between speed and detail.

Summary updated

BibTeX
@misc{bai2025local,
  author = {Bizhe Bai and Jianjian Cao and Yadan Luo and Tao Chen},
  title = {{Local Information Matters: Inference Acceleration For Grounded Conversation Generation Models Through Adaptive Local-Aware Token Pruning}},
  year = {2025},
  eprint = {2503.23959},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2503.23959},
}
Figure