Nonconvex Optimization Meets Low-Rank Matrix Factorization: An Overview
Yuejie Chi, Yue M. Lu, Yuxin Chen
Introduction
Here, 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 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 ). 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 , 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 and . 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 or means that there exists a constant such that , means that there exists a constant such that , and means that there exist constants such that .
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 is strictly convex,Recall that is said to be strictly convex if and only if for any and , one has unless . is unique. But it may be non-unique when is nonconvex.
To solve (2), arguably the simplest method is (vanilla) gradient descent (GD), which follows the update rule
Here, is the step size or learning rate at the th iteration, and 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 . As is well-known in the optimization literature, GD is provably convergent at a linear rate when is (locally) strongly convex and smooth. Here, an algorithm is said to converge linearly if the error 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 is -strongly convex and -smooth within a local ball , and that . If , then GD obeys
The optimality of indicates that , which allows us to rewrite the GD update rule as
where . Here, the second line arises from the fundamental theorem of calculus [33, Chapter XIII, Theorem 4.2]. If , then it is self-evident that , which combined with the assumption of Lemma 1 gives
Therefore, as long as (and hence ), we have
This together with the sub-multiplicativity of yields
A byproduct is: if , then the next iterate also falls in . Consequently, applying the above argument recursively and recalling the assumption , we see that all GD iterates remain within . Hence, (7) holds true for all . This immediately concludes the proof. ∎
This result essentially implies that: to yield -accuracy (in a relative sense), i.e. , the number of iterations required for GD — termed the iteration complexity — is at most
if we initialize GD properly such that lies in the local region . In words, the iteration complexity scales linearly with the condition number — the ratio of smoothness to strong convexity parameters. As we shall see, for multiple problems considered herein, the radius of this locally strongly convex and smooth ball can be reasonably large (e.g. on the same order of .
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
is said to obey the regularity condition for some if
for all .
This condition basically implies that at any feasible point , the associated negative search direction is positively correlated with the error , 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 .
It is worth noting that this condition does not require to be differentiable. Also, when , it does not require to be convex within ; 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 ) defined as follows
for all . 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 and .
Under the regularity condition, the iterative algorithm (8) converges linearly with suitable initialization.
Under , the iterative algorithm (8) with and obeys
Assuming that , we can obtain
where the first inequality comes from , and the last line arises if . By setting , we arrive at
which also shows that . The claim then follows by induction under the assumption that . ∎
In view of Lemma 2, the iteration complexity to reach -accuracy (i.e. ) 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) of is any point that satisfies
Moreover, we call a point an -first-order critical point, for some , if it satisfies .
A critical point can be a local minimum, a local maximum, or a saddle point of , depending on the curvatures at / surrounding the point. Specifically, denote by the Hessian matrix at , and let be its minimum eigenvalue. Then for any first-order critical point :
if , then is a local maximum;
if , then is a local minimum;
, then is either a local minimum or a degenerate saddle point;
, then is a strict saddle point.
Another useful concept is second-order critical points, defined as follows.
A point is said to be a second-order critical point (stationary point) if and .
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- approximation of . Clearly, this can be posed as the following problem:Here, the preconstant is introduced for the purpose of normalization and does not affect the solution.
We attempt to minimize the nonconvex function 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. ), is guaranteed to converge fast.
Consider the problem (14). Suppose and . Then the GD iterates (4) obey
By symmetry, Theorem 1 continues to hold if is replaced by .
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 . Its radius, which is not optimized in this theorem, is given by . This also depends on the relative eigen-gap .
The proof mainly consists of showing that is locally strongly convex and smooth, which allows us to invoke Lemma 1. The gradient and the Hessian of are given respectively by
For notational simplicity, let . A little algebra yields that if , then
We start with the smoothness condition. The triangle inequality gives
Next, it comes from the definition of 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 obeying , 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 . 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 have? This is addressed as follows; see also [31, Section 3.3].
Consider the objective function (14). All local minima of are global optima. The rest of the critical points are either local maxima or strict saddle points.
Recall that is a critical point if and only if , or equivalently,
As a result, is a critical point if either it aligns with an eigenvector of or . Given that the eigenvectors of obey , 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 , we have
With regards to the points , one has
and hence they are (equivalent) local minima of ;
For the points , one has
and therefore they are strict saddle points of .
Finally, the critical point at the origin satisfies
and is hence either a local maxima (if ) or a strict saddle point (if ).
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 from for any orthonormal matrix , as they correspond to the same low-rank matrix . 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 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 of rank at most .
As an immediate consequence, the inner product between two low-rank matrices is also nearly preserved if satisfies the RIP. Therefore, behaves approximately like an isometry when restricting its operations over low-rank matrices.
If an operator satisfies the -RIP with RIP constant , then
holds simultaneously for all and of rank at most .
Notably, many random sensing designs are known to satisfy the RIP with high probability, with one remarkable example given below.
If the entries of are i.i.d. Gaussian entries , then as defined in (23) satisfies the -RIP with RIP constant with high probability as soon as .
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 . 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 .
3 Matrix completion
The matrix completion problem then boils down to recovering from (or equivalently, from the partially observed entries of ) . 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 , i.e.
For the positive semidefinite case where , the task can be cast as solving
When it comes to the more general case where , 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 .
Throughout this paper, we let when referring to the matrix completion problem, and set to be the condition number of .
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 of be the smallest number such that
5 Low-rank and sparse matrix decomposition / robust principal component analysis
The goal is to separate and from the (possibly partial) entries of . This problem is also known as robust principal component analysis , since we can think of it as recovering the low-rank factors of when the observed entries are corrupted by sparse outliers (modeled by ). 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 is the set of observed entries. In order to make the problem well-posed, we need the incoherence parameter of as defined in Definition 7 as well, which precludes from being too spiky. In addition, it is sometimes convenient to introduce the following deterministic condition on the sparsity pattern and sparsity level of , originally proposed by . Specifically, it is assumed that the non-zero entries of are “spread out”, where there are at most a fraction 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 . The gradient update rule (4) for this problem reads
where is defined in Section 4.1, and is the conjugate operator of .
When the sensing matrices 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 ’s are drawn from the symmetric Gaussian design, i.e. the diagonal entries of are i.i.d. and the off-diagonal entries are i.i.d. . For any fixed , one has
which coincides with the warm-up example (15) by taking . This bodes well for fast local convergence of GD, at least at the population level (i.e. the case when the sample size ).
What happens in the finite-sample regime? It turns out that if the sensing operator satisfies the RIP (cf. Definition 6), then does not deviate too much from its population-level counterpart, and hence 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 -RIP for RIP constant . If , then GD with 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 is on the order of the information-theoretic limits (i.e. ), 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 ’s are asymmetric, the gradient is given by , although the update rule (45) remains applicable. (20) with , in which the gradient update rule (4) satisfies
At first, one might imagine that remains locally strongly convex. This is, unfortunately, not true, as demonstrated by the following example.
Suppose is identity, then reduces to
for two unit vectors obeying and any . It is straightforward to verify that
which violates convexity. Moreover, this happens even when is arbitrarily close to (by taking ).
Fortunately, the above issue can be easily addressed. The key is to recognize that: one can only hope to recover 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 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 is a global minimizer of , and make the further homogeneity assumption for any orthonormal matrix — a common fact that arises in matrix factorization problems.
If , then GD with obeys
First, by definition of we have
Next, we claim that a modified regularity condition (cf. Definition 3) holds for all , 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 for some . If lies within , then one has 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 th iteration, provided that . Finally, since the initial point is assumed to fall within , we immediately learn from (53) and induction that for all . 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 , where one first adjusts the orientation of to best align with the global minimizer. To confirm that such restriction is sensible, we revisit Example 1. With proper rotation, one has and hence
which becomes strictly positive for . In fact, if is sufficiently close to , 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 satisfies the RIP for some sufficiently small RIP constant, then is locally not far from in Example 1, meaning that the condition (51) continues to hold for some . This leads to the following result. It is assumed that the ground truth has condition number .
Consider the problem (20), and suppose the operator (23) satisfies the -RIP with RIP constant . Then there exist some universal constants such that if , then GD with 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 : 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 is on the order of the information-theoretic limits (i.e. ), in view of Fact 1.
Our discussion continues to hold for the more general case where , 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 (resp. ) with (resp. ) 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 such that with probability at least ,
holds simultaneously for all obeying , provided that .
This lemma says that is locally 0.5-strongly convex and -smooth when the sample size . 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 , provided that and .
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 iterations to guarantee -accuracy (in a relative sense). For large-scale problems where 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: is locally -strongly convex, but the smoothness parameter is exceedingly large (see Lemma 5). On closer inspection, those points that are too aligned with any of the sampling vector incur ill-conditioned Hessians. For instance, suppose is a unit vector independent of . Then the point for some constant often results in extremely large . With high probability, and hence the Hessian (cf. (60)) at this point satisfies , much larger than the strong convexity parameter when . 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 such that if , then with probability at least ,
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 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 for some large constant . Then with probability , the Hessian obeys
for all (with defined in (50)) and all satisfying
where for some constant .This is a simplified version of [26, Lemma 7] where we restrict the descent direction to point to .
This lemma confines attention to the set of points obeying
Given that each observed entry can be viewed as , the sampling basis relies heavily on the standard basis vectors. As a result, the above lemma is essentially imposing conditions on the incoherence between 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 to the objective function and designing the GD update rule w.r.t. the regularized problem
with the regularization parameter. For example:
Matrix completion (33): the following regularized loss has been proposed
for some scalars . There are numerous choices of ; the one suggested by is . With suitable learning rates and proper initialization, GD w.r.t. the regularized loss provably yields -accuracy in iterations, provided that the sample size .
Blind deconvolution (36): suggest the following regularized loss
with . It has been demonstrated that under proper initialization and step size, gradient methods w.r.t. the regularized loss reach -accuracy in iterations, provided that the sample size .
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 obey
for all with probability . Here, are some constants, and we assume .
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 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 for some large constant , then with probability , the GD iterates with proper initialization (see, e.g., spectral initialization in Section 8.2) and obey
for all . Here, 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- 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 defined in (30). The theory for this update rule is:
Consider the problem (32). Suppose that the sample size satisfies for some large constant , and that the condition number of is a fixed constant. With probability at least , the GD iterates (71) with proper initialization (see, e.g., spectral initialization in Section 8.2) satisfy
for all , with defined in (50). Here, is some constant, and for some constant .
The last example is blind deconvolution. To measure the discrepancy between any and , 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 for some large constant . Then there is some constant such that with probability exceeding , the iterates (74) with proper initialization (see, e.g., spectral initialization in Section 8.2) and 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 can be either convex or nonconvex. For many important sets 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. ), one runs projected GD w.r.t. the loss function in (32):
where is the step size and denote the Euclidean projection onto the set of incoherent matrices:
with being the initialization and is a predetermined constant (e.g. ). 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 . 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 for some large constant , and that the condition number of is a fixed constant. With probability at least , the projected GD iterates (77) satisfy
for all , provided that and for some constant .
This theorem says that projected GD takes iterations to yield -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 . 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 in (26) is -sparse, where . If we have prior knowledge about , then we can pick the constraint set as follows to promote sparsity
Consider the sparse phase retrieval problem where is -sparse. Suppose that for some large constant . The projected GD iterates w.r.t. (27) and the constraint set (80) obey
with probability at least , provided that and .
Another possible projection constraint set for sparse phase retrieval is the (nonconvex) set of -sparse vectors ,
This leads to a hard-thresholding operation, namely, becomes the best -term approximation of (obtained by keeping the largest entries (in magnitude) of 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 . So far there is no tractable procedure that can provably guarantee a sufficiently good initial point when (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 under i.i.d. Gaussian designs, unless 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 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 . When it comes to the sample-limited regime where , 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 is exceedingly large, the negative gradient concentrates around the population-level gradient, which forms a reliable search direction. However, when , the gradient — which depends on 4th moments of 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 , , 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 , the iterates (84) obey
for some constant , provided that , and for some constants .
for all within a local ball around , where . See for details.
In comparison to vanilla GD, the truncated version provably achieves two benefits:
Optimal sample complexity: given that one needs at least samples to recover unknowns, the sample complexity is orderwise optimal;
Optimal computational complexity: truncated WF yields 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 of revealed entries are corrupted by outliers. At the th iterate, one can first try to identify the support of the sparse matrix by hard thresholding the residual, namely,
Here, is some predetermined constant (e.g. ), and the operator is defined as
where (resp. ) denotes the th largest entry (in magnitude) in the th row (resp. column) of . 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 then becomes our estimate of the sparse outlier matrix in the -th iteration. With this in place, we update the estimate for the low-rank factor by applying projected GD
where is the same as (78) to enforce the incoherence condition. This method has the following theoretical guarantee:
Assume that the condition number of is a fixed constant. Suppose that the sample size and the sparsity of the outlier satisfy and for some constants . With probability at least , the iterates satisfy
for all , provided that . Here, are some constants, and for some constant .
In the full data case, the convergence rate can be improved to for some constant .
This theorem essentially says that: as long as the fraction of entries corrupted by outliers does not exceed , then the nonconvex algorithm described above provably recovers the true low-rank matrix in about iterations (up to some logarithmic factor). When , 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 with . Mathematically, the measurement model in the presence of outliers is given by
The goal is to still recover 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 . Hence, we instead include only a subset of the samples when forming the search direction, yielding a truncated GD update rule
Here, only includes samples whose residual size does not deviate much from the median of :
where 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 of arbitrary outliers. There exist some constants and such that if , , and , then with probability at least , the median-truncated GD iterates satisfy
3 Generalized gradient descent
In all the examples discussed so far, the loss function has been a smooth function. When 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 and such that if and , then with high probability,
as long as .
4 Projected power method for constrained PCA
Many applications require solving a constrained quadratic maximization (or constrained PCA) problem:
where encodes the set of feasible points. This problem becomes nonconvex if either is not negative semidefinite or if is nonconvex. To demonstrate the value of studying this problem, we introduce two important examples.
Phase synchronization . Suppose we wish to recover unknown phases given their pairwise relative phases. Alternatively, by setting , this problem reduces to estimating from — a matrix that encodes all pairwise phase differences . To account for the noisy nature of practical measurements, suppose that what we observe is , where is a Hermitian matrix. Here, are i.i.d. standard complex Gaussians. The quantity 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 discrete variables , where each variable can take possible values, namely, . Suppose that estimation needs to be performed based on pairwise difference samples , where the ’s are i.i.d. noise and their distributions dictate the recovery limits. To facilitate computation, one strategy is to lift each discrete variable into a -dimensional vector . We then introduce a matrix 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 (e.g. the ones in phase synchronization and joint alignment), (97) is equivalent to projected GD when the step size .
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 . 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 , we might assume , where denotes the Grassmann manifold which parametrizes all -dimensional linear subspaces of the -dimensional spaceMore specifically, any point in is an equivalent class of a orthonormal matrix. See for details. . In words, we are searching for a -dimensional subspace but ignores the global rotation. It is also assumed that to remove the global scaling ambiguity (otherwise is always equivalent to for any ). 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 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 w.r.t. the th iterate in the Euclidean space :
for some properly chosen step size . For the rank-1 case where , the update rule (101) can be simplified to
with . As can be verified, automatically stays on the unit sphere obeying .
One of the earliest provable nonconvex methods for matrix completion — the algorithm by Keshavan et al. — performs gradient descent on the Grassmann manifold, tailored to the loss function:
where and , 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 , 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 is a subset of cardinality selected uniformly at random. Here, is known as the mini-batch size. As one can expect, the mini-batch size 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
where and are updated sequentially. Here, 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
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 is identity (i.e. ). 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 and are full-rank, the column space of matches perfectly with that of . Armed with this fact, the subsequent least squares problem (i.e. the update for ) is exact, in the sense that .
With the above identity example in mind, we are hopeful that AltMin converges fast if is nearly isometric. Towards this, one has the following theory.
Consider the problem (21) and suppose the operator (23) satisfies -RIP with RIP constant . If we initialize by the leading left singular vectors of , 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 ; that is, it obtains -accuracy within iterations, compared to iterations for GD. In addition, the requirement on the RIP constant depends quadratically on , leading to a sub-optimal sample complexity. To address this issue, Jain et al. further developed a stage-wise AltMin algorithm, which only requires . Intuitively, if there is a singular value that is much larger than the remaining ones, then one can treat 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 and the signal , namely,
This leads to a simple yet useful alternative formulation for the amplitude loss minimization problem
Therefore, by applying AltMin to the loss function , we obtain the following update rule : for each
where is an appropriate initial estimate, is the pseudo-inverse of , and . 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 and such that if , then with probability at least , the estimates of AltMin (ER) satisfy
as long as .
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 , AltMin proceeds as follows: for
where 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 , with the proviso that the sample complexity exceeds . 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 and , 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, is the step size, and returns the best rank- approximation of . Given that the iterates are always low-rank, one can store 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 -RIP for RIP constant . If we initialize and adopt a step size , then SVP achieves
Consider the problem (32) and set . Suppose that for some large constant , and that the step size is set as . Then with probability exceeding , the SVP iterates achieve
as long as for some constant .
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 of the form
where represents certain large-sample limit whose eigenspace / singular subspaces reveal the truth, and captures the fluctuation due to the finite-sample effect. One then attempts to estimate the truth by computing the eigenspace / singular subspace of , 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 is a stable estimate of the eigenspace of , with the proviso that the perturbation is sufficiently small in size. This was first established in the celebrated Davis-Kahan Theorem . Specifically, let the eigenvalues of be partitioned into two groups
where . We assume that the eigen-gap between the two groups, , is strictly positive. For example, if and has rank , then all the eigenvalues in the second group are identically zero.
If , 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 , then
If , 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 .
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 , and become reliable estimates if can be well-controlled. A simple way to control arises when satisfies the RIP in Definition 6.
Suppose that is a rank- matrix, and assume that satisfies -RIP with RIP constant . Then
Let be two arbitrary vectors, then
where the last inequality is due to Lemma 3. Using a variational characterization of , we have
In what follows, we first illustrate how to control the estimation error in the rank-1 case where . In this case, the leading eigenvector of obeys
where (i) comes from Theorem 20, and (ii) holds if (which is guaranteed if according to Lemma 8). Similarly, we can invoke Weyl’s inequality and Lemma 8 to control the gap between the leading eigenvalue of and :
Combining the preceding two bounds, we see that: if , then
where the last inequality makes use of (124), (125), and (LABEL:eq:dist-equivalent). This characterizes the difference between our estimate and the true low-rank factor .
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 . Suppose satisfies -RIP with RIP constant for some sufficiently small constant . Then the spectral estimate (122) obeys
It is worth pointing out that in view of Fact 1, the vanilla spectral method needs 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 contains useful information about the truth . 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 with sensing matrices . To obtain an initial guess that is close to the truth , we follow the recipe described in (121) by estimating the leading eigenvector and leading eigenvalue of a surrogate matrix
The initial guess is then formed asIn the sample-limited regime with , one should replace in (127) by . 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 is a reasonably good estimate of . Under the Gaussian design, the surrogate matrix in (126) can be viewed as the sample average of i.i.d. random rank-one matrices . When the number of samples 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 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 in (126) now becomes
for estimating the low-rank factor . 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 with sensing matrices . Following (121), we form a surrogate matrix
Let , , and 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 is sufficiently large.
Consider blind deconvolution in Section 4.4. Suppose satisfies the incoherence condition in Definition 8 with parameter , and assume . For any , if for some sufficiently large constant , then the spectral estimate (131) obeys
with probability at least .
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 . Following the aforementioned procedure, we can form a surrogate matrix as
Consider matrix completion in Section 4.3. Fix , and suppose the condition number of is a fixed constant. There exist a constant such that if , then with probability at least , 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 , which is a logarithmic factor larger than the signal dimension . What happens if we only have access to 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 in (121).
We start by explaining why the surrogate matrix (126) for phase retrieval must be suboptimal in terms of sample complexity. For all ,
In particular, taking gives us
Under the Gaussian design, is a collection of i.i.d. random variables with 1 degree of freedom. It follows from well-known estimates in extreme value theory that
Meanwhile, for sufficiently large. It follows from (134) that
This condition, however, cannot be satisfied when we have linear sample complexity . This explains why we need a sample complexity in Theorem 23.
The above analysis also suggests an easy fix: since the main culprit lies in the fact that is unbounded (as ), we can apply a preprocessing function to 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 . The initial point is then formed by scaling the leading eigenvector of to have roughly the same norm of , which can be estimated by . This is essentially performing a trimming operation, removing any entry of 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 , and suppose for some sufficiently large constant . 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 is the -largest value (e.g. ) in . In words, this method only employs a subset of design vectors that are better aligned with the truth . By properly tuning the parameter , 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 . To mitigate this issue, a median-truncation scheme was proposed in , where
for some predetermined constant . 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 . There exist some constants such that if and , 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 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 defined in (86), as
where is some predetermined constant (e.g. ) and is defined in (30). Armed with this estimate, we form the surrogate matrix as
One can then apply the spectral method to in (141) (similar to the matrix completion case). This approach enjoys the following performance guarantee.
Suppose that the condition number of is a fixed constant. Fix . If the sample size and the sparsity fraction satisfy and for some large constant , then with probability at least ,
3.3 Spectral method for sparse phase retrieval
The nonzero part of is then found by applying the spectral method outlined in Section 8.2.2 to , where is the subvector of coming from the support . In short, this strategy provably leads to a reasonably good initial estimate, as long as ; 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 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 and the initialization . The result is this:
Consider phase retrieval in Section 4.2, and let for some constant . Under mild technical conditions on the preprocessing function , the leading eigenvector of in (136) obeys
The asymptotic prediction given in Theorem 30 reveals a phase transition phenomenon: there is a critical sampling ratio that marks the transition between two very contrasting regimes.
The value is called the weak recovery threshold. When , no algorithm can generate an estimate that is asymptotically positively correlated with . The function 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 , we seek a preprocessing function that maximizes the squared cosine similarity, namely,
The following theorem shows that the fixed function is in fact uniformly optimal for all sampling ratio . Therefore, instead of using (144) which takes different forms depending on , one should directly use .
Under the same settings of Theorem 31, we have , where 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 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 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 are either global minima or strict saddle points, we say that 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 is full rank with distinct positive eigenvalues. has no spurious local minima.In a recent work , the entire landscape is further characterized.
In particular, when , Example 3 reduces to rank- matrix factorization [or principal component analysis (PCA)], an immediate extension of the rank-1 warm-up example. When , 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 satisfies -RIP with , then:
(All local minima are global): for any local minimum of , it satisfies ;
(Strict saddles): for any critical point 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 and show that all local minima are global. The complete proof can be found in .
Consider any local minimum of . This is characterized by the first-order and second-order optimality conditions
Without loss of generality, assume that .
A typical proof idea is to demonstrate that: if is not globally optimal, then one can identify a descent direction, thus contradicting the local optimality of . A natural guess of such a descent direction would be the direction towards the truth, i.e. . As a result, the proof consists in showing that: when the RIP constant is sufficiently small, one has
unless . Additionally, the value of (147) is helpful in upper bounding if 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 when accounting for global orthogonal transformation (Section 5.1.2). Another way to express this is through a different parameterization
which clearly satisfies . It is not hard to show that: in the presence of the RIP, the Hessian 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 . One of the advantages is its applicability to more general loss functions beyond the squared loss.
Let 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 , then with high probability, there is no spurious local minimum, and all saddle points of 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 with a regularized loss
with a regularization parameter, and for some . For properly selected and , if the sample size , then with high probability, all local minima of satisfies , and all saddle points of 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 is the true low-rank matrix. Here, and for phase retrieval. As it turns out, under minimal sample complexity, 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 of the above function obeys , 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 ), as long as satisfies -RIP with a RIP constant ; a necessary and sufficient condition was established in ;
phase retrieval, as long as for some sufficiently large constant ; 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 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 , 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 is said to satisfy the -strict saddle property for some , if for each at least one of the following holds:
(strong gradient) ;
(negative curvature) ;
(local minimum) there exists a local minimum such that .
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 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 ), 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 that satisfies the strict saddle property (Definition 9). If with the smoothness parameter, then GD with a random initialization converges to a local minimizer or 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 . If , 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 . The GD iterates with random initialization and obey
with probability . Here, are some constants, , and we assume .
To be more precise, the algorithm consists of two stages:
When : this stage allows GD to find and enter the local basin surrounding the truth, which takes time no more than steps. To explain why this is fast, we remark that the signal strength 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 -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 (which obeys ). The Taylor expansion implies
for any sufficiently small. Since is a strict saddle, one can identify a direction of negative curvature and further decrease the objective value (i.e. ). 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 is said to be an -second-order critical point if
Next, the algorithms often require the loss functions to be sufficiently smooth in the following sense:
A function is -Hessian-Lipschitz if, for any , one has
This class of algorithms requires an oracle that returns for any given . Examples include the trust-region method and the cubic-regularized Newton method.
Trust-region methods (TRM). At the th 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 . 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 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, 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 . 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 -second-order stationary point (cf. (154)) in iterations , where each iteration consists of one gradient and one Hessian computations.
3.2 Hessian-vector-product-based algorithms
Here, the oracle returns for any given and . 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.
, 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.
, 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 (so as not to get trapped in saddle points), or to apply to optimize an almost convex function. See for details. This method converges to an -second-order stationary point in 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 for any given . 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 is some noise sampled uniformly from a sphere, and 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 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 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 -second-order stationary point in 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 described above. This accelerated method converges to an -second-order stationary point in 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 , 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 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, 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- matrix often scales at least quadratically with the rank in the current nonconvex optimization theory, which is outperformed by convex relaxation (whose sample complexity typically scales linearly with ). 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 .
To establish local strong convexity and smoothness, we need to control for all . The key ingredient is to show that: 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 satisfies 4-RIP, Lemma 3 indicates that
where the last line holds if . Similarly,
As a result, if is small enough, then putting the above results together implies that: is sufficiently close to . A little algebra then gives (see Appendix B)
for all , 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 . When , some elementary algebra gives
Putting these together with (160), (162) and (163), we have
Recognizing that , we further reach
If and , then we arrive at
Appendix C Modified strong convexity for (46)
Here, we demonstrate that when is sufficiently close to , then the objective function of of (46) exhibits the modified form of strong convexity in the form of (51).
Set . In view of (47), it suffices to show
for all sufficiently close to and all . To this end, we first observe a simple perturbation bound (the proof is omitted)
The last line holds by recognizing that [53, Theorem 2], which implies that 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- PSD case, where we denote by the initial estimate (i.e. for this case) and the ground truth. Observe that
where the second line follows since is the best rank- approximation of (and hence ), and the last inequality follows from Lemma 8. A useful lemma from [23, Lemma 5.4] allows us to directly upper bound 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 , 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 ,
This fact basically says that any critical point of 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 . This concludes the proof.
Therefore, for any , using (25) we have