arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.07479cs.LGcs.ITeess.SPmath.ITmath.OC
收藏

ODELoRA: 通过求解常微分方程进行低秩适应训练

ODELoRA: Training Low-Rank Adaptation by Solving Ordinary Differential Equations

Department of Mathematics, National University of Singapore(数学系,新加坡国立大学);Department of Mathematics and Department of Electrical and Computer Engineering, National University of Singapore(数学系和电气与计算机工程系,新加坡国立大学)

Yihang Gao, Vincent Y. F. Tan

AI总结:

ODELoRA通过求解常微分方程实现低秩适应训练,提供统一的ODE视角并实现线性收敛与稳定特征学习。

摘要:

低秩适应(LoRA)已作为一种广泛采用的参数高效微调方法在深度迁移学习中崭露头角,由于其通过Burer-Monteiro因子分解在适应矩阵上减少了可训练参数的数量并降低了内存需求。然而,经典LoRA训练方法将低秩因子矩阵单独处理,并使用标准梯度算法进行优化。这种解耦优化方案在理论和实践中都是次优的,因为它们无法充分利用LoRA参数化的内在结构。在本工作中,我们提出了一种新的连续时间优化动态,以常微分方程(ODE)的形式对LoRA因子矩阵进行优化,以模拟在平衡流形上完整微调的梯度流。我们称这种方法为ODELoRA。为了忠实跟踪ODELoRA的轨迹,我们采用已建立且理论上有根据的时间离散化方案,包括欧拉法和龙格-库塔方法。我们的框架为理解和设计LoRA训练算法提供了一个统一的ODE视角。我们建立了在强凸目标函数下,对于某些离散化方案,在温和条件下所提出方法的线性收敛性,并进一步将分析扩展到矩阵感知设置。此外,我们表明ODELoRA实现了稳定的特征学习,这一特性对于在不同问题维度规模上训练深度神经网络至关重要。在矩阵感知任务上的实验证实了推导出的线性收敛行为,并在训练物理信息神经网络的实验中进一步展示了ODELoRA相对于现有基线的优越性,尤其是在训练稳定性方面。

英文摘要:

Low-rank adaptation (LoRA) has emerged as a widely adopted parameter-efficient fine-tuning method in deep transfer learning, due to its reduced number of trainable parameters and lower memory requirements enabled by Burer-Monteiro factorization on adaptation matrices. However, classical LoRA training methods treat the low-rank factor matrices individually and optimize them using standard gradient-based algorithms. Such decoupled optimization schemes are theoretically and empirically suboptimal, as they fail to fully exploit the intrinsic structure of the LoRA parameterization. In this work, we propose a novel continuous-time optimization dynamic for LoRA factor matrices in the form of an ordinary differential equation (ODE) that emulates the gradient flow of full fine-tuning on the balanced manifold. We term this approach ODELoRA. To faithfully track the trajectories of ODELoRA, we adopt well-established and theoretically grounded time-discretization schemes, including Euler and Runge--Kutta methods. Our framework provides a unified ODE-based perspective for understanding and designing LoRA training algorithms. We establish linear convergence of the proposed method under strongly convex objectives for certain discretization schemes under mild conditions, and further extend our analysis to the matrix sensing setting. Moreover, we show that ODELoRA achieves stable feature learning, a property that is crucial for training deep neural networks at different scales of problem dimensionality. Empirical results on matrix sensing tasks confirm the derived linear convergence behavior, and experiments on training physics-informed neural networks further demonstrate the superiority of ODELoRA over existing baselines, especially in the training stability.

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

↑