arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.03258cs.CLcs.AI
收藏

SoLA:利用软激活稀疏性和低秩分解实现大语言模型压缩

SoLA: Leveraging Soft Activation Sparsity and Low-Rank Decomposition for Large Language Model Compression

Xinhao Huang, You-Liang Huang, Zeyi Wen

AI总结:

SoLA通过软激活稀疏性和低秩分解技术,在无需训练的情况下压缩大语言模型,显著提升语言模型和下游任务的准确性。

摘要:

大语言模型(LLMs)在各种任务中表现出色,但十亿级参数带来了部署挑战。尽管现有方法试图减小LLMs的规模,但它们需要特殊硬件支持或昂贵的后训练以保持模型质量。为了实现高效且经济的模型压缩,我们提出了一种新的训练免费压缩方法,称为

英文摘要:

Large language models (LLMs) have demonstrated impressive capabilities across various tasks, but the billion-scale parameters pose deployment challenges. Although existing methods attempt to reduce the scale of LLMs, they require either special hardware support or expensive post-training to maintain model quality. To facilitate efficient and affordable model slimming, we propose a novel training-free compression method for LLMs, named "SoLA", which leverages \textbf{So}ft activation sparsity and \textbf{L}ow-r\textbf{A}nk decomposition. SoLA can identify and retain a minority of components significantly contributing to inference, while compressing the majority through low-rank decomposition, based on our analysis of the activation pattern in the feed-forward network (FFN) of modern LLMs. To alleviate the decomposition loss, SoLA is equipped with an adaptive component-wise low-rank allocation strategy to assign appropriate truncation positions for different weight matrices. We conduct extensive experiments on LLaMA-2-7B/13B/70B and Mistral-7B models across a variety of benchmarks. SoLA exhibits remarkable improvement in both language modeling and downstream task accuracy without post-training. For example, with a 30\% compression rate on the LLaMA-2-70B model, SoLA surpasses the state-of-the-art method by reducing perplexity from 6.95 to 4.44 and enhancing downstream task accuracy by 10\%.

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

↑