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

ARMOR:通过自适应矩阵分解实现高性能半结构化剪枝

ARMOR: High-Performance Semi-Structured Pruning via Adaptive Matrix Factorization

University of California, Los Angeles(加利福尼亚大学洛杉矶分校);University of Washington(华盛顿大学);Princeton University(普林斯顿大学);Georgia Institute of Technology(佐治亚理工学院)

Lawrence Liu, Alexander Liu, Mengdi Wang, Tuo Zhao, Lin F. Yang

AI总结:

ARMOR通过自适应矩阵分解技术,实现高效的半结构化剪枝,保留模型质量的同时提升压缩效率和任务准确性。

摘要:

大型语言模型(LLMs)由于其巨大的计算和内存需求,存在显著的部署挑战。尽管半结构化剪枝,特别是2:4稀疏性,提供了一条通往实用硬件加速的途径,但现有方法往往导致显著的性能下降。为此,我们引入ARMOR:(Adaptive Representation with Matrix-factORization),一种新颖的一次性后训练剪枝算法。与直接剪枝权重不同,ARMOR将每个权重矩阵分解为一个2:4稀疏核心,其外包裹着两个低开销的块对角矩阵。这些封装器作为高效的前和后转换误差校正器,比传统2:4剪枝技术更具灵活性,能够更好地保留模型质量。稀疏核心和块对角封装器通过块坐标下降算法选择,以最小化逐层代理损失。我们理论证明这种优化保证收敛到一个代理损失小于或等于现有剪枝算法的解。在Llama(Touvron et al., 2023; Dubey et al., 2024)和Qwen(Yang et al., 2025)模型家族上的实验表明,ARMOR在广泛的任务和困惑度评估中,始终显著优于现有最先进的2:4剪枝方法。ARMOR在保留2:4剪枝的推理加速和内存使用减少的同时,实现了更有效的模型压缩与任务准确性之间的平衡。

英文摘要:

Large language models (LLMs) present significant deployment challenges due to their immense computational and memory requirements. While semi-structured pruning, particularly 2:4 sparsity, offers a path to practical hardware acceleration, existing methods often incur substantial performance degradation. To bridge this gap, we introduce ARMOR: (Adaptive Representation with Matrix-factORization), a novel one-shot post-training pruning algorithm. Instead of directly pruning weights, ARMOR factorizes each weight matrix into a 2:4 sparse core wrapped by two low-overhead, block diagonal matrices. These wrappers act as efficient pre and post-transformation error correctors, offering greater flexibility to preserve model quality compared to conventional 2:4 pruning techniques. The sparse core and block diagonal wrappers are chosen through a block coordinate descent algorithm that minimizes a layer-wise proxy loss. We theoretically prove this optimization is guaranteed to converge to a solution with a proxy loss less than or equal to state-of-the-art pruning algorithms. Experiments on Llama (Touvron et al., 2023; Dubey et al., 2024) and Qwen (Yang et al., 2025) model families demonstrate that ARMOR consistently and significantly outperforms state-of-the-art 2:4 pruning methods across a wide range of downstream tasks and perplexity evaluations. ARMOR achieves this superior performance while retaining the inference speedups and substantial memory usage reductions of 2:4 pruning, establishing a more effective trade-off between model compression and task accuracy

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

↑