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

AutoPrune:每种复杂度都应有对应的剪枝策略

AutoPrune: Each Complexity Deserves a Pruning Policy

State Key Laboratory of Multimodal Artificial Intelligence Systems (MAIS), CASIA(多模态人工智能系统国家重点实验室(MAIS),中国科学院自动化所);School of Artificial Intelligence, University of Chinese Academy of Sciences(中国科学院大学人工智能学院);AutoLab, School of Artificial Intelligence, Shanghai Jiao Tong University(上海交通大学人工智能学院AutoLab);Anyverse Intelligence;Beijing Key Laboratory of Super Intelligent Security of Multi-Modal Information(北京多模态信息超智能安全重点实验室);School of Information Science and Technology, ShanghaiTech University(上海科技大学信息科学与技术学院)

Hanshi Wang, Yuhao Xu, Zekun Xu, Jin Gao, Yufan Liu, Weiming Hu, Ke Wang, Zhipeng Zhang

AI总结:

针对现有视觉语言模型剪枝策略固定、无法适配不同输入复杂度的问题,提出无需训练的AutoPrune框架,通过量化视觉文本互信息生成自适应剪枝曲线,在大幅降低计算量的同时显著优于现有方法。

摘要:

大型视觉-语言模型中视觉token存在固有冗余,这使得剪枝能够有效降低其巨大的计算需求。以往的方法通常采用启发式的分层剪枝策略:尽管不同解码器层移除的token数量可能不同,但整体剪枝调度是固定的,且统一应用于所有输入样本和任务,无法使token移除与模型的整体推理轨迹相匹配。认知科学表明,人类视觉处理通常先进行广泛探索以积累证据,待目标变得清晰后再缩小关注范围。我们的实验揭示了这些模型中存在类似的模式。这一观察表明,固定的剪枝调度和启发式的分层策略都无法最优地适配不同输入固有的多样复杂度。为克服这一局限,我们提出了复杂度自适应剪枝(AutoPrune),这是一个无需训练、即插即用的框架,可根据不同的样本和任务复杂度定制剪枝策略。具体而言,AutoPrune量化视觉token与文本token之间的互信息,然后将该信号投影到受预算约束的逻辑斯蒂保留曲线上。每条此类逻辑斯蒂曲线由其独特的形状定义,对应不同任务的特定复杂度,且能保证符合预定义的计算约束。我们在标准视觉-语言任务以及用于自动驾驶的视觉-语言-动作模型上评估了AutoPrune。值得注意的是,当应用于LLaVA-1.5-7B时,我们的方法剪枝了89%的视觉token,将推理浮点运算量(FLOPs)降低了76.8%,同时在所有任务上平均保留了原模型96.7%的准确率。这相比近期工作PDrop提升了9.1%,证明了该方法的有效性。代码可在https://github.com/AutoLab-SAI-SJTU/AutoPrune获取。

英文摘要:

The established redundancy in visual tokens within large vision-language models allows pruning to effectively reduce their substantial computational demands. Previous methods typically employ heuristic layer-specific pruning strategies where, although the number of tokens removed may differ across decoder layers, the overall pruning schedule is fixed and applied uniformly to all input samples and tasks, failing to align token elimination with the model's holistic reasoning trajectory. Cognitive science indicates that human visual processing often begins with broad exploration to accumulate evidence before narrowing focus as the target becomes distinct. Our experiments reveal an analogous pattern in these models. This observation suggests that neither a fixed pruning schedule nor a heuristic layer-wise strategy can optimally accommodate the diverse complexities inherent in different inputs. To overcome this limitation, we introduce Complexity-Adaptive Pruning (AutoPrune), a training-free, plug-and-play framework that tailors pruning policies to varying sample and task complexities. Specifically, AutoPrune quantifies the mutual information between visual and textual tokens, then projects this signal to a budget-constrained logistic retention curve. Each such logistic curve, defined by its unique shape, corresponds to the specific complexity of different tasks and can guarantee adherence to predefined computational constraints. We evaluate AutoPrune on standard vision-language tasks and on Vision-Language-Action models for autonomous driving. Notably, when applied to LLaVA-1.5-7B, our method prunes 89% of visual tokens and reduces inference FLOPs by 76.8% while retaining 96.7% of the original accuracy averaged over all tasks. This corresponds to a 9.1% improvement over the recent work PDrop, demonstrating the effectiveness. Code is available at https://github.com/AutoLab-SAI-SJTU/AutoPrune.

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

↑