On the Optimization Landscape of Low Rank Adaptation Methods for Large Language Models

Xu-Hui Liu, Yali Du, Jun Wang, Yang YuICLR 2025

Introduction

Researchers have finally provided a theoretical explanation for the performance gap between popular low-rank adaptation methods like LoRA and GaLore. By analyzing their optimization landscapes, they demonstrate that GaLore maintains a better path to global minima with fewer traps. Building on this theoretical foundation, they introduce GaRare (Gradient Random Projection), a novel method that replaces expensive Singular Value Decomposition (SVD) computations with random projections, matching GaLore’s performance while further reducing memory usage.

The Memory Challenge in LLM Training

Training and fine-tuning Large Language Models (LLMs) is highly memory-intensive. To mitigate this, Parameter-Efficient Fine-Tuning (PEFT) methods are widely used. The most prominent method, LoRA (Low-Rank Adaptation), adds small trainable matrices to frozen weights. A more recent alternative, GaLore (Gradient Low-Rank Projection), compresses the gradient matrix during training instead.

While GaLore often converges faster and performs better than LoRA, the mathematical reasons behind this success have remained unclear. Most existing optimization theories assume convex loss functions, but neural networks are highly non-convex and riddled with "spurious local minima"—mathematical traps where training stalls. This paper maps the optimization landscapes of these methods to explain their empirical success and discover ways to improve efficiency.

Analyzing Optimization Landscapes

The authors employ a framework based on the PL* condition (a variant of the Polyak-Łojasiewicz condition). If a region of the optimization landscape satisfies this condition, the optimizer is guaranteed to find a solution with an exponential convergence rate.

They compared the landscapes of three approaches:

  1. Full-rank: Standard training of all parameters.
  2. LoRA: Training a low-rank bottleneck added to the weights.
  3. GaLore: Projecting gradients into a low-rank space using SVD.

Introducing GaRare

Based on their landscape analysis, the authors proposed GaRare. While GaLore uses SVD to find the optimal projection matrix—a slow and memory-heavy process—GaRare proves that a randomly generated matrix can achieve the same optimization benefits. This eliminates the need for SVD, significantly reducing the memory footprint of optimizer states.

Key Insights

  • LoRA’s "Small Window": The analysis reveals that LoRA significantly shrinks the region of the parameter space satisfying the PL* condition. By drastically reducing the number of trainable parameters, it loses the benefits of over-parameterization, making the optimization landscape harder to navigate.
  • GaLore’s Hidden Advantage: Surprisingly, GaLore can exhibit a better landscape than full-rank training. Projecting gradients into a low-rank space effectively filters out many spurious local minima that might otherwise trap a full-rank optimizer.
  • Randomness is Sufficient: The most striking finding is that the projection matrix does not need to be optimal. As long as the random matrix is generated from a Gaussian distribution, it preserves the over-parameterization of the original system. This allows GaRare to retain the landscape benefits of GaLore without the computational overhead.
Comparison of GaLore and GaRare across different ranks

Experimental Validation and Results

The authors validated their theory and the GaRare algorithm across multiple scales, from simple MLPs on CIFAR-10 to LLM pre-training (LLaMA 60M to 7B on the C4 dataset) and fine-tuning (RoBERTa on the GLUE benchmark).

  • Memory Efficiency: For a LLaMA 7B model, GaRare required only 16GB of memory, compared to 18GB for GaLore and 26GB for standard Adam.
  • Performance Parity: In pre-training tasks, GaRare achieved validation perplexity scores nearly identical to GaLore and full-rank methods, significantly outperforming LoRA and other baselines like FLoRA.
  • Fine-tuning Success: On the GLUE benchmark, GaRare matched or slightly exceeded GaLore’s average scores, proving it to be a robust drop-in replacement for existing PEFT methods.
Accuracy comparison of various adaptation methods across different hidden dimensions

Limitations and Future Work

The primary limitation is that the theoretical analysis is currently confined to MLP architectures. While empirical results show these insights translate well to Transformers, formal mathematical proofs for Transformer-specific components like Attention layers remain for future work. Additionally, exploring dynamic optimization of the "subspace update frequency" could further accelerate training.

Summary updated

BibTeX
@inproceedings{liu2025optimization,
  author = {Xu-Hui Liu and Yali Du and Jun Wang and Yang Yu},
  title = {{On the Optimization Landscape of Low Rank Adaptation Methods for Large Language Models}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=pxclAomHat},
}
Figure