atlas

Research map / Learning theory and algorithms / Sample complexity

The Impact of Initialization on LoRA Finetuning Dynamics

NeurIPS 2024 · Learning theory and algorithms › Sample complexity · approach: Generalization and limits under data constraints · 6 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Shows that initializing LoRA's A randomly and B to zero (A-init) allows larger stable learning rates and better finetuning than the reverse (B-init), via infinite-width analysis and experiments on RoBERTa, TinyLlama and Llama-7b.

Problem

Which of the two LoRA initialization schemes (random A with zero B, or zero A with random B) should be used, since their product BA is zero at init but their finetuning dynamics may differ; prior work did not study this choice.

Approach

Applies a large-width (mu-P style, gamma-operator) scaling analysis to LoRA to show that random-A/zero-B initialization tolerates learning rates up to Theta(n^-1/2) versus Theta(n^-1) for random-B/zero-A, giving efficient feature learning at the cost of internal feature growth in Z_A.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Initialize A randomly and B to zero instead of initializing B randomly and A to zeroLoRA finetuning with RoBERTa-Large · MNLI testaccuracy: 89.47 -> 90.69Helped
Initialize A randomly and B to zero instead of initializing B randomly and A to zeroLoRA finetuning · GLUE tasks (MNLI, SST2, QNLI)performanceHelped
Initialize A randomly and B to zero instead of initializing B randomly and A to zeroLoRA finetuning with TinyLlama · WikiText-2test perplexityHelped
Initialize A randomly and B to zero instead of initializing B randomly and A to zeroLoRA finetuning with Llama-7B · Flan-v2; MMLU 5-shotaccuracyHelped
Initialize A randomly and B to zero instead of initializing B randomly and A to zeroLoRA finetuning with Llama-7B · GSM8KaccuracyHelped
Use init A rather than init BLoRA finetuning · Large-width limitmaximum stable learning rate: Θ(n^{-1}) -> Θ(n^{-1/2})Helped
Use init B rather than init ALoRA finetuning · Large-width limitefficient feature learningHurt

Surprising findings

Limitations

Experimental setup

Datasets: GLUE (MNLI, SST2, QNLI) Flan-v2 (100k subset) GSM8k WikiText-2 synthetic teacher-student data

Benchmarks: MNLI SST2 QNLI MMLU GSM8k WikiText-2 perplexity

Metrics: test accuracy optimal learning rate test perplexity train loss

Baselines: LoRA+ (B-init comparison) LoRA default initialization (B zero, A random) from Hu et al.

Builds on: LoRA LoRA+ mu-P Tensor Programs

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy