atlas

Research map / Architectures and efficiency / Pruning and efficient tuning

GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projection

ICML 2024 · Architectures and efficiency › Pruning and efficient tuning · approach: LoRA variants and theory · 11 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.

Proposes GaLore, which projects weight gradients into a low-rank subspace (via periodic SVD) so Adam-style optimizer states are stored in compact form, enabling full-parameter LLM pre-training and fine-tuning with much lower memory.

Problem

Memory cost of weights, gradients and optimizer states in LLM pre-training and fine-tuning; low-rank adaptation methods like LoRA underperform full-rank training and can require full-rank warmup.

Approach

Instead of low-rank parameterizing the weights (LoRA/ReLoRA), project the gradient matrix into a low-rank subspace using SVD-derived projectors refreshed every T steps, run the optimizer on the compact projected gradient, and project the update back, so full-parameter learning is preserved while optimizer states shrink.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Use GaLore instead of full-rank Adam trainingLLaMA pre-training · C4 validation, 60M–1B modelsperplexity: 34.06 -> 34.88; 25.08 -> 25.36; 18.80 -> 18.95; 15.56 -> 15.64Hurt
Use GaLore instead of LoRALLaMA pre-training · C4 validation, 60M–1B modelsperplexity: 34.99 -> 34.88; 33.92 -> 25.36; 25.58 -> 18.95; 19.21 -> 15.64Helped
Use GaLore instead of ReLoRALLaMA pre-training · C4 validation, 60M–1B modelsperplexity: 37.04 -> 34.88; 29.37 -> 25.36; 29.08 -> 18.95; 18.33 -> 15.64Mixed
Replace 8-bit Adam with 8-bit GaLoreLLaMA 7B pre-training · C4, 40K–150K stepsperplexity: 18.09 -> 17.94; 15.47 -> 15.39; 14.83 -> 14.95; 14.61 -> 14.65Mixed
Use GaLore rank 4 instead of LoRA rank 4RoBERTa-Base fine-tuning · GLUE averageaverage score: 85.61 -> 85.89Helped
Use GaLore rank 8 instead of LoRA rank 8RoBERTa-Base fine-tuning · GLUE averageaverage score: 85.93 -> 85.94No clear effect
Change subspace-switching frequency to be too frequent or too slow (ablation)GaLore pre-training · C4convergenceHurt
Reduce subspace rank (ablation)GaLore pre-training · C4convergence rateHurt
Train rank 128 for 80K steps instead of rank 512 for 20K steps (ablation)GaLore · C4 pre-trainingloss: rank of 128 using 80K steps; rank of 512 using 20K stepsHelped

Surprising findings

Limitations

Experimental setup

Datasets: C4 GLUE

Benchmarks: C4 validation perplexity GLUE

Metrics: validation perplexity GLUE average score memory estimate (GB) throughput (tokens/s)

Baselines: Full-Rank Low-Rank LoRA ReLoRA 8-bit Adam Adafactor AdamW

Builds on: LoRA ReLoRA Adam 8-bit optimizers Adafactor

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