arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06204cs.LGcs.AIcs.CL
收藏

跨LoRA秩的学习率缩放与对全微调的迁移

Learning Rate Scaling across LoRA Ranks and Transfer to Full Finetuning

Department of Applied Mathematics and Statistics, Johns Hopkins University, Maryland, United States of America(应用数学与统计学系,约翰霍普金斯大学,马里兰,美国)

Nan Chen, Soledad Villar, Soufiane Hayou

AI总结:

本文提出μA框架,揭示LoRA学习率与适配器秩的缩放规律,并实现从LoRA到全微调的学习率迁移。

摘要:

低秩适应(LoRA)是参数高效微调大型模型的标准工具。尽管它诱导了一个小的记忆足迹,但其训练动态可以出人意料地复杂,因为它们依赖于几个超参数,如初始化、适配器秩和学习率。特别是,不清楚最优学习率如何随适配器秩缩放,这迫使从业者在改变秩时重新调整学习率。在本文中,我们引入了最大更新适应(μA),一种理论框架,它描述了

英文摘要:

Low-Rank Adaptation (LoRA) is a standard tool for parameter-efficient finetuning of large models. While it induces a small memory footprint, its training dynamics can be surprisingly complex as they depend on several hyperparameters such as initialization, adapter rank, and learning rate. In particular, it is unclear how the optimal learning rate scales with adapter rank, which forces practitioners to re-tune the learning rate whenever the rank is changed. In this paper, we introduce Maximal-Update Adaptation ($μ$A), a theoretical framework that characterizes how the "optimal" learning rate should scale with model width and adapter rank to produce stable, non-vanishing feature updates under standard configurations. $μ$A is inspired from the Maximal-Update Parametrization ($μ$P) in pretraining. Our analysis leverages techniques from hyperparameter transfer and reveals that the optimal learning rate exhibits different scaling patterns depending on initialization and LoRA scaling factor. Specifically, we identify two regimes: one where the optimal learning rate remains roughly invariant across ranks, and another where it scales inversely with rank. We further identify a configuration that allows learning rate transfer from LoRA to full finetuning, drastically reducing the cost of learning rate tuning for full finetuning. Experiments across language, vision, vision--language, image generation, and reinforcement learning tasks validate our scaling rules and show that learning rates tuned on LoRA transfer reliably to full finetuning.

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

↑