Manuscript Offprint

arXiv:2610.24102

Hierarchical and Query-Aware Visual Token Pruning for High-Resolution LVLMs

Luther Wei, Ling Zou, Kang-Yang Huang, Yu-Syuan Xu, Wen-Huang Cheng

Luther Wei 1^{1}, Ling Zou 1^{1}, Kang-Yang Huang 1^{1}, Yu-Syuan Xu 1,2^{1,2}, and Wen-Huang Cheng 1^{1}

1^{1}Department of Computer Science and Information Engineering, National Taiwan University, Taipei, Taiwan

2^{2}MediaTek Inc., Hsinchu, Taiwan

weiluther@gmail.com, {zouling, huangkangyang}@cmlab.csie.ntu.edu.tw, yu-syuan.xu@mediatek.com, wenhuang@csie.ntu.edu.tw

Abstract—High-resolution Large Vision-Language Models (LVLMs) preserve critical, fine-grained visual details by encoding a global thumbnail alongside multiple local crops. However, the resulting thousands of vision tokens introduce severe computational bottlenecks during Large Language Model (LLM) inference. Existing token pruning methods rely primarily on query-agnostic visual saliency, while current query-aware approaches either operate at a coarse crop-level resolution or compute token relevance too late, after vision tokens have already entered the heavy LLM layers. To address this, we propose a training-free, hierarchical token pruning framework that utilizes query guidance prior to executing any LLM blocks. Our top-down hierarchy first operates at the instance-level, dynamically scaling the vision token retention ratio of each sample based on its visual complexity. Next, at the crop-level, we distribute this sample budget across local crops using sentence-level cross-modal similarity. Finally, at the token-level, we exploit projected vision tokens alongside textual query token embeddings in the shared space to measure fine-grained alignment, applying a text-debiasing normalization to produce high-fidelity query scores. These query-guided budgets and scores are fused with local and global visual saliency metrics to select the most critical vision tokens. Extensive experiments on LLaVA-NeXT-7B demonstrate that our plug-and-play framework retains 98.0% and 94.8% of unpruned performance at 25% and 10% vision token retention, respectively. Notably, at 25% retention, our method delivers a 2.0× inference throughput speedup and even surpasses the unpruned baseline on POPE by 0.7 points.

I. INTRODUCTION

Large Vision-Language Models (LVLMs) [1]–[3] provide a powerful general interface for multimodal reasoning, yet applications like document understanding, chart analysis, and small-object recognition demand high-resolution inputs to preserve critical, fine-grained visual details. To accommodate this, modern high-resolution LVLMs [4] encode a global thumbnail alongside multiple local crops, projecting and concatenating their features into the Large Language Model (LLM) input space. However, this multi-crop strategy drastically increases the vision token count, often exceeding several thousand tokens per image. Because the computational complexity of the LLM's self-attention mechanism scales quadratically with sequence length [5], this token explosion severely bottlenecks inference speed, inflates memory consumption, and hinders deployment on resource-constrained devices.

Figure

Q: Is there chair in the image? A: Yes

GlobalCom2(AAAI 2026):NO

Ours: Yes

Fig. 1: Pruning masks on a POPE sample at a 25% retention ratio. GlobalCom 2^{2} uses an image-only mask that is unchanged by the query; for the chair question shown here, it removes most chair evidence before the LLM and answers incorrectly. Our query-aware mask retains the relevant chair tokens and answers correctly.

Existing token-reduction approaches are broadly divided into training-based methods, which learn compact token projectors but require expensive retraining [6], [7], and training-free methods, which prune or merge vision tokens at inference time [8], [9]. While training-free methods offer plug-and-play flexibility, most are designed for single-grid images and fail to handle the global-thumbnail-and-local-crop layout of high-resolution LVLMs. Recent frameworks like HiRED [10] and GlobalCom 2^{2} [11] address this architecture via a two-stage pipeline: a budget allocation stage that determines how many tokens each crop receives, and a token selection stage that decides which vision tokens to preserve within that crop.

Despite their success, both budget allocation and token selection in methods like HiRED and GlobalCom 2^{2} rely entirely on visual saliency cues (e.g., [CLS] attention) derived solely from the image. Consequently, their pruning masks remain static across different textual queries, meaning visually inconspicuous but query-critical vision tokens can be discarded prematurely (Fig. 1). Once pruned, this vital visual evidence cannot be recovered by subsequent LLM layers, directly undermining the benefit of high-resolution encoding. While HERO [12] introduces query awareness via crop-query CLIP similarity for budget allocation, its query guidance remains restricted to the coarse crop level, leaving fine-grained token selection completely query-blind.

To overcome these limitations, we propose a training-free, top-down pruning hierarchy that infuses query guidance prior to any LLM execution. Crucially, existing methods enforce a retention rate = 516/2880

Figure

Q: Is there snowboard in the image? A: Yes

retention rate = 860/2880

Figure

Q: Is there baseball glove in the image? A: Yes

Fig. 2: Adaptive per-sample budget allocation on POPE examples. Our query-aware framework dynamically scales token retention according to scene complexity. The visually redundant snow scene (left) retains only 516 of 2,880 visual tokens, whereas the cluttered baseball scene (right) dynamically allocates 860 tokens to preserve fine-grained details needed for accurate question answering.

uniform pruning budget across all images regardless of their visual information density. To address this inefficiency, our hierarchy begins at the macro instance-level with a complexity-aware allocation: as illustrated in Fig. 2, visually rich scenes require higher token budgets than visually redundant scenes, which we dynamically compute based on thumbnail token diversity, while maintaining a fixed benchmark average budget. At the mid crop-level, this budget is distributed across local crops using sentence-level cross-modal similarity. Finally, at the micro token-level, we exploit the shared LLM input space by comparing projected vision tokens directly with query-token embeddings; we normalize similarities per query token via a text-debiasing normalization and fuse the resulting scores with local and global visual attention to preserve the most critical vision tokens.

Our contributions are summarized as follows:

  • We introduce a pre-LLM query-scoring mechanism that computes text-debiased vision-language relevance in the shared space, combining it with local and global visual saliency to preserve the most critical vision tokens.

  • We propose an instance-level budget allocation strategy that scales token retention ratios based on thumbnail-token diversity to improve performance.

  • We present a plug-and-play, training-free framework that achieves a 2.0×2.0\times throughput speedup on LLaVA-NeXT-7B at 25% retention, outperforming state-of-the-art baselines and surpassing the unpruned baseline on POPE.

References (30)