arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.24102cs.CV
收藏

面向高分辨率大视觉语言模型(LVLMs)的分层且查询感知的视觉令牌剪枝

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

National Taiwan University(国立台湾大学);MediaTek Inc.(联发科股份有限公司)

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

AI总结:

针对高分辨率LVLMs的视觉令牌剪枝计算瓶颈,提出无需训练的分层查询感知剪枝框架,在LLaVA-NeXT-7B上实现2倍推理加速,25%令牌保留时性能仅降2%且POPE指标优于基线。

摘要:

高分辨率大视觉语言模型(LVLMs)通过编码全局缩略图以及多个局部裁剪图来保留关键的细粒度视觉细节,但由此产生的数千个视觉令牌会在大语言模型(LLM)推理过程中引发严重的计算瓶颈。现有的令牌剪枝方法主要依赖于与查询无关的视觉显著性,而当前的查询感知方法要么在较粗的裁剪级别分辨率下操作,要么在视觉令牌已进入计算量大的LLM层之后才计算令牌相关性。为解决该问题,我们提出了一种无需训练的分层令牌剪枝框架,该框架在执行任何LLM模块之前就利用查询引导。我们的自上而下层次结构首先在实例级别操作,根据每个样本的视觉复杂度动态调整其视觉令牌保留率;接着在裁剪级别,我们利用句子级跨模态相似度将该样本预算分配到各个局部裁剪图;最后在令牌级别,我们在共享空间中利用投影后的视觉令牌与文本查询令牌嵌入来测量细粒度对齐,并应用文本去偏归一化以生成高保真的查询分数。这些查询引导的预算和分数与局部及全局视觉显著性指标相融合,以选择最关键的视觉令牌。在LLaVA-NeXT-7B上进行的大量实验表明,我们的即插即用框架在视觉令牌保留率为25%和10%时,分别保留了未剪枝性能的98.0%和94.8%;值得注意的是,在25%保留率下,我们的方法实现了2.0倍的推理吞吐量加速,且在POPE数据集上的表现甚至比未剪枝基线高出0.7个百分点。

英文摘要:

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.0x inference throughput speedup and even surpasses the unpruned baseline on POPE by 0.7 points.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑