Skip to content

Learning Rate Scaling across LoRA Ranks and Transfer to Full Finetuning

Introduces Maximal-Update Adaptation (µA), the LoRA analogue of µP: a theoretical framework that derives how the optimal learning rate should scale with both model width nn and LoRA rank rr to give stable, non-vanishing feature updates in the joint limit n,rn, r \to \infty. The analysis separates LoRA design choices into two regimes — rank-dependent and rank-invariant — depending on which factor is randomly initialized (Init[A] vs Init[B]) and how the multiplier α\alpha scales with rr. The headline practical claim: under Init[B] (random BB, A=0A=0) with constant α=1\alpha=1, the optimal LoRA learning rate is rank-invariant and coincides with the optimal FFT learning rate, so an LR tuned for LoRA transfers directly to full finetuning. Verified across SFT (Llama-3.2-1B, Qwen2.5-3B, RoBERTa-large, ViT-H/14, Qwen3-VL-2B), RLVR, and Stable Diffusion finetuning.

  • Under Init[A] with constant α=1\alpha=1 the optimal LR scales as r1/2r^{-1/2} at fixed width: doubling rank requires halving the LR; observed across Llama-3.2-1B, RoBERTa-large, Qwen2.5-3B, ViT-H/14, Qwen3-VL-2B [§4.1 Corollary 4.4, §5.2 “Init[A] with α=1\alpha=1”, Fig. 2a, Fig. 3].
  • Under Init[A] with α=1/r\alpha=1/r the optimal LR is rank-invariant but the width scaling is different from FFT’s, and the stable LR range is narrow — small overshoots diverge, especially on Qwen2.5-3B and RoBERTa-large [§4.1, §5.2 “Init[A] with α=1/r\alpha=1/r”, Fig. 2b, Fig. 4].
  • Under Init[B] with constant α=1\alpha=1 the optimal LR is rank-invariant and matches FFT’s optimal LR, enabling direct LR transfer from LoRA → FFT [§4.2 Corollary 4.6, §5.2 “Init[B] with α=1\alpha=1”, Fig. 2c, Fig. 5].
  • The decomposition Δh=T1+T2+T3\Delta h = T_1 + T_2 + T_3 of the LoRA feature increment isolates contributions from training AA only, BB only, and the bilinear ΔAΔB\Delta A \Delta B cross-term; under each stable scaling exactly one TiT_i is Θ(1)\Theta(1) and the others vanish, giving a “learning-efficiency imbalance” diagnostic between the two factors [§3.1 Eq. 1, §4.1, §4.2].
  • Under Init[A], stable scaling forces T1=Θ(1)T_1 = \Theta(1) while T2,T30T_2, T_3 \to 0 — i.e. learning happens almost entirely through updates to BB and the adapter behaves like a random projection with AA effectively frozen at init [§4.1 “Learning efficiency”].
  • Under Init[B] with α=1\alpha=1 the imbalance flips — learning happens primarily through AA when rnr \ll n, and both factors contribute meaningfully only when rr is on the order of nn [§4.2 “Learning efficiency”].
  • The intermediate-feature scale (the rr-dimensional bottleneck activation) is suppressed under Init[A] with α=1\alpha=1 as rank grows but not under α=1/r\alpha=1/r, which the authors offer as the mechanistic reason Init[A] with α=1/r\alpha=1/r exhibits a narrower stable LR range [§4.1 “Intermediate feature scaling”].
  • µA scaling rules transfer beyond SFT: in RLVR they match the SFT trends, and crucially, suboptimal LRs increase wall-clock training time by 4–6× — so the µA prescription pays off in time, not just final reward [§5.3, Fig. 6c].
  • For text-to-image diffusion finetuning (Stable Diffusion), the same Init[B] + α=1\alpha=1 optimum coincides with FFT’s; FFT is more LR-sensitive on UNets (sharp FID rise above optimum), making LoRA-tuned LR transfer especially valuable as a low-memory proxy [§5.4, Fig. 7].
  • Theoretical assumptions: SignSGD as a tractable proxy for Adam, single-sample loss, joint limit n,rn, r \to \infty with r/n0r/n \to 0, only one LoRA layer trainable to isolate its contribution [§3.2, §4 Assumptions 4.1–4.2].
  • Practical workflow advocated: sweep LR with Init[B] + α=1\alpha=1 on a mid-tier GPU (LoRA uses ~half the GPU memory of FFT), then transfer the optimum directly to FFT on higher-capacity hardware with minimal re-tuning [§5.3, Fig. 6d].

The analysis parameterizes the LoRA layer as W+αBAW + \alpha B A with BRn×rB \in \mathbb{R}^{n \times r}, ARr×nA \in \mathbb{R}^{r \times n}, takes the joint asymptotic limit n,rn, r \to \infty, and asks when the LoRA-induced feature increment Δht=htLoRAh0LoRA\Delta h_t = h_t^{\text{LoRA}} - h_0^{\text{LoRA}} remains Θ(1)\Theta(1) — bounded but non-vanishing — at every step tt of a fixed-horizon training. This is the LoRA analogue of µP’s “stable feature learning” condition. The feature increment decomposes as T1+T2+T3T_1 + T_2 + T_3 (one-sided AA-update, one-sided BB-update, bilinear cross-term) and the authors require each Ti=O(1)T_i = O(1) with at least one =Θ(1)= \Theta(1).

Under each configuration (Init[A] vs Init[B], and choice of α{1,1/r,1/r}\alpha \in \{1, 1/r, 1/\sqrt{r}\}) this yields a closed-form scaling rule for the learning rate η\eta as a joint power of nn and rr. The optimizer is abstracted as SignSGD (tractable proxy for Adam) under a single-sample loss; signals are assumed bounded forward and backward (Assumption 4.1). Full proofs are in Appendix A; the body lists prescriptions in Table 1 (Init[A]) and Corollary 4.6 (Init[B] with α=1\alpha=1).

Experiments use a unified AdamW recipe (weight decay 0.1, global-norm gradient clip 1.0, linear warmup over 3% of steps to peak LR, cosine decay) across: SFT on Llama-3.2-1B/Tulu3, Qwen2.5-3B/OpenThoughts-114k, RoBERTa-large/ANLI, ViT-H/14/ImageNet-1K, Qwen3-VL-2B/LLaVA-Instruct-Mix; RLVR with verifiable rewards; and Stable Diffusion finetuning. For each (config, rank) pair, peak LR is swept on a log₂ grid with step 0.5 and the optimum selected by EMA-smoothed final training loss (also validation-metric-based sweeps in appendices).

  • Init[A], α=1\alpha=1, rank sweep: optimal log2(η)\log_2(\eta) decreases by ~1 unit per doubling of rr (matching the predicted r1/2r^{-1/2}) across Llama-3.2-1B, RoBERTa-large, Qwen2.5-3B, ViT-H/14, Qwen3-VL-2B [Fig. 3, §5.2].
  • Init[A], α=1/r\alpha=1/r, rank sweep: optimal LR falls within a ~0.5-unit log₂ band across ranks (rank-invariant); the stable range is narrow and overshoots diverge, especially on Qwen2.5-3B [Fig. 4].
  • Init[B], α=1\alpha=1, rank sweep: optimal LR is tightly clustered across ranks and aligns with the FFT optimum on every model except RoBERTa-large, where FFT prefers a slightly smaller LR (attributed to the jointly-trained classification head) [Fig. 5].
  • RLVR (Init[A] α=1/r\alpha=1/r): rank-invariant optimum confirmed; suboptimal LRs cost 4–6× wall-clock time with no reward gain [Fig. 6a, Fig. 6c].
  • RLVR (Init[B] α=1\alpha=1): rank-invariant optimum confirmed and aligns with FFT optimum; FFT uses ~2× the GPU memory of LoRA (gradient buffers + optimizer states), making the LoRA→FFT transfer workflow concretely cheaper [Fig. 6b, Fig. 6d].
  • Stable Diffusion finetuning: Init[A] α=1/r\alpha=1/r optimum is rank-invariant; Init[B] α=1\alpha=1 optimum is rank-invariant and matches FFT; FFT is sharply LR-sensitive (FID spikes at higher LRs) while LoRA is more forgiving [Fig. 7].
  • Scaling-rule fit quality: across all SFT runs the rank-invariant configs cluster within one log₂ grid step; rank-dependent configs shift monotonically by one grid step per doubling of rr, matching the r1/2r^{-1/2} prediction qualitatively.

This is the third paper on the wiki to attack the where does the right LR live? question and the first to push the analysis to finetuning rather than from-scratch pretraining. How to Set the Learning Rate for Large-Scale Pre-training? argues µP’s stability motivation has eroded for LLM pretraining; Controlled LLM Training on Spectral Sphere argues µP needs stronger enforcement via spectral-sphere optimizers. µA stakes out a third position: µP-style asymptotic analysis still has bite, but the right place to apply it is the LoRA configuration choice (initialization + α\alpha-schedule), where the bilinear BAB A structure introduces a new scalable dimension (rank) on top of width. The “Init[B] + α=1\alpha=1 transfers to FFT” finding is the kind of cheap, falsifiable hypothesis that’s directly checkable in Luma’s pretraining-adjacent finetuning runs.

The Slack post is explicit about the immediate Luma-internal question: Luma’s default LoRA init is A=0,BN,α=1/rA=0, B \sim \mathcal{N}, \alpha=1/r — which µA’s Table 1 / Appendix A.5 does cover (it’s Init[B] with α=1/r\alpha=1/r, not one of the three “named” configs in the tweet) but is not the configuration the paper’s recommended LR-transfer workflow uses. The cleanest internal action is: (a) switch the default to Init[B] + α=1\alpha=1 for finetuning, (b) tune LR on a small-rank LoRA, (c) transfer directly to FFT. The diffusion-side experiment (§5.4) is the closest analogue to Luma image/video model finetuning and the rule held there too.

Note also the learning-efficiency imbalance claim: under both Init[A] and Init[B] (small rr), one of the two LoRA factors contributes essentially nothing to feature learning. Under Init[A], updates to AA are noise; under Init[B] with rnr \ll n, updates to BB are noise. This is a separate question from LR transfer and suggests that the standard LoRA factorization may be over-parameterized for the rank regime in actual use.

  • Hyperparameter scaling laws — third datapoint promoting this concept; µA extends µP-style asymptotic analysis to the LoRA rank axis and identifies a configuration with strict LoRA → FFT LR transfer.
  • Training stability at scale — µA is a parametrization-side fix in the same family as µP; complements the architecture-side (QK-Norm, GatedNorm, mHC) and optimizer-side (SSO) lines on the wiki.
  • How to Set the Learning Rate for Large-Scale Pre-training? — argues µP’s stability motivation has eroded for LLM pretraining; µA shows µP-style analysis is still load-bearing for the LoRA rank/init/multiplier coupling.
  • Controlled LLM Training on Spectral Sphere — also a µP-aligned-optimization story; SSO addresses pretraining stability whereas µA addresses finetuning LR transfer.
  • Author’s tweet thread — Soufiane Hayou’s accessible summary of the two-regime result.