arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2503.08019cs.CV
收藏

面向大型视觉语言模型的多线索自适应视觉令牌剪枝

Multi-Cue Adaptive Visual Token Pruning for Large Vision-Language Models

University of Science and Technology of China(中国科学技术大学);Huawei Technologies(华为技术有限公司)

Bozhi Luan, Wengang Zhou, Hao Feng, Zhe Wang, Xiaosong Li, Houqiang Li

AI总结:

AdaptPrune提出一种即插即用、无需训练的视觉令牌剪枝方法,通过融合注意力分数、空间距离和令牌相似性并采用自适应NMS,在多种LVLMs和基准上持续优于现有方法。

摘要:

随着大型视觉语言模型(LVLMs)计算需求的增加,视觉令牌剪枝已被证明能有效提升推理速度和内存效率。LVLMs中的传统剪枝方法主要关注注意力分数来确定令牌相关性,忽略了空间位置和令牌相似性等关键方面。为此,我们提出了AdaptPrune,一种新颖的即插即用、无需训练的剪枝方法,它在传统基于注意力的剪枝基础上,通过自适应NMS方法整合空间距离和令牌相似性。我们的方法基于大型模型中观察到的若干现象:模型图像注意力中的位置偏差以及以往方法忽略的令牌信息冗余。通过整合注意力、空间和相似性信息,我们的方法确保了对令牌重要性的全面评估,并显著优化了剪枝决策。我们的方法已在多种LVLMs和基准上进行了广泛测试,证实了其鲁棒性和适应性。结果表明,AdaptPrune在各种剪枝比例下均持续优于现有方法。代码可在 https://github.com/bzluan/AdaptPrune 获取。

英文摘要:

As the computational needs of Large Vision-Language Models (LVLMs) increase, visual token pruning has proven effective in improving inference speed and memory efficiency. Traditional pruning methods in LVLMs predominantly focus on attention scores to determine token relevance, overlooking critical aspects such as spatial position and token similarity. To this end, we introduce AdaptPrune, a novel plug-and-play training-free pruning method that builds on conventional attention-based pruning by integrating spatial distance and token similarity with an adaptive NMS approach. Our method is based on several observed phenomena in large models: the positional bias in the model's image attention and the redundancy of token information ignored by previous approaches. By integrating attention, spatial, and similarity information, our approach ensures a comprehensive evaluation of token importance and substantially refines the pruning decisions. Our method has been extensively tested across various LVLMs and benchmarks, confirming its robustness and adaptability. The results demonstrate that AdaptPrune consistently outperforms existing methods across various pruning ratios. Code is available at https://github.com/bzluan/AdaptPrune.

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

↑