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

FLAT-LLM: 细粒度低秩激活空间变换用于大语言模型压缩

FLAT-LLM: Fine-grained Low-rank Activation Space Transformation for Large Language Model Compression

University of California, Santa Barbara(加州大学圣芭芭拉分校);Intel Corporation(英特尔公司)

Jiayi Tian, Ryan Solgi, Jinming Lu, Yifan Yang, Hai Li, Zheng Zhang

AI总结:

FLAT-LLM通过细粒度低秩激活空间变换实现大语言模型的高效结构压缩,无需训练即可完成权重压缩和校准,提升推理效率与性能。

摘要:

大语言模型(LLMs)在自然语言处理领域取得了显著进展,但其高计算和内存需求给资源受限环境下的部署带来了挑战。尽管最近的低秩分解方法为结构压缩提供了有希望的路径,但它们通常面临精度下降、校准成本高以及导致不高效的模型架构,阻碍了实际应用中的推理加速。在本文中,我们提出了FLAT-LLM,一种基于激活空间细粒度低秩变换的快速且准确的结构压缩方法,无需训练。具体而言,我们通过按头进行的主成分分析计算截断特征向量来减少隐藏维度,并采用贪心预算再分配策略来适应性地分配解码器中的秩。FLAT-LLM在无需恢复微调的情况下实现了高效的权重压缩,校准可在几分钟内完成。在5个模型和11个数据集上的评估表明,FLAT-LLM在泛化能力和下游性能上优于结构剪枝基线,同时在分解方法上实现了推理加速。

英文摘要:

Large Language Models (LLMs) have enabled remarkable progress in natural language processing, yet their high computational and memory demands pose challenges for deployment in resource-constrained environments. Although recent low-rank decomposition methods offer a promising path for structural compression, they often suffer from accuracy degradation, expensive calibration procedures, and result in inefficient model architectures that hinder real-world inference speedups. In this paper, we propose FLAT-LLM, a fast and accurate, training-free structural compression method based on fine-grained low-rank transformations in the activation space. Specifically, we reduce the hidden dimension by transforming the weights using truncated eigenvectors computed via head-wise Principal Component Analysis, and employ a greedy budget redistribution strategy to adaptively allocate ranks across decoders. FLAT-LLM achieves efficient and effective weight compression without recovery fine-tuning, which could complete the calibration within a few minutes. Evaluated across 5 models and 11 datasets, FLAT-LLM outperforms structural pruning baselines in generalization and downstream performance, while delivering inference speedups over decomposition-based methods.

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

↑