The impressive capabilities of large foundation models come at a cost of substantial computing resources to serve them. Compressing these pre-trained models is of practical interest as it can democratize deploying them to the machine learning community at large by lowering the costs associated with inference. A promising compression scheme is to decompose foundation models' dense weights into a sum of sparse plus low-rank matrices. In this paper, we design a unified framework coined HASSLE-free for (semi-structured) sparse plus low-rank matrix decomposition of foundation models. Our framework introduces the local layer-wise reconstruction error objective for this decomposition, we demonstrate that prior work solves a relaxation of this optimization problem; and we provide efficient and scalable methods to minimize the exact introduced optimization problem. HASSLE-free substantially outperforms state-of-the-art methods in terms of the introduced objective and a wide range of LLM evaluation benchmarks. For the Llama3-8B model with a 2:4 sparsity component plus a 64-rank component decomposition, a compression scheme for which recent work shows important inference acceleration on GPUs, HASSLE-free reduces the test perplexity by 12% for the WikiText-2 dataset and reduces the gap (compared to the dense model) of the average of eight popular zero-shot tasks by 15% compared to existing methods.
Transfer Denoising of Low-Rank Plus Sparse Matrices under Ambient and Rank Growth
Department of Operations Research & Financial Engineering, Princeton University(普林斯顿大学运筹学与金融工程系);Department of Technology, Operations, & Statistics, New York University(纽约大学技术、运营与统计系);Department of Computer Science, Dartmouth College(达特茅斯学院计算机科学系)
Kinetic Energy Plus Penalty Functions for Sparse Estimation
本文提出并研究了一类稀疏诱导罚函数。由于罚函数与狭义相对论中的动能有关,我们称之为\emph{kinetic energy plus}(KEP)函数。我们利用$χ^2$ -距离函数的凹共轭构造了KEP函数,并提出了利用$q=1$构造KEP函数的一些新的见解.特别地,我们推导了一个基于KEP函数的阈值算子,并证明了它的数学性质和在稀疏建模中的渐近性质。此外,我们表明,坐标下降算法是特别适合的KEP功能。此外,我们还讨论了KEP与罚函数$\ell_{1/2}$和MCP之间的关系。理论和实证分析验证了KEP函数在高维数据建模中的有效性和高效性。