LoRA Training Provably Converges to a Low-Rank Global Minimum or It Fails Loudly (But it Probably Won't Fail)

Junsu Kim, Jaeyeon Kim, Ernest K. Ryu

Abstract

Low-Rank Adaptation (LoRA) has emerged as the standard for fine-tuning large-scale models, yet its theoretical underpinnings remain under-explored. This paper investigates the optimization landscape of LoRA, which is inherently non-convex due to its matrix factorization structure ($X = AB^T$). We demonstrate that while "spurious" local minima exist, they are characterized by high rank and large magnitude, making them physically distant from standard starting points. By leveraging the Burer-Monteiro factorization framework, we prove that standard practices—specifically zero-initialization and weight decay—provide an implicit bias that steers the optimization process toward low-rank global minima. Our findings, validated on RoBERTa and Vision Transformers, suggest that LoRA is robust against optimization failure in practical regimes.

Introduction

Low-Rank Adaptation (LoRA) has revolutionized the fine-tuning of massive models like Llama and Stable Diffusion by updating only a small fraction of parameters. Despite its empirical success, the theoretical community has struggled to explain why LoRA avoids the pitfalls of non-convex optimization. Most existing theories rely on "linearization"—the assumption that models behave like linear functions (the Neural Tangent Kernel regime). However, real-world fine-tuning often involves significant weight shifts that break these linear assumptions.

The central mystery is why the matrix factorization problem introduced by LoRA does not get trapped in spurious local minima—solutions that appear optimal locally but are globally inferior. This paper addresses this gap by analyzing the LoRA loss landscape without relying on linearization.

Theoretical Framework: The Burer-Monteiro Perspective

The authors analyze LoRA using the Burer-Monteiro factorization framework, a common tool in matrix sensing. They move beyond simple two-layer models to analyze the landscape through two key properties:

  1. Restricted Strong Convexity (RSC) and Restricted Smoothness (RSM): Rather than assuming the entire landscape is well-behaved, the authors assume it is well-conditioned specifically for low-rank matrices within a defined distance of the optimal solution.
  2. Second-Order Stationary Point (SOSP) Analysis: The study focuses on SOSPs—points where the gradient is zero and the Hessian (curvature) does not allow for further descent.

The analysis distinguishes between a "special regime," where the landscape is perfectly conditioned, and a more realistic "generic regime" encountered in practice.

The "Fail Loudly" Theorem

The core contribution of the paper is the "Fail Loudly" theorem. In the generic regime, the authors prove that any local minimum encountered during training is either:

  • A global minimum: Characterized by low rank and small magnitude.
  • A spurious minimum: Characterized by high rank and large magnitude.

This implies that if LoRA training fails, it does not do so subtly. A failed run would be marked by exploding weight updates and a massive increase in the rank of the adaptation matrix.

Implicit Bias: The Role of Initialization and Weight Decay

Why do we rarely see these "loud" failures in practice? The authors identify two primary "safety rails" in standard LoRA implementations:

  • Zero-Initialization: Standard LoRA initializes the $B$ matrix to zero, ensuring the initial update is zero. This keeps the optimizer in the "low-magnitude, low-rank" neighborhood where global minima reside.
  • Weight Decay as a Rank Proxy: The authors demonstrate that applying weight decay to the LoRA matrices $A$ and $B$ is mathematically equivalent to penalizing the nuclear norm of the combined update $X$. Since the nuclear norm is a common proxy for rank, weight decay acts as a regularizer that keeps the updates low-rank.

Furthermore, empirical evidence suggests that as the LoRA rank $r$ increases, the ratio of smoothness to convexity worsens. This implies that using a smaller rank is not just a memory-saving tactic; it may actually simplify the optimization problem.

Empirical Validation

The authors validated these theoretical insights using two primary benchmarks:

  1. SST-2 (NLP): Fine-tuning a RoBERTa-base model on sentiment analysis.
  2. CIFAR-100 (Vision): Fine-tuning a Vision Transformer (ViT).

By performing Monte Carlo sampling, they confirmed that real-world models satisfy the RSC and RSM conditions for low ranks (e.g., $r=8$ or $16$). However, these conditions begin to break down as the rank increases (e.g., $r=64$).

In "failure" experiments, the authors compared standard zero-initialization with large random initialization. While zero-init led to high accuracy and low-rank updates, large random initialization caused the model to trap in spurious minima where the rank jumped to the maximum allowed and test accuracy remained poor. This confirms that the "loud" failure mode is a real phenomenon that is effectively bypassed by standard initialization strategies.

Limitations and Future Directions

While this work provides a robust foundation for LoRA, several challenges remain. Calculating the exact Hessian of a deep neural network is computationally prohibitive, forcing the authors to limit some empirical measurements to specific layers. Additionally, while the paper moves beyond linearization, the precision of the implicit bias characterization is currently strongest for deep linear networks. Extending this to the fully non-linear dynamics of Transformers remains a frontier for future research.

Summary updated

BibTeX
@inproceedings{kim2025lora,
  author = {Junsu Kim and Jaeyeon Kim and Ernest K. Ryu},
  title = {{LoRA Training Provably Converges to a Low-Rank Global Minimum or It Fails Loudly (But it Probably Won't Fail)}},
  booktitle = {International Conference on Machine Learning},
  year = {2025},
  url = {https://openreview.net/forum?id=o9zDYV4Ism},
}
Figure