NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Convergence of Alternating Gradient Descent for Matrix Factorization

Rachel A. Ward, Tamara G. Kolda · DOI

Abstract

This work establishes a sharp, dimension-free convergence analysis for Alternating Gradient Descent (AGD) applied to asymmetric matrix factorization. By introducing a novel "unbalanced" random initialization, we demonstrate that AGD achieves a linear convergence rate. The resulting iteration complexity depends solely on the matrix's condition number and rank, offering a significant improvement over existing theoretical bounds and bridging the gap between empirical success and theoretical understanding.

Introduction

Matrix factorization—the decomposition of a large matrix $A$ into low-rank factors $X$ and $Y$ such that $A \approx XY^\top$—is fundamental to modern machine learning, with applications ranging from recommendation systems to deep learning theory. Despite its prevalence, the non-convex nature of the optimization landscape presents significant theoretical challenges, often characterized by saddle points and local minima.

While practitioners frequently employ Gradient Descent (GD) and its variants with great success, theoretical guarantees have historically lagged. Previous analyses often relied on expensive "spectral initialization" (SVD) or yielded iteration complexities dependent on the ambient dimensions ($m, n$) of the matrix. This paper addresses these shortcomings by providing a simpler, sharper analysis that explains the efficiency of AGD in practice.

Methodology: Unbalanced Random Initialization

The core contribution of this research is a novel unbalanced random initialization strategy for AGD with a fixed step size $\eta$. In AGD, factors are updated alternatingly: $X$ is updated while $Y$ is fixed, and vice versa.

The proposed initialization departs from standard balanced Gaussian approaches through two key mechanisms:

  1. Asymmetry: The initial factors are scaled asymmetrically, with $X_0 \propto 1/\sqrt{\eta}$ and $Y_0 \propto \sqrt{\eta}$.
  2. Column Span Alignment: $X_0$ is initialized such that its columns reside within the column span of the target matrix $A$. Specifically, $X_0 \sim \frac{1}{\sqrt{\eta}} A\Phi_1$.

This specific initialization ensures that the optimization trajectory remains within a region where the objective function satisfies a Polyak-Łojasiewicz (PL) inequality. This property is crucial for proving linear convergence, where the error decreases exponentially over time.

Results and Analysis

The theoretical analysis yields several key insights:

  • Dimension-Free Complexity: The iteration complexity required for an $\epsilon$-optimal solution is $T = O\left( \kappa^2 \log(1/\epsilon) \right)$, where $\kappa = \sigma_1(A)/\sigma_r(A)$ is the condition number. This is independent of the ambient dimensions $m$ and $n$, and improves upon previous cubic dependencies ($O(\kappa^3)$).
  • Stability in Column Span: By starting $X_0$ in the column span of $A$, the optimization process maintains this alignment, simplifying the dynamics to resemble linear regression.
  • Benefits of Overparameterization: When the factor rank $d$ exceeds the true rank $r$, the iteration complexity remains constant relative to the rank.

Empirical validation using synthetic rank-5 matrices ($100 \times 100$) confirms these findings. As shown below, the proposed initialization consistently outperforms standard random initialization across various condition numbers, with the empirical error decay matching the predicted theoretical slopes.

Convergence of AGD with different condition numbers. The proposed initialization matches the theoretical linear convergence rate and outperforms standard random initialization.

Discussion and Future Work

While this work provides a robust framework for exact rank-$r$ matrices, several avenues for future research remain. The current theory primarily addresses the noiseless case; extending formal guarantees to approximately low-rank matrices is a priority. Additionally, there is an interesting trade-off between the fast convergence of unbalanced initialization and the potential generalization benefits of balanced factorizations common in deep learning. Finally, the proof techniques utilizing uniform PL inequalities may be extensible to low-rank tensor factorization problems.

Summary updated

BibTeX
@inproceedings{ward2023convergence,
  author = {Rachel A. Ward and Tamara G. Kolda},
  title = {{Convergence of Alternating Gradient Descent for Matrix Factorization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2023},
  url = {https://openreview.net/forum?id=b6FeLpKKjl},
}
Figure