无数据的大语言模型权重压缩与去噪
Data-free Weight Compress and Denoise for Large Language Models
AI总结:
本文提出无数据联合秩-k近似方法,在不使用校准数据的情况下压缩大语言模型参数矩阵,实现80%参数剪枝并保留93.43%性能,同时与剪枝和量化方法兼容。
摘要:
大语言模型(LLMs)正在重塑人工智能的研究格局,尤其是随着模型参数的大幅扩展,其在各个领域展现出了非凡的能力。然而,由于GPU内存和计算速度的限制,模型参数的可扩展性面临制约。为解决这些限制,各种权重压缩方法应运而生,如剪枝(Pruning)和量化(Quantization)。鉴于语言模型中权重矩阵的低秩特性,通过矩阵分解来减少权重无疑具有巨大的潜力和前景。在本文中,基于大语言模型的内在结构,我们提出了一种新颖的方法,称为无数据联合秩-k近似(Data-free Joint Rank-k Approximation),用于压缩参数矩阵。值得注意的是,我们的方法的特点是无需额外涉及任何语料库,同时在与剪枝和量化方法结合时保持正交性。我们在没有任何校准数据的情况下,实现了80%参数的模型剪枝,同时保留了原始性能的93.43%。此外,我们探讨了经过秩-k近似处理的大语言模型权重矩阵的基本性质,并进行了全面的实验来阐明我们的假设。
英文摘要:
Large Language Models (LLMs) are reshaping the research landscape in artificial intelligence, particularly as model parameters scale up significantly, unlocking remarkable capabilities across various domains. Nevertheless, the scalability of model parameters faces constraints due to limitations in GPU memory and computational speed. To address these constraints, various weight compression methods have emerged, such as Pruning and Quantization. Given the low-rank nature of weight matrices in language models, the reduction of weights through matrix decomposition undoubtedly holds significant potential and promise. In this paper, drawing upon the intrinsic structure of LLMs, we propose a novel approach termed Data-free Joint Rank-k Approximation for compressing the parameter matrices. Significantly, our method is characterized by without necessitating additional involvement of any corpus, while simultaneously preserving orthogonality in conjunction with pruning and quantization methods. We achieve a model pruning of 80% parameters while retaining 93.43% of the original performance without any calibration data. Additionally, we explore the fundamental properties of the weight matrix of LLMs undergone Rank-k Approximation and conduct comprehensive experiments to elucidate our hypothesis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。