arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.02659cs.LGcs.AIcs.NAmath.NAstat.ML
收藏

通过随机子空间迭代实现预训练模型的低秩压缩

Low-Rank Compression of Pretrained Models via Randomized Subspace Iteration

University of Colorado Denver(科罗拉多大学丹佛分校)

Farhad Pourkamali-Anaraki

AI总结:

本文提出随机子空间迭代方法,通过改进的谱分离技术,在压缩预训练模型时提升预测精度,优于随机SVD。

摘要:

预训练模型的规模庞大,使得高效压缩对实际部署至关重要。基于奇异值分解(SVD)的低秩分解提供了模型简化的方法,但其精确计算对于大规模权重矩阵成本较高。随机替代方法如随机SVD(RSVD)提高了效率,但在奇异值谱缓慢衰减的 regime(现代预训练模型常见)中可能表现不佳。本文从理论和经验角度解决这一限制。首先,我们建立低秩近似误差与预测性能之间的联系,通过分析softmax扰动,显示类概率偏差受压缩权重的谱误差控制。其次,我们证明RSVD不足,并提出随机子空间迭代(RSI)作为更有效的替代方法。通过引入多个幂迭代,RSI提高了谱分离,并提供可控机制增强近似质量。我们在卷积网络和基于Transformer的架构上评估了我们的方法。结果表明,RSI在近似质量上接近最优,同时在高强度压缩下优于RSVD的预测精度,实现了高效的模型压缩。

英文摘要:

The massive scale of pretrained models has made efficient compression essential for practical deployment. Low-rank decomposition based on the singular value decomposition (SVD) provides a principled approach for model reduction, but its exact computation is expensive for large weight matrices. Randomized alternatives such as randomized SVD (RSVD) improve efficiency, yet they can suffer from poor approximation quality when the singular value spectrum decays slowly, a regime commonly observed in modern pretrained models. In this work, we address this limitation from both theoretical and empirical perspectives. First, we establish a connection between low-rank approximation error and predictive performance by analyzing softmax perturbations, showing that deviations in class probabilities are controlled by the spectral error of the compressed weights. Second, we demonstrate that RSVD is inadequate, and we propose randomized subspace iteration (RSI) as a more effective alternative. By incorporating multiple power iterations, RSI improves spectral separation and provides a controllable mechanism for enhancing approximation quality. We evaluate our approach on both convolutional networks and transformer-based architectures. Our results show that RSI achieves near-optimal approximation quality while outperforming RSVD in predictive accuracy under aggressive compression, enabling efficient model compression.

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

↑