3BASiL:面向大语言模型稀疏加低秩压缩的算法框架 3BASiL: An Algorithmic Framework for Sparse plus Low-Rank Compression of LLMs 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-03-02
👁️ 预览文献
💡 AI 中文简介
大语言模型太大,部署困难,一种思路是把权重拆成“稀疏矩阵+低秩矩阵”两部分来压缩。但现有方法压缩后性能掉得厉害。本文提出3BASiL-TM:先用一种带收敛保证的三块ADMM算法(3BASiL)逐层降低重构误差,再用transformer级匹配精修,联合优化稀疏和低秩部分。在LLaMA-8B上,2:4稀疏+64低秩配置下,WikiText2困惑度差距比之前方法缩小30%以上,压缩速度在A100上快2.5倍以上。
领域大语言模型压缩/模型加速
适合谁读需要一定专业背景(了解模型压缩、稀疏与低秩分解、ADMM优化)
核心贡献1. 提出带收敛保证的三块ADMM算法3BASiL,逐层最小化稀疏+低秩分解的重构误差;2. 设计通用的transformer级匹配精修步骤,可联合优化任意稀疏+低秩分解(含纯稀疏),显著缩小与稠密模型的性能差距。
关键数据在(2:4稀疏+64低秩)配置下,相对稠密LLaMA-8B的WikiText2困惑度差距比先前方法缩小30%以上;在A100 GPU上压缩运行时间比SOTA稀疏+低秩方法快2.5倍以上。
推荐理由想让大模型瘦身又不掉性能?这篇把稀疏+低秩压缩做到了又快又准,还开源了代码,值得一读。
关键词["大语言模型压缩", "稀疏加低秩分解", "交替方向乘子法", "训练后压缩", "Transformer匹配"]

原文摘要

查看英文原文摘要

Sparse plus Low-Rank $(\mathbf{S} + \mathbf{LR})$ decomposition of Large Language Models (LLMs) has emerged as a promising direction in model compression, aiming to decompose pre-trained model weights into a sum of sparse and low-rank matrices $(\mathbf{W} \approx \mathbf{S} + \mathbf{LR})$. Despite recent progress, existing methods often suffer from substantial performance degradation compared to dense models. In this work, we introduce 3BASiL-TM, an efficient one-shot post-training method for $(\mathbf{S} + \mathbf{LR})$ decomposition of LLMs that addresses this gap. Our approach first introduces a novel 3-Block Alternating Direction Method of Multipliers (ADMM) method, termed 3BASiL, to minimize the layer-wise reconstruction error with convergence guarantees. We then design an efficient transformer-matching (TM) refinement step that jointly optimizes the sparse and low-rank components across transformer layers. This step minimizes a novel memory-efficient loss that aligns outputs at the transformer level. Notably, the TM procedure is universal as it can enhance any $(\mathbf{S} + \mathbf{LR})$ decomposition, including pure sparsity. Our numerical experiments show that 3BASiL-TM reduces the WikiText2 perplexity gap relative to dense LLaMA-8B model by over 30% under a (2:4 Sparse + 64 LR) configuration, compared to prior methods. Moreover, our method achieves over 2.5x faster compression runtime on an A100 GPU compared to SOTA $(\mathbf{S} + \mathbf{LR})$ method. Our code is available at https://github.com/mazumder-lab/3BASiL.