atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

Flora: Low-Rank Adapters Are Secretly Gradient Compressors

ICML 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: LoRA variants and theory · 0 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 LoRA updates approximate a fixed random projection of gradients, and proposes Flora, which resamples random down/up projections to get high-rank updates with sublinear memory for gradient accumulation and momentum.

Problem

Optimizer state memory for training large neural networks grows linearly with model size, and LoRA reduces it only by restricting weight updates to low rank, hurting performance.

Approach

LoRA's update is dominated by a random projection of the gradient (B-only LoRA ≈ random projection). Flora compresses gradient accumulation and momentum by random down-projection and resamples the projection matrix over time, so the total weight change is not restricted to a low-rank subspace while optimizer states stay O(nr).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use Flora rank 512 instead of naive gradient accumulationT5-3B · XSumROUGE-1/ROUGE-2/ROUGE-L: 44.4/20.9/36.3 -> 44.5/20.9/36.4No clear effect
Use Flora rank 512 instead of naive gradient accumulationGPT-2-XL · IWSLT17 De-EnBLEU: 33.2 -> 33.6Helped
Use Flora rank 512 instead of naive gradient accumulationGPT-2-XL · IWSLT17 De-Enpeak memory (GiB): 26.5 -> 22.8Helped
Use Flora rank 256 instead of LoRA rank 256GPT-2 base · IWSLT17 De-En gradient accumulationBLEU: 13.4 -> 25.4Helped
Use Flora rank 256 instead of LoRA rank 256T5-small · XSum momentumROUGE-1/ROUGE-2/ROUGE-L: 22.2/5.04/17.9 -> 30.2/9.51/24.0Helped
Use Flora instead of AdamViT Base · CIFAR-100accuracy: 91.93 -> 92.15Helped
Use Flora instead of AdamViT Large · CIFAR-100accuracy: 92.97 -> 92.98No clear effect
Use Flora instead of GaLore60M language model · C4perplexity: 34.64 -> 32.52Helped
Use Flora instead of GaLore350M language model · C4perplexity: 27.17 -> 23.69Helped
Use Flora rank 256 instead of naive accumulationT5-small · XSum with linear-memory optimizerROUGE-1/ROUGE-2/ROUGE-L: 34.0/11.5/26.7 -> 33.5/11.1/26.3Hurt
Set momentum resampling interval κ to 1 rather than 1000 (ablation)Flora on T5-small · XSum momentumROUGE-1/ROUGE-2/ROUGE-L: 30.4/9.70/24.2 -> 0.00/0.00/0.00Hurt
Set momentum resampling interval κ to 100 (ablation)Flora on T5-small · XSum momentumROUGE-1/ROUGE-2/ROUGE-L: κ=100: 29.3/8.89/23.2; κ=1000: 30.4/9.70/24.2Mixed

Surprising findings

Limitations

Experimental setup

Datasets: XSum IWSLT17 German-English CIFAR-100 Fashion-MNIST C4

Benchmarks: XSum IWSLT17 De-En CIFAR-100 C4

Metrics: ROUGE-1/2/L SacreBLEU accuracy peak memory (GiB) perplexity

Baselines: LoRA Naive accumulation/momentum Adafactor GaLore Adam ReLoRA

Builds on: LoRA Adafactor Johnson-Lindenstrauss lemma GaLore

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