arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.32142cs.LGcs.AI
收藏

重新思考用于鲁棒非对称学习率的LoRA初始化

Rethinking LoRA Initialization for Robust Asymmetric Learning Rates

University of Waterloo(滑铁卢大学);Vector Institute(向量研究所)

Disen Liao, Yaoliang Yu

AI总结:

本文针对LoRA学习率敏感问题,提出initAA初始化方法,通过缩放A的方差抑制初始化噪声,稳定非对称LoRA训练,拓宽稳定学习率区域,使η_B≈nη_A成为实用调优起点。

摘要:

低秩适配(LoRA)通常对学习率(LR)的选择高度敏感。近期实证研究表明,一旦学习率经过仔细调优,标准LoRA仍可与诸多已提出的LoRA变体竞争。这使得核心实际问题从设计更多变体转向降低学习率选择的成本与脆弱性。LoRA+通过非对称学习率解决该问题,为上投影矩阵B使用比下投影矩阵A更大的学习率。然而,η_B/η_A的比值本身成为额外超参数:大比值可提升适配性,但在标准LoRA初始化下,也会导致训练不稳定及依赖比值的性能崩溃。我们通过LoRA动态的信号-噪声分解识别这种脆弱性的来源。在标准initA下,更新包含初始化诱导的噪声项,其幅度受B的学习率η_B、初始化尺度β及适配器秩r影响。在实际大语言模型(LLM)微调中,这种非零噪声会限制LoRA+式非对称学习率预期的性能提升。为抑制该效应,我们提出initAA,一种简单的初始化方式,将A的方差缩放为σ_A²∝n⁻²,同时保持B₀=0。在两种初始化的秩与训练时间匹配的情况下,这会将初始化噪声能量额外降低1/n倍,在保留适配器初始输出为零的同时稳定非对称LoRA训练。实证表明,initAA在初始化尺度、适配器秩及LoRA更新乘数范围内大幅拓宽了稳定学习率区域。在各类任务与模型中,initAA降低了最佳比值漂移,防止了标准initA下观察到的高比值崩溃,并使基于宽度的准则η_B≈nη_A成为有限预训练模型的有用起点。

英文摘要:

Low-Rank Adaptation (LoRA) is often highly sensitive to learning-rate (LR) choices. Recent empirical studies suggest that, once LRs are carefully tuned, vanilla LoRA can remain competitive with many proposed LoRA variants. This shifts the central practical question from designing ever more variants to reducing the cost and brittleness of LR selection. LoRA+ addresses this issue with asymmetric LRs, using a larger LR for the up-projection matrix $B$ than for the down-projection matrix $A$. However, the ratio $η_B / η_A$ itself becomes an additional hyperparameter: large ratios can improve adaptation, but under the standard LoRA initialization they can also cause unstable training and ratio-dependent performance collapse. We identify the source of this brittleness through a signal--noise decomposition of LoRA dynamics. Under standard \initA, the update contains an initialization-induced noise term whose magnitude can be affected by the LR for $B$, $η_B$, the initialization scale $β$, and the adapter rank $r$. In practical LLM fine-tuning, this non-vanishing noise can limit the performance gains expected from LoRA+ style asymmetric LRs. To suppress this effect, we propose \initAA, a simple initialization that scales the variance of $A$ as $σ_A^2 \propto n^{-2}$ while keeping $B_0=0$. Under matched rank and training time for both initializations, this reduces the initialization-noise energy by an additional factor of $1/n$, stabilizing asymmetric LoRA training while preserving zero initial adapter output. Empirically, \initAA substantially widens the stable LR region across initialization scales, adapter ranks, and LoRA update multipliers. Across tasks and models, \initAA reduces best-ratio drift, prevents the high-ratio collapse observed with standard \initA, and makes the width-based guideline $η_B \approx n η_A$ a useful starting point for finite pretrained models.

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

↑