Nonconvex Optimization Meets Low-Rank Matrix Factorization: An Overview

Yuejie Chi, Yue M. Lu, Yuxin Chen

Introduction

Here, f()f(\cdot) is a certain empirical risk function (e.g. Euclidean loss, negative log-likelihood) that evaluates how well a candidate solution fits the observations, and the set C\mathcal{C} encodes additional prior constraints, if any. This problem is often highly nonconvex and appears daunting to solve to global optimality at first sight. After all, conventional wisdom usually perceives nonconvex optimization as a computationally intractable task that is susceptible to local minima.

To bypass the challenge, one can resort to convex relaxation, an effective strategy that already enjoys theoretical success in addressing a large number of problems. The basic idea is to convexify the problem by, amongst others, dropping or replacing the low-rank constraint (1b) by a nuclear norm constraint , and solving the convexified problem in the full matrix space (i.e. the space of M\bm{M}). While such convex relaxation schemes exhibit intriguing performance guarantees in several aspects (e.g. near-minimal sample complexity, stability against noise), its computational cost often scales at least cubically in the size of the matrix M\bm{M}, which often far exceeds the time taken to read the data. In addition, the prohibitive storage complexity associated with the convex relaxation approach presents another hurdle that limits its applicability to large-scale problems.

This overview article focuses on provable low-rank matrix estimation based on nonconvex optimization. This approach operates over the parsimonious factorized representation (1b) and optimizes the nonconvex loss directly over the low-rank factors L\bm{L} and R\bm{R}. The advantage is clear: adopting economical representation of the low-rank matrix results in low storage requirements, affordable per-iteration computational cost, amenability to parallelization, and scalability to large problem size, when performing iterative optimization methods like gradient descent. However, despite its wide use and remarkable performance in practice , the foundational understanding of generic nonconvex optimization is far from mature. It is often unclear whether an optimization algorithm can converge to the desired global solution and, if so, how fast this can be accomplished. For many nonconvex problems, theoretical underpinnings had been lacking until very recently.

2 Nonconvex optimization meets statistical models

Fortunately, despite general intractability, some important nonconvex problems may not be as hard as they seem. For instance, for several low-rank matrix factorization problems, it has been shown that: under proper statistical models, simple first-order methods are guaranteed to succeed in a small number of iterations, achieving low computational and sample complexities simultaneously (e.g. ). The key to enabling guaranteed and scalable computation is to concentrate on problems arising from specific statistical signal estimation tasks, which may exhibit benign structures amenable to computation and help rule out undesired “hard” instances by focusing on the average-case performance. Two messages deserve particular attention when we examine the geometry of associated nonconvex loss functions:

Basin of attraction. For several statistical problems of this kind, there often exists a reasonably large basin of attraction around the global solution, within which an iterative method like gradient descent is guaranteed to be successful and converge fast. Such a basin might exist even when the sample complexity is quite close to the information-theoretic limit .

Benign global landscape. Several problems provably enjoy benign optimization landscape when the sample size is sufficiently large, in the sense that there is no spurious local minima, i.e. all local minima are also global minima, and that the only undesired stationary points are strict saddle points .

These important messages inspire a recent flurry of activities in the design of two contrasting algorithmic approaches:

Two-stage approach. Motivated by the existence of a basin of attraction, a large number of works follow a two-stage paradigm: (1) initialization, which locates an initial guess within the basin; (2) iterative refinement, which successively refines the estimate without leaving the basin. This approach often leads to very efficient algorithms that run in time proportional to that taken to read the data.

Saddle-point escaping algorithms. In the absence of spurious local minima, a key challenge boils down to how to efficiently escape undesired saddle points and find a local minimum, which is the focus of this approach. This approach does not rely on carefully-designed initialization.

The research along these lines highlights the synergy between statistics and optimization in data science and machine learning. The algorithmic choice often needs to properly exploit the underlying statistical models in order to be truly efficient, in terms of both statistical accuracy and computational efficiency.

3 This paper

Understanding the effectiveness of nonconvex optimization is currently among the most active areas of research in machine learning, information and signal processing, optimization and statistics. Many exciting new developments in the last several years have significantly advanced our understanding of this approach for various statistical problems. This article aims to provide a thorough, but by no means exhaustive, technical overview of important recent results in this exciting area, targeting the broader machine learning, signal processing, statistics, and optimization communities.

The rest of this paper is organized as follows. Section 2 reviews some preliminary facts on optimization that are instrumental to understanding the materials in this paper. Section 3 uses a toy (but non-trivial) example (i.e. rank-1 matrix factorization) to illustrate why it is possible to solve a nonconvex problem to global optimality, through both local and global lenses. Section 4 introduces a few canonical statistical estimation problems that will be visited multiple times in the sequel. Section 5 and Section 6 review gradient descent and its many variants as a local refinement procedure, followed by a discussion of other methods in Section 7. Section 8 discusses the spectral method, which is commonly used to provide an initialization within the basin of attraction. Section 9 provides a global landscape analysis, in conjunction with algorithms that work without the need of careful initialization. We conclude the paper in Section 10 with some discussions and remarks. Furthermore, a short note is provided at the end of several sections to cover some historical remarks and provide further pointers.

4 Notations

Additionally, the standard notation f(n)=O(g(n))f(n)=O\left(g(n)\right) or f(n)g(n)f(n)\lesssim g(n) means that there exists a constant c>0c>0 such that f(n)cg(n)\left|f(n)\right|\leq c|g(n)|, f(n)g(n)f(n)\gtrsim g(n) means that there exists a constant c>0c>0 such that f(n)cg(n)|f(n)|\geq c\left|g(n)\right|, and f(n)g(n)f(n)\asymp g(n) means that there exist constants c1,c2>0c_{1},c_{2}>0 such that c1g(n)f(n)c2g(n)c_{1}|g(n)|\leq|f(n)|\leq c_{2}|g(n)|.

Preliminaries in optimization theory

We start by reviewing some basic concepts and preliminary facts in optimization theory. For simplicity of presentation, this section focuses on an unconstrained problem

The optimal solution, if it exists, is denoted by

When f(x)f({\bm{x}}) is strictly convex,Recall that f(x)f({\bm{x}}) is said to be strictly convex if and only if for any λ(0,1)\lambda\in(0,1) and x,y\mboxdom(f){\bm{x}},{\bm{y}}\in\mbox{dom}(f), one has f(λx+(1λ)y)<λf(x)+(1λ)f(y)f(\lambda{\bm{x}}+(1-\lambda){\bm{y}})<\lambda f({\bm{x}})+(1-\lambda)f({\bm{y}}) unless x=y\bm{x}=\bm{y}. xopt\bm{x}_{\mathsf{opt}} is unique. But it may be non-unique when f()f(\cdot) is nonconvex.

To solve (2), arguably the simplest method is (vanilla) gradient descent (GD), which follows the update rule

Here, ηt\eta_{t} is the step size or learning rate at the ttth iteration, and x0\bm{x}_{0} is the initial point. This method and its variants are widely used in practice, partly due to their simplicity and scalability to large-scale problems.

A central question is when GD converges fast to the global minimum xopt\bm{x}_{\mathsf{opt}}. As is well-known in the optimization literature, GD is provably convergent at a linear rate when f()f(\cdot) is (locally) strongly convex and smooth. Here, an algorithm is said to converge linearly if the error xtxopt2\|\bm{x}_{t}-\bm{x}_{\mathsf{opt}}\|_{2} converges to 0 as a geometric series. To formally state this result, we define two concepts that commonly arise in the optimization literature.

With these definitions in place, we have the following standard result (e.g. ).

Suppose that ff is α\alpha-strongly convex and β\beta-smooth within a local ball Bζ(xopt):={x:xxopt2ζ}\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}):=\left\{\bm{x}:\|\bm{x}-\bm{x}_{\mathsf{opt}}\|_{2}\leq\zeta\right\}, and that x0Bζ(xopt)\bm{x}_{0}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}). If ηt1/β\eta_{t}\equiv{1}/{\beta}, then GD obeys

The optimality of xopt\bm{x}_{\mathsf{opt}} indicates that f(xopt)=0\nabla f(\bm{x}_{\mathsf{opt}})=\bm{0}, which allows us to rewrite the GD update rule as

where x(τ):=xopt+τ(xtxopt)\bm{x}\left(\tau\right):=\bm{x}_{\mathsf{opt}}+\tau(\bm{x}_{t}-\bm{x}_{\mathsf{opt}}). Here, the second line arises from the fundamental theorem of calculus [33, Chapter XIII, Theorem 4.2]. If xtBζ(xopt)\bm{x}_{t}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}), then it is self-evident that x(τ)Bζ(xopt)\bm{x}(\tau)\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}), which combined with the assumption of Lemma 1 gives

Therefore, as long as ηt1/β\eta_{t}\leq 1/\beta (and hence ηt2f(x(τ))1\|\eta_{t}\nabla^{2}f(\bm{x}(\tau))\|\leq 1), we have

This together with the sub-multiplicativity of \|\cdot\| yields

A byproduct is: if xtBζ(xopt)\bm{x}_{t}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}), then the next iterate xt+1\bm{x}_{t+1} also falls in Bζ(xopt)\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}). Consequently, applying the above argument recursively and recalling the assumption x0Bζ(xopt)\bm{x}_{0}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}), we see that all GD iterates remain within Bζ(xopt)\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}). Hence, (7) holds true for all tt. This immediately concludes the proof. ∎

This result essentially implies that: to yield ε\varepsilon-accuracy (in a relative sense), i.e. xtxopt2εxopt2\|\bm{x}_{t}-\bm{x}_{\mathsf{opt}}\|_{2}\leq\varepsilon\|\bm{x}_{\mathsf{opt}}\|_{2}, the number of iterations required for GD — termed the iteration complexity — is at most

if we initialize GD properly such that x0{\bm{x}}_{0} lies in the local region Bζ(xopt)\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}). In words, the iteration complexity scales linearly with the condition number — the ratio β/α\beta/\alpha of smoothness to strong convexity parameters. As we shall see, for multiple problems considered herein, the radius ζ\zeta of this locally strongly convex and smooth ball Bζ(xopt)\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}) can be reasonably large (e.g. on the same order of xopt2)\|\bm{x}_{\mathsf{opt}}\|_{2}).

2 Convergence under regularity conditions

Another condition that has been extensively employed in the literature is the Regularity Condition (RC) (see e.g. ), which accommodates algorithms beyond vanilla GD, as well as is applicable to possibly nonsmooth functions. Specifically, consider the iterative algorithm

g()\bm{g}(\cdot) is said to obey the regularity condition RC(μ,λ,ζ)\mathsf{RC}(\mu,\lambda,\zeta) for some μ,λ,ζ>0\mu,\lambda,\zeta>0 if

for all xBζ(xopt)\bm{x}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}).

This condition basically implies that at any feasible point x\bm{x}, the associated negative search direction g(x)\bm{g}(\bm{x}) is positively correlated with the error xxopt\bm{x}-\bm{x}_{\mathsf{opt}}, and hence the update rule (8) — in conjunction with a sufficiently small step size — drags the current point closer to the global solution. It follows from the Cauchy-Schwarz inequality that one must have μλ1\mu\lambda\leq 1.

It is worth noting that this condition does not require g()\bm{g}(\cdot) to be differentiable. Also, when g()=f()\bm{g}(\cdot)=\nabla f(\cdot), it does not require f()f(\cdot) to be convex within Bζ(xopt)\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}); see Fig. 1 for an example. Instead, the regularity condition can be viewed as a combination of smoothness and “one-point strong convexity” (as the condition is stated w.r.t. a single point xopt{\bm{x}}_{\mathsf{opt}}) defined as follows

for all xBζ(xopt)\bm{x}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}). To see this, observe that

where the second line follows from an equivalent definition of the smoothness condition [34, Theorem 5.8]. Combining (10) and (11) arrives at the regularity condition with μ=1/β\mu=1/\beta and λ=α\lambda=\alpha.

Under the regularity condition, the iterative algorithm (8) converges linearly with suitable initialization.

Under RC(μ,λ,ζ)\mathsf{RC}(\mu,\lambda,\zeta), the iterative algorithm (8) with ηtμ\eta_{t}\equiv\mu and x0Bζ(xopt)\bm{x}_{0}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}) obeys

Assuming that xtBζ(xopt)\bm{x}_{t}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}), we can obtain

where the first inequality comes from RC(μ,λ,ζ)\mathsf{RC}(\mu,\lambda,\zeta), and the last line arises if 0ηtμ0\leq\eta_{t}\leq\mu. By setting ηt=μ\eta_{t}=\mu, we arrive at

which also shows that xt+1Bζ(xopt)\bm{x}_{t+1}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}). The claim then follows by induction under the assumption that x0Bζ(xopt)\bm{x}_{0}\in\mathcal{B}_{\zeta}(\bm{x}_{\mathsf{opt}}). ∎

In view of Lemma 2, the iteration complexity to reach ε\varepsilon-accuracy (i.e. xtxopt2εxopt2\|\bm{x}_{t}-\bm{x}_{\mathsf{opt}}\|_{2}\leq\varepsilon\|\bm{x}_{\mathsf{opt}}\|_{2}) is at most

as long as a suitable initialization is provided.

3 Critical points

An iterative algorithm like gradient descent often converges to one of its fixed points . For gradient descent, the associated fixed points are (first-order) critical points or stationary points of the loss function, defined as follows.

A first-order critical point (stationary point) x{\bm{x}} of f()f(\cdot) is any point that satisfies

Moreover, we call a point x{\bm{x}} an ε\varepsilon-first-order critical point, for some ε>0\varepsilon>0, if it satisfies f(x)2ε\|\nabla f({\bm{x}})\|_{2}\leq\varepsilon.

A critical point can be a local minimum, a local maximum, or a saddle point of f()f(\cdot), depending on the curvatures at / surrounding the point. Specifically, denote by 2f(x)\nabla^{2}f({\bm{x}}) the Hessian matrix at x{\bm{x}}, and let λmin(2f(x))\lambda_{\min}(\nabla^{2}f({\bm{x}})) be its minimum eigenvalue. Then for any first-order critical point x{\bm{x}}:

if 2f(x)0\nabla^{2}f({\bm{x}})\prec\bm{0}, then x{\bm{x}} is a local maximum;

if 2f(x))0\nabla^{2}f({\bm{x}}))\succ\bm{0}, then x{\bm{x}} is a local minimum;

λmin(2f(x))=0\lambda_{\min}(\nabla^{2}f({\bm{x}}))=0, then x{\bm{x}} is either a local minimum or a degenerate saddle point;

λmin(2f(x))<0\lambda_{\min}(\nabla^{2}f({\bm{x}}))<0, then x{\bm{x}} is a strict saddle point.

Another useful concept is second-order critical points, defined as follows.

A point x\bm{x} is said to be a second-order critical point (stationary point) if f(x)=0\nabla f({\bm{x}})=\bm{0} and 2f(x)0\nabla^{2}f({\bm{x}})\succeq\bm{0}.

Clearly, second-order critical points do not encompass local maxima and strict saddle points, and, as we shall see, are of particular interest for the nonconvex problems considered herein. Since we are interested in minimizing the loss function, we do not distinguish local maxima and strict saddle points.

A warm-up example: rank-1 matrix factorization

For pedagogical reasons, we begin with a self-contained study of a simple nonconvex matrix factorization problem, demonstrating local convergence in the basin of attraction in Section 3.1 and benign global landscape in Section 3.2. The analysis in this section requires only elementary calculations.

The aim is to find the best rank-11 approximation of M\bm{M}. Clearly, this can be posed as the following problem:Here, the preconstant 1/41/4 is introduced for the purpose of normalization and does not affect the solution.

We attempt to minimize the nonconvex function f()f(\cdot) directly in spite of nonconvexity. This problem, though simple, plays a critical role in understanding the success of nonconvex optimization, since several important nonconvex low-rank estimation problems can be regarded as randomized versions or extensions of this problem.

To begin with, we demonstrate that gradient descent, when initialized at a point sufficiently close to the true optimizer (i.e. ±λ1u1\pm\sqrt{\lambda_{1}}\bm{u}_{1}), is guaranteed to converge fast.

Consider the problem (14). Suppose ηt14.5λ1\eta_{t}\equiv\frac{1}{4.5\lambda_{1}} and x0λ1u12λ1λ215λ1\|\bm{x}_{0}-\sqrt{\lambda_{1}}\bm{u}_{1}\|_{2}\leq\frac{\lambda_{1}-\lambda_{2}}{15\sqrt{\lambda_{1}}}. Then the GD iterates (4) obey

By symmetry, Theorem 1 continues to hold if u1\bm{u}_{1} is replaced by u1-\bm{u}_{1}.

In a nutshell, Theorem 1 establishes linear convergence of GD for rank-1 matrix factorization, where the convergence rate largely depends upon the eigen-gap (relative to the largest eigenvalue). This is a “local” result, assuming that a suitable initialization is present in the basin of attraction Bζ(λ1u1)\mathcal{B}_{\zeta}(\sqrt{\lambda_{1}}{\bm{u}}_{1}). Its radius, which is not optimized in this theorem, is given by ζ=λ1λ215λ1λ1u12\zeta=\frac{\lambda_{1}-\lambda_{2}}{15\lambda_{1}}\|\sqrt{\lambda_{1}}{\bm{u}}_{1}\|_{2}. This also depends on the relative eigen-gap (λ1λ2)/λ1(\lambda_{1}-\lambda_{2})/\lambda_{1}.

The proof mainly consists of showing that f()f(\cdot) is locally strongly convex and smooth, which allows us to invoke Lemma 1. The gradient and the Hessian of f(x)f(\bm{x}) are given respectively by

For notational simplicity, let Δ:=xλ1u1\bm{\Delta}:=\bm{x}-\sqrt{\lambda_{1}}\bm{u}_{1}. A little algebra yields that if Δ2λ1λ215λ1\|\bm{\Delta}\|_{2}\leq\frac{\lambda_{1}-\lambda_{2}}{15\sqrt{\lambda_{1}}}, then

We start with the smoothness condition. The triangle inequality gives

Next, it comes from the definition of Δ\bm{\Delta} and (17) that

Substitution into (16) yields a strong convexity lower bound:

where the last inequality is an immediate consequence of (18).

In summary, for all x\bm{x} obeying Δ2λ1λ215λ1\|\bm{\Delta}\|_{2}\leq\frac{\lambda_{1}-\lambda_{2}}{15\sqrt{\lambda_{1}}}, one has

Applying Lemma 1 establishes the claim. ∎

The question then comes down to whether one can secure an initial guess of this quality. One popular approach is spectral initialization, obtained by computing the leading eigenvector of M\bm{M}. For this simple problem, this already yields a solution of arbitrary accuracy. As it turns out, such a spectral initialization approach is particularly useful when dealing with noisy and incomplete measurements. We refer the readers to Section 8 for detailed discussions of spectral initialization methods.

2 Global optimization landscape

We then move on to examining the optimization landscape of this simple problem. In particular, what kinds of critical points does f(x)f({\bm{x}}) have? This is addressed as follows; see also [31, Section 3.3].

Consider the objective function (14). All local minima of f()f(\cdot) are global optima. The rest of the critical points are either local maxima or strict saddle points.

Recall that x\bm{x} is a critical point if and only if f(x)=(xxM)x=0\nabla f({\bm{x}})=({\bm{x}}{\bm{x}}^{\top}-{\bm{M}}){\bm{x}}=\bm{0}, or equivalently,

As a result, x{\bm{x}} is a critical point if either it aligns with an eigenvector of M{\bm{M}} or x=0{\bm{x}}=\bm{0}. Given that the eigenvectors of M\bm{M} obey Mui=λiui{\bm{M}}{\bm{u}}_{i}=\lambda_{i}{\bm{u}}_{i}, by properly adjusting the scaling, we determine the set of critical points as follows

To further categorize the critical points, we need to examine the associated Hessian matrices as given by (16). Regarding the critical points ±λkuk\pm\sqrt{\lambda_{k}}{\bm{u}}_{k}, we have

With regards to the points {±λ1u1}\{\pm\sqrt{\lambda_{1}}{\bm{u}}_{1}\}, one has

and hence they are (equivalent) local minima of f()f(\cdot);

For the points {±λkuk}k=2n\{\pm\sqrt{\lambda_{k}}{\bm{u}}_{k}\}_{k=2}^{n}, one has

and therefore they are strict saddle points of f()f(\cdot).

Finally, the critical point at the origin satisfies

and is hence either a local maxima (if λn>0\lambda_{n}>0) or a strict saddle point (if λn=0\lambda_{n}=0).

This result reveals the benign geometry of the problem (14) amenable to optimization. All undesired fixed points of gradient descent are strict saddles, which have negative directional curvature and may not be difficult to escape or avoid.

Formulations of a few canonical problems

For an article of this length, it is impossible to cover all nonconvex statistical problems of interest. Instead, we decide to focus on a few concrete and fundamental matrix factorization problems. This section presents formulations of several such examples that will be visited multiple times throughout this article. Unless otherwise noted, the assumptions made in this section (e.g. restricted isometry for matrix sensing, Gaussian design for phase retrieval) will be imposed throughout the rest of the paper.

Clearly, we cannot distinguish X\bm{X}_{\star} from XH\bm{X}_{\star}\bm{H} for any orthonormal matrix HOr×r\bm{H}\in\mathcal{O}^{r\times r}, as they correspond to the same low-rank matrix XX=XHHX\bm{X}_{\star}\bm{X}_{\star}^{\top}=\bm{X}_{\star}\bm{H}\bm{H}^{\top}\bm{X}_{\star}^{\top}. This simple fact implies that there exist multiple global optima for (20), a phenomenon that holds for most problems discussed herein.

the true low-rank factors, where M=UΣV\bm{M}_{\star}=\bm{U}_{\star}\bm{\Sigma}_{\star}\bm{V}_{\star}^{\top} stands for its singular value decomposition.

A useful property for the sensing operator that enables tractable algorithmic solutions is the Restricted Isometry Property (RIP), which says that the operator preserves approximately the Euclidean norm of the input matrix when restricted to the set of low-rank matrices. More formally:

holds simultaneously for all X\bm{X} of rank at most rr.

As an immediate consequence, the inner product between two low-rank matrices is also nearly preserved if A\mathcal{A} satisfies the RIP. Therefore, A\mathcal{A} behaves approximately like an isometry when restricting its operations over low-rank matrices.

If an operator A\mathcal{A} satisfies the 2r2r-RIP with RIP constant δ2r<1\delta_{2r}<1, then

holds simultaneously for all X\bm{X} and Y\bm{Y} of rank at most rr.

Notably, many random sensing designs are known to satisfy the RIP with high probability, with one remarkable example given below.

If the entries of Ai\bm{A}_{i} are i.i.d. Gaussian entries N(0,1)\mathcal{N}(0,1), then A\mathcal{A} as defined in (23) satisfies the rr-RIP with RIP constant δr\delta_{r} with high probability as soon as m(n1+n2)r/δr2m\gtrsim(n_{1}+n_{2})r/\delta_{r}^{2}.

2 Phase retrieval and quadratic sensing

This subsumes phase retrieval as a special case, and comes up in applications such as covariance sketching for streaming data , and phase space tomography under the name coherence retrieval . Here, we wish to solve

Clearly, this is equivalent to the matrix sensing problem by taking Ai=aiai\bm{A}_{i}=\bm{a}_{i}\bm{a}_{i}^{\top}. Here and throughout, we assume i.i.d. Gaussian design as follows, a tractable model that has been extensively studied recently.

Suppose that the design vectors aii.i.d.N(0,In)\bm{a}_{i}\overset{\text{i.i.d.}}{\sim}\mathcal{N}(\bm{0},\bm{I}_{n}).

3 Matrix completion

The matrix completion problem then boils down to recovering M\bm{M}_{\star} from PΩ(M)\mathcal{P}_{\Omega}(\bm{M}_{\star}) (or equivalently, from the partially observed entries of M\bm{M}_{\star}) . This arises in numerous scenarios; for instance, in collaborative filtering, we may want to predict the preferences of all users about a collection of movies, based on partially revealed ratings from the users. Throughout this paper, we adopt the following random sampling model:

Each entry is observed independently with probability 0<p10<p\leq 1, i.e.

For the positive semidefinite case where M=XX\bm{M}_{\star}=\bm{X}_{\star}\bm{X}_{\star}^{\top}, the task can be cast as solving

When it comes to the more general case where M=LR\bm{M}_{\star}=\bm{L}_{\star}\bm{R}_{\star}^{\top}, the task boils down to solving

One parameter that plays a crucial role in determining the feasibility of matrix completion is a certain coherence measure, defined as follows .

As shown in , a low-rank matrix cannot be recovered from a highly incomplete set of entries, unless the matrix satisfies the incoherence condition with a small μ\mu.

Throughout this paper, we let n:=max{n1,n2}n:=\max\{n_{1},n_{2}\} when referring to the matrix completion problem, and set κ=σ1(M)/σr(M)\kappa=\sigma_{1}(\bm{M}_{\star})/\sigma_{r}(\bm{M}_{\star}) to be the condition number of M\bm{M}_{\star}.

4 Blind deconvolution (the subspace model)

To solve this problem, one seeks a solution to

The recovery performance typically depends on an incoherence measure crucial for blind deconvolution.

Let the incoherence parameter μ\mu of h{\bm{h}}_{\star} be the smallest number such that

5 Low-rank and sparse matrix decomposition / robust principal component analysis

The goal is to separate M\bm{M}_{\star} and S\bm{S}_{\star} from the (possibly partial) entries of Γ\bm{\Gamma}_{\star}. This problem is also known as robust principal component analysis , since we can think of it as recovering the low-rank factors of M\bm{M}_{\star} when the observed entries are corrupted by sparse outliers (modeled by S\bm{S}_{\star}). The problem spans numerous applications in computer vision, medical imaging, and surveillance.

Similar to the matrix completion problem, we assume the random sampling model (31), where Ω\Omega is the set of observed entries. In order to make the problem well-posed, we need the incoherence parameter of M{\bm{M}}_{\star} as defined in Definition 7 as well, which precludes M{\bm{M}}_{\star} from being too spiky. In addition, it is sometimes convenient to introduce the following deterministic condition on the sparsity pattern and sparsity level of S\bm{S}_{\star}, originally proposed by . Specifically, it is assumed that the non-zero entries of S\bm{S}_{\star} are “spread out”, where there are at most a fraction α\alpha of non-zeros per row / column. Mathematically, this means:

Local refinement via gradient descent

This section contains extensive discussions of local convergence analysis of gradient descent. GD is perhaps the most basic optimization algorithm, and its practical importance cannot be overstated. Developing fundamental understanding of this algorithm sheds light on the effectiveness of many other iterative algorithms for solving nonconvex problems.

In the sequel, we will first examine what standard GD theory (cf. Lemma 1) yields for matrix factorization problems; see Section 5.1. While the resulting computational guarantees are optimal for nearly isotropic sampling operators, they become highly pessimistic for most of other problems. We diagnose the cause in Section 5.2.1 and isolate an incoherence condition that is crucial to enable fast convergence of GD. Section 5.2.2 discusses how to enforce proper regularization to promote such an incoherence condition, while Section 5.3 illustrates an implicit regularization phenomenon that allows unregularized GD to converge fast as well. We emphasize that generic optimization theory alone yields overly pessimistic convergence bounds; one needs to blend computational and statistical analyses in order to understand the intriguing performance of GD.

To analyze local convergence of GD, a natural strategy is to resort to the standard GD theory in Lemma 1. This requires checking whether strong convexity and smoothness hold locally, as done in Section 3.1. If so, then Lemma 1 yields an upper bound on the iteration complexity. This simple strategy works well when, for example, the sampling operator is nearly isotropic. In the sequel, we use a few examples to illustrate the applicability and potential drawback of this analysis strategy.

For notational simplicity, this subsection focuses on the symmetric case where Ai=Ai\bm{A}_{i}=\bm{A}_{i}^{\top}. The gradient update rule (4) for this problem reads

where A\mathcal{A} is defined in Section 4.1, and A\mathcal{A}^{*} is the conjugate operator of A\mathcal{A}.

When the sensing matrices [Ai]1im[{\bm{A}}_{i}]_{1\leq i\leq m} are random and isotropic, (42) can be viewed as a randomized version of the rank-1 matrix factorization problem discussed in Section 3. To see this, consider for instance the case where the Ai{\bm{A}}_{i}’s are drawn from the symmetric Gaussian design, i.e. the diagonal entries of Ai\bm{A}_{i} are i.i.d. N(0,1)\mathcal{N}(0,1) and the off-diagonal entries are i.i.d. N(0,1/2)\mathcal{N}(0,1/2). For any fixed x\bm{x}, one has

which coincides with the warm-up example (15) by taking M=xx\bm{M}=\bm{x}_{\star}\bm{x}_{\star}^{\top}. This bodes well for fast local convergence of GD, at least at the population level (i.e. the case when the sample size mm\rightarrow\infty).

What happens in the finite-sample regime? It turns out that if the sensing operator satisfies the RIP (cf. Definition 6), then 2f()\nabla^{2}f(\cdot) does not deviate too much from its population-level counterpart, and hence f()f(\cdot) remains locally strongly convex and smooth. This in turn allows one to invoke the standard GD theory to establish local linear convergence.

Consider the problem (42), and suppose the operator (23) satisfies 44-RIP for RIP constant δ41/44\delta_{4}\leq{1}/{44}. If x0x2x2/12\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq{\|\bm{x}_{\star}\|_{2}}/{12}, then GD with ηt1/(3x22)\eta_{t}\equiv 1/(3\|\bm{x}_{\star}\|_{2}^{2}) obeys

This theorem, which is a deterministic result, is established in Appendix A. An appealing feature is that: it is possible for such RIP to hold as long as the sample size mm is on the order of the information-theoretic limits (i.e. O(n)O(n)), in view of Fact 1. The take-home message is: for highly random and nearly isotropic sampling schemes, local strong convexity and smoothness continue to hold even in the sample-limited regime.

1.2 Measurements that satisfy the RIP (the rank-r𝑟r case)

The rank-1 case is singled out above due to its simplicity. The result certainly goes well beyond the rank-1 case. Again, we focus on the symmetric caseIf the Ai{\bm{A}}_{i}’s are asymmetric, the gradient is given by f(X)=12mi=1m(Ai,XXyi)(Ai+Ai)X\nabla f(\bm{X})=\frac{1}{2m}\sum_{i=1}^{m}(\langle\bm{A}_{i},\bm{X}\bm{X}^{\top}\rangle-y_{i})(\bm{A}_{i}+\bm{A}_{i}^{\top})\bm{X}, although the update rule (45) remains applicable. (20) with Ai=Ai\bm{A}_{i}=\bm{A}_{i}^{\top}, in which the gradient update rule (4) satisfies

At first, one might imagine that f()f(\cdot) remains locally strongly convex. This is, unfortunately, not true, as demonstrated by the following example.

Suppose AA()\mathcal{A}^{*}\mathcal{A}(\cdot) is identity, then f()f(\cdot) reduces to

for two unit vectors u,v\bm{u},\bm{v} obeying uv=0\bm{u}^{\top}\bm{v}=0 and any 0<δ<10<\delta<1. It is straightforward to verify that

which violates convexity. Moreover, this happens even when X\bm{X} is arbitrarily close to X\bm{X}_{\star} (by taking δ0\delta\rightarrow 0).

Fortunately, the above issue can be easily addressed. The key is to recognize that: one can only hope to recover X\bm{X}_{\star} up to global orthonormal transformation, unless further constraints are imposed. Hence, a more suitable error metric is

a counterpart of the Euclidean error when accounting for global ambiguity. For notational convenience, we let

Finding HX\bm{H}_{\bm{X}} is a classical problem called the orthogonal Procrustes problem .

With these metrics in mind, we are ready to generalize the standard GD theory in Lemma 1 and Lemma 2. In what follows, we assume that X\bm{X}_{\star} is a global minimizer of f()f(\cdot), and make the further homogeneity assumption f(X)H=f(XH)\nabla f(\bm{X})\bm{H}=\nabla f(\bm{X}\bm{H}) for any orthonormal matrix HOr×r\bm{H}\in\mathcal{O}^{r\times r} — a common fact that arises in matrix factorization problems.

If ηt1/β\eta_{t}\equiv 1/\beta, then GD with X0Bζ(X)\bm{X}_{0}\in\mathcal{B}_{\zeta}(\bm{X}_{\star}) obeys

First, by definition of dist(,)\mathsf{dist}(\cdot,\cdot) we have

Next, we claim that a modified regularity condition RC(1/β,α,ζ)\mathsf{RC}(1/\beta,\alpha,\zeta) (cf. Definition 3) holds for all t0t\geq 0, that is,

If this claim is valid, then it is straightforward to adapt Lemma 2 to obtain

thus establishing the advertised linear convergence. We omit this part for brevity.

The rest of the proof is thus dedicated to justifying (52). First, Taylor’s theorem reveals that

where X(τ):=XtHt+τ(XXtHt)\bm{X}(\tau):=\bm{X}_{t}\bm{H}_{t}+\tau(\bm{X}_{\star}-\bm{X}_{t}\bm{H}_{t}) for some 0τ10\leq\tau\leq 1. If XtHt\bm{X}_{t}\bm{H}_{t} lies within Bζ(X)\mathcal{B}_{\zeta}(\bm{X}_{\star}), then one has X(τ)Bζ(X)\bm{X}(\tau)\in\mathcal{B}_{\zeta}(\bm{X}_{\star}) as well. We can then substitute the condition (51) into (54) to reach

which can be regarded as a modified version of the one point convexity (10). In addition, repeating the argument in (11) yields

which is a consequence of the smoothness assumption. Combining (55) and (56) establishes (52) for the ttth iteration, provided that XtHtBζ(X)\bm{X}_{t}\bm{H}_{t}\in\mathcal{B}_{\zeta}(\bm{X}_{\star}). Finally, since the initial point is assumed to fall within Bζ(X)\mathcal{B}_{\zeta}(\bm{X}_{\star}), we immediately learn from (53) and induction that XtHtBζ(X)\bm{X}_{t}\bm{H}_{t}\in\mathcal{B}_{\zeta}(\bm{X}_{\star}) for all t0t\geq 0. This concludes the proof. ∎

The condition (51) is a modification of strong convexity to account for global rotation. In particular, it restricts attention to directions of the form ZHZX\bm{Z}\bm{H}_{\bm{Z}}-\bm{X}_{\star}, where one first adjusts the orientation of Z\bm{Z} to best align with the global minimizer. To confirm that such restriction is sensible, we revisit Example 1. With proper rotation, one has ZHZ=X\bm{Z}\bm{H}_{\bm{Z}}=\bm{X}_{\star} and hence

which becomes strictly positive for δ1/3\delta\leq 1/3. In fact, if X\bm{X} is sufficiently close to X\bm{X}_{\star}, then the condition (51) is valid for (46). Details are deferred to Appendix C.

Further, similar to the analysis for the rank-1 case, we can demonstrate that if A\mathcal{A} satisfies the RIP for some sufficiently small RIP constant, then 2f()\nabla^{2}f(\cdot) is locally not far from 2f()\nabla^{2}f_{\infty}(\cdot) in Example 1, meaning that the condition (51) continues to hold for some α>0\alpha>0. This leads to the following result. It is assumed that the ground truth M\bm{M}_{\star} has condition number κ\kappa.

Consider the problem (20), and suppose the operator (23) satisfies the 6r6r-RIP with RIP constant δ6r1/10\delta_{6r}\leq{1}/{10}. Then there exist some universal constants c0,c1>0c_{0},c_{1}>0 such that if dist2(X0,X)σr(M)/16\mathsf{dist}^{2}(\bm{X}_{0},\bm{X}_{\star})\leq\sigma_{r}(\bm{M}_{\star})/16, then GD with ηtc0/σ1(M)\eta_{t}\equiv c_{0}/\sigma_{1}(\bm{M}_{\star}) obeys

The algorithm (45) is referred to as Procrustes flow in .

Three implications of Theorem 4 merit particular attention: (1) the quality of the initialization depends on the least singular value of the truth, so as to ensure that the estimation error does not overwhelm any of the important signal direction; (2) the convergence rate becomes a function of the condition number κ\kappa: the better conditioned the truth is, the faster GD converges; (3) when a good initialization is present, GD converges linearly as long as the sample size mm is on the order of the information-theoretic limits (i.e. O(nr)O(nr)), in view of Fact 1.

Our discussion continues to hold for the more general case where M=LR{\bm{M}}_{\star}={\bm{L}}_{\star}{\bm{R}}_{\star}^{\top}, although an extra regularization term has been suggested to balance the size of the two factors. Specifically, we introduce a regularized version of the loss (21) as follows

then the convergence rate for the symmetric case remains valid by replacing X{\bm{X}}_{\star} (resp. Xt{\bm{X}}_{t}) with X=[LR]{\bm{X}}_{\star}={\scriptsize\begin{bmatrix}\bm{L}_{\star}\\ \bm{R}_{\star}\end{bmatrix}} (resp. Xt=[LtRt]{\bm{X}}_{t}={\scriptsize\begin{bmatrix}\bm{L}_{t}\\ \bm{R}_{t}\end{bmatrix}}) in the error metric.

1.3 Measurements that do not obey the RIP

There is no shortage of important examples where the sampling operators fail to satisfy the standard RIP at all. For these cases, the standard theory in Lemma 1 (or Lemma 2) either is not directly applicable or leads to pessimistic computational guarantees. This subsection presents a few such cases.

We start with phase retrieval (27), for which the gradient update rule is given by

This algorithm, also dubbed as Wirtinger flow, was first investigated in . The name “Wirtinger flow” stems from the fact that Wirtinger calculus is used to calculate the gradient in the complex-valued case.

Using standard concentration inequalities for random matrices , one derives the following strong convexity and smoothness bounds .While [58, Chapter 15.4.3] presents the bounds only for the complex-valued case, all arguments immediately extend to the real case.

Consider the problem (27). There exist some constants c0,c1,c2>0c_{0},c_{1},c_{2}>0 such that with probability at least 1O(n10)1-O(n^{-10}),

holds simultaneously for all x\bm{x} obeying xx2c1x2\|\bm{x}-\bm{x}_{\star}\|_{2}\leq c_{1}\|\bm{x}_{\star}\|_{2}, provided that mc0nlognm\geq c_{0}n\log n.

This lemma says that f()f(\cdot) is locally 0.5-strongly convex and c2nc_{2}n-smooth when the sample size mnlognm\gtrsim n\log n. The sample complexity only exceeds the information-theoretic limit by a logarithmic factor. Applying Lemma 1 then reveals that:

Under the assumptions of Lemma 5, the GD iterates obey

with probability at least 1O(n10)1-O(n^{-10}), provided that ηt1/(c2nx22)\eta_{t}\equiv 1/(c_{2}n\|\bm{x}_{\star}\|_{2}^{2}) and x0x2c1x2\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq c_{1}\|\bm{x}_{\star}\|_{2}.

This is precisely the computational guarantee given in , albeit derived via a different argument. The above iteration complexity bound, however, is not appealing in practice: it requires O(nlog1ε)O(n\log\frac{1}{\varepsilon}) iterations to guarantee ε\varepsilon-accuracy (in a relative sense). For large-scale problems where nn is very large, such an iteration complexity could be prohibitive.

Phase retrieval is certainly not the only problem where classical results in Lemma 1 yield unsatisfactory answers. The situation is even worse for other important problems like matrix completion and blind deconvolution, where strong convexity (or the modified version accounting for global ambiguity) does not hold at all unless we restrict attention to a constrained class of decision variables. All this calls for new ideas in establishing computational guarantees that match practical performances.

2 Improved computational guarantees via restricted geometry and regularization

As emphasized in the preceding subsection, two issues stand out in the absence of RIP:

The smoothness condition may not be well-controlled;

Local strong convexity may fail, even if we account for global ambiguity.

We discuss how to address these issues, by first identifying a restricted region with amenable geometry for fast convergence (Section 5.2.1) and then applying regularized gradient descent to ensure the iterates stay in the restricted region (Section 5.2.2).

While desired strong convexity and smoothness (or regularity conditions) may fail to hold in the entire local ball, it is possible for them to arise when we restrict ourselves to a small subset of the local ball and / or a set of special directions.

Take phase retrieval for example: f()f(\cdot) is locally 0.50.5-strongly convex, but the smoothness parameter is exceedingly large (see Lemma 5). On closer inspection, those points x\bm{x} that are too aligned with any of the sampling vector {ai}\{\bm{a}_{i}\} incur ill-conditioned Hessians. For instance, suppose x\bm{x}_{\star} is a unit vector independent of {ai}\{\bm{a}_{i}\}. Then the point x=x+δajaj2\bm{x}=\bm{x}_{\star}+\delta\frac{\bm{a}_{j}}{\|\bm{a}_{j}\|_{2}} for some constant δ\delta often results in extremely large x2f(x)x\bm{x}^{\top}\nabla^{2}f(\bm{x})\bm{x}. With high probability, (ajx)2=(1o(1))δ2n,(\bm{a}_{j}^{\top}\bm{x})^{2}=\left(1-o(1)\right)\delta^{2}n, and hence the Hessian (cf. (60)) at this point x\bm{x} satisfies x2f(x)x3m(ajx)4O(1mj(ajx)2ajaj)=(3o(1))δ4n2/m\bm{x}^{\top}\nabla^{2}f(\bm{x})\bm{x}\geq\frac{3}{m}(\bm{a}_{j}^{\top}\bm{x})^{4}-O(\|\frac{1}{m}\sum\nolimits_{j}(\bm{a}_{j}^{\top}\bm{x}^{\star})^{2}\bm{a}_{j}\bm{a}_{j}^{\top}\|)=\left(3-o(1)\right)\delta^{4}{n^{2}}/{m}, much larger than the strong convexity parameter when mn2m\ll n^{2}. This simple instance suggests that: in order to ensure well-conditioned Hessians, one needs to preclude points that are too “coherent” with the sampling vectors, as formalized below.

Under the assumptions of Lemma 5, there exist some constants c0,,c3>0c_{0},\cdots,c_{3}>0 such that if mc0nlognm\geq c_{0}n\log n, then with probability at least 1O(mn10)1-O(mn^{-10}),

In words, desired smoothness is guaranteed when considering only points sufficiently near-orthogonal to all sampling vectors. Such a near-orthogonality property will be referred to as “incoherence” between x\bm{x} and the sampling vectors.

Going beyond phase retrieval, the notion of incoherence is not only crucial to control smoothness, but also plays a critical role in ensuring local strong convexity (or regularity conditions). A partial list of examples include matrix completion, quadratic sensing, blind deconvolution and demixing, etc . In the sequel, we single out the matrix completion problem to illustrate this fact. The interested readers are referred to for regularity conditions for matrix completion, to for strong convexity and smoothness for quadratic sensing, to (resp. ) for strong convexity and smoothness (resp. regularity condition) for blind deconvolution and demixing.

Consider the problem (32). Suppose that n2pc0κ2μrnlognn^{2}p\geq c_{0}\kappa^{2}\mu rn\log n for some large constant c0>0c_{0}>0. Then with probability 1O(n10)1-O\left(n^{-10}\right), the Hessian obeys

for all Z\bm{Z} (with HZ\bm{H}_{\bm{Z}} defined in (50)) and all X\bm{X} satisfying

where ϵc1/κ3μrlog2n\epsilon\leq c_{1}/\sqrt{\kappa^{3}\mu r\log^{2}n} for some constant c1>0c_{1}>0.This is a simplified version of [26, Lemma 7] where we restrict the descent direction to point to X{\bm{X}}_{\star}.

This lemma confines attention to the set of points obeying

Given that each observed entry Mi,jM_{i,j} can be viewed as eiMej\bm{e}_{i}^{\top}\bm{M}\bm{e}_{j}, the sampling basis relies heavily on the standard basis vectors. As a result, the above lemma is essentially imposing conditions on the incoherence between X\bm{X} and the sampling basis.

2.2 Regularized gradient descent

While we have demonstrated favorable geometry within the set of local points satisfying the desired incoherence condition, the challenge remains as to how to ensure the GD iterates fall within this set. A natural strategy is to enforce proper regularization. Several auxiliary regularization procedures have been proposed to explicitly promote the incoherence constraints , in the hope of improving computational guarantees. Specifically, one can regularize the loss function, by adding additional regularization term G()G(\cdot) to the objective function and designing the GD update rule w.r.t. the regularized problem

with λ>0\lambda>0 the regularization parameter. For example:

Matrix completion (33): the following regularized loss has been proposed

for some scalars α1,,α4>0\alpha_{1},\cdots,\alpha_{4}>0. There are numerous choices of G0G_{0}; the one suggested by is G0(z)=max{z1,0}2G_{0}(z)=\max\{z-1,0\}^{2}. With suitable learning rates and proper initialization, GD w.r.t. the regularized loss provably yields ε\varepsilon-accuracy in O(poly(n)log1ε)O(\mathsf{poly}(n)\log\frac{1}{\varepsilon}) iterations, provided that the sample size n2pμ2κ6nr7lognn^{2}p\gtrsim\mu^{2}\kappa^{6}nr^{7}\log n .

Blind deconvolution (36): suggest the following regularized loss

with G0(z):=max{z1,0}2G_{0}(z):=\max\{z-1,0\}^{2}. It has been demonstrated that under proper initialization and step size, gradient methods w.r.t. the regularized loss reach ε\varepsilon-accuracy in O(poly(m)log1ε)O(\mathsf{poly}(m)\log\frac{1}{\varepsilon}) iterations, provided that the sample size m(K+N)log2mm\gtrsim{(K+N)\log^{2}m} .

In both cases, the regularization terms penalize, among other things, the incoherence measure between the decision variable and the corresponding sampling basis. We note, however, that the regularization terms are often found unnecessary in both theory and practice, and the theoretical guarantees derived in this line of works are also subject to improvements, as unveiled in the next subsection (cf. Section 5.3).

Two other regularization approaches are also worth noting: (1) truncated gradient descent; (2) projected gradient descent. Given that they are extensions of vanilla GD and might enjoy additional benefits, we postpone the discussions of them to Section 6.

3 The phenomenon of implicit regularization

Despite the theoretical success of regularized GD, it is often observed that vanilla GD — in the absence of any regularization — converges geometrically fast in practice. One intriguing fact is this: for the problems mentioned above, GD automatically forces its iterates to stay incoherent with the sampling vectors / matrices, without any need of explicit regularization . This means that with high probability, the entire GD trajectory lies within a nice region that enjoys desired strong convexity and smoothness, thus enabling fast convergence.

In the sequel, we start with phase retrieval as the first example:

Under the assumptions of Lemma 5, the GD iterates with proper initialization (see, e.g., spectral initialization in Section 8.2) and ηt1/(c3x22logn)\eta_{t}\equiv 1/(c_{3}\|\bm{x}_{\star}\|_{2}^{2}\log n) obey

for all t0t\geq 0 with probability 1O(n10)1-O(n^{-10}). Here, c3,c4>0c_{3},c_{4}>0 are some constants, and we assume x0x2x0+x2\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq\|\bm{x}_{0}+\bm{x}_{\star}\|_{2}.

In words, (68b) reveals that all iterates are incoherent w.r.t. the sampling vectors, and hence fall within the nice region characterized in Lemma 6. With this observation in mind, it is shown in (68a) that vanilla GD converges in O(lognlog1ε)O(\log n\log\frac{1}{\varepsilon}) iterations. This significantly improves upon the computational bound in Theorem 5 derived based on the smoothness property without restricting attention to the incoherence region.

Similarly, for quadratic sensing (29) where the GD update rule is given by

we have the following result, which generalizes Theorem 6 to the low-rank setting.

Consider the problem (29). Suppose the sample size satisfies mc0nr4κ3lognm\geq c_{0}nr^{4}\kappa^{3}\log{n} for some large constant c0c_{0}, then with probability 1O(mn10)1-O(mn^{-10}), the GD iterates with proper initialization (see, e.g., spectral initialization in Section 8.2) and ηt=η1/(c1(rκ+logn)2σ1(M))\eta_{t}=\eta\equiv 1/(c_{1}(r\kappa+\log{n})^{2}\sigma_{1}({\bm{M}}_{\star})) obey

for all t0t\geq 0. Here, c1>0c_{1}>0 is some absolute constant.

This theorem demonstrates that vanilla GD converges within O\big{(}\max\{r,\log n\}^{2}\log\frac{1}{\varepsilon}\big{)} iterations for quadratic sensing of a rank-rr matrix. This significantly improves upon the computational bounds in which do not consider the incoherence region.

The next example is matrix completion (32), for which the GD update rule reads

with PΩ\mathcal{P}_{\Omega} defined in (30). The theory for this update rule is:

Consider the problem (32). Suppose that the sample size satisfies n2pc0μ2r2nlognn^{2}p\geq c_{0}\mu^{2}r^{2}n\log n for some large constant c0>0c_{0}>0, and that the condition number κ\kappa of M=XX\bm{M}_{\star}=\bm{X}_{\star}\bm{X}_{\star}^{\top} is a fixed constant. With probability at least 1O(n3)1-O\left(n^{-3}\right), the GD iterates (71) with proper initialization (see, e.g., spectral initialization in Section 8.2) satisfy

for all t0t\geq 0, with HXt\bm{H}_{\bm{X}_{t}} defined in (50). Here, c1>0c_{1}>0 is some constant, and ηtc2/(κσ1(M))\eta_{t}\equiv{c_{2}}/(\kappa\sigma_{1}(\bm{M}_{\star})) for some constant c2>0c_{2}>0.

The last example is blind deconvolution. To measure the discrepancy between any z:=\bm{z}:=[hx]\begin{bmatrix}\bm{h}\\ \bm{x}\end{bmatrix} and z:=\bm{z}_{\star}:=[hx]\begin{bmatrix}\bm{h}_{\star}\\ \bm{x}_{\star}\end{bmatrix}, we define

which accounts for unrecoverable global scaling and phase. The gradient method, also called Wirtinger flow (WF), is

which enjoys the following theoretical support.

Consider the problem (36). Suppose the sample size mc0μ2max{K,N}polylogmm\geq c_{0}\mu^{2}\max\{K,N\}\mathsf{poly}\log m for some large constant c0>0c_{0}>0. Then there is some constant c1>0c_{1}>0 such that with probability exceeding 1O(min{K,N}5)1-O(\min\{K,N\}^{-5}), the iterates (74) with proper initialization (see, e.g., spectral initialization in Section 8.2) and ηtc1\eta_{t}\equiv c_{1} satisfy

For conciseness, we only state that the estimation error converges in O\big{(}\log\frac{1}{\varepsilon}\big{)} iterations. The incoherence conditions also provably hold across all iterations; see for details. Similar results have been derived for the blind demixing case as well .

Finally, we remark that the desired incoherence conditions cannot be established via generic optimization theory. Rather, these are proved by exploiting delicate statistical properties underlying the models of interest. The key technique is called a “leave-one-out” argument, which is rooted in probability and random matrix theory and finds applications to many problems . The interested readers can find a general recipe using this argument in .

4 Notes

Provably valid two-stage nonconvex algorithms for matrix factorization were pioneered by Keshavan et al. , where the authors studied the spectral method followed by (regularized) gradient descent on Grassmann manifolds. Partly due to the popularity of convex programming, the local refinement stage of received less attention than convex relaxation and spectral methods around that time. A recent work that popularized the gradient methods for matrix factorization is Candès et al. , which provided the first convergence guarantees for gradient descent (or Wirtinger flow) for phase retrieval. Local convergence of (regularized) GD was later established for matrix completion (without resorting to Grassmann manifolds) , matrix sensing , and blind deconvolution under subspace prior . These works were all based on regularity conditions within a local ball. The resulting iteration complexities for phase retrieval, matrix completion, and blind deconvolution were all sub-optimal, which scaled at least linearly with the problem size. Near-optimal computational guarantees were first derived by via a leave-one-out analysis. Notably, all of these works are local results and rely on proper initialization. Later on, GD was shown to converge within a logarithmic number of iterations for phase retrieval, even with random initialization .

Variants of gradient descent

This section introduces several important variants of gradient descent that serve different purposes, including improving computational performance, enforcing additional structures of the estimates, and removing the effects of outliers, amongst others. Due to space limitation, our description of these algorithms cannot be as detailed as that of vanilla GD. Fortunately, many of the insights and analysis techniques introduced in Section 5 are still applicable, which already shed light on how to understand and analyze these variants. In addition, we caution that all of the theory presented herein is developed for the idealistic models described in Section 4, which might sometimes not capture realistic measurement models. Practitioners should perform comprehensive comparisons of these algorithms on real data, before deciding on which one to employ in practice.

Projected gradient descent modifies vanilla GD (4) by adding a projection step in order to enforce additional structures of the iterates, that is

where the constraint set C\mathcal{C} can be either convex or nonconvex. For many important sets C\mathcal{C} encountered in practice, the projection step can be implemented efficiently, sometimes even with a closed-form solution. There are two common purposes for including a projection step: 1) to enforce the iterates to stay in a region with benign geometry, whose importance has been explained in Section 5.2.1; 2) to encourage additional low-dimensional structures of the iterates that may be available from prior knowledge.

Here, the projection is to ensure the running iterates stay incoherent with the sampling basis, a property that is crucial to guarantee the algorithm descends properly in every iteration (see Section 5.2.1). One notable example serving this purpose is projected GD for matrix completion , where in the positive semidefinite case (i.e. M=XX\bm{M}_{\star}=\bm{X}_{\star}\bm{X}_{\star}^{\top}), one runs projected GD w.r.t. the loss function f()f(\cdot) in (32):

where ηt\eta_{t} is the step size and PC\mathcal{P}_{\mathcal{C}} denote the Euclidean projection onto the set of incoherent matrices:

with X0{\bm{X}}_{0} being the initialization and cc is a predetermined constant (e.g. c=2c=2). This projection guarantees that the iterates stay in a nice incoherent region w.r.t. the sampling basis (similar to the one prescribed in Lemma 7), thus achieving fast convergence. Moreover, this projection can be implemented via a row-wise “clipping” operation, given as

for i=1,2,,ni=1,2,\ldots,n. The convergence guarantee for this update rule is given below, which offers slightly different prescriptions in terms of sample complexity and convergence rate from Theorem 8 using vanilla GD.

Suppose that the sample size satisfies n2pc0μ2r2nlognn^{2}p\geq c_{0}\mu^{2}r^{2}n\log n for some large constant c0>0c_{0}>0, and that the condition number κ\kappa of M=XX\bm{M}_{\star}=\bm{X}_{\star}\bm{X}_{\star}^{\top} is a fixed constant. With probability at least 1O(n1)1-O\left(n^{-1}\right), the projected GD iterates (77) satisfy

for all t0t\geq 0, provided that dist2(X0,X)c3σr(M)\mathsf{dist}^{2}(\bm{X}_{0},\bm{X}_{\star})\leq c_{3}\sigma_{r}(\bm{M}_{\star}) and ηtη:=c2/(μrσ1(M))\eta_{t}\equiv\eta:={c_{2}}/(\mu r\sigma_{1}(\bm{M}_{\star})) for some constant c1,c2,c3>0c_{1},c_{2},c_{3}>0.

This theorem says that projected GD takes O(μrlog1ε)O(\mu r\log\frac{1}{\varepsilon}) iterations to yield ε\varepsilon-accuracy (in a relative sense).

The results can be extended to the more general asymmetric case by applying similar modifications mentioned in Remark 3; see .

1.2 Projection for incorporating structural priors

In many problems of practical interest, we might be given some prior knowledge about the signal of interest, encoded by a constraint set xC\bm{x}_{\star}\in\mathcal{C}. Therefore, it is natural to apply projection to enforce the desired structural constraints. One such example is sparse phase retrieval , where it is known a priori that x\bm{x}_{\star} in (26) is kk-sparse, where knk\ll n. If we have prior knowledge about x1\|{\bm{x}}_{\star}\|_{1}, then we can pick the constraint set C\mathcal{C} as follows to promote sparsity

Consider the sparse phase retrieval problem where x{\bm{x}}_{\star} is kk-sparse. Suppose that mc1klognm\geq c_{1}k\log n for some large constant c1>0c_{1}>0. The projected GD iterates w.r.t. (27) and the constraint set (80) obey

with probability at least 1O(n1)1-O(n^{-1}), provided that ηt1/(c2nx22)\eta_{t}\equiv 1/(c_{2}n\|\bm{x}_{\star}\|_{2}^{2}) and x0x2x2/8\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq\|\bm{x}_{\star}\|_{2}/8.

Another possible projection constraint set for sparse phase retrieval is the (nonconvex) set of kk-sparse vectors ,

This leads to a hard-thresholding operation, namely, PC(x)\mathcal{P}_{\mathcal{C}}({\bm{x}}) becomes the best kk-term approximation of x\bm{x} (obtained by keeping the kk largest entries (in magnitude) of x\bm{x} and setting the rest to 0). The readers are referred to for details. See also for a thresholded GD algorithm — which enforces adaptive thresholding rather than projection to promote sparsity — for solving the sparse phase retrieval problem.

We caution, however, that Theorem 11 does not imply that the sample complexity for projected GD (or thresholded GD) is O(klogn)O(k\log n). So far there is no tractable procedure that can provably guarantee a sufficiently good initial point x0\bm{x}_{0} when mklognm\lesssim k\log n (see a discussion of the spectral initialization method in Section 8.3.3). Rather, all computationally feasible algorithms (both convex and nonconvex) analyzed so far require sample complexity at least on the order of k2lognk^{2}\log n under i.i.d. Gaussian designs, unless kk is sufficiently large or other structural information is available . All in all, the computational bottleneck for sparse phase retrieval lies in the initialization stage.

2 Truncated gradient descent

Truncated gradient descent proceeds by trimming away a subset of the measurements when forming the descent direction, typically performed adaptively. We can express it as

where T\mathcal{T} is an operator that effectively drops samples that bear undesirable influences over the search directions.

There are two common purposes for enforcing a truncation step: (1) to remove samples whose associated design vectors are too coherent with the current iterate , in order to accelerate convergence and improve sample complexity; (2) to remove samples that may be adversarial outliers, in the hope of improving robustness of the algorithm .

We use phase retrieval to illustrate this benefit. All results discussed so far require a sample size that exceeds mnlognm\gtrsim n\log n. When it comes to the sample-limited regime where mnm\asymp n, there is no guarantee for strong convexity (or regularity condition) to hold. This presents significant challenges for nonconvex methods, in a regime of critical importance for practitioners.

To better understand the challenge, recall the GD rule (59). When mm is exceedingly large, the negative gradient concentrates around the population-level gradient, which forms a reliable search direction. However, when mnm\asymp n, the gradient — which depends on 4th moments of {ai}\{\bm{a}_{i}\} and is heavy-tailed — may deviate significantly from the mean, thus resulting in unstable search directions.

To stabilize the search directions, one strategy is to trim away those gradient components \{\nabla f_{i}({\bm{x}}_{t}):=\big{(}(\bm{a}_{i}^{\top}\bm{x}_{t})^{2}-y_{i}\big{)}\bm{a}_{i}\bm{a}_{i}^{\top}\bm{x}_{t}\} whose size deviate too much from the typical size. Specifically, the truncation rule proposed in is:Note that the original algorithm proposed in is designed w.r.t. the Poisson loss, although all theory goes through for the current loss.

where αlb\alpha_{\text{lb}}, αub\alpha_{\text{ub}}, αh\alpha_{h} are predetermined thresholds. This trimming rule — called Truncated Wirtinger flow — effectively removes the “heavy tails”, thus leading to much better concentration and hence enhanced performance.

Consider the problem (27). With probability 1O(n10)1-O(n^{-10}), the iterates (84) obey

for some constant 0<ρ<10<\rho<1, provided that mc1nm\geq c_{1}n, x0x2c2x2\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq c_{2}\|\bm{x}_{\star}\|_{2} and ηtc3/x22\eta_{t}\equiv c_{3}/\|\bm{x}_{\star}\|_{2}^{2} for some constants c1,c2,c3>0c_{1},c_{2},c_{3}>0.

for all x{\bm{x}} within a local ball around x{\bm{x}}_{\star}, where λ,μ1\lambda,\mu\asymp 1. See for details.

In comparison to vanilla GD, the truncated version provably achieves two benefits:

Optimal sample complexity: given that one needs at least nn samples to recover nn unknowns, the sample complexity mnm\asymp n is orderwise optimal;

Optimal computational complexity: truncated WF yields ε\varepsilon accuracy in O\big{(}\log\frac{1}{\varepsilon}\big{)} iterations. Since each iteration takes time proportional to that taken to read the data, the computational complexity is nearly optimal.

At the same time, this approach is particularly stable in the presence of noise, which enjoys a statistical guarantee that is minimax optimal. The readers are referred to for precise statements.

2.2 Truncation for removing sparse outliers

In many problems, the collected measurements may suffer from corruptions of sparse outliers, and the gradient descent iterates need to be carefully monitored to remove the undesired effects of outliers (which may take arbitrary values). Take robust PCA (40) as an example, in which a fraction α\alpha of revealed entries are corrupted by outliers. At the ttth iterate, one can first try to identify the support of the sparse matrix S\bm{S}_{\star} by hard thresholding the residual, namely,

Here, c>1c>1 is some predetermined constant (e.g. c=3c=3), and the operator Hl()\mathcal{H}_{l}(\cdot) is defined as

where Aj,(l)A_{j,\cdot}^{(l)} (resp. A,k(l)A_{\cdot,k}^{(l)}) denotes the llth largest entry (in magnitude) in the jjth row (resp. column) of A\bm{A}. The idea is simple: an entry is likely to be an outlier if it is simultaneously among the largest entries in the corresponding row and column. The thresholded residual St+1\bm{S}_{t+1} then becomes our estimate of the sparse outlier matrix S\bm{S}_{\star} in the (t+1)(t+1)-th iteration. With this in place, we update the estimate for the low-rank factor by applying projected GD

where C\mathcal{C} is the same as (78) to enforce the incoherence condition. This method has the following theoretical guarantee:

Assume that the condition number κ\kappa of M=XX\bm{M}_{\star}=\bm{X}_{\star}\bm{X}_{\star}^{\top} is a fixed constant. Suppose that the sample size and the sparsity of the outlier satisfy n2pc0μ2r2nlognn^{2}p\geq c_{0}\mu^{2}r^{2}n\log n and αc1/(μr)\alpha\leq c_{1}/(\mu r) for some constants c0,c1>0c_{0},c_{1}>0. With probability at least 1O(n1)1-O\left(n^{-1}\right), the iterates satisfy

for all t0t\geq 0, provided that dist2(X0,X)c3σr(M)\mathsf{dist}^{2}(\bm{X}_{0},\bm{X}_{\star})\leq c_{3}\sigma_{r}(\bm{M}_{\star}). Here, 0<c2,c3<10<c_{2},c_{3}<1 are some constants, and ηtc4/(μrσ1(M))\eta_{t}\equiv{c_{4}}/(\mu r\sigma_{1}(\bm{M}_{\star})) for some constant c4>0c_{4}>0.

In the full data case, the convergence rate can be improved to 1c21-c_{2} for some constant 0<c2<10<c_{2}<1.

This theorem essentially says that: as long as the fraction of entries corrupted by outliers does not exceed O(1/μr)O(1/\mu r), then the nonconvex algorithm described above provably recovers the true low-rank matrix in about O(μr)O(\mu r) iterations (up to some logarithmic factor). When r=O(1)r=O(1), it means that the nonconvex algorithm succeeds even when a constant fraction of entries are corrupted.

Another truncation strategy to remove outliers is based on the sample median, as the median is known to be robust against arbitrary outliers . We illustrate this median-truncation approach through an example of robust phase retrieval , where we assume a subset of samples in (26) is corrupted arbitrarily, with their index set denoted by S\mathcal{S} with S=αm|\mathcal{S}|=\alpha m. Mathematically, the measurement model in the presence of outliers is given by

The goal is to still recover x\bm{x}_{\star} in the presence of many outliers (e.g. a constant fraction of measurements are outliers).

It is obvious that the original GD iterates (59) are not robust, since the residual

can be perturbed arbitrarily if iSi\in\mathcal{S}. Hence, we instead include only a subset of the samples when forming the search direction, yielding a truncated GD update rule

Here, Tt\mathcal{T}_{t} only includes samples whose residual size rt,i|r_{t,i}| does not deviate much from the median of {rt,j}1jm\{|r_{t,j}|\}_{1\leq j\leq m}:

where median()\mathsf{median}(\cdot) denotes the sample median. As the iterates get close to the ground truth, we expect that the residuals of the clean samples will decrease and cluster, while the residuals remain large for outliers. In this situation, the median provides a robust means to tell them apart. One has the following theory, which reveals the success of the median-truncated GD even when a constant fraction of measurements are arbitrarily corrupted.

Consider the problem (89) with a fraction α\alpha of arbitrary outliers. There exist some constants c0,c1,c2>0c_{0},c_{1},c_{2}>0 and 0<ρ<10<\rho<1 such that if mc0nlognm\geq c_{0}n\log n, αc1\alpha\leq c_{1}, and x0x2c2x2\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq c_{2}\|\bm{x}_{\star}\|_{2}, then with probability at least 1O(n1)1-O(n^{-1}), the median-truncated GD iterates satisfy

3 Generalized gradient descent

In all the examples discussed so far, the loss function f()f(\cdot) has been a smooth function. When f()f(\cdot) is nonsmooth and non-differentiable, it is possible to continue to apply GD using the generalized gradient (e.g. subgradient) . As an example, consider again the phase retrieval problem but with an alternative loss function, where we minimize the quadratic loss of the amplitude-based measurements, given as

We can simply execute GD w.r.t. the generalized gradient:

Consider the problem (27). There exist some constants c0,c1,c2>0c_{0},c_{1},c_{2}>0 and 0<ρ<10<\rho<1 such that if mc0nm\geq c_{0}n and ηtc2\eta_{t}\equiv c_{2}, then with high probability,

as long as x0x2x2/10\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq\|\bm{x}_{\star}\|_{2}/10.

4 Projected power method for constrained PCA

Many applications require solving a constrained quadratic maximization (or constrained PCA) problem:

where C\mathcal{C} encodes the set of feasible points. This problem becomes nonconvex if either L\bm{L} is not negative semidefinite or if C\mathcal{C} is nonconvex. To demonstrate the value of studying this problem, we introduce two important examples.

Phase synchronization . Suppose we wish to recover nn unknown phases ϕ1,,ϕn[0,2π]\phi_{1},\cdots,\phi_{n}\in[0,2\pi] given their pairwise relative phases. Alternatively, by setting (x)i=eϕi(x_{\star})_{i}=e^{\phi_{i}}, this problem reduces to estimating x=[(x)i]1in\bm{x}_{\star}=[(x_{\star})_{i}]_{1\leq i\leq n} from xxH\bm{x}_{\star}\bm{x}_{\star}^{\mathsf{H}} — a matrix that encodes all pairwise phase differences (x)i(x)jH=eϕiϕj(x_{\star})_{i}(x_{\star})_{j}^{\mathsf{H}}=e^{\phi_{i}-\phi_{j}}. To account for the noisy nature of practical measurements, suppose that what we observe is L=xxH+σW\bm{L}=\bm{x}_{\star}\bm{x}_{\star}^{\mathsf{H}}+\sigma\bm{W}, where W\bm{\bm{W}} is a Hermitian matrix. Here, {Wi,j}ij\{W_{i,j}\}_{i\leq j} are i.i.d. standard complex Gaussians. The quantity σ\sigma indicates the noise level, which determines the hardness of the problem. A natural way to attempt recovery is to solve the following problem

Joint alignment . Imagine we want to estimate nn discrete variables {(x)i}1in\{(x_{\star})_{i}\}_{1\leq i\leq n}, where each variable can take mm possible values, namely, (x)i{1,,m}(x_{\star})_{i}\in\{1,\cdots,m\}. Suppose that estimation needs to be performed based on pairwise difference samples yi,j=xixj+zi,j mod my_{i,j}=x_{i}-x_{j}+z_{i,j}~{}\mathsf{mod}~{}m, where the zi,jz_{i,j}’s are i.i.d. noise and their distributions dictate the recovery limits. To facilitate computation, one strategy is to lift each discrete variable xix_{i} into a mm-dimensional vector xi{e1,,em}\bm{x}_{i}\in\{\bm{e}_{1},\cdots,\bm{e}_{m}\}. We then introduce a matrix L\bm{L} that properly encodes all log-likelihood information. After simple manipulation (see for details), maximum likelihood estimation can be cast as follows

More examples of constrained PCA include an alternative formulation of phase retrieval , sparse PCA , and multi-channel blind deconvolution with sparsity priors .

To solve (96), two algorithms naturally come into mind. The first one is projected GD, which follows the update rule

Another possibility is called the projected power method (PPM) , which drops the current iterate and performs projection only over the gradient component:

While this is perhaps best motivated by its connection to the canonical eigenvector problem (which is often solved by the power method), we remark on its close resemblance to projected GD. In fact, for many constrained sets C\mathcal{C} (e.g. the ones in phase synchronization and joint alignment), (97) is equivalent to projected GD when the step size ηt\eta_{t}\rightarrow\infty.

As it turns out, the PPM provably achieves near-optimal sample and computational complexities for the preceding two examples. Due to the space limitation, the theory is described only in passing.

Phase synchronization. With high probability, the PPM with proper initialization converges linearly to the global optimum, as long as the noise level σn/logn\sigma\lesssim\sqrt{n/\log n}. This is information theoretically optimal up to some log factor .

Joint alignment. With high probability, the PPM with proper initialization converges linearly to the ground truth, as long as certain Kullback-Leibler divergence w.r.t. the noise distribution exceeds the information-theoretic threshold. See details in .

5 Gradient descent on manifolds

In many problems of interest, it is desirable to impose additional constraints on the object of interest, which leads to a constrained optimization problem over manifolds. In the context of low-rank matrix factorization, to eliminate global scaling ambiguity, one might constrain the low-rank factors to live on a Grassmann manifold or a Riemannian quotient manifold .

To fix ideas, take matrix completion as an example. When factorizing M=LR{\bm{M}}_{\star}={\bm{L}}_{\star}{\bm{R}}_{\star}^{\top}, we might assume LG(n1,r){\bm{L}}_{\star}\in\mathcal{G}(n_{1},r), where G(n1,r)\mathcal{G}(n_{1},r) denotes the Grassmann manifold which parametrizes all rr-dimensional linear subspaces of the n1n_{1}-dimensional spaceMore specifically, any point in G(n,r)\mathcal{G}(n,r) is an equivalent class of a n×rn\times r orthonormal matrix. See for details. . In words, we are searching for a rr-dimensional subspace L{\bm{L}} but ignores the global rotation. It is also assumed that LL=Ir{\bm{L}}_{\star}^{\top}{\bm{L}}_{\star}={\bm{I}}_{r} to remove the global scaling ambiguity (otherwise (cL,c1R)(c\bm{L},c^{-1}\bm{R}) is always equivalent to (L,R)(\bm{L},\bm{R}) for any c0c\neq 0). One might then try to minimize the loss function defined over the Grassmann manifold as follows

As it turns out, it is possible to apply GD to F()F(\cdot) over the Grassmann manifold by moving along the geodesics; here, a geodesic is the shortest path between two points on a manifold. See for an excellent overview. In what follows, we provide a very brief exposure to highlight its difference from a nominal gradient descent in the Euclidean space.

We start by writing out the conventional gradient of F()F(\cdot) w.r.t. the ttth iterate Lt{\bm{L}}_{t} in the Euclidean space :

for some properly chosen step size ηt\eta_{t}. For the rank-1 case where r=1r=1, the update rule (101) can be simplified to

with σ:=GF(Lt)2\sigma:=\|\nabla_{\mathcal{G}}F({\bm{L}}_{t})\|_{2}. As can be verified, Lt+1{\bm{L}}_{t+1} automatically stays on the unit sphere obeying Lt+1Lt+1=1{\bm{L}}_{t+1}^{\top}{\bm{L}}_{t+1}=1.

One of the earliest provable nonconvex methods for matrix completion — the OptSpace\mathsf{OptSpace} algorithm by Keshavan et al. — performs gradient descent on the Grassmann manifold, tailored to the loss function:

where LG(n1,r){\bm{L}}\in\mathcal{G}(n_{1},r) and RG(n2,r){\bm{R}}\in\mathcal{G}(n_{2},r), with some additional regularization terms to promote incoherence (see Section 5.2.2). It is shown by that GD on the Grassman manifold converges to the truth with high probability if n2pμ2κ6r2nlognn^{2}p\gtrsim\mu^{2}\kappa^{6}r^{2}n\log n, provided that a proper initialization is given.

Other gradient descent approaches on manifolds include . See for an extensive overview of recent developments along this line.

6 Stochastic gradient descent

Many problems have to deal with an empirical loss function that is an average of the sample losses, namely,

When the sample size is large, it is computationally expensive to apply the gradient update rule — which goes through all data samples — in every iteration. Instead, one might apply stochastic gradient descent (SGD) , where in each iteration, only a single sample or a small subset of samples are used to form the search direction. Specifically, the SGD follows the update rule

where Ωt{1,,m}\Omega_{t}\in\{1,\ldots,m\} is a subset of cardinality kk selected uniformly at random. Here, k1k\geq 1 is known as the mini-batch size. As one can expect, the mini-batch size kk plays an important role in the trade-off between the computational cost per iteration and the convergence rate. A properly chosen mini-batch size will optimize the total computational cost given the practical constraints. Please see for the application of SGD in phase retrieval (which has an interesting connection with the Kaczmarz method), and for its application in matrix factorization.

Beyond gradient methods

Gradient descent is certainly not the only method that can be employed to solve the problem (1). Indeed, many other algorithms have been proposed, which come with different levels of theoretical guarantees. Due to the space limitation, this section only reviews two popular alternatives to gradient methods discussed so far. For simplicity, we consider the following unconstrained problem (with slight abuse of notation)

To optimize the core problem (106), alternating minimization (AltMin) alternates between solving the following two subproblems: for t=1,2,t=1,2\ldots,

where Rt{\bm{R}}_{t} and Lt{\bm{L}}_{t} are updated sequentially. Here, L0{\bm{L}}_{0} is an appropriate initialization. For many problems discussed here, both (107a) and (107b) are convex problems and can be solved efficiently.

Consider the loss function (21). In each iteration, AltMin proceeds as follows : for t=1,2,t=1,2\ldots,

Each substep consists of a linear least-squares problem, which can often be solved efficiently via the conjugate gradient algorithm . To illustrate why this forms a promising scheme, we look at the following simple example.

Consider the case where A\mathcal{A} is identity (i.e. A(M)=M\mathcal{A}(\bm{M})=\bm{M}). We claim that given almost any initialization, AltMin converges to the truth after two updates. To see this, we first note that the output of the first iteration can be written as

As long as both LL0{\bm{L}}_{\star}^{\top}{\bm{L}}_{0} and L0L0{\bm{L}}_{0}^{\top}{\bm{L}}_{0} are full-rank, the column space of R{\bm{R}}_{\star} matches perfectly with that of R1{\bm{R}}_{1}. Armed with this fact, the subsequent least squares problem (i.e. the update for L1\bm{L}_{1}) is exact, in the sense that L1R1=M=LR\bm{L}_{1}\bm{R}_{1}^{\top}=\bm{M}_{\star}=\bm{L}_{\star}\bm{R}_{\star}^{\top}.

With the above identity example in mind, we are hopeful that AltMin converges fast if A\mathcal{A} is nearly isometric. Towards this, one has the following theory.

Consider the problem (21) and suppose the operator (23) satisfies 2r2r-RIP with RIP constant δ2r1/(100κ2r)\delta_{2r}\leq 1/(100\kappa^{2}r). If we initialize L0{\bm{L}}_{0} by the rr leading left singular vectors of A(y)\mathcal{A}^{*}({\bm{y}}), then AltMin achieves

In comparison to the performance of GD in Theorem 4, AltMin enjoys a better iteration complexity w.r.t. the condition number κ\kappa; that is, it obtains ε\varepsilon-accuracy within O(log(1/ε))O(\log(1/\varepsilon)) iterations, compared to O(κlog(1/ε))O(\kappa\log(1/\varepsilon)) iterations for GD. In addition, the requirement on the RIP constant depends quadratically on κ\kappa, leading to a sub-optimal sample complexity. To address this issue, Jain et al. further developed a stage-wise AltMin algorithm, which only requires δ2r=O(1/r2)\delta_{2r}=O(1/r^{2}). Intuitively, if there is a singular value that is much larger than the remaining ones, then one can treat M\bm{M}_{\star} as a (noisy) rank-1 matrix and compute this rank-1 component via AltMin. Following this strategy, one successively applies AltMin to recover the dominant rank-1 component in the residual matrix, unless it is already well-conditioned. See for details.

1.2 Phase retrieval

Consider the phase retrieval problem. It is helpful to think of the amplitude measurements as bilinear measurements of the signs b={bi{±1}}1im\bm{b}=\{b_{i}\in\{\pm 1\}\}_{1\leq i\leq m} and the signal x{\bm{x}}_{\star}, namely,

This leads to a simple yet useful alternative formulation for the amplitude loss minimization problem

Therefore, by applying AltMin to the loss function f(b,x)f(\bm{b},{\bm{x}}), we obtain the following update rule : for each t=1,2,t=1,2,\ldots

where x0{\bm{x}}_{0} is an appropriate initial estimate, A\bm{A}^{\dagger} is the pseudo-inverse of A:=[a1,,am]{\bm{A}}:=[\bm{a}_{1},\cdots,\bm{a}_{m}]^{\top}, and y:=[yi]1im\sqrt{{\bm{y}}}:=[\sqrt{y_{i}}]_{1\leq i\leq m}. The step (110b) can again be efficiently solved using the conjugate gradient method . This is exactly the Error Reduction (ER) algorithm proposed by Gerchberg and Saxton in the 1970s. Given a reasonably good initialization, this algorithm converges linearly under the Gaussian design.

Consider the problem (27). There exist some constants c0,,c4>0c_{0},\cdots,c_{4}>0 and 0<ρ<10<\rho<1 such that if mc0nm\geq c_{0}n, then with probability at least 1c2exp(c3m)1-c_{2}\exp(-c_{3}m), the estimates of AltMin (ER) satisfy

as long as x0x2c4x2\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq c_{4}\|\bm{x}_{\star}\|_{2}.

AltMin for phase retrieval was first analyzed by but for a sample-splitting variant; that is, each iteration employs fresh samples, which facilitates analysis but is not the version used in practice. The theoretical guarantee for the original sample-reuse version was derived by .

In view of Theorem 17, alternating minimization, if carefully initialized, achieves optimal sample and computational complexities (up to some logarithmic factor) all at once. This in turn explains its appealing performance in practice.

1.3 Matrix completion

Consider the matrix completion problem in (33). Starting with a proper initialization (L0,R0)({\bm{L}}_{0},{\bm{R}}_{0}), AltMin proceeds as follows: for t=1,2,t=1,2,\ldots

where PΩ\mathcal{P}_{\Omega} is defined in (30). Despite its popularity in practice , a clean analysis of the above update rule is still missing to date. Several modifications have been proposed and analyzed in the literature, primarily to bypass mathematical difficulty:

Sample splitting. Instead of reusing the same set of samples across all iterations, this approach draws a fresh set of samples at every iteration and performs AltMin on the new samples :

Regularization. Another strategy is to apply AltMin to the regularized loss function in (• ‣ 5.2.2) :

In , it is shown that the AltMin without resampling converges to M\bm{M}_{\star}, with the proviso that the sample complexity exceeds n2pμ2κ6nr7lognn^{2}p\gtrsim\mu^{2}\kappa^{6}nr^{7}\log n. Note that the subproblems (113a) and (113b) do not have closed-form solutions. For properly chosen regularization functions, they might be solved using convex optimization algorithms.

It remains an open problem to establish theoretical guarantees for the original form of AltMin (112). Meanwhile, the existing sample complexity guarantees are quite sub-optimal in terms of the dependency on rr and κ\kappa, and should not be taken as an indicator of the actual performance of AltMin.

2 Singular value projection

Another popular approach to solve (106) is singular value projection (SVP) . In contrast to the algorithms discussed so far, SVP performs gradient descent in the full matrix space and then applies a partial singular value decomposition (SVD) to retain the low-rank structure. Specifically, it adopts the update rule

Here, ηt\eta_{t} is the step size, and Pr(Z)\mathcal{P}_{r}({\bm{Z}}) returns the best rank-rr approximation of Z{\bm{Z}}. Given that the iterates Mt{\bm{M}}_{t} are always low-rank, one can store Mt{\bm{M}}_{t} in a memory-efficient manner by storing its compact SVD.

The SVP algorithm is a popular approach for matrix sensing and matrix completion, where the partial SVD can be calculated using Krylov subspace methods (e.g. Lanczos algorithm) or the randomized linear algebra algorithms . The following theorem establishes performance guarantees for SVP.

Consider the problem (106) and suppose the operator (23) satisfies 2r2r-RIP for RIP constant δ2r1/3\delta_{2r}\leq 1/3. If we initialize M0=0{\bm{M}}_{0}=\bm{0} and adopt a step size ηt1/(1+δ2r)\eta_{t}\equiv 1/(1+\delta_{2r}), then SVP achieves

Consider the problem (32) and set M0=0{\bm{M}}_{0}=\bm{0}. Suppose that n2pc0κ6μ4r6nlognn^{2}p\geq c_{0}\kappa^{6}\mu^{4}r^{6}n\log n for some large constant c0>0c_{0}>0, and that the step size is set as ηt1\eta_{t}\equiv 1. Then with probability exceeding 1O(n10)1-O\left(n^{-10}\right), the SVP iterates achieve

as long as tc1log(M/ε)t\geq c_{1}\log(\|{\bm{M}}_{\star}\|/\varepsilon) for some constant c1>0c_{1}>0.

Theorem 18 and Theorem 19 indicate that SVP converges linearly as soon as the sample size is sufficiently large.

Further, the SVP operation is particularly helpful in enabling optimal uncertainty quantification and inference for noisy matrix completion (e.g. constructing a valid and short confidence interval for an entry of the unknown matrix). The interested readers are referred to for details.

3 Further pointers to other algorithms

A few other nonconvex matrix factorization algorithms have been left out due to space, including but not limited to normalized iterative hard thresholding (NIHT) , atomic decomposition for minimum rank approximation (Admira) , composite optimization (e.g. prox-linear algorithm) , approximate message passing , block coordinate descent , coordinate descent , and conjugate gradient . The readers are referred to these papers for detailed descriptions.

Initialization via spectral methods

The theoretical performance guarantees presented in the last three sections rely heavily on proper initialization. One popular scheme that often generates a reasonably good initial estimate is called the spectral method. Informally, this strategy starts by arranging the data samples into a matrix Y\bm{Y} of the form

where Y\bm{Y}_{\star} represents certain large-sample limit whose eigenspace / singular subspaces reveal the truth, and Δ\bm{\Delta} captures the fluctuation due to the finite-sample effect. One then attempts to estimate the truth by computing the eigenspace / singular subspace of Y\bm{Y}, provided that the finite-sample fluctuation is well-controlled. This simple strategy has proven to be quite powerful and versatile in providing a “warm start” for many nonconvex matrix factorization algorithms.

Understanding the performance of the spectral method requires some elementary toolkits regarding eigenspace / singular subspace perturbations, which we review in this subsection.

As it turns out, the eigenspace of Y\bm{Y} is a stable estimate of the eigenspace of Y\bm{Y}_{\star}, with the proviso that the perturbation is sufficiently small in size. This was first established in the celebrated Davis-Kahan sinΘ\sin\bm{\Theta} Theorem . Specifically, let the eigenvalues of Y\bm{Y}_{\star} be partitioned into two groups

where 1r<n1\leq r<n. We assume that the eigen-gap between the two groups, λr(Y)λr+1(Y)\lambda_{r}(\bm{Y}_{\star})-\lambda_{r+1}(\bm{Y}_{\star}), is strictly positive. For example, if Y0\bm{Y}_{\star}\succeq\bm{0} and has rank rr, then all the eigenvalues in the second group are identically zero.

If Δ<λr(Y)λr+1(Y)\|\bm{\Delta}\|<\lambda_{r}(\bm{Y}_{\star})-\lambda_{r+1}(\bm{Y}_{\star}), then

The bound we present in (117) is in fact a simplified, but slightly more user-friendly version of the original Davis-Kahan inequality. A more general result states that, if λr(Y)λr+1(Y)>0\lambda_{r}(\bm{Y}_{\star})-\lambda_{r+1}(\bm{Y})>0, then

If Δ<σr(Y)σr+1(Y)\|\bm{\Delta}\|<\sigma_{r}(\bm{Y}_{\star})-\sigma_{r+1}(\bm{Y}_{\star}), then

In addition, one might naturally wonder how the eigenvalues / singular values are affected by the perturbation. To this end, Weyl’s inequality provides a simple answer:

In summary, both eigenspace (resp. singular subspace) perturbation and eigenvalue (resp. singular value) perturbation rely heavily on the spectral norm of the perturbation Δ\bm{\Delta}.

2 Spectral methods

With the matrix perturbation theory in place, we are positioned to present spectral methods for various low-rank matrix factorization problems. As we shall see, these methods are all variations on a common recipe.

We start with the prototypical problem of matrix sensing (19) as described in Section 4.1. Let us construct a surrogate matrix as follows

Why would this be a good strategy? In view of Section 8.1, the three matrices U\bm{U}, V\bm{V} and Σ\bm{\Sigma} become reliable estimates if YM\|\bm{Y}-\bm{M}_{\star}\| can be well-controlled. A simple way to control YM\|\bm{Y}-\bm{M}_{\star}\| arises when A\mathcal{A} satisfies the RIP in Definition 6.

Suppose that M\bm{M}_{\star} is a rank-rr matrix, and assume that A\mathcal{A} satisfies 2r2r-RIP with RIP constant δ2r<1\delta_{2r}<1. Then

Let x,y\bm{x},\bm{y} be two arbitrary vectors, then

where the last inequality is due to Lemma 3. Using a variational characterization of \|\cdot\|, we have

In what follows, we first illustrate how to control the estimation error in the rank-1 case where M=λuu0\bm{M}_{\star}=\lambda_{\star}\bm{u}_{\star}\bm{u}_{\star}^{\top}\succeq\bm{0}. In this case, the leading eigenvector u\bm{u} of Y\bm{Y} obeys

where (i) comes from Theorem 20, and (ii) holds if YMσ1(M)/2\|\bm{Y}-\bm{M}_{\star}\|\leq\sigma_{1}(\bm{M}_{\star})/2 (which is guaranteed if δ21/2\delta_{2}\leq 1/2 according to Lemma 8). Similarly, we can invoke Weyl’s inequality and Lemma 8 to control the gap between the leading eigenvalue λ\lambda of Y\bm{Y} and λ\lambda_{\star}:

Combining the preceding two bounds, we see that: if uu0\bm{u}^{\top}\bm{u}_{\star}\geq 0, then

where the last inequality makes use of (124), (125), and (LABEL:eq:dist-equivalent). This characterizes the difference between our estimate λu\sqrt{\lambda}\bm{u} and the true low-rank factor λu\sqrt{\lambda_{\star}}\bm{u}_{\star}.

Moving beyond this simple rank-1 case, a more general (and often tighter) bound can be obtained by using a refined argument from [23, Lemma 5.14]. We present the theory below. The proof can be found in Appendix D.

Fix ζ>0\zeta>0. Suppose A\mathcal{A} satisfies 2r2r-RIP with RIP constant δ2r<c0ζ/(rκ)\delta_{2r}<c_{0}\sqrt{\zeta}/(\sqrt{r}\kappa) for some sufficiently small constant c0>0c_{0}>0. Then the spectral estimate (122) obeys

It is worth pointing out that in view of Fact 1, the vanilla spectral method needs O(nr2)O(nr^{2}) samples to land in the local basin of attraction (in which linear convergence of GD is guaranteed according to Theorem 4).

As discussed in Section 5, the RIP does not hold for the sensing matrices used in many problems. Nevertheless, one may still be able to show that the leading singular subspace of the surrogate matrix Y\bm{Y} contains useful information about the truth M\bm{M}_{\star}. In the sequel, we will go over several examples to demonstrate this point.

2.2 Phase retrieval

Recall that the phase retrieval problem in Section 4.2 can be viewed as a matrix sensing problem, where we seek to recover a rank-1 matrix M=xx\bm{M}_{\star}=\bm{x}_{\star}\bm{x}_{\star}^{\top} with sensing matrices Ai=aiai\bm{A}_{i}=\bm{a}_{i}\bm{a}_{i}^{\top}. To obtain an initial guess x0\bm{x}_{0} that is close to the truth x\bm{x}_{\star}, we follow the recipe described in (121) by estimating the leading eigenvector u\bm{u} and leading eigenvalue λ\lambda of a surrogate matrix

The initial guess is then formed asIn the sample-limited regime with mnm\asymp n, one should replace λ/3\sqrt{\lambda/3} in (127) by i=1myi/m\sqrt{{\sum_{i=1}^{m}y_{i}}/{m}}. The latter provides a more accurate estimate. See the discussions in Section 8.3.1.

Unfortunately, the RIP does not hold for the sensing operator in phase retrieval, which precludes us from invoking Theorem 22. There is, however, a simple and intuitive explanation regarding why x0\bm{x}_{0} is a reasonably good estimate of x\bm{x}_{\star}. Under the Gaussian design, the surrogate matrix Y\bm{Y} in (126) can be viewed as the sample average of mm i.i.d. random rank-one matrices {yiaiai}1im\left\{y_{i}\bm{a}_{i}\bm{a}_{i}^{\top}\right\}_{1\leq i\leq m}. When the number of samples mm is large, this sample average should be “close” to its expectation, which is,

The above intuitive arguments can be made precise. Applying standard matrix concentration inequalities to the surrogate matrix in (126) and invoking the Davis-Kahan sinΘ\sin\bm{\Theta} theorem, one arrives at the following estimates:

2.3 Quadratic sensing

An argument similar to phase retrieval can be applied to quadratic sensing in (29), recognizing that the expectation of the surrogate matrix Y{\bm{Y}} in (126) now becomes

for estimating the low-rank factor X\bm{X}_{\star}. The theory is as follows.

2.4 Blind deconvolution

The blind deconvolution problem introduced in Section 4.4 has a similar mathematical structure to that of phase retrieval. Recall the sensing model in (35). Instead of reconstructing a symmetric rank-1 matrix, we now aim to recover an asymmetric rank-1 matrix hxH\bm{h}_{\star}\bm{x}_{\star}^{\mathsf{H}} with sensing matrices Ai=biaiH\bm{A}_{i}=\bm{b}_{i}\bm{a}_{i}^{\mathsf{H}} (1im)(1\leq i\leq m). Following (121), we form a surrogate matrix

Let u\bm{u}, v\bm{v}, and σ\sigma denote the leading left singular vector, right singular vector, and singular value, respectively. The initial guess is then formed as

This estimate provably reveals sufficient information about the truth, provided that the sample size mm is sufficiently large.

Consider blind deconvolution in Section 4.4. Suppose h\bm{h}_{\star} satisfies the incoherence condition in Definition 8 with parameter μ\mu, and assume h2=x2\|\bm{h}_{\star}\|_{2}=\|\bm{x}_{\star}\|_{2}. For any ζ>0\zeta>0, if mc0ζ2μ2Klog2mm\geq c_{0}\zeta^{-2}\mu^{2}K\log^{2}m for some sufficiently large constant c0>0c_{0}>0, then the spectral estimate (131) obeys

with probability at least 1O(m10)1-O(m^{-10}).

2.5 Matrix completion

Turning to matrix completion as introduced in Section 4.3, which is another instance of matrix sensing with sensing matrices taking the form of

Then the measurements obey Ai,j,M=1p(M)i,j\langle\bm{A}_{i,j},\bm{M}_{\star}\rangle=\frac{1}{\sqrt{p}}(M_{\star})_{i,j}. Following the aforementioned procedure, we can form a surrogate matrix as

Consider matrix completion in Section 4.3. Fix ζ>0\zeta>0, and suppose the condition number κ\kappa of M\bm{M}^{\star} is a fixed constant. There exist a constant c0>0c_{0}>0 such that if np>c0μ2r2lognnp>c_{0}\mu^{2}r^{2}\log n, then with probability at least 1O(n10)1-O(n^{-10}), the spectral estimate (122) obeys

3 Variants of spectral methods

We illustrate modifications to the spectral method, which are often found necessary to further enhance sample efficiency, increase robustness to outliers, and incorporate signal priors.

The generic recipe for spectral methods described above works well when one has sufficient samples compared to the underlying signal dimension. It might not be effective though if the sample complexity is on the order of the information-theoretic limit.

In what follows, we use phase retrieval to demonstrate the underlying issues and how to address themStrategies of similar spirit have been proposed for other problems; see, e.g., for matrix completion. . Recall that Theorem 23 requires a sample complexity mnlognm\gtrsim n\log n, which is a logarithmic factor larger than the signal dimension nn. What happens if we only have access to mnm\asymp n samples, which is the information-theoretic limit (order-wise) for phase retrieval? In this more challenging regime, it turns out that we have to modify the standard recipe by applying appropriate preprocessing before forming the surrogate matrix Y\bm{Y} in (121).

We start by explaining why the surrogate matrix (126) for phase retrieval must be suboptimal in terms of sample complexity. For all 1jm1\leq j\leq m,

In particular, taking j=i=argmax1im yij=i^{\ast}=\underset{{1\leq i\leq m}}{\arg\max}\ y_{i} gives us

Under the Gaussian design, {yi/x22}\left\{y_{i}/\|\bm{x}_{\star}\|_{2}^{2}\right\} is a collection of i.i.d. χ2\chi^{2} random variables with 1 degree of freedom. It follows from well-known estimates in extreme value theory that

Meanwhile, ai22n\|\bm{a}_{i^{\ast}}\|_{2}^{2}\approx n for nn sufficiently large. It follows from (134) that

This condition, however, cannot be satisfied when we have linear sample complexity mnm\asymp n. This explains why we need a sample complexity mnlognm\gtrsim n\log n in Theorem 23.

The above analysis also suggests an easy fix: since the main culprit lies in the fact that maxiyi\max_{i}y_{i} is unbounded (as mm\to\infty), we can apply a preprocessing function T()\mathcal{T}(\cdot) to yiy_{i} to keep the quantity bounded. Indeed, this is the key idea behind the truncated spectral method proposed by Chen and Candès , in which the surrogate matrix is modified as

for some predetermined truncation threshold γ\gamma. The initial point x0\bm{x}_{0} is then formed by scaling the leading eigenvector of YT\bm{Y}_{\mathcal{T}} to have roughly the same norm of x{\bm{x}}_{\star}, which can be estimated by σ=1mi=1myi\sigma=\frac{1}{m}\sum_{i=1}^{m}y_{i}. This is essentially performing a trimming operation, removing any entry of yiy_{i} that bears too much influence on the leading eigenvector. The trimming step turns out to be very effective, allowing one to achieve order-wise optimal sample complexity.

Consider phase retrieval in Section 4.2. Fix any ζ>0\zeta>0, and suppose mc0nm\geq c_{0}n for some sufficiently large constant c0>0c_{0}>0. Then the truncated spectral estimate obeys

Subsequently, several different designs of the preprocessing function have been proposed in the literature. One example was given in , where

where γ\gamma is the (cm)(cm)-largest value (e.g. c=1/6c=1/6) in {yj}1jm\{y_{j}\}_{1\leq j\leq m}. In words, this method only employs a subset of design vectors that are better aligned with the truth x\bm{x}_{\star}. By properly tuning the parameter cc, this truncation scheme performs competitively as the scheme in (137).

3.2 Truncated spectral method for removing sparse outliers

When the samples are susceptible to adversarial entries, e.g. in the robust phase retrieval problem (89), the spectral method might not work properly even with the presence of a single outlier whose magnitude can be arbitrarily large to perturb the leading eigenvector of Y\bm{Y}. To mitigate this issue, a median-truncation scheme was proposed in , where

for some predetermined constant γ>0\gamma>0. By including only a subset of samples whose values are not excessively large compared with the sample median of the samples, the preprocessing function in (139) makes the spectral method more robust against sparse and large outliers.

Consider the robust phase retrieval problem in (89), and fix any ζ>0\zeta>0. There exist some constants c0,c1>0c_{0},c_{1}>0 such that if mc0nm\geq c_{0}n and αc1\alpha\leq c_{1}, then the median-truncated spectral estimate obeys

The idea of applying truncation to form a spectral estimate is also used in the robust PCA problem (see Section 4.5). Since the observations are also potentially corrupted by large but sparse outliers, it is useful to first clean up the observations (Γ)i,j=(M)i,j+(S)i,j(\bm{\Gamma}_{\star})_{i,j}=(\bm{M}_{\star})_{i,j}+(\bm{S}_{\star})_{i,j} before constructing the surrogate matrix as in (133). Indeed, this is the strategy proposed in . We start by forming an estimate of the sparse outliers via the hard-thresholding operation Hl()\mathcal{H}_{l}(\cdot) defined in (86), as

where c>0c>0 is some predetermined constant (e.g. c=3c=3) and PΩ\mathcal{P}_{\Omega} is defined in (30). Armed with this estimate, we form the surrogate matrix as

One can then apply the spectral method to Y\bm{Y} in (141) (similar to the matrix completion case). This approach enjoys the following performance guarantee.

Suppose that the condition number κ\kappa of M=LR\bm{M}_{\star}=\bm{L}_{\star}\bm{R}_{\star}^{\top} is a fixed constant. Fix ζ>0\zeta>0. If the sample size and the sparsity fraction satisfy n2pc0μr2nlognn^{2}p\geq c_{0}\mu r^{2}n\log n and αc1/(μr3/2)\alpha\leq c_{1}/(\mu r^{3/2}) for some large constant c0,c1>0c_{0},c_{1}>0, then with probability at least 1O(n1)1-O\left(n^{-1}\right),

3.3 Spectral method for sparse phase retrieval

The nonzero part of x{\bm{x}}_{\star} is then found by applying the spectral method outlined in Section 8.2.2 to YS^=1mi=1myiai,S^ai,S^\bm{Y}_{\hat{\mathcal{S}}}=\frac{1}{m}\sum_{i=1}^{m}y_{i}\bm{a}_{i,\hat{\mathcal{S}}}\bm{a}_{i,\hat{\mathcal{S}}}^{\top}, where ai,S^\bm{a}_{i,\hat{\mathcal{S}}} is the subvector of ai\bm{a}_{i} coming from the support S^\hat{\mathcal{S}}. In short, this strategy provably leads to a reasonably good initial estimate, as long as mk2lognm\gtrsim k^{2}\log n; the complete theory can be found in . See also for a more involved approach, which provides better empirical performance.

4 Precise asymptotic characterization and phase transitions for phase retrieval

The Davis-Kahan and Wedin sinΘ\sin\bm{\Theta} Theorems are broadly applicable and convenient to use, but they usually fall short of providing the tightest estimates. For many problems, if one examines the underlying statistical models carefully, it is often possible to obtain much more precise performance guarantees for spectral methods.

In , Lu and Li provided an asymptotically exact characterization of spectral initialization in the context of generalized linear regression, which subsumes phase retrieval as a special case. One way to quantify the quality of this eigenvector is via the squared cosine similarity

which measures the (squared) correlation between the truth x{\bm{x}}_{\star} and the initialization x0{\bm{x}}_{0}. The result is this:

Consider phase retrieval in Section 4.2, and let m/n=αm/n=\alpha for some constant α>0\alpha>0. Under mild technical conditions on the preprocessing function T\mathcal{T}, the leading eigenvector x0/x02{\bm{x}}_{0}/\|{\bm{x}}_{0}\|_{2} of YT\bm{Y}_{\mathcal{T}} in (136) obeys

The asymptotic prediction given in Theorem 30 reveals a phase transition phenomenon: there is a critical sampling ratio αc\alpha_{c} that marks the transition between two very contrasting regimes.

The value α\alpha^{\ast} is called the weak recovery threshold. When α<α\alpha<\alpha^{\ast}, no algorithm can generate an estimate that is asymptotically positively correlated with x\bm{x}_{\star}. The function Tα()\mathcal{T}^{\ast}_{\alpha}(\cdot) is optimal in the sense that it approaches this weak recovery threshold.

Another way to formulate optimality is via the squared cosine similarity in (142). For any fixed sampling ratio α>0\alpha>0, we seek a preprocessing function that maximizes the squared cosine similarity, namely,

The following theorem shows that the fixed function T()\mathcal{T}^{\ast}(\cdot) is in fact uniformly optimal for all sampling ratio α\alpha. Therefore, instead of using (144) which takes different forms depending on α\alpha, one should directly use T()\mathcal{T}^{\ast}(\cdot).

Under the same settings of Theorem 31, we have Tαopt()=T()\mathcal{T}_{\alpha}^{\mathsf{opt}}(\cdot)=\mathcal{T}^{\ast}(\cdot), where T()\mathcal{T}^{\ast}(\cdot) is defined in (145).

Finally, to demonstrate the improvements brought by the optimal preprocessing function, we show in Fig. 4 the results of applying the spectral methods to estimate a 64×6464\times 64 cameraman image from phaseless measurements under Poisson noise. It is evident that the optimal design significantly improves the performance of the method.

5 Notes

The idea of spectral methods can be traced back to the early work of Li , under the name of Principal Hessian Directions for general multi-index models. Similar spectral techniques were also proposed in , for initializing algorithms for low-rank matrix completion. Regarding phase retrieval, Netrapalli et al. used this method to address the problem of phase retrieval, the theoretical guarantee of which was tightened in . Similar guarantees were also provided for the randomly coded diffraction pattern model in . The first order-wise optimal spectral method was proposed by Chen and Candès , based on the truncation idea. This method has multiple variants , and has been shown to be robust against noise. The precise asymptotic characterization of the spectral method was first obtained in . Based on this characterization, determined the optimal weak reconstruction threshold for spectral methods.

Finally, the spectral method has been applied to many other problems beyond the ones discussed here, including but not limited to community detection , phase synchronization , joint alignment , ranking from pairwise comparisons , tensor estimation . We have to omit these due to the space limit.

Global landscape and initialization-free algorithms

A separate line of work aims to study the global geometry of a loss function f()f(\cdot) over the entire parameter space, often under appropriate statistical models of the data. As alluded by the warm-up example in Section 3.2, such studies characterize the critical points and geometric curvatures of the loss surface, and highlight the (non-)existence of spurious local minima. The results of the geometric landscape analysis can then be used to understand the effectiveness of a particular optimization algorithm of choice.

In general, global minimization requires one to avoid two types of undesired critical points: (1) local minima that are not global minima; (2) saddle points. If all critical points of a function f()f(\cdot) are either global minima or strict saddle points, we say that f()f(\cdot) has benign landscape. Here, we single out strict saddles from all possible saddle points, since they are easier to escape due to the existence of descent directions.Degenerate saddle points refer to critical points whose Hessian contain some eigenvalues equal to . Such and higher-order saddle points are harder to escape; we refer interested readers to for more discussions.

Loosely speaking, nonconvexity arises in these problems partly due to “symmetry”, where the global solutions are identifiable only up to certain global transformations. This necessarily leads to multiple indistinguishable local minima that are globally optimal. Further, saddle points arise naturally when interpolating the loss surface between two separated local minima. Nonetheless, in spite of nonconvexity, a large family of problems exhibit benign landscape. This subsection gives a few such examples.

A straightforward instance that has already been discussed is the warm-up example in Section 3. It can be slightly generalized as follows.

In this setup, established that: under mild conditions,Specifically, assumed YX(XX)1XY{\bm{Y}}{\bm{X}}^{\top}({\bm{X}}{\bm{X}}^{\top})^{-1}{\bm{X}}{\bm{Y}}^{\top} is full rank with nn distinct positive eigenvalues. f(A,B)f({\bm{A}},{\bm{B}}) has no spurious local minima.In a recent work , the entire landscape is further characterized.

In particular, when X=Y{\bm{X}}={\bm{Y}}, Example 3 reduces to rank-rr matrix factorization [or principal component analysis (PCA)], an immediate extension of the rank-1 warm-up example. When XY{\bm{X}}\neq{\bm{Y}}, Example 3 is precisely the canonical correlation analysis (CCA) problem. This explains why both PCA and CCA, though highly nonconvex, admit efficient solutions.

1.2 Matrix sensing and rank-constrained optimization

Moving beyond PCA and CCA, a more nontrivial problem is matrix sensing in the presence of RIP. The analysis for this problem, while much simpler than other problems like phase retrieval and matrix completion — is representative of a typical strategy for analyzing problems of this kind.

Consider the matrix sensing problem (20). If A\mathcal{A} satisfies 2r2r-RIP with δ2r<1/10\delta_{2r}<{1}/{10}, then:

(All local minima are global): for any local minimum X{\bm{X}} of f()f(\cdot), it satisfies XX=M{\bm{X}}{\bm{X}}^{\top}={\bm{M}}_{\star};

(Strict saddles): for any critical point X{\bm{X}} that is not a local minimum, it satisfies \lambda_{\min}\big{(}\nabla^{2}f({\bm{X}})\big{)}\leq-4\sigma_{r}(\bm{M}_{\star})/5.

For conciseness, we focus on the rank-1 case with M=xx{\bm{M}}_{\star}={\bm{x}}_{\star}{\bm{x}}_{\star}^{\top} and show that all local minima are global. The complete proof can be found in .

Consider any local minimum x\bm{x} of f()f(\cdot). This is characterized by the first-order and second-order optimality conditions

Without loss of generality, assume that xx2x+x2\|{\bm{x}}-{\bm{x}}_{\star}\|_{2}\leq\|{\bm{x}}+{\bm{x}}_{\star}\|_{2}.

A typical proof idea is to demonstrate that: if x\bm{x} is not globally optimal, then one can identify a descent direction, thus contradicting the local optimality of x\bm{x}. A natural guess of such a descent direction would be the direction towards the truth, i.e. xx\bm{x}-\bm{x}_{\star}. As a result, the proof consists in showing that: when the RIP constant is sufficiently small, one has

unless x=x{\bm{x}}={\bm{x}}_{\star}. Additionally, the value of (147) is helpful in upper bounding λmin(2f(x))\lambda_{\min}(\nabla^{2}f({\bm{x}})) if x{\bm{x}} is a saddle point. See Appendix E for details. ∎

We take a moment to expand on this result. Recall that we have introduced a version of strong convexity and smoothness for f()f(\cdot) when accounting for global orthogonal transformation (Section 5.1.2). Another way to express this is through a different parameterization

which clearly satisfies g(XX)=f(X)g({\bm{X}}{\bm{X}}^{\top})=f({\bm{X}}). It is not hard to show that: in the presence of the RIP, the Hessian 2g()\nabla^{2}g(\cdot) is well-conditioned when restricted to low-rank decision variables and directions. This motivates the following more general result, stated in terms of certain restricted well-conditionedness of g()g(\cdot). One of the advantages is its applicability to more general loss functions beyond the squared loss.

Let g()g(\cdot) be a convex function. Suppose that

1.3 Phase retrieval and matrix completion

Next, we move on to problems that fall short of restricted well-conditionedness. As it turns out, it is still possible to have benign landscape, although the Lischiptz constants w.r.t. both gradients and Hessians might be much larger. A typical example is phase retrieval, for which the smoothness condition is not well-controlled (as discussed in Lemma 5).

Consider the phase retrieval problem (27). If the sample size mnlog3nm\gtrsim n\log^{3}n, then with high probability, there is no spurious local minimum, and all saddle points of f()f(\cdot) are strict saddles.

Further, we turn to the kind of loss functions that only satisfy highly restricted strong convexity and smoothness. In some cases, one might be able to properly regularize the loss function to enable benign landscape. Here, regularization can be enforced in a way similar to regularized gradient descent as discussed in Section 5.2.2. In the following, we use matrix completion as a representative example.

Consider the problem (32) but replace f()f(\cdot) with a regularized loss

with λ>0\lambda>0 a regularization parameter, and G0(z)=max{zα,0}4G_{0}(z)=\max\{z-\alpha,0\}^{4} for some α>0\alpha>0. For properly selected α\alpha and λ\lambda, if the sample size n2pnmax{μκrlogn,μ2κ2r2}n^{2}p\gtrsim n\max\{\mu\kappa r\log n,\mu^{2}\kappa^{2}r^{2}\}, then with high probability, all local minima X{\bm{X}} of freg()f_{\mathsf{reg}}(\cdot) satisfies XX=XX{\bm{X}}{\bm{X}}^{\top}={\bm{X}}_{\star}{\bm{X}}_{\star}^{\top}, and all saddle points of freg()f_{\mathsf{reg}}(\cdot) are strict saddles.

The study of global landscape in matrix completion was initiated in . The current result in Theorem 36 is taken from .

1.4 Over-parameterization

Another scenario that merits special attention is over-parametrization . Take matrix sensing and phase retrieval for instance: if we lift the decision variable to the full matrix space (as opposed to using the low-rank decision variable), the resulting optimization problem is

where M\bm{M}_{\star} is the true low-rank matrix. Here, Ai=aiai{\bm{A}}_{i}={\bm{a}}_{i}{\bm{a}}_{i}^{\top} and M=xx\bm{M}_{\star}=\bm{x}_{\star}\bm{x}_{\star}^{\top} for phase retrieval. As it turns out, under minimal sample complexity, fop()f_{\mathsf{op}}(\cdot) does not have spurious local minima even though we over-parametrize the model significantly; in other words, enforcing the low-rank constraint is not crucial for optimization.

Any local minimum X\bm{X}_{\star} of the above function fop()f_{\mathsf{op}}(\cdot) obeys XX=M\bm{X}_{\star}\bm{X}_{\star}^{\top}=\bm{M}_{\star}, provided that the set

The singleton property assumed in Theorem 37 has been established, for example, for the following two problems:

matrix sensing (the positive semidefinite case where M0\bm{M}_{\star}\succeq\bm{0}), as long as A\mathcal{A} satisfies 5r5r-RIP with a RIP constant δ5r1/10\delta_{5r}\leq 1/10 ; a necessary and sufficient condition was established in ;

phase retrieval, as long as mc0nm\geq c_{0}n for some sufficiently large constant c0>0c_{0}>0; see .

As an important implication of Theorem 37, even solving the over-parametrized optimization problem allows us to achieve perfect recovery for the above two problems. This was first observed by and then made precise by ; they showed that running GD w.r.t. the over-parameterized loss fop()f_{\mathsf{op}}(\cdot) also (approximately) recovers the truth under roughly the same sample complexity, provided that a near-zero initialization is adopted.

1.5 Beyond low-rank matrix factorization

Finally, we note that benign landscape has been observed in numerous other contexts beyond matrix factorization. While they are beyond the scope of this paper, we briefly mention two important cases based on chronological order:

M-estimator in statistical estimation . Given a set of independent data points {x1,,xn}\{{\bm{x}}_{1},\cdots,{\bm{x}}_{n}\}, this work studied when the empirical loss function inherits the benign landscape of the population loss function. The results provide a general framework for establishing uniform convergence of the gradient and the Hessian of the empirical risk, and cover several examples such as binary classification, robust regression, and Gaussian mixture models.

1.6 Notes

2 Gradient descent with random initialization

For many problems described above with benign landscape, there is no spurious local minima, and the only task is to escape strict saddle points and to find second-order critical points, which are now guaranteed to be global optima. In particular, our main algorithmic goal is to find a second-order critical point of a function exhibiting benign geometry. To make the discussion more precise, we define the functions of interest as follows

A function f()f(\cdot) is said to satisfy the (ε,γ,ζ)(\varepsilon,\gamma,\zeta)-strict saddle property for some ε,γ,ζ>0\varepsilon,\gamma,\zeta>0, if for each x{\bm{x}} at least one of the following holds:

(strong gradient)  f(x)2ε~{}\|\nabla f({\bm{x}})\|_{2}\geq\varepsilon;

(negative curvature)  λmin(2f(x))γ~{}\lambda_{\min}\left(\nabla^{2}f({\bm{x}})\right)\leq-\gamma;

(local minimum) there exists a local minimum x{\bm{x}}_{\star} such that xx2ζ\|{\bm{x}}-{\bm{x}}_{\star}\|_{2}\leq\zeta.

In words, this property says that: every point either has a large gradient, or has a negative directional curvature, or lies sufficiently close to a local minimum. In addition, while we have not discussed the strong gradient condition in the preceding subsection, it arises for most of the aforementioned problems when x\bm{x} is not close to the global minimum.

A natural question arises as to whether an algorithm as simple as gradient descent can converge to a second-order critical point of a function satisfying this property. Apparently, GD cannot start from anywhere; for example, if it starts from any undesired critical point (which obeys f(x)=0\nabla f(\bm{x})=\bm{0}), then it gets trapped. But what happens if we initialize GD randomly?

A recent work provides the first answer to this question. Borrowing tools from dynamical systems theory, it proves that:

Consider any twice continuously differentiable function ff that satisfies the strict saddle property (Definition 9). If ηt<1/β\eta_{t}<1/\beta with β\beta the smoothness parameter, then GD with a random initialization converges to a local minimizer or -\infty almost surely.

This theorem says that for a broad class of benign functions of interest, GD — when randomly initialized — never gets stuck in the saddle points. The following example helps develop a better understanding of this theorem.

Consider a quadratic minimization problem

The GD rule is xt+1=xtηtAxt\bm{x}_{t+1}=\bm{x}_{t}-\eta_{t}\bm{A}\bm{x}_{t}. If ηtη<1/A\eta_{t}\equiv\eta<1/\|\bm{A}\|, then

The above theory has been extended to accommodate other optimization methods like coordinate descent, mirror descent, the gradient primal-dual algorithm, and alternating minimization . In addition, the above theory is generic and accommodates all benign functions satisfying the strict saddle property.

We caution, however, that almost-sure convergence does not imply fast convergence. In fact, there exist non-pathological functions such that randomly initialized GD takes time exponential in the ambient dimension to escape saddle points . That being said, it is possible to develop problem-specific theory that reveals much better convergence guarantees. Once again, we take phase retrieval as an example.

Consider the problem (27), and suppose that mnpolylogmm\gtrsim n\mathsf{poly}\log m. The GD iterates with random initialization x0N(0,x22nIn){\bm{x}}_{0}\sim\mathcal{N}(\bm{0},\frac{\|{\bm{x}}_{\star}\|_{2}^{2}}{n}\bm{I}_{n}) and ηt1/(c3x22)\eta_{t}\equiv 1/(c_{3}\|\bm{x}_{\star}\|_{2}^{2}) obey

with probability 1O(n10)1-O(n^{-10}). Here, c3,c4>0c_{3},c_{4}>0 are some constants, T0lognT_{0}\lesssim\log n, and we assume x0x2x0+x2\|\bm{x}_{0}-\bm{x}_{\star}\|_{2}\leq\|\bm{x}_{0}+\bm{x}_{\star}\|_{2}.

To be more precise, the algorithm consists of two stages:

When 0tT0logn0\leq t\leq T_{0}\lesssim\log n: this stage allows GD to find and enter the local basin surrounding the truth, which takes time no more than O(logn)O(\log n) steps. To explain why this is fast, we remark that the signal strength xt,x|\langle{\bm{x}}_{t},{\bm{x}}_{\star}\rangle| in this stage grows exponentially fast, while the residual strength \big{\|}\bm{x}_{t}-\frac{|\langle\bm{x}_{t},\bm{x}_{\star}\rangle|}{\|\bm{x}_{\star}\|_{2}^{2}}\bm{x}_{\star}\big{\|}_{2} does not increase by much.

Taken collectively, GD with random initialization achieves ε\varepsilon-accuracy in O\big{(}\log n+\log\frac{1}{\varepsilon}\big{)} iterations, making it appealing for solving large-scale problems. It is worth noting that the GD iterates never approach or hit the saddles; in fact, there is often a positive force dragging the GD iterates away from the saddle points.

Furthermore, there are other examples for which randomly initialized GD converges fast; see for further examples. We note, however, that the theoretical support for random initialization is currently lacking for many important problems (including matrix completion and blind deconvolution).

3 Generic saddle-escaping algorithms

Given that gradient descent with random initialization has only been shown to be efficient for specific examples, it is natural to ask how to design generic optimization algorithms to efficiently escape saddle points for all functions with benign geometry (i.e. those satisfying the strict saddle property in Definition 9). To see why this is hopeful, consider any strict saddle point x\bm{x} (which obeys f(x)=0\nabla f(\bm{x})=\bm{0}). The Taylor expansion implies

for any Δ\bm{\Delta} sufficiently small. Since x\bm{x} is a strict saddle, one can identify a direction of negative curvature and further decrease the objective value (i.e. f(x+Δ)<f(x)f(\bm{x}+\bm{\Delta})<f(\bm{x})). In other words, the existence of negative curvatures enables efficient escaping from undesired saddle points.

Many algorithms have been proposed towards the above goal. Roughly speaking, the available algorithms can be categorized into three classes, depending on which basic operations are needed: (1) Hessian-based algorithms; (2) Hessian-vector-product-based algorithms; (3) gradient-based algorithms.

Caution needs to be exercised as this categorization is very rough at best. One can certainly argue that many Hessian-based operations can be carried out via Hessian-vector products, and that Hessian-vector products can be computed using only gradient information.

Before proceeding, we introduce two notations that are helpful in presenting the theory. First, following the convention , a point x{\bm{x}} is said to be an ε\varepsilon-second-order critical point if

Next, the algorithms often require the loss functions to be sufficiently smooth in the following sense:

A function f()f(\cdot) is L2L_{2}-Hessian-Lipschitz if, for any x1,x2{\bm{x}}_{1},{\bm{x}}_{2}, one has

This class of algorithms requires an oracle that returns 2f(x)\nabla^{2}f({\bm{x}}) for any given x{\bm{x}}. Examples include the trust-region method and the cubic-regularized Newton method.

Trust-region methods (TRM). At the ttth iterate, this method minimizes a quadratic approximation of the loss function in a local neighborhood, where the quadratic approximation is typically based on a second-order Taylor expansion at the current iterate . Mathematically,

for some properly chosen radius Δ\Delta. By choosing the size of the local neighborhood — called the “trust region” — to be sufficiently small, we can expect the second-order approximation within this region to be reasonably reliable. Thus, if xt\bm{x}_{t} happens to be a strict saddle point, then TRM is still able to find a descent direction due to the negative curvature condition. This means that such local search will not get stuck in undesired saddle points.

Cubic regularization. This method attempts to minimize a cubic-regularized upper bound on the loss function :

Here, L2L_{2} is taken to be the Lipschitz constant of the Hessians (see Definition 10), so as to ensure that the objective function in (157) majorizes the true objective f()f(\cdot). While the subproblem (157) is nonconvex and may have local minima, it can often be efficiently solved by minimizing an explicitly written univariate convex function [185, Section 5], or even by gradient descent .

Both methods are capable of finding an ε\varepsilon-second-order stationary point (cf. (154)) in O(ε1.5)O(\varepsilon^{-1.5}) iterations , where each iteration consists of one gradient and one Hessian computations.

3.2 Hessian-vector-product-based algorithms

Here, the oracle returns 2f(x)u\nabla^{2}f({\bm{x}})\,\bm{u} for any given x{\bm{x}} and u{\bm{u}}. In what follows, we review the method by Carmon et al. which falls under this category. There are two basic subroutines that are carried out using Hessian-vector products.

Negative-Curvature-Descent\mathsf{Negative\text{-}Curvature\text{-}Descent}, which allows one to find, if possible, a direction that decreases the objective value. This is achieved by computing the eigenvector corresponding to the smallest eigenvalue of the Hessian.

Almost-Convex-AGD\mathsf{Almost\text{-}Convex\text{-}AGD}, which invokes Nesterov’s accelerated gradient method to optimize an almost convex function superimposed with a squared proximity term.

In each iteration, based on the estimate of the smallest eigenvalue of the current Hessian, the algorithm decides whether to move along the direction computed by Negative-Curvature-Descent\mathsf{Negative\text{-}Curvature\text{-}Descent} (so as not to get trapped in saddle points), or to apply Almost-Convex-AGD\mathsf{Almost\text{-}Convex\text{-}AGD} to optimize an almost convex function. See for details. This method converges to an ε\varepsilon-second-order stationary point in O(ε7/4log1ε)O(\varepsilon^{-7/4}\log\frac{1}{\varepsilon}) steps, where each step involves computing a Hessian-vector product.

Another method that achieves about the same computational complexity is Agarwal et al. . This is a fast variant of cubic regularization. The key idea is to invoke, among other things, fast multiplicative approximations to accelerate the subproblem of the cubic-regularized Newton step. The interested readers shall consult for details.

3.3 Gradient-based algorithms

Here, an oracle outputs f(x)\nabla f({\bm{x}}) for any given x{\bm{x}}. These methods are computationally efficient since only first-order information is required.

Ge et al. initiated this line of work by designing a first-order algorithm that provably escapes strict saddle points in polynomial time with high probability. The algorithm proposed therein is a noise-injected version of (stochastic) gradient descent, namely,

where ζt\bm{\zeta}_{t} is some noise sampled uniformly from a sphere, and f(xt)\nabla f({\bm{x}}_{t}) can also be replaced by a stochastic gradient. The iteration complexity, however, depends on the dimension polynomially, which grows prohibitively as the ambient dimension of xt\bm{x}_{t} increases. Similar high iteration complexity holds for which is based on injecting noise to normalized gradient descent.

The computational guarantee was later improved by perturbed gradient descent, proposed in . In contrast to (158), perturbed GD adds noise to the iterate before computing the gradient, namely,

with ζt\bm{\zeta}_{t} uniformly drawn from a sphere. The crux of perturbed GD is to realize that strict saddles are unstable; it is possible to escape them and make progress with a slight perturbation. It has been shown that perturbed GD finds an ε\varepsilon-second-order stationary point in O(ε2)O(\varepsilon^{-2}) iterations (up to some logarithmic factor) with high probability, and is hence almost dimension-free. Note that each iteration only needs to call the gradient oracle once.

Moreover, this can be further accelerated via Nesterov’s momentum-based methods . Specifically, proposed a perturbed version of Nesterov’s accelerated gradient descent (AGD), which adds perturbation to AGD and combines it with an operation similar to Negative-Curvature-Descent\mathsf{Negative\text{-}Curvature\text{-}Descent} described above. This accelerated method converges to an ε\varepsilon-second-order stationary point in O(ε7/4)O(\varepsilon^{-7/4}) iterations (up to some logarithmic factor) with high probability, which matches the computational complexity of .

There are also several other algorithms that provably work well in the presence of stochastic / incremental first-order and / or second-order oracles . Interested readers are referred to the ICML tutorial and the references therein. Additionally, we note that it is possible to adapt many of the above mentioned saddle-point escaping algorithms onto manifolds; we refer the readers to .

3.4 Caution

Finally, it is worth noting that: in addition to the dependency on ε\varepsilon, all of the above iteration complexities also rely on (1) the smoothness parameter, (2) the Lipschitz constant of the Hessians, and (3) the local strong convexity parameter. These parameters, however, do not necessarily fall within the desired level. For instance, in most of the problems mentioned herein (e.g. phase retrieval, matrix completion), the nonconvex objective function is not globally smooth, namely, the local gradient Lipschitz constant might grow to infinity as the parameters become unbounded. Motivated by this, one might need to further assume that optimization is performed within a bounded set of parameters, as is the case for . Leaving out this boundedness issue, a more severe matter is that these parameters often depend on the problem size. For example, recall that in phase retrieval, the smoothness parameter scales with nn even within a reasonably small bounded range (see Lemma 5). As a consequence, the resulting iteration complexities of the above saddle-escaping algorithm might be significantly larger than, say, O(ε7/4)O(\varepsilon^{-7/4}) for various large-scale problems.

Concluding remarks

Given that nonconvex matrix factorization is a rapidly growing field, we expect that many of the results reviewed herein may be improved or superseded. Nonetheless, the core techniques and insights reviewed in this article will continue to play a key role in understanding nonconvex statistical estimation and learning. While a paper of this length is impossible to cover all recent developments, our aim has been to convey the key ideas via representative examples and to strike a balance between useful theory and varied algorithms. Table 1 summarizes representative references on the canonical problems reviewed herein, with a pointer to their corresponding convex approaches for completeness. It should be noted that most of these results are obtained under random data models, which may not be satisfied in practice (e.g., in matrix completion the sampling patterns can be non-uniform). This means one should not take directly the performance guarantees as is before checking the reasonability of assumptions, and indeed, the performance may drop significantly without carefully modifying the nonconvex approaches on a case-by-case basis to specific problems.

Caution needs to be exercised that the theory derived for nonconvex paradigms may still be sub-optimal in several aspects. For instance, the number of samples required for recovering / completing a rank-rr matrix often scales at least quadratically with the rank rr in the current nonconvex optimization theory, which is outperformed by convex relaxation (whose sample complexity typically scales linearly with rr). The theoretical dependency on the condition number of the matrix also falls short of optimality.

Due to the space limits, we have omitted developments in several other important aspects, most notably the statistical guarantees vis-à-vis noise. Most of our discussions (and analyses) can be extended without much difficulty to the regime with small to moderate noise; see, for example, for the stability of gradient methods in phase retrieval, matrix completion, and blind deconvolution. Encouragingly, the nonconvex methods not only allow to control the Euclidean estimation errors in a minimax optimal manner, they also provably achieve optimal statistical accuracy in terms of finer error metrics (e.g. optimal entrywise error control in matrix completion ). In addition, there is an intimate link between convex relaxation and nonconvex optimization, which allows us to improve the stability guarantees of convex relaxation via the theory of nonconvex optimization; see for details.

Furthermore, we have also left out several important nonconvex problems and methods in order to stay focused, including but not limited to (1) blind calibration and finding sparse vectors in a subspace ; (2) tensor completion, decomposition and mixture models ; (3) parameter recovery and inverse problems in shallow and deep neural networks ; (4) analysis of Burer-Monteiro factorization to semidefinite programs . The interested readers can consult for an extensive list of further references. We would also like to refer the readers to an excellent recent monograph by Jain and Kar that complements our treatment. Roughly speaking, concentrates on the introduction of generic optimization algorithms, with low-rank factorization (and other learning problems) used as special examples to illustrate the generic results. In contrast, the current article focuses on unveiling deep statistical and algorithmic insights specific to nonconvex low-rank factorization.

Finally, we conclude this paper by singling out several exciting avenues for future research:

investigate the convergence rates of randomly initialized gradient methods for problems without Gaussian-type measurements (e.g. matrix completion and blind deconvolution);

characterize generic landscape properties that enable fast convergence of gradient methods from random initialization;

relax the stringent assumptions on the statistical models underlying the data; for example, a few recent works studied nonconvex phase retrieval under more physically-meaningful measurement models ;

develop robust and scalable nonconvex methods that can handle distributed data samples with strong statistical guarantees;

study the capability of other commonly used optimization algorithms (e.g. alternating minimization) in escaping saddle points;

characterize the optimization landscape of constrained nonconvex statistical estimation problems like non-negative low-rank matrix factorization (the equality-constrained case has recently been explored by );

develop a unified and powerful theory that can automatically accommodate the problems considered herein and beyond.

Acknowledgment

The authors thank the editors of IEEE Transactions on Signal Processing, Prof. Pier Luigi Dragotti and Prof. Jarvis Haupt, for handling this invited overview article, and thank the editorial board for useful feedbacks of the white paper. The authors thank Cong Ma, Botao Hao, Tian Tong and Laixi Shi for proofreading an early version of the manuscript.

Appendix A Proof of Theorem 3

With the notation (23) at hand, we can rewrite

where the last line uses the symmetry of Ai\bm{A}_{i}.

To establish local strong convexity and smoothness, we need to control z2f(x)z\bm{z}^{\top}\nabla^{2}f(\bm{x})\bm{z} for all z\bm{z}. The key ingredient is to show that: z2f(x)z\bm{z}^{\top}\nabla^{2}f(\bm{x})\bm{z} is not too far away from

a function that can be easily shown to be locally strongly convex and smooth. To this end, we resort to the RIP (see Definition 6). When A\mathcal{A} satisfies 4-RIP, Lemma 3 indicates that

where the last line holds if xx2x2\|\bm{x}-\bm{x}_{\star}\|_{2}\leq\|\bm{x}_{\star}\|_{2}. Similarly,

As a result, if δ4\delta_{4} is small enough, then putting the above results together implies that: z2f(x)z\bm{z}^{\top}\nabla^{2}f(\bm{x})\bm{z} is sufficiently close to g(x,z)g(\bm{x},\bm{z}). A little algebra then gives (see Appendix B)

for all z\bm{z}, which provides bounds on local strong convexity and smoothness parameters. Applying Lemma 1 thus establishes the theorem.

Appendix B Proof of Claim (164)

Without loss of generality, we assume that z2=x2=1\|\bm{z}\|_{2}=\|\bm{x}_{\star}\|_{2}=1. When xx2x2\|\bm{x}-\bm{x}_{\star}\|_{2}\leq\|\bm{x}_{\star}\|_{2}, some elementary algebra gives

Putting these together with (160), (162) and (163), we have

Recognizing that x2213xx2|\|\bm{x}\|_{2}^{2}-1|\leq 3\|\bm{x}-\bm{x}_{\star}\|_{2}, we further reach

If δ41/44\delta_{4}\leq 1/44 and xx21/12\|\bm{x}-\bm{x}_{\star}\|_{2}\leq 1/12, then we arrive at

Appendix C Modified strong convexity for (46)

Here, we demonstrate that when X\bm{X} is sufficiently close to X\bm{X}_{\star}, then the objective function of f()f_{\infty}(\cdot) of (46) exhibits the modified form of strong convexity in the form of (51).

Set V=ZHZX\bm{V}=\bm{Z}\bm{H}_{\bm{Z}}-\bm{X}_{\star}. In view of (47), it suffices to show

for all X\bm{X} sufficiently close to X\bm{X}_{\star} and all Z\bm{Z}. To this end, we first observe a simple perturbation bound (the proof is omitted)

The last line holds by recognizing that XZHZ0\bm{X}_{\star}^{\top}\bm{Z}\bm{H}_{\bm{Z}}\succeq\bm{0} [53, Theorem 2], which implies that Tr(XZHZXZHZ)0\mathsf{Tr}(\bm{X}_{\star}^{\top}\bm{Z}\bm{H}_{\bm{Z}}\bm{X}_{\star}^{\top}\bm{Z}\bm{H}_{\bm{Z}})\geq 0 and \mathsf{Tr}\big{(}\bm{X}_{\star}^{\top}\bm{Z}\bm{H}_{\bm{Z}}\bm{X}_{\star}^{\top}\bm{X}_{\star}\big{)}\geq 0. Thus,

Appendix D Proof of Theorem 22

We start with the rank-rr PSD case, where we denote by X0{\bm{X}}_{0} the initial estimate (i.e. X0=L0=R0{\bm{X}}_{0}={\bm{L}}_{0}={\bm{R}}_{0} for this case) and X{\bm{X}}_{\star} the ground truth. Observe that

where the second line follows since X0X0{\bm{X}}_{0}{\bm{X}}_{0}^{\top} is the best rank-rr approximation of Y{\bm{Y}} (and hence X0X0YXXY\|{\bm{X}}_{0}{\bm{X}}_{0}^{\top}-{\bm{Y}}\|\leq\|{\bm{X}}_{\star}{\bm{X}}_{\star}^{\top}-{\bm{Y}}\|), and the last inequality follows from Lemma 8. A useful lemma from [23, Lemma 5.4] allows us to directly upper bound dist2(X0,X)\mathsf{dist}^{2}({\bm{X}}_{0},{\bm{X}}_{\star}) by the Euclidean distance between their low-rank counterparts.

As an immediate consequence of the above lemma, we get

where the last line follows from (165). Therefore, as long as δ2rζ/(rκ)\delta_{2r}\ll\sqrt{\zeta}/(r\kappa), we have

Appendix E Proof of Theorem 33 (the rank-1 case)

Before proceeding, we first single out an immediate consequence of the first-order optimality condition (146a) that will prove useful. Specifically, for any critical point x{\bm{x}},

This fact basically says that any critical point of f()f(\cdot) stays very close to the truth in the subpace spanned by this point.

where the last line follows from (146a) with a little algebra. This combined with (25) gives

We then need to show that (168) is negative. To this end, we quote an elementary algebraic inequality [30, Lemma 4.4]

This taken collectively with (168) and (167) yields

which is negative unless x=x\bm{x}=\bm{x}_{\star}. This concludes the proof.

Therefore, for any Z\bm{Z}, using (25) we have

References