arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2602.06127cs.LG
收藏

用MoP压缩LLM:剪枝混合方法

Compressing LLMs with MoP: Mixture of Pruners

Bruno Lopes Yamamoto, Lucas Lauton de Alcantara, Victor Zacarias, Leandro Giusti Mugnaini, Keith Ando Ogawa, Lucas Pellicer, Rosimeire Pereira Costa, Edson Boll… 展开作者

Bruno Lopes Yamamoto, Lucas Lauton de Alcantara, Victor Zacarias, Leandro Giusti Mugnaini, Keith Ando Ogawa, Lucas Pellicer, Rosimeire Pereira Costa, Edson Bollis, Anna Helena Reali Costa, Artur Jordao

AI总结:

MoP通过结合深度和宽度剪枝,提升了LLM的压缩效率和推理速度,同时在视觉-语言模型中实现了更高的计算效率。

摘要:

大语言模型(LLM)的高计算需求推动了减少参数数量和加速推理的方法。为此,模型剪枝成为一种有效策略,但当前方法通常只关注单一维度(深度或宽度)。我们引入MoP(剪枝混合),一种迭代框架,统一了这些维度。在每次迭代中,MoP生成两个分支——深度剪枝与宽度剪枝,并选择候选路径继续前进。在LLaMA-2和LLaMA-3上,MoP推动了结构化剪枝的前沿,超越了在广泛压缩范围内竞争方法的准确性。它还始终优于仅深度或仅宽度剪枝。此外,MoP将结构化剪枝转化为实际的速度提升,使端到端延迟在40%压缩下减少39%。最后,将MoP扩展到视觉-语言模型LLaVA-1.5,我们显著提高了计算效率,并证明了仅文本恢复微调可以在视觉任务上恢复性能。

英文摘要:

The high computational demands of Large Language Models (LLMs) motivate methods that reduce parameter count and accelerate inference. In response, model pruning emerges as an effective strategy, yet current methods typically focus on a single dimension-depth or width. We introduce MoP (Mixture of Pruners), an iterative framework that unifies these dimensions. At each iteration, MoP generates two branches-pruning in depth versus pruning in width-and selects a candidate to advance the path. On LLaMA-2 and LLaMA-3, MoP advances the frontier of structured pruning, exceeding the accuracy of competing methods across a broad set of compression regimes. It also consistently outperforms depth-only and width-only pruning. Furthermore, MoP translates structural pruning into real speedup, reducing end-to-end latency by 39% at 40% compression. Finally, extending MoP to the vision-language model LLaVA-1.5, we notably improve computational efficiency and demonstrate that text-only recovery fine-tuning can restore performance even on visual tasks.

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

↑