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

Pruning All-Rounder:重新思考并提升大视觉语言模型的推理效率

Pruning All-Rounder: Rethinking and Improving Inference Efficiency for Large Vision Language Models

Northwestern Polytechnical University(西北工业大学);Swansea University(斯旺西大学)

Wei Suo, Ji Ma, Mengyang Sun, Lin Yuanbo Wu, Peng Wang, Yanning Zhang

AI总结:

针对大视觉语言模型推理成本高的问题,提出Pruning All-Rounder框架,通过元路由器自适应组织跨token与跨层剪枝,结合自监督学习实现性能与效率的优异平衡,且支持多版本适配不同加速场景。

摘要:

尽管大视觉语言模型(LVLM)已取得令人瞩目的成果,但其高昂的计算成本成为广泛应用的重大阻碍。为提升推理效率,现有方法大多可分为依赖参数或依赖token的策略以降低计算需求。然而,依赖参数的方法需要重新训练LVLM以恢复性能,而依赖token的策略难以持续筛选出最相关的token。本文系统分析了上述挑战,并为推理加速提供了一系列有价值的见解。基于这些发现,我们提出了一个新颖框架——Pruning All-Rounder(PAR,剪枝全能框架)。与以往工作不同,PAR开发了一个元路由器,可自适应地组织跨token与跨层的剪枝流程。通过自监督学习方式,我们的方法在性能与效率之间实现了优异的平衡。值得注意的是,PAR具有高度灵活性,提供多种剪枝版本以应对各类加速场景。本工作的代码已公开于https://github.com/ASGO-MM/Pruning-All-Rounder。

英文摘要:

Although Large Vision-Language Models (LVLMs) have achieved impressive results, their high computational costs pose a significant barrier to wide application. To enhance inference efficiency, most existing approaches can be categorized as parameter-dependent or token-dependent strategies to reduce computational demands. However, parameter-dependent methods require retraining LVLMs to recover performance while token-dependent strategies struggle to consistently select the most relevant tokens. In this paper, we systematically analyze the above challenges and provide a series of valuable insights for inference acceleration. Based on these findings, we propose a novel framework, the Pruning All-Rounder (PAR). Different from previous works, PAR develops a meta-router to adaptively organize pruning flows across both tokens and layers. With a self-supervised learning manner, our method achieves a superior balance between performance and efficiency. Notably, PAR is highly flexible, offering multiple pruning versions to address a range of acceleration scenarios. The code for this work is publicly available at https://github.com/ASGO-MM/Pruning-All-Rounder.

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

↑