Provably Accelerating Ill-Conditioned Low-rank Estimation via Scaled Gradient Descent, Even with Overparameterization

Cong Ma, Xingyu Xu, Tian Tong, Yuejie ChiarXiv 2023

Abstract

Many problems encountered in science and engineering can be formulated as estimating a low-rank object (e.g., matrices and tensors) from incomplete, and possibly corrupted, linear measurements. Through the lens of matrix and tensor factorization, one of the most popular approaches is to employ simple iterative algorithms such as gradient descent (GD) to recover the low-rank factors directly, which allow for small memory and computation footprints. However, the convergence rate of GD depends linearly, and sometimes even quadratically, on the condition number of the low-rank object, and therefore, GD slows down painstakingly when the problem is ill-conditioned. This chapter introduces a new algorithmic approach, dubbed scaled gradient descent (ScaledGD), that provably converges linearly at a constant rate independent of the condition number of the low-rank object, while maintaining the low per-iteration cost of gradient descent for a variety of tasks including sensing, robust principal component analysis and completion. In addition, ScaledGD continues to admit fast global convergence to the minimax-optimal solution, again almost independent of the condition number, from a small random initialization when the rank is over-specified in the presence of Gaussian noise. In total, ScaledGD highlights the power of appropriate preconditioning in accelerating nonconvex statistical estimation, where the iteration-varying preconditioners promote desirable invariance properties of the trajectory with respect to the symmetry in low-rank factorization without hurting generalization.

Introduction

In fields like signal processing and machine learning, recovering a low-rank object from sparse or noisy measurements is a fundamental task. A common approach is to factorize the object (e.g., $X = LR^\top$) and apply Gradient Descent (GD) to the factors. However, GD's performance is severely limited by the condition number ($\kappa$) of the target object—the ratio of its largest to smallest non-zero singular values. For ill-conditioned problems where $\kappa$ is large, GD becomes painstakingly slow, hindering its use in real-world applications like weak signal detection.

Methods: Scaled Gradient Descent (ScaledGD)

To overcome the "condition number curse," this paper introduces Scaled Gradient Descent (ScaledGD). The method applies a specific preconditioner to the gradient at each iteration. For a matrix factorization $X = LR^\top$, ScaledGD updates $L$ by scaling its gradient with $(R^\top R)^{-1}$ and $R$ by scaling with $(L^\top L)^{-1}$.

This approach acts as a computationally efficient quasi-Newton method. Since the inverted matrices are only of size $r \times r$ (where $r$ is the rank), the overhead is minimal relative to the ambient data dimension. Furthermore, ScaledGD is invariant to invertible transformations of the factors, leading to more stable optimization trajectories. It also naturally keeps factors "balanced" without needing explicit regularization. To handle cases where the rank is unknown, the authors propose ScaledGD($\lambda$), which incorporates a damping parameter $\lambda$ to ensure numerical stability during overparameterization.

Empirical and Theoretical Results

The primary advantage of ScaledGD is its ability to break the $\kappa$ dependency. While standard GD has an iteration complexity of $O(\kappa \log(1/\epsilon))$, ScaledGD achieves a constant rate of $O(\log(1/\epsilon))$.

Convergence of ScaledGD vs. Vanilla GD for varying condition numbers $\kappa$.

As shown in Figure 1, ScaledGD converges to a relative error of $10^{-14}$ in approximately 100 iterations, regardless of whether $\kappa$ is 2 or 50. In contrast, the performance of standard GD degrades significantly as $\kappa$ increases.

Iteration count required for convergence as a function of the condition number $\kappa$.

Figure 2 further illustrates this scaling behavior. While the iteration count for standard GD grows super-linearly with the condition number, ScaledGD remains flat, requiring a near-constant number of iterations across the entire tested range. Beyond synthetic data, the algorithm was validated on real-world chlorine concentration data, demonstrating its effectiveness on approximately low-rank, ill-conditioned matrices. The authors also proved that ScaledGD($\lambda$) converges to minimax-optimal solutions even when the rank is over-specified, provided Gaussian noise is present.

Conclusion

ScaledGD highlights the power of iteration-varying preconditioners in accelerating nonconvex statistical estimation. By promoting invariance properties without sacrificing generalization, it offers a robust solution for ill-conditioned low-rank recovery. Future work includes extending these benefits to more general loss functions and further exploring asymmetric overparameterized settings.

Summary updated

BibTeX
@misc{ma2023provably,
  author = {Cong Ma and Xingyu Xu and Tian Tong and Yuejie Chi},
  title = {{Provably Accelerating Ill-Conditioned Low-rank Estimation via Scaled Gradient Descent, Even with Overparameterization}},
  year = {2023},
  eprint = {2310.06159},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2310.06159},
}
Figure