No Spurious Local Minima in Nonconvex Low Rank Problems: A Unified Geometric Analysis
Rong Ge, Chi Jin, Yi Zheng
Introduction
Non-convex optimization is one of the most powerful tools in machine learning. Many popular approaches, from traditional ones such as matrix factorization (Hotelling, 1933) to modern deep learning (Bengio, 2009) rely on optimizing non-convex functions. In practice, these functions are optimized using simple algorithms such as alternating minimization or gradient descent. Why such simple algorithms work is still a mystery for many important problems.
One way to understand the success of non-convex optimization is to study the optimization landscape: for the objective function, where are the possible locations of global optima, local optima and saddle points. Recently, a line of works showed that several natural problems including tensor decomposition (Ge et al., 2015), dictionary learning (Sun et al., 2015a), matrix sensing (Bhojanapalli et al., 2016; Park et al., 2016) and matrix completion (Ge et al., 2016) have well-behaved optimization landscape: all local optima are also globally optimal. Combined with recent results (e.g. Ge et al. (2015); Carmon et al. (2016); Agarwal et al. (2016); Jin et al. (2017)) that are guaranteed to find a local minimum for many non-convex functions, such problems can be efficiently solved by basic optimization algorithms such as stochastic gradient descent.
In this paper we focus on optimization problems that look for low rank matrices using partial or corrupted observations. Such problems are studied extensively (Fazel, 2002; Rennie and Srebro, 2005; Candès and Recht, 2009) and has many applications in recommendation systems (Koren, 2009), see survey by Davenport and Romberg (2016). These optimization problems can be formalized as follows:
Here is an matrix and is a convex function of . The non-convexity of this problem stems from the low rank constraint. Several interesting problems, such as matrix sensing (Recht et al., 2010), matrix completion (Candès and Recht, 2009) and robust PCA (Candès et al., 2011) can all be framed as optimization problems of this form(see Section 3).
Here is a (optional) regularizer. Despite the objective being non-convex, for all the problems mentioned above, simple iterative updates from random or even arbitrary initial point find the optimal solution in practice. It is then natural to ask: Can we characterize the similarities between the optimization landscape of these problems? We show this is indeed possible:
The objective function of matrix sensing, matrix completion and robust PCA have similar optimization landscape. In particular, for all these problems, 1) all local minima are also globally optimal; 2) any saddle point has at least one strictly negative eigenvalue in its Hessian.
More precise theorem statements appear in Section 3. Note that there were several cases (matrix sensing (Bhojanapalli et al., 2016; Park et al., 2016), symmetric matrix completion (Ge et al., 2016)) where similar results on the optimization landscape were known. However the techniques in previous works are tailored to the specific problems and hard to generalize. Our framework captures and simplifies all these previous results, and also gives new results on asymmetric matrix completion and robust PCA.
The key observation in our analysis is that for matrix sensing, matrix completion, and robust PCA (when fixing sparse estimate), function (in Equation (1)) is a quadratic function over the matrix . Hence the Hessian of with respect to is a constant. More importantly, the Hessian in all above problems has similar properties (that it approximately preserves norm, similar to the RIP properties used in matrix sensing (Recht et al., 2010)), which allows their optimization landscapes to be characterized in a unified way. Specifically, our framework gives principled way of defining a direction of improvement for all points that are not globally optimal.
Another crucial property of our framework is the interaction between the regularizer and the Hessian . Intuitively, the regularizer makes sure the solution is in a nice region (e.g. set of incoherent matrices for matrix completion), and only within the Hessian has the norm preserving property. On the other hand, regularizer should not be too large to severely distort the landscape. This interaction is crucial for matrix completion, and is also very useful in handling noise and perturbations. In Section 4, we discuss ideas required to apply this framework to matrix sensing, matrix completion and robust PCA.
Using this framework, we also give a way to reduce asymmetric matrix problems to symmetric PSD problems (where the desired matrix is of the form ). See Section 5 for more details.
In addition to the results of no spurious local minima, our framework also implies that any saddle point has at least one strictly negative eigenvalue in its Hessian. Formally, we proved all above problems satisfy a robust version of this claim — strict saddle property (see Definition 2), which is one of crucial sufficient conditions to admit efficient optimization algorithms, and thus following corollary (see Section 6 for more details).
For matrix sensing, matrix completion and robust PCA, simple local search algorithms can find the desired low rank matrix from an arbitrary starting point in polynomial time with high probability.
For simplicity, we present most results in the noiseless setting, but our results can also be generalized to handle noise. As an example, we show how to do this for matrix sensing in Section C.
The landscape of low rank matrix problems have recently received a lot of attention. Ge et al. (2016) showed symmetric matrix completion has no spurious local minimum. At the same time, Bhojanapalli et al. (2016) proved similar result for symmetric matrix sensing. Park et al. (2016) extended the matrix sensing result to asymmetric case. All of these works guarantee global convergence to the correct solution.
There has been a lot of work on the local convergence analysis for various algorithms and problems. For matrix sensing or matrix completion, the works (Keshavan et al., 2010a, b; Hardt and Wootters, 2014; Hardt, 2014; Jain et al., 2013; Chen and Wainwright, 2015; Sun and Luo, 2015; Zhao et al., 2015; Zheng and Lafferty, 2016; Tu et al., 2015) showed that given a good enough initialization, many simple local search algorithms, including gradient descent and alternating least squares, succeed. Particularly, several works (e.g. Sun and Luo (2015); Zheng and Lafferty (2016)) accomplished this by showing a geometric property which is very similar to strong convexity holds in the neighborhood of optimal solution. For robust PCA, there are also many analysis for local convergence (Lin et al., 2010; Netrapalli et al., 2014; Yi et al., 2016; Zhang et al., 2017).
Several works also try to unify the analysis for similar problems. Bhojanapalli et al. (2015) gave a framework for local analysis for these low rank problems. Belkin et al. (2014) showed a framework of learning basis functions, which generalizes tensor decompositions. Their techniques imply the optimization landscape for all such problems are very similar. For problems looking for a symmetric PSD matrix, Li and Tang (2016) showed for objective similar to (2) (but in the symmetric setting), restricted smoothness/strong convexity on the function suffices for local analysis. However, their framework does not address the interaction between regularizer and the function , hence cannot be directly applied to problems such as matrix completion or robust PCA.
We will first introduce notations and basic optimality conditions in Section 2. Then Section 3 introduces the problems and our results. For simplicity, we present our framework for the symmetric case in Section 4, and briefly discuss how to reduce asymmetric problem to symmetric problem in Section 5. We discuss how our geometric result implies efficient algorithms in Section 6. We then show how our geometric results imply fast runtime of popular local search algorithms in Section 6. For clean presentation, many proofs are deferred to appendix .
Preliminaries
In this section we introduce notations and basic optimality conditions.
We use to denote the gradient and to denote its Hessian. Since function can often be applied to both (as in (1)) and (as in (2)), we use to denote gradient with respect to and to denote gradient with respect to . Similar notation is used for Hessian. The Hessian is a crucial object in our framework. It can be interpreted as a linear operator on matrices. This linear operator can be viewed as a matrix (or matrix in the symmetric case) that applies to the vectorized version of matrices. We use the notation to denote the quadratic form . Similarly, the Hessian of objective (2) is a linear operator on a pair of matrices , which we usually denote as .
2 Optimality Conditions
Suppose we are optimizing a function with no constraints on . In order for a point to be a local minimum, it must satisfy the first and second order necessary conditions. That is, we must have and .
Suppose is a local minimum of , then we have
Intuitively, if one of these conditions is violated, then it is possible to find a direction that decreases the function value. Ge et al. (2015) characterized the following strict-saddle property, which is a quantitative version of the optimality conditions, and can lead to efficient algorithms to find local minima.
We say function is -strict saddle. That is, for any , at least one of followings holds:
.
is -close to – the set of local minima.
Intuitively, this definition says for any point , it either violates one of the optimality conditions significantly (first two cases), or is close to a local minima. Note that and are often closely related. For a function with strict-saddle property, it is possible to efficiently find a point near a local minimum.
Local vs. Global
However, of course finding a local minimum is not sufficient in many case. In this paper we are also going to prove that all local minima are also globally optimal, and they correspond to the desired solutions.
Low Rank Problems and Our Results
In this section we introduce matrix sensing, matrix completion and robust PCA. For each problem we give the results obtained by our framework. The proof ideas are illustrated later in Sections 4 and 5.
The regularizer has been widely used in previous works (Zheng and Lafferty, 2016; Park et al., 2016). In Section 5 we show how this regularizer can be viewed as a way to deal with the additional invariants in asymmetric case, and reduce the asymmetric case to the symmetric case. A crucial concept in standard sensing literature is Restrict Isometry Property (RIP), which is defined as follows:
A group of sensing matrices satisfies the -RIP condition, if for every matrix of rank at most ,
Intuitively, RIP says operator approximately perserve norms for all low rank matrices. When the sensing matrices are chosen to be i.i.d. matrices with independent Gaussian entries, if for large enough constant , the sensing matrices satisfy the -RIP condition (Candes and Plan, 2011). Using our framework we can show:
When measurements satisfy -RIP, for matrix sensing objective (3) we have 1) all local minima satisfy 2) the function is -strict saddle.
This in particular says 1) no spurious local minima existsl; 2) whenever at some point so that the gradient is small and the Hessian does not have significant negative eigenvalue, then the distance to global optimal (see Definition 6 and Definition 7) is guaranteed to be small. Such a point can be found efficiently (see Section 6).
2 Matrix Completion
Matrix completion is a popular technique in recommendation systems and collaborative filtering (Koren, 2009; Rennie and Srebro, 2005). In this problem, again we have an unknown low rank matrix . We observe each entry of the matrix independently with probability . Let be a set of observed entries. For any matrix , we use to denote the matrix whose entries outside of are set to 0. That is, if , and otherwise. We further use to denote . Matrix completion can be viewed as a special case of matrix sensing, where the sensing matrices only have one nonzero entry. However such matrices do not satisfy the RIP condition.
In order to solve matrix completion, we try to optimize the following:
A well-known problem in matrix completion is that when the true matrix is very sparse, then we are very likely to observe only entries, and has no chance to learn the other entries of . To avoid this case, previous works have assumed following incoherence condition:
We assume the unknown optimal low rank matrix is -incoherent.
In the non-convex program, we try to make sure the decomposition is also incoherent by adding a regularizer
Here are parameters that we choose later, . Using this regularizer, we can now transform the objective function to the unconstraint form
Using the framework, we can show following:
Let , when sample rate , choose and . With probability at least , for Objective Function (4) we have 1) all local minima satisfy 2) The objective is -strict saddle for polynomially small .
3 Robust PCA
Robust PCA (Candès et al., 2011) is a generalization to the standard Principled Component Analysis. In Robust PCA, we are given an observation matrix , which is an true underlying matrix corrupted by a sparse noise (). In some sense the goal is to decompose the matrix into these two components. There are many models on how many entries can be perturbed, and how they are distributed. In this paper we work in the setting where is -incoherent, and the rows/columns of can have at most -fraction non-zero entries.
In order to express robust PCA as an optimization problem, we need constraints on both and :
There can be several ways to specify the sparsity of . In this paper we restrict attention to the following set:
Assuming the true sparse matrix is in . Note that the infinite norm requirement on is without loss of generality, because by incoherence cannot have entries with absolute value more than . Any entry larger than that is obviously in the support of and can be truncated.
In objective function, we allow to be times denser (in ) where is a parameter we choose later. Now the constraint optimization problem can be tranformed to the unconstraint problem
Of course, we can also think of this as a joint minimization problem of . However we choose to present it this way in order to allow extension of the strict-saddle condition. Since is not twice-differetiable w.r.t , it does not admit Hessian matrix, so we use the following generalized version of strict-saddle
We say function is -pseudo strict saddle if for any , at least one of followings holds:
so that ; ; .
is -close to – the set of local minima.
Note that in this definition, the upperbound in 2 can be viewed as similar to the idea of subgradient. For functions with non-differentiable points, subgradient is defined so that it still offers a lowerbound for the function. In our case this is very similar – although Hessian is not defined, we can use a smooth function that upperbounds the current function (upper-bound is required for minimization). In the case of robust PCA the upperbound is obtained by a fixed . Using this formalization we can prove
There is an absolute constant , if , and holds, for objective function Eq.(6) we have 1) all local minima satisfies ; 2) objective function is -pseudo strict saddle for polynomially small .
Framework for Symmetric Positive Definite Problems
We call this objective function . Via Burer-Monteiro factorization, the corresponding unconstraint optimization problem, with regularization can be written as
In this section, we also denote as objective function with respect to parameter , abuse the notation of previously defined over .
The optimality condition (Definition 1) implies if the gradient is non-zero, or if we can find a negative direction of the Hessian (that is a direction , so that ), then the point is not a local minimum. A common technique in characterizing the optimization landscape is therefore trying to explicitly find this negative direction. We call this the direction of improvement. Different works (Bhojanapalli et al., 2016; Ge et al., 2016) have chosen very different directions of improvement.
In our framework, we show it suffices to choose a single direction as the direction of improvement. Intuitively, this direction should bring us close to the true solution from the current point . Due to rotational symmetry ( and behave the same for the objective if is a rotation matrix), we need to carefully define the difference between and .
Note that this definition tries to “align” and before taking their difference, and therefore is invariant under rotations. In particular, this definition has the nice property that as long as is close to , we have is small (we defer the proof to Appendix):
To see why this lemma is useful, let us look at the simplest case where and is identity. In this case, if gradient is zero, by Eq. (9)
By Lemma 6 this is no more than . Therefore, all stationary point with must be saddle points, and we immediately conclude all local minimum satisfies !
Interaction with Regularizer
For problems such as matrix completion, the Hessian does not preserve the norm for all low rank matrices. In these cases we need to use additional regularizer. In particular, conceptually we need the following steps:
Show that the regularizer ensures for any such that , for some set .
Show that whenever , the Hessian operator behaves similarly as identity: for some we have:
Show that the regularizer does not contribute a large positive term to . This means we show an upperbound for
Interestingly, these steps are not just useful for handling regularizers. Any deviation to the original model (such as noise, or if the optimal matrix is not exactly low rank) can be viewed as an additional “regularizer” function and argued in the same framework. See e.g. Section C.
1 Matrix Sensing
Matrix sensing is the ideal setting for this framework. For symmetric matrix sensing, the objective function is
Recall that matrices are known sensing matrices, and is the result of -th observation. The intended solution is the unknown low rank matrix . For any low rank matrix , the Hessian operator satisfies
Therefore if the sensing matrices satisfy the RIP property (Definition 3), the Hessian operator is close to identity for all low rank matrices! In the symmetric case there is no regularizer, so the landscape for symmetric matrix sensing follows immediately from our main Lemma 7.
When measurement satisfies -RIP, for matrix sensing objective (10) we have 1) all local minima satisfy ; 2) the function is -strict saddle.
For point with small gradient satisfying , by -RIP property:
The second last inequality is due to Lemma 6 that , and last inequality is due to and second part of Lemma 6. This means if is not close to , that is, if , we have . This proves -strict saddle property. Take , we know all stationary points with are saddle points. This means all local minima are global minima (satisfying ), which finishes the proof. ∎
2 Matrix Completion
For matrix completion, we need to ensure the incoherence condition (Definition 4). In order to do that, we add a regularizer that penalize the objective function when some row of is too large. We choose the same regularizer as Ge et al. (2016): . The objective is then
Using our framework, we first need to show that the regularizer ensures all rows of are small (step 1).
There exists an absolute constant , when sample rate , and , we have for any points with for polynomially small , with probability at least :
This is a slightly stronger version of Lemma 4.7 in Ge et al. (2016). Next we show under this regularizer, we can still select the direction , and the first part of Equation (9) is significantly negative when is large (step 2):
When sample rate , by choosing and with probability at least , for all with for polynomially small we have
This lemma follows from several standard concentration inequalities, and is made possible because of the incoherence bound we proved in the previous lemma.
Finally we show the additional regularizer related term in Equation (9) is bounded (step 3).
By choosing and , we have:
Combining these three lemmas, it is easy to see
When sample rate , by choosing and . Then with probability at least , for matrix completion objective (11) we have 1) all local minima satisfy 2) the function is -strict saddle for polynomially small .
Notice that our proof is different from Ge et al. (2016), as we focus on the direction for both first and second order conditions while they need to select different directions for the Hessian. The framework allowed us to get a simpler proof, generalize to asymmetric case and also improved the dependencies on rank.
3 Robust PCA
In the robust PCA problem, for any given matrix the objective function try to find the optimal sparse perturbation . In the symmetric PSD case, recall we observe , we define the set of sparse matrices to be
Note the projection onto set be computed in polynomial time (using a max flow algorithm).
We assume , the objective can be written as
Here is a slack parameter that we choose later.
Note that now the objective function is not quadratic, so we cannot use the framework directly. However, if we fix , then is a quadratic function with Hessian equal to identity. We can still apply our framework to this function. In this case, since the Hessian is identity for all matrices, we can skip the first step. The problem becomes a matrix factorization problem:
The difference here is that the matrix (which is ) is not equal to and is in general not low rank. We can use the framework to analyze this problem (and treat the residue as the “regularizer” ).
where . then 1) all local minima satisfies (best rank- approximation), 2) objective is -strict saddle.
To deal with the case not fixed (but as minimizer of Eq.(12)), we let be the best rank -approximation of . The next lemma shows when is close to up to some rotation, will actually be already close to up to some rotation.
There is an absolute constant , assume , and . Let be the best rank -approximation of , where is the minimizer as in Eq.(12). Assume . Let be defined as in Definition 6, then for polynomially small .
The proof of Lemma 14 is inspired by Yi et al. (2016) and uses the property of the optimally chosen sparse set . Combining these two lemmas we get our main result:
There is an absolute constant , if , and holds, for objective function Eq.(12) we have 1) all local minima satisfies ; 2) objective function is -pseudo strict saddle for polynomially small .
Handling Asymmetric Matrices
In this section we show how to reduce problems on asymmetric matrices to problems on symmetric PSD matrices.
Let , and , and objective function:
Note this is a scaled version of objectives introduced in Sec.3 (multiplied by ), and scaling will not change the property of local minima, global minima and saddle points.
We view the problem as if it is trying to find a matrix, whose first rows are equal to , and last rows are equal to .
Suppose is the optimal solution, and its SVD is . Let , , is the current point, we reduce the problem into a symmetric case using following notations.
Further, is defined to be the difference between and up to rotation as in Definition 6.
We will also transform the Hessian operators to operate on matrices. In particular, define Hessian such that for all we have:
Now, let , and we can rewrite the objective function as
We know perserves the norm of low rank matrices . To reduce asymmetric problems to symmetric problem, intuitively, we also hope to approximately preserve the norm of . However this is impossible as by definition, only acts on , which is the off-diagonal blocks of . We can expect to be close to the norm of , but for all matrices with the same , the matrix can have very different norms. The easiest example is to consider and : while no matter what is, the norm of is of order and can change drastically. The regularizer is exactly there to handle this case: the Hessian of the regularizer will be related to the norm of the diagonal components, therefore allowing the full Hessian to still be approximately identity.
Now we can formalize the reduction as the following main Lemma:
where . Further, if satisfies for some matrix , let and be defined as in (14), then .
Intuitively, this lemma shows the same direction of improvement works as before, and the regularizer is exactly what it requires to maintain the norm-preserving property of the Hessian.
Below we prove Theorem 3, which show for matrix sensing 1) all local minima satisfy ; 2) strict saddle property is satisfied. Other proofs are deferred to appendix.
In this case, and regularization . Since is -RIP, by Lemma 16, we have satisfying -RIP.
Similar to the symmetric case, for point with small gradient satisfying , by -RIP property of (let ) we have
The second last inequality is due to Lemma 6 that , and last inequality is due to and second part of Lemma 6. This means if is not close to , that is, if , we have . This proves -strict saddle property. Take , we know all stationary points with are saddle points. This means all local minima satisfy , which in particular implies because is a submatrix of . ∎
Runtime
In this section we give the precise statement of Corollary 2: the runtime of algorithms implied by the geometric properties we prove.
In order to translate the geometric result into runtime guarantees, many algorithms require additional smoothness conditions. We say a function is -smooth if for all ,
This is a standard assumption in optimization. In order to avoid saddle points, say a function is -Hessian Lipschitz if for all
We call an optimization algorithm saddle-avoiding if the algorithm is able to find a point with small gradient and almost positive semidefinite Hessian.
As a immediate corollary, we know such algorithms can find a point such that and in iterations.
Existing results show many algorithms are saddle-avoiding, including cubic regularization (Nesterov and Polyak, 2006), stochastic gradient descent (Ge et al., 2015), trust-region algorithms (Sun et al., 2015b). The most recent algorithms (Jin et al., 2017; Carmon et al., 2016; Agarwal et al., 2016) are more efficient: in particular the number of iterations only depend poly-logarithmic on dimension . Now we are ready to formally state Corollary 2.
Let be the Frobenius norm of the initial points , a saddle-avoiding local search algorithm can find a point -close to global optimal for matrix sensing (10)(3), matrix completion (11)(4) in iterations. For robust PCA (12)(6), alternating between a saddle-avoiding local search algorithm and computing optimal will find a point -close to global optimal in iterations.
This corollary states the existence of simple local search algorithms which can efficiently optimizing non-convex objectives of matrix sensing, matrix completion and robust PCA in polynomial time. The proof essentially follows from the guarantees of the saddle-avoiding algorithm and the strict-saddle properties we prove. We will sketch the proof in Section D.
For many low-rank matrices problems, in the neighborhood of local minima, objective function satisfies conditions similar to strong convexity (Zheng and Lafferty, 2016; Bhojanapalli et al., 2016) (more precisely, the -regularity condition as Assumption A3.b in (Jin et al., 2017)). Jin et al. (2017) showed a principle way of how to combine these strong local structures with saddle-avoiding algorithm to give global linear convergence. Therefore, it is likely that some saddle-avoiding algorithms (such as perturbed gradient descent) can achieve linear convergence for these problems.
Conclusions
In this paper we give a framework that explains the recent success in understanding optimization landscape for low rank matrix problems. Our framework connects and simplifies the existing proofs, and generalizes to new settings such as asymmetric matrix completion and robust PCA. The key observation is when the Hessian operator preserves the norm of certain matrices, one can use the same directions of improvement to prove similar optimization landscape. We show the regularizer is exactly what it requires to maintain this norm preserving property in the asymmetric case.Our analysis also allows the interaction between regularizer and Hessian to handle difficult settings such as.
For low rank matrix problems, there are generalizations such as weighted matrix factorization(Li et al., 2016) and 1-bit matrix sensing(Davenport et al., 2014) where the Hessian operator may behave differently as the settings we can analyze. How to characterize the optimization landscape in these settings is still an open problem.
In order to get general ways of understanding optimization landscapes for more generally, there are still many open problems. In particular, how can we decide whether two problems are similar enough to share the same optimization landscape? A minimum requirement is that the non-convex problem should have the same symmetry structure – the set of equivalent global optimum should be the same. In this work, we show if the problems come from convex objective functions with similar Hessian properties, then they have the same optimization landscape. We hope this serves as a first step towards general tools for understanding optimization landscape for groups of problems.
References
Appendix A Proofs for Symmetric Positive Definite Problems
In this section we provide the missing proofs for the symmetric matrix problems. First we prove Lemma 6 which connects difference in the matrix and the difference in the matrix .
Recall in Definition 6, where
We first prove following claim, which will used in many places across this proof:
This because by expanding the Frobenius norm, and letting the SVD of be , we have:
The last inequality is because is singular value thus non-negative, and is orthonormal, thus . This means the maximum of is achieved when , i.e., the minimum of is achieved when . Therefore, is symmetric PSD matrix.
With Eq.(17), the remaining of proof directly follows from the results by substituting in Lemma 40 and 41 with . ∎
Now we are ready to prove the main lemma.
Let as in Definition 6 and note , then
where in last line, we use the calculation of gradient in Eq.18. This finishes the proof. ∎
In the subsequent subsections we will prove the guarantees for matrix completion and robust PCA. The proof of matrix sensing is already given in Section 4.
For matrix completion, the crucial component of the proof is the interaction between regularizer and the Hessian. We first state the properties (gradient and Hessian) of the regularizer here:
The gradient and the hessian of regularization is:
This Lemma follows from direct calculation using linear algebra and calculus. ∎
In the first step of our framework, we hope to show that the regularizer forces the matrix to not have large rows. This is formalized and proved below (the Lemma is similar to Lemma 4.7 in Ge et al. , but we get a stronger guarantee here):
There exists an absolute constant , when sample rate , and , we have for any points with for polynomially small , with probability at least :
where by Lemma 18, the gradient of regularizer is:
Let be the row index with maximum 2-norm. If , by the choice of in Lemma 9 we immediately prove the lemma. In case of , consider gradient along direction. Since , we have . Therefore, with probability, following holds:
where second inequality use the fact ; third inequality is by Cauchy-Swartz; second last inequality is by Lemma 35 and our choice with large enough constant, we have , and by Lemma 39 we have ; the last inequality is because as is -incoherent.
By choosing small enough to satisfy , this gives:
Finally, substituting our choice of and , we finished the proof. ∎
In the second step, we need to prove that the sum of Hessian related terms in Equation (9) is significantly negative when and are not close.
When sample rate , by choosing and with probability at least , for all with for polynomially small , we have
The key problem here is for the matrix , it captures the difference between and and could have norms concentrate in very few columns. Note that when is not incoherent, Hessian will still perserve norm for matrices like Lemma 35, but not necessarily perserve norm for matrices like . Therefore, we use different concentration lemmas in different regimes (divided according to whether is small or large).
First by our choice of and Lemma 9, we know with probabilty, the maximum 2-norm of any row of will be small:
Case 1: .
In this case, is small, and is even smaller. Although does not perserve norm for very well, it will only contribute a very small factor to overall summation. Specifically, by our choice of , we will have Lemma 35 holds with small constant and thus:
The last inequality is by choosing with large enough constant factor, we have small .
Case 2: .
In this case is large, by Lemma 38 with high probability, our choice of gives:
where the last step is by Lemma 6. This finishes the proof. ∎
Finally, as in step 3 of our framework, we need to bound the contribution from the regularizer to Equation (9).
By choosing and , we have:
By Lemma 18, the contribution from the regularizer to Equation (9) can be calculated as follows:
Denote three terms in RHS to be . Since . By choosing for some large constant . Thus, when , we have , strictly speaking:
Now we bound the summation by seperately bounding and . First, we have:
We further denote -th summand in RHS as , and decompose this term as .
Case 1: for such that , and , we have:
This is because in the above product, we have , and .
Case 2: for such that , we call this set :
In sum, this proves there exists some large constant so the regularization term:
Therefore, as long as for some large absolute constant (which is satisfied by our choice of ), we have
Combining these lemmas, we are now ready to prove the main theorem for symmetric matrix completion.
When sample rate , by choosing and . Then with probability at least , for matrix completion objective (11) we have 1) all local minima satisfy 2) the function is -strict saddle for polynomially small .
On the other hand, by Lemma 11, we have the regularization term:
This means for point with small gradient satisfying :
That is, if is close to (i.e. if ), we have . This proves -strict saddle property. Take , we know all stationary points with are saddle points. This means all local minima are global minima (satisfying ), which finishes the proof. ∎
A.2 Robust PCA
For robust PCA, the first crucial step is to analyze the matrix factorization problem when target matrix is not necessarily low rank (that happens if we fix ).
where . then 1) all local minima satisfies (best rank- approximation), 2) objective is -strict saddle.
Denote to be the top part and to be the remaining part. In our framework, we can also view this remaining part as regularization term. That is:
Moreover, since the eigenspace of is perpendicular to , we have:
The last step is because suppose is the SVD of , then .
Therefore, for point with small gradient satisfying :
The second last inequality is due to Lemma 40 that , and last inequality is due to Lemma 41 and . This means if is close to , that is, if , we have . This proves -strict saddle property. Take , we know all stationary points with are saddle points. This means all local minima are global minima (satisfying ), which finishes the proof. ∎
Next we need to show that if is close to the best rank- approximation of , then it also must be close to the true . The proofs of this lemma for symmetric robust PCA is almost directly followed by the arguments for asymmetric versions. Therefore we do not repeat the proofs here.
There is an absolute constant , assume , and . Let be the best rank -approximation of , where is the minimizer as in Eq.(12). Assume . Let be defined as in Definition 6, then for polynomially small .
The proof follows from the same argument as the proof of Lemma 24. ∎
Combining these two lemmas, it is not hard to show to main result for Robust PCA.
There is an absolute constant , if , and holds, for objective function Eq.(12) we have 1) all local minima satisfies ; 2) objective function is -pseudo strict saddle for polynomially small .
Consider point with small gradient satisfying . Let
This gives . Given , by Lemma 23, we know either or where is the best rank -approximation of . By Lemma 24, we immediately have , which proves -pseudo strict saddle. By taking , we proved all local minima satisfies . ∎
Appendix B Proofs for Asymmetric Problems
In this section we give proofs for the asymmetric settings. In particular, we first prove the main lemma, which gives the crucial reduction from asymmetric case to symmetric case.
Further, if satisfies for some matrix , let and be defined as in (14), then .
Recall the objective function is ():
Let as in Definition 7, and note and due to . Let , then
Where the last equality is use the fact . For Hessian along direction:
For first term of Eq.(22): since and and Eq.(21), we have:
For the sum of second and third terms of Eq.(22):
cleary the third term is always non-positive. this gives:
The remaining claims directly follows from Lemma 19. ∎
In the remainder of this section we prove the main theorems for matrix completion and robust PCA.
and clearly . We always denote
We proceed in three steps analogous to the symmetric setting. First we show the regularizer again implies rows of cannot be too large (similar to Lemma 9).
Let , there is an absolute constant , when sample rate , and , , we have for any points with with polynomially small . with probability at least :
In this proof, by symmetry, W.L.O.G, we can assume . We know gradient can be calculated as:
Clearly, we have , therefore, for any points with small gradient , we have:
where last inequality is by Lemma 35 and Lemma 39. Let , and . By assumption, we know and due to and , this gives:
In case , consider :
where second last inequality is by Lemma 35 and Lemma 39. Substitute in Eq.(23), we have:
by choosing to be polynomially small, we have:
Finally, substituting our choice of and , we finished the proof. ∎
Next we show the Hessian related terms in Eq.(16) is negative when . This is analogous to Lemma 10.
Let , when sample rate , by choosing and . Then with probability at least , for all with for polynomially small :
Again the idea is similar, we divide into cases according to the norm of and use different concentration inequalities. By our choice of and Lemma 20, we known when is polynomially small, with high probability:
In this proof, we denote , clearly, we have and .
Case 1: . By Lemma 35 and Lemma 19, we know:
On the other hand, by Lemma 37 and our choice of , we have:
Thus by and ,
The last inequality is by choosing large enough , we have small .
Case 2: , by Lemma 38 with high probability, our choice of gives:
where the last step is by Lemma 6. This finishes the proof. ∎
Finally we bound the contribution from regularizer (analogous to Lemma 11). In fact since our regularizers are very similar we can directly use the same calculation.
By choosing , , and , we have:
By same calculation as the proof of Lemma 11, we can show:
Given , the lemma follows. ∎
Combining three lemmas, our main result for asymmetric matrix completion easily follows.
Let , when sample rate , choose and . With probability at least , for Objective Function (4) we have 1) all local minima satisfy 2) The objective is -strict saddle for polynomially small .
Same argument as the proof Theorem 12 by combining Lemma 20, 21 and 22. ∎
B.2 Robust PCA
For robust PCA, again a crucial step is to analyze the matrix factorization problem. We prove the following Lemma (analogous to Lemma 13).
and . then 1) all local minima satisfies is the top- SVD of matrix ; 2) objective is -strict saddle
Denote to be the top- SVD of , and to be the remaining part. In our framework, we can also view this remaining part as regularization term. That is:
Moreover, since the eigenspace of is perpendicular to , we have:
The last step is because suppose is the SVD of , then
Using Lemma 19, the remaining argument is the same as Lemma 13. ∎
Next we prove when is close to the optimal solution of the matrix factorization problem, it must also be close to the true . The proof of this lemma uses several crucial properties in choice of and the sparse set . This will require several supporting lemmas which we prove after the main theorem. Our proof is inspired by Yi et al. .
There is an absolute constant , assume , and . Let be the best rank -approximation of , where . Let , . Assume . Let be defined as in Definition 7, then for polynomially small .
By assumption, we have , we also have in the neighborhood of .
Where the last step is due to , and by our choice of . Then by Lemma 25 and Lemma 42 we have:
On the other hand, by Lemma 27, we know matrix is -incoherent. Thus for any :
By symmetry, we also have for any , . Then, by Lemma 30:
Similarly, we also have Clearly, we have . By Lemma 41, we also have . Given our choice of , this gives:
Finally, combineing Eq.(24) and Eq.(25), we have:
Now we are ready to prove the main theorem:
There is an absolute constant , if , and holds, for objective function Eq.(6) we have 1) all local minima satisfies ; 2) objective function is -pseudo strict saddle for polynomially small .
Recall scaled version (multiplied by 4) of objective function Eq.(6) is:
Consider point with small gradient satisfying . Let
This gives . Given , by Lemma 23, we know either or where , and is the best rank -approximation of . By Lemma 24, we immediately have , which finishes the proof. ∎
B.3 Supporting Lemmas for robust PCA
In the proof of Lemma 24, we used several supporting lemmas. We now prove them one by one. The first is a classical result from matrix perturbations.
For the second term, by the fact is rank , the definition of and Weyl’s inequality:
Next we show how to bound the norm of matrix restricted to a sparse set .
Let are both -incoherent matrix, satisfies and and has at most fraction of non-zero entries in each row/column. Then:
where , .
Then for any , since are both -incoherent, we have:
Next, we show for any fixed sparse estimator , if is incoherent, the top- SVD of will also be incoherent. Thus, sparse matrix will not interfere incoherence in this sense.
For any , let be the top- SVD of , and the SVD of to be , if , then we have:
where condition number .
Since is the top SVD of , we have:
Therefore, for any , because has at most fraction non-zero entries in each row, and and , we have:
On the other hand, by Lemma 28 and Weyl’s inequality, we also have
By symmetry, we can also prove it for with any . ∎
We also need to upper bound the spectral norm of sparse matrix .
For any sparse matrix that can only has at most fraction non-zero entries in each row/column, we have:
Let be the support of matrix , and , we have:
Then, we show a crucial property of the optimal :
For any matrix , let , and be the support of , then for any , we have:
where is the -th largest element (in terms of absolute value) in -th row of and the -th largest element (in terms of absolute value) in -th column of .
Assume the contradiction that in optimal solution there is a pair such that
If row has exactly elements in , let be the smallest entry in row (), clearly . If row has fewer elements we just let be empty. Similarly, if column has exactly elements in , let be the smallest entry in the column (), we also have .
Now we can add to , and remove and . Call the resulting matrix . This clearly does not violate the support constraint. Let , this function is monotone for and satisfies . Now the difference we get from changing to is
This contradicts with the fact that was the optimal. Therefore there cannot be such an entry . ∎
Finally, by using above lemmas, we can show how to bound the difference between optimal and true sparse matrix , which is a key step in Lemma 24.
Let be the support of and be the support of , we will have:
Clearly, the support of must be a subset of . Therefore, we have:
For the first term, since is defined as minimizer over , we know for :
By assumption we know thus , this gives thus:
For the second term, by triangle inequality, we have:
By Lemma 29, we have for any :
where the second inequality used the fact that has at most non-zero entries each row/column. Then, we have:
Appendix C Matrix Sensing with Noise
In this section we demonstrate how to handle noise using our framework. The key idea here is to consider the noise as a perturbation to the original objective function and use (originally the regularizer) to also capture the noise.
Here, we assume in each observation, instead of observing the exact value we observe . Here is i.i.d . Recall the objective function in Section 4, we now have:
Define to be the perturbation, we can write out the non-convex objective
Now we can use the same framework. Again, since for matrix sensing we have the RIP property, we do not need the first step to restrict to special low rank matrices. Using our approach we can get
For objective Equation (27), suppose the sensing matrices ’s satisfy -RIP, with high probability all points satisfy first and second order optimality condition must satisfy
Using the same proof as Theorem 8, we know
Here the last step follows from . Intuitively, is random and should not have large correlation with any fixed vector. We formalize this in Lemma 34. Using this lemma, we know
Here the last inequality follows from (by Lemma 40). Now using the main Lemma 7, we know
If the current point satisfy the second order optimality condition we must have
Note that this bound matches the intuitive bound from the VC-dimension of rank- matrices.
C.2 Asymmetric case
For the asymmetric case, the proof is again almost identical. We use the same noise model where the observation where . We also use the same notations as in Definition 7. Let , we have the objective function
Again by bounding the gradient and Hessian for we get the following
For objective Equation (28), suppose the sensing matrices ’s satisfy -RIP, let , with high probability all points satisfy first and second order optimality condition must satisfy
Again using the same proof as Theorem 3, we know
Let be the matrix whose diagonal blocks are 0, and off diagonal blocks are equal to and respectively, we have
Now we can use Lemma 34 again to bounding the noise terms:
Therefore the Hessian at direction is equal to:
When the point satisfies the second order optimality condition we have
In particular, is a submatrix of , therefore . ∎
Appendix D Proof Sketch for Running Time
In this section we sketch the proof for Corollary 17.
Let be the Frobenius norm of the initial points , a saddle-avoiding local search algorithm can find a point -close to global optimal for matrix sensing (10)(3), matrix completion (11)(4) in iterations. For robust PCA (12)(6), alternating between a saddle-avoiding local search algorithm and computing optimal will find a point -close to global optimal in iterations.
The full proof require some additional analysis depending on the particular algorithm used, and is highly dependent on the detailed proofs of the guarantees, so we only give a proof sketch here.
Our geometric results show that for small enough , the objective functions are strict-saddle where and may depend polynomially on . Choose , we know for each point, either it has a gradient at least , or the Hessian has an eigenvalue smaller than , or . In the first two cases, by Definition 8 we know saddle-avoiding algorithm can decrease the function value by an inverse polynomial factor in polynomial time. By the radius of the initial solution, the difference in function value between the original solution and optimal solution is bounded by , so after a polynomial number of iterations we can no longer decrease function value and must be in the third case (where ).
The objective funcitons we work with are mostly polynomials thus both smooth and Hessian Lipschitz. The regularizers we add also tried to make sure at least both smoothness and Hessians Lipschitz are satisfied. However, the objective functions are still not very smooth or Hessian-Lipschitz especially in the region when then the norm of is very large. This is because the polynomials are of degree more than 2 and in general the smoothness and Hessian-Lipschitzness parameters () depend on the norm of the current point . It is not hard to show that when the solution is constrained into a ball of radius , the parameters are all . Therefore to complete the proof we need to show that the intermediate steps of the algorithms cannot escape from a large ball. In fact, for all the known algorithms, on our objective functions the following is true
For current saddle avoiding algorithms (including cubic regularization [Nesterov and Polyak, 2006], perturbed gradient descent [Jin et al., 2017] ) There exists a radius that is polynomial in problem parameters, such that if initially , then with high probability all the iterations will have .
The proof of this lemma is mostly calculations (and observing the fact that when are both very large, the gradient will essentially point to ), as an example this is done for matrix factorization in [Jin et al., 2017]. We omit the proof in this paper.
Note that our geometric results for matrix sensing does not depend on the dimension. If we can prove a bound on that is independent of the dimension , by recent result in [Jin et al., 2017], we can get algorithms whose number of iterations depend only on for matrix sensing.
Handling Robust-PCA
For robust PCA, the objective function is only pseudo strict-saddle (see Definition 5).
In order to turn the geometric property to an algorithm, the first observation is that the optimal for can be found in polynomial time: The problem of finding the optimal can be formulated as a weighted bipartite matching problem where one part corresponds to the rows, the other part corresponds to the columns, and the value corresponds to the improvement in objective function when we add into the support. According to the definition of , each row/column can be matched a limited number of times. This problem can be solved by converting it to max-flow, and standard analysis shows that there exists an optimal integral solution.
Next we view the robust PCA objective function of form . We show that alternating between saddle-avoiding local search and optimizing over will allow us to get the desired guarantee. For a point , if it is not close enough to the global optimal solution, we can fix the optimal for and study . First, we know for this optimal choice of , the gradient of over is the same as gradient of . Then, by Theorem 15 / Theorem 5, we know either the gradient of is large or the Hessian of has an eigenvalue at most . By the guarantee of saddle-avoiding algorithms in polynomial number of steps we can find such that the objective function will decrease by a inverse polynomial. After that, replacing with (optimal for ) cannot increase function value, so in polynomial time we found a new point such that where is at least an inverse polynomial. This procedure cannot be repeated by more than polynomial number of times (because the function value cannot decrease below the optimal value), so the algorithm finds an approximate optimal point in polynomial time.
Appendix E Concentrations
In this section we summarize the concentration inequalities we use for different problems.
Measurement () satisfies -Restrict Isometry Property (RIP) if for any matrix with rank , we have:
In the case of Gaussian measurement, standard analysis shows when , we have satisfying -RIP condition with probability at least . (Candes and Plan , Theorem 2.3)
We need the follow inequality for handling noise.
Suppose the set of sensing matrices satisfy the -RIP condition, let be iid. Gaussian , then with high probability for any matrix of rank at most , we have
Since the LHS is linear in we focus on matrices with .
Let be an -net for rank- matrices with Frobenius norm 1. By standard constructions we know . We will set so ( is at least for RIP condition). Now, for any matrix , we know is just a Gaussian random variable with variance at most . Therefore, the probability that it is larger than is at most . When is a large enough constant we can apply union bound, and we know for every ,
E.2 Matrix Completion
For matrix completion, we need different concentration inequalities for different kinds of matrices. The first kind of matrix lies in a tangent space and is proved in Candes and Recht .
for any , as long as sample rate , we will have:
For arbitrary low rank matrix, we use the following lemma which comes from graph theory.
Above lemma immediately implies following:
On the other hand, for all low-rank matrices we also have the following (which is tighter for incoherent matrices).
Although Ge et al. stated the symmetric version, and we need the asymmetric version here, the proof in Ge et al. works directly. In fact, they first proved the asymmetric case in the proof.
Finally, for a matrix with each entry randomly sampled independently with small probability , next lemma says with high probablity, no row can have too many non-zero entries.
Let denote the support of on -th row, let . Assume , then with at least probability over random choice of , we have for all simultaneously:
This follows directly from Chernoff bound and union bound. ∎
Appendix F Auxiliary Inequalities
In this section, we provide some frequently used lemmas regarding matrices. Our first two lemmas lower bound by and .
Let and be two matrices. Further let be a PSD matrix. Then,
To prove this, we let , and expand:
The last inequality is due to is a PSD matrix. ∎
Let and be two matrices. Further let be a PSD matrix. Then,
The left inequality is basic, we only need to prove right inequality. To prove this, we let , and expand:
The last inequality is due to is a PSD matrix. ∎
Next we show the difference between matrices formed by swapping sigular spaces of and can be upper bounded by the difference between and .
Expand the Frobenius Norm out, we have LHS:
Let and . We know to prove the lemma, we only need to show . This is true because , which finishes the proof. ∎