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

超越SGD,无须SVD:带有对角分数K-FAC的近端子空间迭代LoRA

Beyond SGD, Without SVD: Proximal Subspace Iteration LoRA with Diagonal Fractional K-FAC

Yandex School of Data Analysis(雅各布斯数据分析学校);SB AI Lab(SB人工智能实验室);Moscow Independent Research Institute of Artificial Intelligence (MIRAI)(莫斯科独立人工智能研究所(MIRAI));Basic Research of Artificial Intelligence Laboratory (BRAIn Lab)(人工智能基础研究实验室(BRAIn Lab))

Abdulla Jasem Almansoori, Maria Ivanova, Andrey Veprikov, Aleksandr Beznosikov, Samuel Horváth, Martin Takáč

AI总结:

本文提出LoRSum方法,通过近端子问题求解和交替最小二乘更新,提升LoRA微调的效率和性能,避免完整矩阵SVD投影。

摘要:

低秩适应(LoRA)通过在冻结权重上学习低秩更新来微调大型模型,大幅减少可训练参数和内存。在本文中,我们解决在使用完整步骤的低秩投影(SVDLoRA)训练与LoRA微调之间的差距。我们提出了LoRSum,一个内存高效的子程序,通过将LoRA优化视为近端子问题,并通过交替最小二乘更新高效求解,从而填补这一差距。我们证明这种更新是一种隐式的块幂方法。我们恢复了最近提出的LoRA预条件方法作为特殊情况,并展示了LoRSum也可用于更新低秩动量。为了应对预条件梯度下降的完整步骤,我们提出了一种LoRSum的缩放变体,使用结构化度量如K-FAC和Shampoo,并证明存储这些度量的对角线仍能保持良好的性能,同时保持内存效率。在合成任务、CIFAR-100以及GLUE、SQuAD v2和WikiText-103上的语言模型微调实验表明,我们的方法在适度的计算开销下可以匹配或改进LoRA基线,同时避免完整的矩阵SVD投影并保留LoRA风格的参数效率。

英文摘要:

Low-Rank Adaptation (LoRA) fine-tunes large models by learning low-rank updates on top of frozen weights, dramatically reducing trainable parameters and memory. In this work, we address the gap between training with full steps with low-rank projections (SVDLoRA) and LoRA fine-tuning. We propose LoRSum, a memory-efficient subroutine that closes this gap for gradient descent by casting LoRA optimization as a proximal sub-problem and solving it efficiently with alternating least squares updates, which we prove to be an implicit block power method. We recover several recently proposed preconditioning methods for LoRA as special cases, and show that LoRSum can also be used for updating a low-rank momentum. In order to address full steps with preconditioned gradient descent, we propose a scaled variant of LoRSum that uses structured metrics such as K-FAC and Shampoo, and we show that storing the diagonal of these metrics still allows them to perform well while remaining memory-efficient. Experiments on a synthetic task, CIFAR-100, and language-model fine-tuning on GLUE, SQuAD v2, and WikiText-103, show that our method can match or improve LoRA baselines given modest compute overhead, while avoiding full-matrix SVD projections and retaining LoRA-style parameter efficiency.

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

↑