atlas

Research map / Optimization / Optimizers

Memory-Efficient LLM Training with Online Subspace Descent

NeurIPS 2024 · Optimization › Optimizers · approach: Memory-efficient LLM optimizers · 3 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 Online Subspace Descent, which updates the GaLore-style projection matrix with online PCA instead of SVD, and proves a convergence guarantee for subspace descent with arbitrary projection update rules under a Hamiltonian-descent analysis.

Problem

Memory-efficient LLM training via low-rank gradient projection (GaLore-style) relies on SVD to compute projection matrices, which is expensive and lacks convergence guarantees for arbitrary projection update rules on non-convex objectives.

Approach

Replace periodic SVD of the gradient with continuous online PCA updates of the projection matrix (one optimizer step on a PCA-style reconstruction loss per iteration, run in parallel with weight updates), and show via Hamiltonian-descent Lyapunov analysis that the optimizer converges to stationary points for any smooth projection update rule satisfying a mild condition.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Replace GaLore with Online Subspace DescentLLaMA 7B pretraining · C4, 10K stepsperplexity: 51.21 -> 43.72Helped
Replace GaLore with Online Subspace DescentLLaMA 7B pretraining · C4, 10K stepswall-clock time: 9.7439 -> 7.1428 hoursHelped
Replace GaLore with Online Subspace DescentLLaMA 7B checkpoint · GLUE RTEscore: 0.5018 -> 0.4901Hurt
Replace GaLore with Online Subspace DescentLLaMA 7B checkpoint · GLUE MRPCscore: 0.6838 -> 0.6982Helped
Replace GaLore with Online Subspace DescentLLaMA 7B checkpoint · GLUE SST2score: 0.5183 -> 0.5233Helped
Replace GaLore with Online Subspace DescentLLaMA 7B checkpoint · GLUE MNLIscore: 0.3506 -> 0.3654Helped
Replace GaLore with Online Subspace DescentLLaMA 7B checkpoint · GLUE QNLIscore: 0.4946 -> 0.5142Helped
Replace GaLore with Online Subspace DescentLLaMA 7B checkpoint · GLUE QQPscore: 0.3682 -> 0.3795Helped
Replace GaLore with Online Subspace DescentLLaMA 7B checkpoint · GLUE averagescore: 0.4862 -> 0.4951Helped
Increase Online Subspace Descent rank from 32 to 128 (ablation)LLaMA 60M · C4, sequence length 1024perplexity: 85.90 -> 49.01Helped
Increase Online Subspace Descent rank from 128 to 512 (ablation)LLaMA 60M · C4, sequence length 1024perplexity: 49.01 -> 37.41Helped
Use AdamW8bit rather than LION for projection updates (ablation)Online Subspace Descent with LION weight optimizer · C4, LLaMA 60M, sequence length 1024perplexity: 57.97 -> 44.76Helped

Surprising findings

Limitations

Experimental setup

Datasets: C4

Benchmarks: C4 validation perplexity GLUE

Metrics: perplexity wall-clock time GPU memory

Baselines: GaLore Full-rank training LoRA ReLoRA Adam8bit

Builds on: GaLore Stochastic Subspace Descent Adam Lion ReLoRA

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