Preconditioning Matters: Fast Global Convergence of Non-convex Matrix Factorization via Scaled Gradient Descent

Xixi Jia, Hailin Wang, Jiangjun Peng, Xiangchu Feng, Deyu Meng

TL;DR

This paper proves that Scaled Gradient Descent (ScaledGD) and its alternating variant (AltScaledGD) achieve fast, global convergence for non-convex low-rank matrix factorization. Unlike standard gradient descent, these methods are independent of the matrix's condition number, allowing them to escape saddle points and reach global minima rapidly, even from general random initializations.

Introduction: The Bottleneck in Matrix Factorization

Low-rank matrix factorization (LRMF) serves as the backbone of modern data science, powering everything from recommendation systems to medical imaging. Mathematically, the goal is to find two thin matrices, $U$ and $V$, such that their product approximates a target matrix $M$.

The primary challenge is that the objective function is non-convex, meaning the optimization "landscape" is riddled with traps like saddle points. While standard Gradient Descent (GD) can eventually find the global minimum, it suffers from two major flaws:

  1. Sensitivity to Conditioning: If the target matrix $M$ is "ill-conditioned" (meaning its singular values vary widely), GD becomes painfully slow. Its iteration complexity scales with the square of the condition number ($\kappa^2$).
  2. Initialization Requirements: GD typically requires "small initialization" or highly specific starting points to guarantee it won't get stuck near saddle points for extended periods.
Comparison of GD and AltScaledGD showing GD's saddle region delay.

The authors aim to prove that preconditioning—specifically scaling the gradient—removes these bottlenecks, allowing for rapid convergence regardless of the condition number.

Proposed Methods: Scaled Gradient Descent

The authors analyze two primary algorithms to overcome the limitations of standard GD:

  • ScaledGD: Instead of taking a standard gradient step, the gradient is multiplied by a preconditioning matrix (the inverse of $U^\top U$ and $V^\top V$). This effectively "normalizes" the geometry of the optimization landscape, turning narrow canyons into round bowls.
  • AltScaledGD: An alternating version where $U$ is updated, and then the new $U$ is immediately used to update $V$. This is akin to the Gauss-Seidel method in numerical linear algebra and provides even faster updates.

The core of their contribution is a three-phase theoretical framework describing the journey from a random start to the global minimum:

  1. Initial Phase: The factors $U$ and $V$ move toward a region where they are "balanced."
  2. Saddle Avoid Phase: The algorithm rapidly navigates away from the unstable saddle point at the origin.
  3. Linear Convergence Phase: The algorithm zooms into the global minimum at a steady, fast rate.

Key Insights and Geometric Intuition

  • Condition Number Independence: The most significant breakthrough is that ScaledGD's convergence rate does not depend on $\kappa$. Whether the matrix is "easy" or "hard" for standard solvers, ScaledGD treats them the same.
  • Escaping the "Zero" Trap: Historically, researchers assumed tiny initializations were required to make matrix factorization work. This paper proves that ScaledGD can start from general random Gaussian initialization and still escape the saddle point at $U=0, V=0$ efficiently.
  • The Superiority of Alternating Updates: The authors prove that AltScaledGD is strictly better than standard ScaledGD. It is more robust to the choice of learning rate (allowing a step size up to 1.0) and converges faster because it uses the most recent information in every half-step.

Key Results and Performance

The theoretical claims are strongly supported by the derived iteration complexity and empirical simulations on synthetic datasets.

  • Iteration Complexity: The paper proves ScaledGD reaches an $\varepsilon$-accurate solution in $O(\ln \frac{d}{\delta} + \ln \frac{d}{\varepsilon})$ iterations. For context, standard GD's complexity involves a massive $\kappa^2$ term, which severely limits its real-world applicability on ill-conditioned data.
  • Empirical Speedup: In simulations, while standard GD slows down significantly as the condition number increases, the error curves for ScaledGD and AltScaledGD remain perfectly overlapped. This confirms the theoretical $\kappa$-independence across different initialization strategies.
Convergence of ScaledGD and AltScaledGD under different initializations.
  • Learning Rate Robustness: AltScaledGD remains stable and fast even with a large learning rate ($\eta = 1$), whereas standard ScaledGD requires a much smaller, carefully tuned learning rate to avoid divergence.

Limitations and Future Work

While this paper presents a significant theoretical leap, a few limitations pave the way for future research:

  • Population vs. Empirical Loss: The proofs apply to the "population loss" (the ideal, fully observed case). In practice, we often deal with "empirical loss" where we only see a few entries of the matrix (matrix completion) or a noisy version of it.
  • Extension to General Recovery: Extending these proofs to specific tasks like Matrix Sensing (using the Restricted Isometry Property) or Matrix Completion is the next logical step.
  • Computational Overhead: While ScaledGD requires drastically fewer iterations, each iteration involves inverting a $d \times d$ matrix. For very large ranks ($d$), this inversion could become a computational bottleneck, though $d$ is typically small in "low-rank" problems.

Summary updated

BibTeX
@inproceedings{jia2023preconditioning,
  author = {Xixi Jia and Hailin Wang and Jiangjun Peng and Xiangchu Feng and Deyu Meng},
  title = {{Preconditioning Matters: Fast Global Convergence of Non-convex Matrix Factorization via Scaled Gradient Descent}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=rLpLjCBW4J},
}
Figure