Low-Rank Adaptation
LoRA's parameterisation, why B starts at zero and the update is scaled by α/r, and the low-rank hypothesis that the method rests on but does not prove.
The parameterisation
For a frozen pretrained matrix , a rank- adapter replaces it with
where and are trained and is not. The scalar is a fixed hyperparameter.
The adapter has trainable parameters against for the full matrix, a reduction factor of
For a square matrix this is .
Why starts at zero
Initialise and with i.i.d. entries of variance \sigma^2 > 0. Then at initialisation , so the adapted network computes exactly the pretrained function; yet the gradient with respect to is generally non-zero, so training is not stuck.
Key idea
The asymmetry is the point. Initialising both factors at zero would leave both gradients zero, a genuine stationary point. Initialising both randomly would perturb the pretrained function before any learning, discarding some of what you are paying to keep. Exactly one factor at zero gives you the pretrained function at step zero and a live gradient.
The scaling
Let and have i.i.d. mean-zero entries with variances and respectively, independent of each other. Then
so the expected squared magnitude falls as rather than growing linearly with as it would without the scaling.
What a rank constraint can and cannot represent
Let have singular values and SVD . Then for any , the truncation satisfies
\min_{\operatorname{rank}(N)\le r}\|M - N\|_F^2 = \|M-M_r\|_F^2 = \sum_{i>r}\sigma_i^2,and the analogous statement in spectral norm with value .
Key idea
Eckart–Young tells you the price of a rank budget, given the matrix: it is the tail of the singular value spectrum. So LoRA at rank can represent the ideal full fine-tuning update well exactly when that update has rapidly decaying singular values. The theorem converts the question "is LoRA enough?" into an empirical question about a spectrum — and notice that it does not answer it.
The hypothesis underneath
Conjecture — believed, supported by evidence, not proved.
For a pretrained model of sufficient capability and a downstream task in its neighbourhood, there exists a weight update achieving near-full-fine-tuning performance whose singular values decay fast enough that .
What this does not say
Rank is not the only thing that matters. Which matrices carry adapters — attention projections only, or the MLP too — changes results substantially and is not addressed by anything above. The propositions here concern a single matrix in isolation; the composition of many adapted layers, and the interaction with a frozen quantized base as in QLoRA, are outside what has been proved here.
References
- PaperE. Hu et al. (2021). LoRA: Low-Rank Adaptation of Large Language Models
- PaperA. Aghajanyan, L. Zettlemoyer, S. Gupta (2020). Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuning
- PaperT. Dettmers et al. (2023). QLoRA: Efficient Finetuning of Quantized LLMs
These works are cited as sources to read, not reproduced. All exposition, examples and problems on this site are written independently; where an argument is standard, the citation points to a canonical treatment.
Results stated on this page
- PropositionTrainable parameter countproof includedA rank-r adapter on a d×k matrix trains r(d+k) parameters instead of dk, a reduction by dk/(r(d+k)).
- PropositionZero initialisation preserves the pretrained functionproof includedInitialising B = 0 makes the adapted model identical to the pretrained one at step zero while keeping the gradient non-zero.
- PropositionThe α/r scaling makes updates rank-invariant in magnitudeproof includedUnder standard initialisation, scaling by α/r keeps the expected size of the update independent of r, so the learning rate need not be retuned per rank.
- TheoremEckart–Young–Mirskyproof includedThe best rank-r approximation in Frobenius or spectral norm is given by truncating the SVD, with error determined by the discarded singular values.
- ConjectureThe low-rank update hypothesisThat the weight change required to adapt a pretrained model to a downstream task is well approximated by a low-rank matrix — assumed by LoRA, supported empirically, not proved.