arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.05346cs.LGcs.AIcs.CLcs.PF

Thanos:一种用于高效大语言模型压缩的分块剪枝算法

Thanos: A Block-wise Pruning Algorithm for Efficient Large Language Model Compression

GenAI Center of Excellence, King Abdullah University of Science and Technology(阿卜杜拉国王科技大学GenAI卓越中心)

Ivan Ilin, Peter Richtarik

AI总结:

Thanos提出一种基于自适应掩码的分块权重剪枝算法,通过灵活的结构化与$n:m$稀疏模式压缩大语言模型,在保持精度的同时降低内存占用并提升计算效率,在结构化和非结构化剪枝中均取得领先性能。

摘要:

本文提出了Thanos,一种新颖的权重剪枝算法,旨在通过移除冗余权重来减少大语言模型(LLMs)的内存占用并提升计算效率,同时保持精度。Thanos引入了一种带有自适应掩码的分块剪枝策略,该掩码根据权重重要性动态调整,从而实现灵活的稀疏模式和结构化格式,例如针对硬件加速优化的$n:m$稀疏性。实验评估表明,Thanos在结构化剪枝中达到了最先进的性能,并在非结构化剪枝中优于现有方法。通过提供一种高效且自适应的模型压缩方法,Thanos为在资源受限环境中部署大型模型提供了实用的解决方案。

英文摘要:

This paper presents Thanos, a novel weight-pruning algorithm designed to reduce the memory footprint and enhance the computational efficiency of large language models (LLMs) by removing redundant weights while maintaining accuracy. Thanos introduces a block-wise pruning strategy with adaptive masks that dynamically adjust to weight importance, enabling flexible sparsity patterns and structured formats, such as $n:m$ sparsity, optimized for hardware acceleration. Experimental evaluations demonstrate that Thanos achieves state-of-the-art performance in structured pruning and outperforms existing methods in unstructured pruning. By providing an efficient and adaptable approach to model compression, Thanos offers a practical solution for deploying large models in resource-constrained environments.

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

↑