Matrix Completion has No Spurious Local Minimum
Rong Ge, Jason D. Lee, Tengyu Ma
Introduction
Matrix completion is the problem of recovering a low rank matrix from partially observed entries. It has been widely used in collaborative filtering and recommender systems , dimension reduction and multi-class learning . There has been extensive work on designing efficient algorithms for matrix completion with guarantees. One earlier line of results (see and the references therein) rely on convex relaxations. These algorithms achieve strong statistical guarantees, but are quite computationally expensive in practice.
These algorithms are much faster than the convex relaxation algorithms, which is crucial for their empirical success in large-scale collaborative filtering applications .
Most of the theoretical analysis of the nonconvex procedures require careful initialization schemes: the initial point should already be close to optimumThe work of De Sa et al. is an exception, which gives an algorithm that uses fresh samples at every iteration to solve matrix completion (and other matrix problems) approximately.. In fact, Sun and Luo showed that after this initialization the problem is effectively strongly-convex, hence many different optimization procedures can be analyzed by standard techniques from convex optimization.
However, in practice people typically use a random initialization, which still leads to robust and fast convergence. Why can these practical algorithms find the optimal solution in spite of the non-convexity? In this work we investigate this question and show that the matrix completion objective has no spurious local minima. More precisely, we show that any local minimum of objective function is also a global minimum with , and recovers the correct low rank matrix .
Our characterization of the structure in the objective function implies that (stochastic) gradient descent from arbitrary starting point converge to a global minimum. This is because gradient descent converges to a local minimum , and every local minimum is also a global minimum.
There are two known issues with matrix completion. First, the choice of is not unique since for any orthonormal matrix . Our goal is to find one of these equivalent solutions.
Another issue is that matrix completion is impossible when is “aligned” with standard basis. For example, when is the identity matrix in its first block, we will very likely be observing only 0 entries. To address this issue, we make the following standard assumption:
Moreover, has a bounded condition number .
Throughout this paper we think of and as small constants, and the sample complexity depends polynomially on these two parameters. Also note that this assumption is independent of the choice of : all such that have the same row norms and Frobenius norm.
This assumption is similar to the “incoherence” assumption . Our assumption is the same as the one used in analyzing non-convex algorithms .
We enforce to also satisfy this assumption by a regularizer
where is a function that penalizes when one of its rows is too large. See Section 4 and Section 5 for the precise definition. Our main result shows that in this setting, the regularized objective function has no spurious local minimum:
[Informal] All local minimum of the regularized objective (1.2) satisfy when .
Combined with the results in (see Theorem 2.3) Theorem 1.1, as state informally above, doesn’t guarantee that satisfies the condition in Theorem 2.3. See its technical version, Theorem 5.3, which shows that the condition of Theorem 2.3 is satisfied. , we have,
With high probability, stochastic gradient descent on the regularized objective (1.2) will converge to a solution such that in polynomial time from any starting point. Gradient descent will converge to such a point with probability 1 from a random starting point.
Our results are also robust to noise. Even if each entry is corrupted with Gaussian noise of standard deviation (comparable to the magnitude of the entry itself!), we can still guarantee that all the local minima satisfy when is large enough. See the discussion in Appendix B for results on noisy matrix completion.
Our main technique is to show that every point that satisfies the first and second order necessary conditions for optimality must be a desired solution. To achieve this we use new ideas to analyze the effect of the regularizer and show how it is useful in modifying the first and second order conditions to exclude any spurious local minimum.
2 Related Work
Non-convex Optimization
Recently, a line of work analyzes non-convex optimization by separating the problem into two aspects: the geometric aspect which shows the function has no spurious local minimum and the algorithmic aspect which designs efficient algorithms can converge to local minimum that satisfy first and (relaxed versions) of second order necessary conditions.
Our result is the first that explains the geometry of the matrix completion objective. Similar geometric results are only known for a few problems: SVD/PCA phase retrieval/synchronization, orthogonal tensor decomposition, dictionary learning . The matrix completion objective requires different tools due to the sampling of the observed entries, as well as carefully managing the regularizer to restrict the geometry. Parallel to our work Bhojanapalli et al. showed similar results for matrix sensing, which is closely related to matrix completion. Loh and Wainwright showed that for many statistical settings that involve missing/noisy data and non-convex regularizers, any stationary point of the non-convex objective is close to global optima; furthermore, there is a unique stationary point that is the global minimum under stronger assumptions .
On the algorithmic side, it is known that second order algorithms like cubic regularization and trust-region algorithms converge to local minima that approximately satisfy first and second order conditions. Gradient descent is also known to converge to local minima from a random starting point. Stochastic gradient descent can converge to a local minimum in polynomial time from any starting point . All of these results can be applied to our setting, implying various heuristics used in practice are guaranteed to solve matrix completion.
Preliminaries
For , let be the linear operator that maps a matrix to , where has the same values as on , and outside of .
We will use the following matrix norms: the frobenius norm, spectral norm, elementwise infinity norm, and . We use the shorthand . The trace inner product of two matrices is , and , are the smallest and largest singular values of . We also use to denote the -th row of a matrix .
2 Necessary conditions for Optimality
A point satisfies the first order necessary condition for optimality (later abbreviated as first order optimality condition) if . A point satisfies the second order necessary condition for optimality (later abbreviated as second order optimality condition)if .
These conditions are necessary for a local minimum because otherwise it is easy to find a direction where the function value decreases. We will also consider a relaxed second order necessary condition, where we only require the smallest eigenvalue of the Hessian to be not very negative:
For , a point satisfies the -relaxed second order optimality condition, if .
This relaxation to the second order condition makes the conditions more robust, and allows for efficient algorithms.
Proof Strategy: “simple” proofs are more generalizable
In this section, we demonstrate the key ideas behind our analysis using the rank case. In particular, we first give a “simple” proof for the fully observed case. Then we show this simple proof can be easily generalized to the random observation case. We believe that this proof strategy is applicable to other statistical problems involving partial/noisy observations. The proof sketches in this section are only meant to be illustrative and may not be fully rigorous in various places. We refer the readers to Section 4 and Section 5 for the complete proofs.
In the rank case, we assume , where , and . Let be the target accuracy that we aim to achieve in this section and let .
For simplicity, we focus on the following domain of incoherent vectors where the regularizer vanishes,
Inside this domain , we can restrict our attention to the objective function without the regularizer, defined as,
It turns out to be insightful to consider the full observation case when . The corresponding objective is
Under the setting of this section, in the domain , the function has only two local minima .
Before introducing the “simple” proof, let us first look at a delicate proof that does not generalize well.
We compute the gradient and Hessian of ,
Therefore, a critical point satisfies , and thus it must be an eigenvector of and is the corresponding eigenvalue. Next, we prove that the hessian is only positive definite at the top eigenvector . Let be an eigenvector with eigenvalue , and is strictly less than the top eigenvalue . Let be the top eigenvector. We have that , which shows that is not a local minimum. Thus only can be a local minimizer, and it is easily verified that is indeed positive definite.
“Simple” and Generalizable proof
The lessons from the subsection above suggest us find an alternative proof for the full observation case which is generalizable. The alternative proof will be simple in the sense that it doesn’t use the notion of eigenvectors and eigenvalues. Concretely, the key observation behind most of the analysis in this paper is the following,
Proofs that consist of inequalities that are linear in are often easily generalizable to partial observation case.
Here statements that are linear in mean the statements of the form . We will call these kinds of proofs “simple” proofs in this section. Roughly speaking, the observation follows from the law of large numbers — Suppose is a sequence of bounded real numbers, then the sampled sum is an accurate estimate of the sum , when the sampling probability is relatively large. Then, the mathematical implications of are expected to be similar to the implications of , up to some small error introduced by the approximation. To make this concrete, we give below informal proofs for Lemma 3.2 and Lemma 3.1 that only consists of statements that are linear in . Readers will see that due to the linearity, the proof for the partial observation case (shown on the right column) is a direct generalization of the proof for the full observation case (shown on the left column) via concentration inequalities (which will be discussed more at the end of the section).
Suppose satisfies , then .
Intuitively, this proof says that the norm of a critical point is controlled by its correlation with . Here at the lasa sampling version of the f aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ∎
The last step uses the fact that equation (3.5) and (3.6) are approximately equal up to scaling factor for any , since (3.6) is a sampled version of (3.5). ∎
Subtleties regarding uniform convergence
In the proof sketches above, our key idea is to use concentration inequalities to link the full observation objective with the partial observation counterpart. However, we require a uniform convergence result. For example, we need a statement like “w.h.p over the choice of , equation (3.5) and (3.6) are similar to each other up to scaling”. This type of statement is often only true for inside the incoherent ball . The fix to this is the regularizer. For non-incoherent , we will use a different argument that uses the property of the regularizer. This is besides the main proof strategy of this section and will be discussed in subsequent sections.
Warm-up: Rank-1 Case
In this section, using the general proof strategy described in previous section, we provide a formal proof for the rank-1 case. In subsection 4.1, we formally work out the proof sketches of Section 3. In subsection 4.2, we prove that due to the effect of the regularizer, outside incoherent ball , the objective function doesn’t have any local minimum.
In the rank-1 case, the objective function simplifies to,
Here we use the the regularization
The parameters and will be chosen later as in Theorem 4.2. We will choose so that for incoherent , and thus it only penalizes coherent . Moreover, we note has Lipschitz second order derivative. This is the main reason for us to choose -th power instead of -nd power.
We first state the optimality conditions, whose proof is deferred to Appendix A.
The first order optimality condition of objective (4.1) is,
and the second order optimality condition requires:
Moreover, The -relaxed second order optimality condition requires
We give the precise version of Theorem 1.1 for the rank- case.
In the rest of this section, we will first prove that when is constrained to be incoherent (and hence the regularizer is 0 and concentration is straightforward) and satisfies the optimality conditions, then has to be or . Then we go on to explain how the regularizer helps us to change the geometry of those points that are far away from so that we can rule out them from being local minimum. For simplicity, we will focus on the part that shows a local minimum must be close enough to .
In the setting of Theorem 4.2, suppose satisfies the first-order and second-order optimality condition (4.2) and (4.3). Then when is defined as in Theorem 4.2,
This turns out to be the main challenge. Once we proved is close, we can apply the result of Sun and Luo (see Lemma C.1), and obtain Theorem 4.2.
Note that the desired solution is in , and the regularization vanishes inside .
The following lemmas assume satisfies the first and second order optimality conditions, and deduce a sequence of properties that must satisfy.
Under the setting of Theorem 4.2 , with high probability over the choice of , for any that satisfies second-order optimality condition (4.3) we have,
The same is true if only satisfies -relaxed second order optimality condition for .
We plug in in the second-order optimality condition (4.3), and obtain that
Intuitively, when restricted to , the squared Frobenius on the LHS and the quadratic form on the RHS should both be approximately a fraction of the unrestricted case. In fact, both LHS and RHS can be written as the sum of terms of the form , because
Therefore we can use concentration inequalities (Theorem D.1), and simplify the equation
where . Similarly, by Theorem D.1 again, we have
(Note that even we use the -relaxed second order optimality condition, the RHS only becomes which does not effect the later proofs.)
Therefore plugging in estimates above back into equation (4.6), we have that
which implies that . Using , and being sufficiently small, we complete the proof. ∎
Next we use first order optimality condition to pin down another property of – it has to be close to after scaling. Note that this doesn’t mean directly that has to be close to since also satisfies first order optimality condition (and therefore the conclusion (4.7) below).
With high probability over the randomness of , for any that satisfies first-order optimality condition (4.2), we have that also satisfies
Note that since , we have . Therefore first-order optimality condition says that
Again, intuitively we hope and . These are made precise by the concentration inequalities Lemma D.4 and Theorem D.2 respectively.
By Theorem D.2, we have that with high probability over the choice of , for every ,
Plugging in estimates (4.10) and (4.9) into equation (4.8), we complete the proof. ∎
Finally we combine the two optimality conditions and show equation (4.7) implies must be close to .
Suppose vector satisfies that , and that Then for ,
In particular, we know and . This means and . Now we expand :
It is clear that all the terms have norm bounded by , therefore . ∎
2 Extension to general x𝑥x
We have shown when is incoherent and satisfies first and second order optimality conditions, then it must be close to or . Now we need to consider more general cases when may have some very large coordinates. Here the main intuition is that the first order optimality condition with a proper regularizer is enough to guarantee that cannot have a entry that is too much bigger than .
With high probability over the choice of , for any that satisfies first-order order optimality condition (4.2), we have
Here we recall that was chosen to be and is chosen to be large so that the dominates the second term in the setting of Theorem 4.2.
Suppose . Without loss of generality, suppose . Suppose -th row of consists of entries with index . If , we are done. Therefore in the rest of the proof we assume . Note that when for sufficiently large constant , with high probability over the choice of , we have . In the rest of argument we are working with such an with .
We will compare the -th coordinate of LHS and RHS of first-order optimality condition (4.2). For preparation, we have
where the last step we used the fact that . Moreover, we have that
Now plugging in the bounds above into the -th coordinate of equation (4.2), we obtain
which implies that . ∎
Setting and , Lemma 4.7 ensures that any that satisfies first-order optimality condition is the following ball,
Then we would like to continue to use arguments similar to Lemma 4.4 and 4.5. However, things have become more complicated as now we need to consider the contribution of the regularizer.
In the setting of Theorem 4.2, with high probability over the choice of , suppose satisfies second-order optimality condition (4.3) or -relaxed condition for , we have .
The guarantees and proofs are very similar to Lemma 4.4. The main intuition is that we can restrict our attentions to coordinates whose regularizer is equal to 0. See Section A for details.
We will now deal with first order optimality condition. We first write out the basic extension of Lemma 4.5, which follows from the same proof except we now include the regularizer term.
With high probability over the randomness of , for any that satisfies first-order optimality condition (4.2), we have that also satisfies
Next we will show that we can remove the regularizer term, the main observation here is nonzero entries all have the same sign as the corresponding entries in . See Section A for details.
Suppose satisfies that , under the same assumption as Lemma 4.9. we have,
Rank-r case
In this section we show how to extend the results in Section 4 to recover matrices of rank . Here we still use the same proof strategy of Section 3. Though for simplicity we only write down the proof for the partial observation case, while the analysis for the full observation case (which was our starting point) can be obtained by substituting for everywhere.
Without loss of generality, we assume that in this section. This implies that . Now we shall state the first and second order optimality conditions:
If is a local optimum of objective function (5.1), its first order optimality condition is,
and the second order optimality condition is equivalent to
Note that the regularizer now is more complicated than the one dimensional case, but luckily we still have the following nice property.
Now we are ready to state the precise version of Theorem 1.1:
Suppose where is a large enough constant. Let . Then with high probability over the randomness of , any local minimum of satisfies that , and in particular, .
Moreover, If satisfies that and , then is an approximate global minimum in the sense that
The proof of this Theorem follows from a similar path as Theorem 4.2. We first notice that because of the regularizer, any matrix that satisfies first order optimality condition must be somewhat incoherent (this is analogues to Lemma 4.7):
Suppose . Then for any satisfies 1st order optimality (5.2), we have
Assume . Suppose the th row of consists of entries with index . If , then we are done. Therefore in the rest of the proof we assume .
We will compare the -th row of LHS and RHS of (5.2). For preparation, we have
Next we lowerbound the norm of the RHS of equation (5.2). We have that
Therefore plugging in equation above and equation (5.6) into 1st order optimality condition (5.2). We obtain that which completes the proof. ∎
Next, we prove a property implied by first order optimality condition, which is similar to Lemma 4.9.
In the setting of Theorem 5.3, with high probability over the choice of , for any that satisfies 1st order optimality condition (5.2), we have
where and .
If we are done. When , by Lemma 5.4, we have that , and therefore with . Then by Theorem D.2, we have that
where . These two imply equation (5.11). Moreover, we have
Suppose has singular value . Then we have . On the other hand, . Therefore, equation (5.12) implies that
Then we have (by Proposition E.2) we complete the proof.
Now we look at the second order optimality condition, this condition implies the smallest singular value of is large (similar to Lemma 4.8). Note that this lemma is also true even if only satisfies relaxed second order optimality condition with .
In the setting of Theorem 5.3. With high probability over the choice of , suppose satisfies equation (5.9), (5.4) the 2nd order optimality condition (5.3). Then,
We claim that . Let . Since for any it holds that , we have (by equation (5.9)), and it follows that . Therefore,
Therefore, has column rank exactly . By variational characterization of singular values, we have that for there exists unit vector such that . Since is a unit vector, we have that can be written as where Therefore this in turn implies that .
We will plug in in the 2nd order optimality condition (5.3). Note that since , it is supported on subset , and therefore . Therefore the term about regularization in (5.3) will vanish. For simplicity, let , We obtain that taking in equation (5.3) will result in
Note that we have that . Recalling that , by Theorem D.1, we have that
where . Then simple algebraic manipulation gives that
Note that . Recall that and , and therefore . Moreover, recall that . Using these with equation (5.14) we obtain that
Therefore together with equation (5.14) and we obtain that
Therefore combining equation (5.15) and the lower bound on we complete the proof. ∎
Similar as before, we show it is possible to remove the regularizer term here, again the intuition is that the regularizer is always in the same direction as .
Suppose satisfies equation (5.4) and (5.13) and (5.10), then for any ,
Let . For , we have that . Therefore it suffices to prove that for every ,
By proposition 5.2, we have for . Then
Therefore combining two equations above we obtain equation (5.17) which completes the proof. ∎
Finally we show the form in Equation (5.16) implies is close to (this is similar to Lemma 4.6).
Suppose and satisfies that and that
where for a large enough constant , then
The proof is similar to the one-dimensional case, we will separate into the directions that are in column span of and its orthogonal subspace. We will then show the projection of in the column span is close to , and the projection on the orthogonal subspace must be small.
Let where is the projection of to the column span of , and is the projection to the orthogonal subspace. Then since we know
Here columns of the first term are in the column span of , and the columns second term are in the orthogonal subspace. Therefore,
In particular, both terms should be bounded by . Therefore .
Also, we know if . Therefore is at least . Now .
Finally, we can bound by (last inequality is because is a projection of ), which at least when , therefore
Last thing we need to prove the main theorem is a result from Sun and Luo, which shows whenever is close to , the function is essentially strongly convex, and the only points that have gradient are points where , this is explained in Lemma C.1. Now we are ready to prove Theorem 5.3:
Suppose satisfies 1st and 2nd order optimality condition. Then by Lemma 5.5 and Lemma 5.4, we have that satisfies equation (5.4), (5.9), (5.10) and (5.11). Then by Lemma 5.6, we obtain that . Now by Lemma 5.7 and equation (5.11), we have that for for sufficiently small constant . Then by Lemma 5.8 we obtain that for sufficiently small constant . By Lemma C.1, in this region the only points that satisfy the first order optimality condition must satisfy . ∎
To handle noise, notice that we can only hope to get an approximate solution in presence of noise, and to get that our Lemmas only depend on concentration bounds which still apply in the noisy setting. See Section B for details.
Conclusions
Although the matrix completion objective is non-convex, we showed the objective function has very nice properties that ensures the local minima are also global. This property gives guarantees for many basic optimization algorithms. An important open problem is the robustness of this property under different model assumptions: Can we extend the result to handle asymmetric matrix completion? Is it possible to add weights to different entries (similar to the settings studied in )? Can we replace the objective function with a different distance measure rather than Frobenius norm (which is related to works on 1-bit matrix sensing )? We hope this framework of analyzing the geometry of objective function can be applied to other problems.
References
Appendix A Omitted Proofs in Section 4
We first prove the equivalent form of the first and second order optimality conditions:
The first order optimality condition of objective (4.1) is,
and the second order optimality condition requires:
Moreover, The -relaxed second order optimality condition requires
We take the Taylor’s expansion around point . Let be an infinitesimal vector, we have
By symmetry , so the first order optimality condition is , which is equivalent to that .
The second order optimality condition says for every , which is exactly equivalent to Equation (4.3). ∎
Next we show the full proof for the second order optimality condition:
In the setting of Theorem 4.2, with high probability over the choice of , suppose satisfies second-order optimality condition (4.3) or -relaxed condition for , we have .
If , then we are done. Therefore in the rest of the proof we assume . The proof is very similar to Lemma 4.4. We plug in instead into equation (4.3), where . Note that vanishes. We plug in in the equation (4.3) and obtain that satisfies that
(Again notice that using -relaxed second order optimality condition does not effect the RHS by too much, so it does not change later steps.) Therefore plugging the estimates above back into equation (A.1), we have that
Using Cauchy-Schwarz, we have , and therefore we obtain that .
Finally, we claim that , which completes the proof since .
Suppose and satisfies and . Let . Then we have that .
The claim can be simply proved as follows: Since we have that and therefore . This further implies that because . ∎
Suppose satisfies that , under the same assumption as Lemma 4.9. we have,
Let . For , we have that . Therefore it suffices to prove that for every ,
Since we have for some , we have
Therefore combining two equations above we obtain equation (A.2) which completes the proof. ∎
Appendix B Handling Noise
Suppose instead of observing the matrix , we actually observe a noisy version , where is a Gaussian matrix with independent entries. In this case we should not hope to exactly recover (as two close ’s may generate the same observation). In this Section we show even with fairly large noise our arguments can still hold.
Let . Suppose where is a large enough constant. Let . Then with high probability over the randomness of , any local minimum of satisfies
In fact, a noise level (when the noise is almost as large as the maximum possible entry) does not change the conclusions of Lemmas in this Section.
There are only three places in the proof where the noise will make a difference. These are: 1. The infinity norm bound of , used in Lemma 5.4. 2. The LHS of first order optimality condition (Equation (5.2)). 3. The RHS of second order optimality condition (Equation (5.3)).
What we require in these three steps are: 1. should be smaller than . 2. should be smaller than . 3. . When we define the , all of these are satisfied (by Lemma D.5 and D.6).
Now we can follow the proof and see for small enough constant , and By Lemma 5.8 we know . ∎
Appendix C Finding the Exact Factorization
In Section 5, we showed that any point that satisfies the first and second order necessary condition must satisfy for a small enough constant . In this section we will show that in fact must be exactly equal to . The proof technique here is mostly based on the work of Sun and Luo. However we have to modify their proof because we use slightly different regularizers, and we work in the symmetric case. The main Lemma in can be rephrased as follows in our setting:
Suppose for large enough absolute constant , and . with high probability over the randomness of , we have that for any point in the set
there exists a matrix such that and
As a consequence, any point in the set that satisfies first order optimality condition must be a global optimum (or, equivalently, satisfy ).
Recall . The proof of Lemma C.1 consists of three steps:
1. The regularizer has nonnegative correlation with : for any such that , we have . (Claim C.3).
2. There exists a matrix such that , and is close to . (Claim C.4)
3. Argue that when is close to . (See proof of Lemma C.1).
Before going into details, the first useful observation is that all matrices with have the same row norm.
Suppose , then we have where is an orthonormal matrix. In particular, the -th row of is equal to
Note that this simple observation is only true in the symmetric case. This Claims serves as the same role of the bounds on row norms of in the asymmetric case (Propositions 4.1 and 4.2 of ).
Next we are ready to argue that the regularizer is always positively correlated with .
For any such that , we have,
Since the regularizer is applied independently to individual rows, we can rewrite , and focus on -th row.
For each row , is 0 when . In that case .
When is larger than , we know is always in the same direction as . In this case for some and (where last equality is by Claim C.2). Therefore by triangle inequality
This then implies .
Next we will prove the gradient of has a large correlation with . This is analogous to Proposition 4.2 in .
Suppose , there exists a matrix such that and .
Without loss of generality we assume is a diagonal matrix with first diagonal terms being (this can be done by a change of basis). That is, we assume . We use to denote the first principle submatrix of .
In order to construct , we first notice that must be constructed as a zero matrix since has non-zero diagonal only on the top-left corner. A natural guess of then becomes a “normalized” version of .
Concretely, we construct (where ). Thus, the difference between and is equal to .
Since , we know . In particular both terms are smaller than .
First, we bound . Note that since , we know . Therefore . Now we know .
Next we bound . Since , we know . This implies , and . Therefore the matrix is also very close to identity, in particular, . Now we know . Using the fact that we know .
We can now combine this Claim with a sampling lemma to show is small:
Under the same setting of Lemma C.1, with probability at least over the choice of , if satisfies conclusion of Claim C.4, then,
Intuitively, this Lemma is true because , which is much smaller than when is small. By concentration inequalities we expect to be roughly equal to , therefore it must be much smaller than . The proof of this Lemma is exactly the same as Proposition 4.3 in (in fact, it is directly implied by Proposition 4.3), so we omit the proof here. We also need a different concentration bound for the projection of the norm of the matrix . Unlike the previous lemma, here we want to be large.
Under the same setting of Lemma C.1, let where is constructed as in Claim C.4. Then, with high probability, we have that for any ,
Intuitively this should be true because is in the tangent space which has rank . The proof of this follows from Theorem 3.4 , and is written in detail in Equations (37) - (41) in .
Finally we are ready to prove the main lemma. The proof is the same as the outline given in Section 4.1 of . We give it here for completeness.
Note that is equal to where where , and is the regularizer. By Claim C.3 we know , so we only need to prove there exists a such that and .
Define , , then and .
Let . Note that from Claim C.4 and Lemma C.5, we know
Therefore as long as we can show is large we are done. This is true because . Hence by Lemma C.6 we know
Combining the bounds for , , we know . Together with the fact that , we know
Appendix D Concentration inequality
In this section we prove the concentration inequalities used in the main part. We first show that the inner-product of two low rank matrices is preserved after restricting to the observed entries. This is mostly used in arguments about the second order necessary conditions.
Since both LHS and RHS are bilinaer in both and , without loss of generality we assume the Frobenius norms of and are all equal to 1. Note that in this case we should expect .
Let be the indicator variable for , we know
Now we can apply Bernstein’s inequality, with probability at most ,
By Proposition E.3, there is a set of size such that for any rank matrix , there is a matrix such that . When and come from this set, we can set for a large enough constant . By union bound, with high probability
When and are not from this set , let and be the closest matrix in , then we know . Therefore we still have
Next Theorem shows is roughly equal to , this is one of the major terms in the gradient.
Without loss of generality we assume . Let be the indicator variable for , we first prove the result when are independent, then we will use standard techniques to show the same argument works for .
Let be a truncated version of . That is, when , and otherwise. It’s not hard to see has smaller mean and variance compared to . Also, by vector’s Bernstein’s inequality (Lemma E.1), we know
Notice that this is only relevant when (because otherwise the probability is 0) and in that regime the variance term always dominates. Therefore is the square of a subgaussian random variable.
Now we can use the concentration bound for quadratics of the subgaussian random variables: we know that with probability ,
this means with probability with some large constant , we know . The probability is low enough for us to union bound over all in a standard -net such that every other is within distance . Therefore we know with high probability for all in the -net we have , which is smaller than when for a large enough constant .
For any that is not in the -net, let be the closest point of in the net, then , therefore the bound of clearly follows from the bound of .
Now to convert sum of to sum of , notice that with high probability there are at most entries in for every row. When that happens is always bounded by so . Let event be for all , and let event be that there are at most entries per row, we know with high probability both event happens, and in that case for all .
First notice that the diagonal entries ’s cannot change the Frobenius norm by more than so we can ignore the diagonal terms. Now for independent terms , let , then by union bound both and satisfy the equation, and by triangle’s inequality also satisfies the inequality. Let be the true indicator of (hence ), and be an independent copy, we know has the same distribution as (for off-diagonal entries), therefore with high probability the equation is true for . The Theorem then follows from the standard Claim below for decoupling (note that is a norm for the indicator variables of ):
Let be two iid random variables, then
Let be iid random variables then,
Finally we argue that random sampling of a matrix gives a nice spectral approximation. This is a standard Lemma that is used in arguing about the term in the gradient ().
where .
Without loss of generality we assume . The proof follows simply from application of Bernstein inequality. We view as
Concentration Lemmas for Noise Matrix N𝑁N
Next we will state the concentration lemmas that are necessary when observed matrix is perturbed by Gaussian noise. The proof of these Lemmas are really exactly the same (in fact even simpler) than the corresponding Theorem that we have just proven. The first Lemma is used in the same settings as Theorem D.1.
Let be a random matrix with independent Gaussian entries . With high probability over the support and the Gaussian , for any low rank matrix , we have
The proof is exactly the same as Theorem D.1 as is a sum of independent entries that follows from the same Bernstein’s inequality. ∎
Next we show that random sampling entries of a Gaussian matrix gives a matrix with low spectral norm.
Let be a random Gaussian matrix with independent Gaussian entries , with high probability over the choice of and , we have
Again the proof follows from the same argument as Lemma D.4. ∎
Appendix E Auxiliary Lemmas
Let , . Then implies that and that .
Using the assumption and equation above we have that . This implies with the condition that , which implis that . ∎
For any , there is a set of rank matrices, such that for any rank matrix with Frobenius norm at most , there is a matrix with . The size of is bounded by .
Here we let , and construct three sets where is an -net for matrices with Frobenius norm at most , is an -net for diagonal matrices whose Frobenius norm is bounded by , and is an -net for matrices with Frobenius norm at most .
Now we define . Clearly the size of is as promised. For any rank matrix , suppose its Singular Value Decomposition is , we can find , and that are close to respectively. Therefore and it is easy to check