Provable Efficient Online Matrix Completion via Non-convex Stochastic Gradient Descent

Chi Jin, Sham M. Kakade, Praneeth Netrapalli

Introduction

Low rank matrix completion refers to the problem of recovering a low rank matrix by observing the values of only a tiny fraction of its entries. This problem arises in several applications such as video denoising , phase retrieval and most famously in movie recommendation engines . In the context of recommendation engines for instance, the matrix we wish to recover would be user-item rating matrix where each row corresponds to a user and each column corresponds to an item. Each entry of the matrix is the rating given by a user to an item. Low rank assumption on the matrix is inspired by the intuition that rating of an item by a user depends on only a few hidden factors, which are much fewer than the number of users or items. The goal is to estimate the ratings of all items by users given only partial ratings of items by users, which would then be helpful in recommending new items to users.

The seminal works of Candès and Recht first identified regularity conditions under which low rank matrix completion can be solved in polynomial time using convex relaxation – low rank matrix completion could be ill-posed and NP-hard in general without such regularity assumptions . Since then, a number of works have studied various algorithms under different settings for matrix completion: weighted and noisy matrix completion, fast convex solvers, fast iterative non-convex solvers, parallel and distributed algorithms and so on.

Most of this work however deals only with the offline setting where all the observed entries are revealed at once and the recovery procedure does computation using all these observations simultaneously. However in several applications , we encounter the online setting where observations are only revealed sequentially and at each step the recovery algorithm is required to maintain an estimate of the low rank matrix based on the observations so far. Consider for instance recommendation engines, where the low rank matrix we are interested in is the user-item rating matrix. While we make an observation only when a user rates an item, at any point of time, we should have an estimate of the user-item rating matrix based on all prior observations so as to be able to continuously recommend items to users. Moreover, this estimate should get better as we observe more ratings.

Algorithms for offline matrix completion can be used to solve the online version by rerunning the algorithm after every additional observation. However, performing so much computation for every observation seems wasteful and is also impractical. For instance, using alternating minimization, which is among the fastest known algorithms for the offline problem, would mean that we take several passes of the entire data for every additional observation. This is simply not feasible in most settings. Another natural approach is to group observations into batches and do an update only once for each batch. This however induces a lag between observations and estimates which is undesirable. To the best of our knowledge, there is no known provable, efficient, online algorithm for matrix completion.

On the other hand, in order to deal with the online matrix completion scenario in practical applications, several heuristics (with no convergence guarantees) have been proposed in literature . Most of these approaches are based on starting with an estimate of the matrix and doing fast updates of this estimate whenever a new observation is presented. One of the update procedures used in this context is that of stochastic gradient descent (SGD) applied to the following non-convex optimization problem

where M\mathbf{M} is the unknown matrix of size d1×d2d_{1}\times d_{2}, kk is the rank of M\mathbf{M} and UV⊤\mathbf{U}\mathbf{V}^{\top} is a low rank factorization of M\mathbf{M} we wish to obtain. The algorithm starts with some U0\mathbf{U}_{0} and V0\mathbf{V}_{0}, and given a new observation (M)ij(\mathbf{M})_{ij}, SGD updates the ithi^{\textrm{th}}-row and the jthj^{\textrm{th}}-row of the current iterates Ut\mathbf{U}_{t} and Vt\mathbf{V}_{t} respectively by

where η\eta is an appropriately chosen stepsize, and U(i)\mathbf{U}^{(i)} denote the ithi^{\textrm{th}} row of matrix U\mathbf{U}. Note that each update modifies only one row of the factor matrices U\mathbf{U} and V\mathbf{V}, and the computation only involves one row of U,V\mathbf{U},\mathbf{V} and the new observed entry (M)ij(\mathbf{M})_{ij} and hence are extremely fast. These fast updates make SGD extremely appealing in practice. Moreover, SGD, in the context of matrix completion, is also useful for parallelization and distributed implementation .

In this work we present the first provable efficient algorithm for online matrix completion by showing that SGD (2) with a good initialization converges to a true factorization of M\mathbf{M} at a geometric rate. Our main contributions are as follows.

We provide the first provable, efficient, online algorithm for matrix completion. Starting with a good initialization, after each observation, the algorithm makes quick updates each taking time O(k3)O(k^{3}) and requires O(μdkκ4(k+log⁡∥M∥Fϵ)log⁡d)O(\mu dk\kappa^{4}(k+\log\frac{\|{\mathbf{M}}\|_{\text{F}}}{\epsilon})\log d) observations to reach ϵ\epsilon accuracy, where μ\mu is the incoherence parameter, d=max⁡(d1,d2)d=\max(d_{1},d_{2}), kk is the rank and κ\kappa is the condition number of M\mathbf{M}.

Moreover, our result features both sample complexity and total runtime linear in dd, and is competitive to even the best existing offline results for matrix completion. (either improve over or is incomparable, i.e., better in some parameters and worse in others, to these results). See Table 1 for the comparison.

To obtain our results, we introduce a general framework to show SGD updates tend to stay away from saddle surfaces. In order to do so, we consider distances from saddle surfaces, show that they behave like sub-martingales under SGD updates and use martingale convergence techniques to conclude that the iterates stay away from saddle surfaces. While shows that SGD updates stay away from saddle surfaces, the stepsizes they can handle are quite small (scaling as 1/poly(d1,d2)1/\text{poly}(d_{1},d_{2})), leading to suboptimal computational complexity. Our framework makes it possible to establish the same statement for much larger step sizes, giving us near-optimal runtime. We believe these techniques may be applicable in other non-convex settings as well.

2 Related Work

In this section we will mention some more related work.

Offline matrix completion: There has been a lot of work on designing offline algorithms for matrix completion, we provide the detailed comparison with our algorithm in Table 1. The nuclear norm relaxation algorithm has near-optimal sample complexity for this problem but is computationally expensive. Motivated by the empirical success of non-convex heuristics, a long line of works, and so on, has obtained convergence guarantees for alternating minimization, gradient descent, projected gradient descent etc. Even the best of these are suboptimal in sample complexity by poly(k,κ)\text{poly}(k,\kappa) factors. Our sample complexity is better than that of and is incomparable to those of . To the best of our knowledge, the only provable online algorithm for this problem is that of Sun and Luo . However the stepsizes they suggest are quite small, leading to suboptimal computational complexity by factors of poly(d1,d2)\text{poly}(d_{1},d_{2}). The runtime of our algorithm is linear in dd, which makes poly(d)\text{poly}(d) improvements over it.

Other models for online matrix completion: Another variant of online matrix completion studied in the literature is where observations are made on a column by column basis e.g., . These models can give improved offline performance in terms of space and could potentially work under relaxed regularity conditions. However, they do not tackle the version where only entries (as opposed to columns) are observed.

Non-convex optimization: Over the last few years, there has also been a significant amount of work in designing other efficient algorithms for solving non-convex problems. Examples include eigenvector computation , sparse coding etc. For general non-convex optimization, an interesting line of recent work is that of , which proves gradient descent with noise can also escape saddle point, but they only provide polynomial rate without explicit dependence. Later show that without noise, the space of points from where gradient descent converges to a saddle point is a measure zero set. However, they do not provide a rate of convergence. Another related piece of work to ours is , proves global convergence along with rates of convergence, for the special case of computing matrix squareroot. During the preparation of this draft, the recent work was announced which proves the global convergence of SGD for matrix completion and can also be applied to the online setting. However, their result only deals with the case where M\mathbf{M} is positive semidefinite (PSD) and their rate is still suboptimal by factors of poly(d1,d2)\text{poly}(d_{1},d_{2}).

3 Outline

The rest of the paper is organized as follows. In Section 2 we formally describe the problem and all relevant parameters. In Section 3, we present our algorithms, results and some of the key intuition behind our results. In Section 4 we give proof outline for our main results. We conclude in Section 5. All formal proofs are deferred to the Appendix.

Preliminaries

In this section, we introduce our notation, formally define the matrix completion problem and regularity assumptions that make the problem tractable.

2 Problem statement and assumptions

Low rank matrix completion is the task of recovering M\mathbf{M} by only observing PΩ(M)\mathcal{P}_{\Omega}(\mathbf{M}). This task is ill-posed and NP-hard in general . In order to make this tractable, we make by now standard assumptions about the structure of M\mathbf{M}.

Main Results

In this section, we present our main result. We will first state result for a special case where M\mathbf{M} is a symmetric positive semi-definite (PSD) matrix, where the algorithm and analysis are much simpler. We will then discuss the general case.

The algorithm uses an initial set of observations Ωinit\Omega_{\textrm{init}} to produce a warm start iterate U0\mathbf{U}_{0}, then enters the online stage, where it performs SGD.

The sample complexity of the warm start phase is O(μdk2κ2(M)log⁡d)O(\mu dk^{2}\kappa^{2}(\mathbf{M})\log d). The initialization consists of a top-kk SVD on a sparse matrix, whose runtime is O(μdk3κ2(M)log⁡d)O(\mu dk^{3}\kappa^{2}(\mathbf{M})\log d).

For the online phase (SGD), if we choose η=cμdkκ3(M)∥M∥log⁡d\eta=\frac{c}{\mu dk\kappa^{3}(\mathbf{M})\left\|{\mathbf{M}}\right\|\log d}, the number of observations TT required for the error ∥UTUT⊤−M∥F\|{\mathbf{U}_{T}\mathbf{U}_{T}^{\top}-\mathbf{M}}\|_{\text{F}} to be smaller than ϵ\epsilon is O(μdkκ(M)4log⁡dlog⁡σmin⁡(M)ϵ)O(\mu dk\kappa(\mathbf{M})^{4}\log d\log\frac{\sigma_{\min}(\mathbf{M})}{\epsilon}).

Since each SGD step modifies two rows of Ut\mathbf{U}_{t}, its runtime is O(k)O(k) with a total runtime for online phase of O(kT)O(kT).

Our proof approach is to essentially show that the objective function is well-behaved (i.e., is smooth and strongly convex) in a local neighborhood of the warm start region, and then use standard techniques to show that SGD obtains geometric convergence in this setting. The most challenging and novel part of our analysis comprises of showing that the iterate does not leave this local neighborhood while performing SGD updates. Refer Section 4 for more details on the proof outline.

2 General Case

Algorithm 2 and Algorithm 3 are equivalent in the sense that: given same observations from M\mathbf{M} and other inputs, the outputs of Algorithm 2, U,V\mathbf{U},\mathbf{V} and those of Algorithm 3, U′,V′\mathbf{U}^{\prime},\mathbf{V}^{\prime} satisfy UV⊤=U′V′⊤\mathbf{U}\mathbf{V}^{\top}=\mathbf{U}^{\prime}\mathbf{V}^{\prime}{}^{\top}.

Since the output of both algorithms is the same, we can analyze Algorithm 2 (which is easier than that of Algorithm 3), while implementing Algorithm 3 in practice. The following theorem is the main result of our paper which presents guarantees on the performance of Algorithm 2.

Just as in the case of PSD matrix completion (Theorem 3.1), Algorithm 2 needs a an initial set of observations Ωinit\Omega_{\textrm{init}} to provide a warm start U0\mathbf{U}_{0} and V0\mathbf{V}_{0} after which it performs SGD.

The sample complexity and runtime of the warm start phase are the same as in symmetric PSD case. The stepsize η\eta and the number of observations TT to achieve ϵ\epsilon error in online phase (SGD) are also the same as in symmetric PSD case.

However, runtime of each update step in online phase is O(k3)O(k^{3}) with total runtime for online phase O(k3T)O(k^{3}T).

The proof of this theorem again follows a similar line of reasoning as that of Theorem 3.1 by first showing that the local neighborhood of warm start iterate has good smoothness and strong convexity properties and then use them to show geometric convergence of SGD. Proof of the fact that iterates do not move away from this local neighborhood however is significantly more challenging due to renormalization steps in the algorithm. Please see Appendix C for the full proof.

Proof Sketch

In this section we will provide the intuition and proof sketch for our main results. For simplicity and highlighting the most essential ideas, we will mostly focus on the symmetric PSD case (Theorem 3.1). For the asymmetric case, though the high-level ideas are still valid, a lot of additional effort is required to address the renormalization step in Algorithm 2. This makes the proof more involved.

First, note that our algorithm for the PSD case consists of an initialization and then stochastic descent steps. The following lemma provides guarantees on the error achieved by the initial iterate U0\mathbf{U}_{0}.

By Lemma 4.1, we know the initialization algorithm already gives U0\mathbf{U}_{0} in the local region given by Eq.(3). Intuitively, stochastic descent steps should keep doing local search within this local region.

For function f(U)=∥M−UU⊤∥F2f(\mathbf{U})=\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\|_{\text{F}}^{2} and any U1,U2∈{U∣∥U∥≤Γ}\mathbf{U}_{1},\mathbf{U}_{2}\in\{\mathbf{U}|\left\|{\mathbf{U}}\right\|\leq\Gamma\}, we have:

For function f(U)=∥M−UU⊤∥F2f(\mathbf{U})=\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\|_{\text{F}}^{2} and any U∈{U∣σmin⁡(X⊤U)≥γ}\mathbf{U}\in\{\mathbf{U}|\sigma_{\min}(\mathbf{X}^{\top}\mathbf{U})\geq\gamma\}, we have:

Lemma 4.2 tells function ff is smooth if spectral norm of U\mathbf{U} is not very large. On the other hand, σmin⁡(X⊤U)\sigma_{\min}(\mathbf{X}^{\top}\mathbf{U}) not too small requires both σmin⁡(U⊤U)\sigma_{\min}(\mathbf{U}^{\top}\mathbf{U}) and σmin⁡(X⊤W)\sigma_{\min}(\mathbf{X}^{\top}\mathbf{W}) are not too small, where W\mathbf{W} is top-k eigenspace of UU⊤\mathbf{U}\mathbf{U}^{\top}. That is, Lemma 4.3 tells function ff has a property similar to strongly convex in standard optimization literature, if U\mathbf{U} is rank k in a robust sense (σk(U)\sigma_{k}(\mathbf{U}) is not too small), and the angle between the top k eigenspace of UU⊤\mathbf{U}\mathbf{U}^{\top} and the top k eigenspace M\mathbf{M} is not large.

Within the region D={U∣∥M−UU⊤∥F≤110σk(M)}\mathcal{D}=\{\mathbf{U}|\left\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\right\|_{F}\leq\frac{1}{10}\sigma_{k}(\mathbf{M})\}, we have:

Lemma 4.4 tells inside region {U∣∥M−UU⊤∥F≤110σk(M)}\{\mathbf{U}|\left\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\right\|_{F}\leq\frac{1}{10}\sigma_{k}(\mathbf{M})\}, matrix U\mathbf{U} always has a good spectral property which gives preconditions for both Lemma 4.2 and 4.3, where f(U)f(\mathbf{U}) is both smooth and has a property very similar to strongly convex.

With above three lemmas, we already been able to see the intuition behind linear convergence in Theorem 3.1. Denote stochastic gradient

where SG(U)SG(\mathbf{U}) is a random matrix depends on the randomness of sample (i,j)(i,j) of matrix M\mathbf{M}. Then, the stochastic update step in Algorithm 1 can be rewritten as:

Let’s suppose ideally, we always have U0,…,Ut\mathbf{U}_{0},\ldots,\mathbf{U}_{t} inside region D\mathcal{D}, this directly gives:

One interesting aspect of our main result is that we actually show linear convergence under the presence of noise in gradient. This is true because for the second-order (η2\eta^{2}) term above, we can roughly see from Eq.(4) that ∥SG(U)∥F2≤h(U)⋅f(U)\|{SG(\mathbf{U})}\|_{\text{F}}^{2}\leq h(\mathbf{U})\cdot f(\mathbf{U}), where h(U)h(\mathbf{U}) is a factor depends on U\mathbf{U} and always bounded. That is, SG(U)SG(\mathbf{U}) enjoys self-bounded property — ∥SG(U)∥F2\|{SG(\mathbf{U})}\|_{\text{F}}^{2} will goes to zero, as objective function f(U)f(\mathbf{U}) goes to zero. Therefore, by choosing learning rate η\eta appropriately small, we can have the first-order term always dominate the second-order term, which establish the linear convergence.

Now, the only remaining issue is to prove that “U0,…,Ut\mathbf{U}_{0},\ldots,\mathbf{U}_{t} always stay inside local region D\mathcal{D}”. In reality, we can only prove this statement with high probability due to the stochastic nature of the update. This is also the most challenging part in our proof, which makes our analysis different from standard convex analysis, and uniquely required due to non-convex setting.

Let f(U)=∥UU⊤−M∥F2f(\mathbf{U})=\left\|{\mathbf{U}\mathbf{U}^{\top}-\mathbf{M}}\right\|_{F}^{2} and gi(U)=∥ei⊤U∥2g_{i}(\mathbf{U})=\left\|{\mathbf{e}_{i}^{\top}\mathbf{U}}\right\|^{2}. Suppose initial U0\mathbf{U}_{0} satisfying:

Then, there exist some absolute constant cc such that for any learning rate η<cμdkκ3(M)∥M∥log⁡d\eta<\frac{c}{\mu dk\kappa^{3}(\mathbf{M})\left\|{\mathbf{M}}\right\|\log d}, with at least 1−Td101-\frac{T}{d^{10}} probability, we will have for all t≤Tt\leq T that:

Note function max⁡igi(U)\max_{i}g_{i}(\mathbf{U}) indicates the incoherence of matrix U\mathbf{U}. Theorem 4.5 guarantees if inital U0\mathbf{U}_{0} is in the local region which is incoherent and U0U0⊤\mathbf{U}_{0}\mathbf{U}_{0}^{\top} is close to M\mathbf{M}, then with high probability for all steps t≤Tt\leq T, Ut\mathbf{U}_{t}, Ut\mathbf{U}_{t} will always stay in a slightly relaxed local region, and f(Ut)f(\mathbf{U}_{t}) has linear convergence.

It is not hard to show that all saddle point of f(U)f(\mathbf{U}) satisfies σk(U)=0\sigma_{k}(\mathbf{U})=0, and all local minima are global minima. Since U0,…,Ut\mathbf{U}_{0},\ldots,\mathbf{U}_{t} automatically stay in region f(U)≤(σmin⁡(M)10)2f(\mathbf{U})\leq(\frac{\sigma_{\min}(\mathbf{M})}{10})^{2} with high probability, we know Ut\mathbf{U}_{t} also stay away from all saddle points. The claim that U0,…,Ut\mathbf{U}_{0},\ldots,\mathbf{U}_{t} stays incoherent is essential to better control the variance and probability 1 bound of SG(Ut)SG(\mathbf{U}_{t}), so that we can have large step size and tight convergence rate.

The major challenging in proving Theorem 4.5 is to both prove Ut\mathbf{U}_{t} stays in the local region, and achieve good sample complexity and running time (linear in dd) in the same time. This also requires the learning rate η\eta in Algorithm 1 to be relatively large. Let the event Et\mathfrak{E}_{t} denote the good event where U0,…,Ut\mathbf{U}_{0},\ldots,\mathbf{U}_{t} satisfies Eq.(5). Theorem 4.5 is claiming that P(ET)P(\mathfrak{E}_{T}) is large. The essential steps in the proof is contructing two supermartingles related to f(Ut)1Etf(\mathbf{U}_{t})1_{\mathfrak{E}_{t}} and gi(Ut)1Etg_{i}(\mathbf{U}_{t})1_{\mathfrak{E}_{t}} (where 1(⋅)1_{(\cdot)} denote indicator function), and use Bernstein inequalty to show the concentration of supermartingales. The 1Et1_{\mathfrak{E}_{t}}term allow us the claim all previous U0,…,Ut\mathbf{U}_{0},\ldots,\mathbf{U}_{t} have all desired properties inside local region.

Finally, we see Theorem 3.1 as a immediate corollary of Theorem 4.5.

Conclusion

In this paper, we presented the first provable, efficient online algorithm for matrix completion, based on nonconvex SGD. In addition to the online setting, our results are also competitive with state of the art results in the offline setting. We obtain our results by introducing a general framework that helps us show how SGD updates self-regulate to stay away from saddle points. We hope our paper and results help generate interest in online matrix completion, and our techniques and framework prompt tighter analysis for other nonconvex problems.

References

Appendix A Proof of Initialization

In this section, we will prove Lemma 4.1 and a corresponding lemma for asymmetric case as follows (which will be used to prove Theorem 3.3):

We will focus mostly on Lemma A.1, and prove Lemma 4.1 as a special case. Most of the argument of this section follows from . We include here for completeness. The remaining of this section can be viewed as proving both the Frobenius norm claim and incoherence claim of Lemma A.1 seperately.

In this section, We always denote d=max⁡{d1,d2}d=\max\{d_{1},d_{2}\}. For simplicity, WLOG, we also assume ∥M∥=1\left\|{\mathbf{M}}\right\|=1 in all proof. Also, when it’s clear from the context, we use κ\kappa to specifically to represent κ(M)\kappa(\mathbf{M}). Then σmin⁡(M)=1κ\sigma_{\min}(\mathbf{M})=\frac{1}{\kappa}. Also in the proof, we always denote SVD(M)=XSY⊤\text{SVD}(\mathbf{M})=\mathbf{X}\mathbf{S}\mathbf{Y}^{\top}, and SVD(UV⊤)=WUDWV⊤\text{SVD}(\mathbf{U}\mathbf{V}^{\top})=\mathbf{W}_{\mathbf{U}}\mathbf{D}\mathbf{W}_{\mathbf{V}}^{\top}, where S\mathbf{S} and D\mathbf{D} are k×kk\times k diagonal matrix.

A finite sequence {Xt}\{\mathbf{X}_{t}\} of independent, random matrices with dimension d!×d2d_{!}\times d_{2}. Assume that each matrix satisfies:

Let ∣Ω∣=m|\Omega|=m, then there exists universal constant C,c0C,c_{0}, for any m≥c0μdklog⁡dm\geq c_{0}\mu dk\log d, with probability at least 1−1d101-\frac{1}{d^{10}}, we have:

where ZijZ_{ij} are independence Bernoulli(m/d1d2)(m/d_{1}d_{2}) random variables. Let matrix

Then, by matrix Bernstein (Theorem A.2), we have:

That is, with probability at least 1−1d101-\frac{1}{d^{10}}, for some universal constant CC, we have:

For m≥μdklog⁡dm\geq\mu dk\log d, we finishes the proof. ∎

Let U0V0⊤\mathbf{U}_{0}\mathbf{V}_{0}^{\top} be the top-kk SVD of d1d2mPΩ(M)\frac{d_{1}d_{2}}{m}\mathcal{P}_{\Omega}(\mathbf{M}), where ∣Ω∣=m|\Omega|=m then there exists universal constant c0c_{0}, for any m≥c0μdk2κ2log⁡dm\geq c_{0}\mu dk^{2}\kappa^{2}\log d, with probability at least 1−1d101-\frac{1}{d^{10}}, we have:

Since M\mathbf{M} is a rank kk matrix, we know σk+1(M)=0\sigma_{k+1}(\mathbf{M})=0, thus

Meanwhile, since rank(M)=k\text{rank}(\mathbf{M})=k, rank(U0V0⊤)=k\text{rank}(\mathbf{U}_{0}\mathbf{V}_{0}^{\top})=k, we know: rank(M−U0V0⊤)≤2k\text{rank}(\mathbf{M}-\mathbf{U}_{0}\mathbf{V}_{0}^{\top})\leq 2k, and therefore:

by choosing m≥c0μdk2log⁡d⋅κ2m\geq c_{0}\mu dk^{2}\log d\cdot\kappa^{2} for large enough constant c0c_{0} and apply Lemma A.3, we finishes the proof. ∎

A.2 Incoherence of Initialization

Let UV⊤\mathbf{U}\mathbf{V}^{\top} be the top-kk SVD of d1d2mPΩ(M)\frac{d_{1}d_{2}}{m}\mathcal{P}_{\Omega}(\mathbf{M}), where ∣Ω∣=m|\Omega|=m. then there exists universal constant c0c_{0}, for any m≥c0μdkκ2log⁡dm\geq c_{0}\mu dk\kappa^{2}\log d, with probability at least 1−1d101-\frac{1}{d^{10}}, we have:

For the first term, since WU⊤WU,⊥=0\mathbf{W}_{\mathbf{U}}^{\top}\mathbf{W}_{\mathbf{U},\perp}=0, we have:

The last step is due to sample m≥μdkκ2log⁡dm\geq\mu dk\kappa^{2}\log d, and theorem A.4.

Therefore, with m≥μdkκ2log⁡dm\geq\mu dk\kappa^{2}\log d, by matrix Bernstein, we have with probability at least 1−1d101-\frac{1}{d^{10}}, we know that for all j∈[d2]j\in[d_{2}], there exists some absolute constant C′C^{\prime} so that:

Combine above two equations and choose m≥c0μdkκ2log⁡dm\geq c_{0}\mu dk\kappa^{2}\log d for some large enough c0c_{0}. We have:

Let U0V0⊤\mathbf{U}_{0}\mathbf{V}_{0}^{\top} be the top-kk SVD of d1d2mPΩ(M)\frac{d_{1}d_{2}}{m}\mathcal{P}_{\Omega}(\mathbf{M}), where ∣Ω∣=m|\Omega|=m. then there exists universal constant c0c_{0}, for any m≥c0μdkκ2log⁡dm\geq c_{0}\mu dk\kappa^{2}\log d, with probability at least 1−1d101-\frac{1}{d^{10}}, we have:

By Theorem A.5, we know for any j∈[d2]j\in[d_{2}]:

By symmetry, we also know for any i∈[d1]i\in[d_{1}]

Let U0U0⊤\mathbf{U}_{0}\mathbf{U}_{0}^{\top} be the top-kk SVD of d2mPΩ(M)\frac{d^{2}}{m}\mathcal{P}_{\Omega}(\mathbf{M}), where ∣Ω∣=m|\Omega|=m. then there exists universal constant c0c_{0}, for any m≥c0μdkκ2log⁡dm\geq c_{0}\mu dk\kappa^{2}\log d, with probability at least 1−1d101-\frac{1}{d^{10}}, we have:

On the other hand, by Theorem A.4, we have:

Finally, Lemma A.1 can be easily concluded from Theorem A.4 and Theorem A.6, while Lemma 4.1 is also directly proved by Theorem A.4 and Corollary A.7.

Appendix B Proof of Symmetric PSD Case

In this section, we prove Theorem 3.1. WLOG, we continue to assume ∥M∥=1\left\|{\mathbf{M}}\right\|=1 in all proof. Also, when it’s clear from the context, we use κ\kappa to specifically to represent κ(M)\kappa(\mathbf{M}). Then σmin⁡(M)=1κ\sigma_{\min}(\mathbf{M})=\frac{1}{\kappa}. Also in this section, we always denote SVD(M)=XSX⊤\text{SVD}(\mathbf{M})=\mathbf{X}\mathbf{S}\mathbf{X}^{\top}, and SVD(UU⊤)=WDW⊤\text{SVD}(\mathbf{U}\mathbf{U}^{\top})=\mathbf{W}\mathbf{D}\mathbf{W}^{\top}.

The most essential part to prove Theorem 3.1 is proving following Theorem:

Let f(U)=∥UU⊤−M∥F2f(\mathbf{U})=\left\|{\mathbf{U}\mathbf{U}^{\top}-\mathbf{M}}\right\|_{F}^{2} and gi(U)=∥ei⊤U∥2g_{i}(\mathbf{U})=\left\|{\mathbf{e}_{i}^{\top}\mathbf{U}}\right\|^{2}. Suppose after initialization, we have:

Then, there exist some absolute constant cc such that for any learning rate η<cμdkκ3log⁡d\eta<\frac{c}{\mu dk\kappa^{3}\log d}, with at least 1−Td101-\frac{T}{d^{10}} probability, we will have for all t≤Tt\leq T that:

Theorem B.1 says once initialization algorithm provides U0\mathbf{U}_{0} in good local region, with high probability Ut\mathbf{U}_{t} will always stay in this good region and f(Ut)f(\mathbf{U}_{t}) is linear converging to 0. With this theorem, we can then immediately conclude Theorem 3.1 from Theorem B.1 and Lemma 4.1.

The rest of this section all focus on proving Theorem B.1. First, we prepare with a few lemmas about the property of objective function, and the spectral property of U\mathbf{U} in a local Frobenius ball around optimal. Then, we prove Theorem B.1 by constructing two supermartingales related to f(Ut),gi(Ut)f(\mathbf{U}_{t}),g_{i}(\mathbf{U}_{t}) each, and applying concentration argument.

For symmetric PSD case, we denote the stochastic gradient as:

The update in Algorithm 1 can be now written as:

First, we prove two lemmas w.r.t the smoothness and property similar to strongly convex for objective function:

(restatement of Lemma 4.2) Within the region D={U∣∥U∥≤Γ}\mathcal{D}=\{\mathbf{U}|\left\|{\mathbf{U}}\right\|\leq\Gamma\}, we have function f(U)=∥M−UU⊤∥F2f(\mathbf{U})=\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\|_{\text{F}}^{2} satisfying for any U1,U2∈D\mathbf{U}_{1},\mathbf{U}_{2}\in\mathcal{D}:

where smoothness parameter β=16max⁡{Γ2,∥M∥}\beta=16\max\{\Gamma^{2},\left\|{\mathbf{M}}\right\|\}.

(restatement of Lemma 4.3) Within the region D={U∣σmin⁡(X⊤U)≥γ}\mathcal{D}=\{\mathbf{U}|\sigma_{\min}(\mathbf{X}^{\top}\mathbf{U})\geq\gamma\}, then we have function f(U)=∥M−UU⊤∥F2f(\mathbf{U})=\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\|_{\text{F}}^{2} satisfying:

Inside region D\mathcal{D}, recall we denote WDW⊤=SVD(UU⊤)\mathbf{W}\mathbf{D}\mathbf{W}^{\top}=\text{SVD}(\mathbf{U}\mathbf{U}^{\top}), thus we have:

Next, we show as long as we are in some Frobenious ball around optimum, then we have good spectral property over U\mathbf{U} which guarantees the preconditions for Lemma B.2 and Lemma B.3.

(restatement of Lemma 4.4) Within the region D={U∣∥M−UU⊤∥F≤110σk(M)}\mathcal{D}=\{\mathbf{U}|\left\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\right\|_{F}\leq\frac{1}{10}\sigma_{k}(\mathbf{M})\}, we have:

For spectral norm of U\mathbf{U}, we have:

For the minimum singular value of U⊤U\mathbf{U}^{\top}\mathbf{U}, we have:

Let the principal angle between X\mathbf{X} and W\mathbf{W} to be θ\theta. This gives sin⁡2θ=∥X⊥⊤W∥2≤19\sin^{2}\theta=\left\|{\mathbf{X}_{\perp}^{\top}\mathbf{W}}\right\|^{2}\leq\frac{1}{9}. Thus cos⁡2θ=σmin⁡2(X⊤W)≥89\cos^{2}\theta=\sigma_{\min}^{2}(\mathbf{X}^{\top}\mathbf{W})\geq\frac{8}{9}. Therefore:

B.2 Proof of Theorem B.1

Now, we are ready for our key theorem. By Lemma B.2, Lemma B.3, and Lemma B.4, we already know the function has good property locally in the region D={U∣∥M−UU⊤∥F≤110σk(M)}\mathcal{D}=\{\mathbf{U}|\left\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\right\|_{F}\leq\frac{1}{10}\sigma_{k}(\mathbf{M})\} which alludes linear convergence. Then, the work remains and also the most challenging part is to prove that once we initialize inside this region, our algorithm will guarantee U\mathbf{U} never leave this region with high probability even with relatively large stepsize. The requirement for tight sample complexity and near optimal runtime makes it more challenging, and require us to further control the incoherence of Ut\mathbf{U}_{t} over all iterates in addition to the distance ∥M−UU⊤∥F\left\|{\mathbf{M}-\mathbf{U}\mathbf{U}^{\top}}\right\|_{F}.

Define event Et={∀τ≤t,f(Uτ)≤(1−η2κ)t(110κ)2,max⁡igi(Uτ)≤20μkκ2d}\mathfrak{E}_{t}=\{\forall\tau\leq t,f(\mathbf{U}_{\tau})\leq(1-\frac{\eta}{2\kappa})^{t}(\frac{1}{10\kappa})^{2},\max_{i}g_{i}(\mathbf{U}_{\tau})\leq\frac{20\mu k\kappa^{2}}{d}\}. Theorem B.1 is equivalent to prove event ET\mathfrak{E}_{T} happens with high probability. The proof achieves this by contructing two supermartingales for f(Ut)1Etf(\mathbf{U}_{t})1_{\mathfrak{E}_{t}} and gi(Ut)1Etg_{i}(\mathbf{U}_{t})1_{\mathfrak{E}_{t}} (where 1(⋅)1_{(\cdot)} denote indicator function), applies concentration argument.

Their probability 1 bound and variance bound in order to apply Azuma-Bernstein inequality

Final combination of concentration results to conclude the proof

First, let filtration Ft=σ{SG(U0),⋯ ,SG(Ut−1)}\mathfrak{F}_{t}=\sigma\{SG(\mathbf{U}_{0}),\cdots,SG(\mathbf{U}_{t-1})\} where σ{⋅}\sigma\{\cdot\} denotes the sigma field. Note by definiton of Et\mathfrak{E}_{t}, we have Et⊂Ft\mathfrak{E}_{t}\subset\mathfrak{F}_{t}. Also Et+1⊂Et\mathfrak{E}_{t+1}\subset\mathfrak{E}_{t}, and thus 1Et+1≤1Et1_{\mathfrak{E}_{t+1}}\leq 1_{\mathfrak{E}_{t}}. Note Et\mathfrak{E}_{t} denotes the event which up to time tt, Uτ\mathbf{U}_{\tau} always stay in a local region which both close to M\mathbf{M} and incoherent.

By Lemma B.4, we immediately know that conditioned on Et\mathfrak{E}_{t}, we have ∥Ut∥≤2\left\|{\mathbf{U}_{t}}\right\|\leq\sqrt{2}, σmin⁡(X⊤Ut)≥1/2κ\sigma_{\min}(\mathbf{X}^{\top}\mathbf{U}_{t})\geq 1/\sqrt{2\kappa} and σmin⁡(Ut⊤Ut)≥1/2κ\sigma_{\min}(\mathbf{U}_{t}^{\top}\mathbf{U}_{t})\geq 1/2\kappa. We will use this fact throughout the proof.

Since gi(U)=ei⊤UU⊤eig_{i}(\mathbf{U})=\mathbf{e}_{i}^{\top}\mathbf{U}\mathbf{U}^{\top}\mathbf{e}_{i} is a quadratic function, we know for any change ΔU\Delta\mathbf{U}, we have:

The last step is true by choosing constant cc in learning rate η\eta to be small enough.

Let Git=(1−4ηκ)−t(gi(Ut)1Et−1−15μkκ2d)G_{it}=(1-\frac{4\eta}{\kappa})^{-t}(g_{i}(\mathbf{U}_{t})1_{\mathfrak{E}_{t-1}}-15\frac{\mu k\kappa^{2}}{d}). This gives:

Probability 1 bound for G𝐺G:

Since when sample (i,j)(i,j) entry of matrix M\mathbf{M}, for any l∈[d]l\in[d], we have:

Therefore, by Eq.(9), we have with probability 1:

Variance bound for G𝐺G:

Bernstein’s inequality for G𝐺G:

Since Gi0=gi(U0)−15μkκ2dG_{i0}=g_{i}(\mathbf{U}_{0})-15\frac{\mu k\kappa^{2}}{d}, let s′=O(1)(1−4ηκ)t[σ2log⁡d+Rlog⁡d]s^{\prime}=O(1)(1-\frac{4\eta}{\kappa})^{t}[\sqrt{\sigma^{2}\log d}+R\log d], we know

by η<cμdkκ3log⁡d\eta<\frac{c}{\mu dk\kappa^{3}\log d} and choosing cc to be small enough, we have:

Since initialization gives max⁡igi(U0)≤10μkκ2d\max_{i}g_{i}(\mathbf{U}_{0})\leq\frac{10\mu k\kappa^{2}}{d}, therefore:

Construction of supermartingale F𝐹F:

Let Ft=(1−ηκ)−tf(Ut)1Et−1F_{t}=(1-\frac{\eta}{\kappa})^{-t}f(\mathbf{U}_{t})1_{\mathfrak{E}_{t-1}}, we know FtF_{t} is also a supermartingale.

Probability 1 bound for F𝐹F:

where ζt\zeta_{t} depends on SG(Ut)SG(\mathbf{U}_{t}).

First, recall we denote SVD(M)=XSX⊤\text{SVD}(\mathbf{M})=\mathbf{X}\mathbf{S}\mathbf{X}^{\top}, and SVD(UU⊤)=WDW⊤\text{SVD}(\mathbf{U}\mathbf{U}^{\top})=\mathbf{W}\mathbf{D}\mathbf{W}^{\top} , and observe that:

Then, when sample (i,j)(i,j) entry of matrix M\mathbf{M}, we have:

Therefore, by decomposition Eq.(13), we have with probability 1:

Variance bound for F𝐹F:

Therefore, by decomposition Eq.(13), we have:

Bernstein’s inequality for F𝐹F:

Let s′=O(1)(1−ηκ)t[σ2log⁡d+Rlog⁡d]s^{\prime}=O(1)(1-\frac{\eta}{\kappa})^{t}[\sqrt{\sigma^{2}\log d}+R\log d], this gives:

by η<cμdkκ3log⁡d\eta<\frac{c}{\mu dk\kappa^{3}\log d} and choosing cc to be small enough, we have:

Since F0=f(U0)≤(120κ)2F_{0}=f(\mathbf{U}_{0})\leq(\frac{1}{20\kappa})^{2}, therefore:

Finally, combining the concentration result for martingale GG (Eq.(12)) and martingale FF (Eq.(16)), we conclude:

Appendix C Proof of General Asymmetric Case

In this section, we first prove Lemma 3.2, set up the equivalence between Algorithm 2 and Algorithm 3. Then we prove the main theorem for general asymmetric matrix (Theorem 3.3). WLOG, we continue to assume ∥M∥=1\left\|{\mathbf{M}}\right\|=1 in all proof. Also, when it’s clear from the context, we use κ\kappa to specifically to represent κ(M)\kappa(\mathbf{M}). Then σmin⁡(M)=1κ\sigma_{\min}(\mathbf{M})=\frac{1}{\kappa}. Also in this section, we always use d=max⁡{d1,d2}d=\max\{d_{1},d_{2}\} and denote SVD(M)=XSY⊤\text{SVD}(\mathbf{M})=\mathbf{X}\mathbf{S}\mathbf{Y}^{\top}, and SVD(UV⊤)=WUDWV⊤\text{SVD}(\mathbf{U}\mathbf{V}^{\top})=\mathbf{W}_{U}\mathbf{D}\mathbf{W}_{V}^{\top}.

Clearly with same initialization algorithm, we have U0V0⊤=U0′V0′⊤\mathbf{U}_{0}\mathbf{V}_{0}^{\top}=\mathbf{U}^{\prime}_{0}\mathbf{V}^{\prime}_{0}{}^{\top}, by induction, we finish the proof. ∎

Now we proceed to prove Theorem 3.3. Since Algorithm 2 and Algorithm 3 are equivalent, we will focus our analysis on Algorithm 2 which is more theoretical appealing. As for the symmetric PSD case, we first present the essential ingradient:

Let f(U,V)=∥UV⊤−M∥F2f(\mathbf{U},\mathbf{V})=\left\|{\mathbf{U}\mathbf{V}^{\top}-\mathbf{M}}\right\|_{F}^{2}, gi(U,V)=∥ei⊤UV⊤∥2g_{i}(\mathbf{U},\mathbf{V})=\left\|{\mathbf{e}_{i}^{\top}\mathbf{U}\mathbf{V}^{\top}}\right\|^{2}, and hj(U,V)=∥ej⊤VU⊤∥2h_{j}(\mathbf{U},\mathbf{V})=\left\|{\mathbf{e}_{j}^{\top}\mathbf{V}\mathbf{U}^{\top}}\right\|^{2}, for i∈[d1]i\in[d_{1}] and j∈[d2]j\in[d_{2}]. Suppose after initialization, we have:

Then, there exist some absolute constant cc such that for any learning rate η<cμdkκ3log⁡d\eta<\frac{c}{\mu dk\kappa^{3}\log d}, with at least 1−Td101-\frac{T}{d^{10}} probability, we will have for all t≤Tt\leq T that:

Theorem 3.3 can easily be concluded from Theorem C.1 and Lemma A.1. Theorem C.1 also provides similar guarantees as Theorem B.1 in symmetric case. However, due to the additional invariance between U\mathbf{U} and V\mathbf{V}, Theorem C.1 need to keep track of more complicated potential function gi(U,V)g_{i}(\mathbf{U},\mathbf{V}) and hj(U,V)h_{j}(\mathbf{U},\mathbf{V}) to control the incoherence, which makes the proof more involved.

The rest of this section all focus on proving Theorem C.1. Similar to symmetric PSD case, we also first prepare with a few lemmas about the property of objective function, and the spectral property of U,V\mathbf{U},\mathbf{V} in a local Frobenius ball around optimal. Then, we prove Theorem C.1 by constructing three supermartingales related to f(Ut,Vt),gi(Ut,Vt),hj(Ut,Vt)f(\mathbf{U}_{t},\mathbf{V}_{t}),g_{i}(\mathbf{U}_{t},\mathbf{V}_{t}),h_{j}(\mathbf{U}_{t},\mathbf{V}_{t}) each, and applying concentration argument.

Also denote the stochastic gradient SG(U,V)SG(\mathbf{U},\mathbf{V}) by (if we sampled entry (i,j)(i,j) of matrix M\mathbf{M})

Similar to symmetric PSD case, we first prove two lemmas w.r.t the smoothness and property similar to strongly convex for objective function:

Within the region D={(U,V)∣∥U∥≤Γ,∥V∥≤Γ}\mathcal{D}=\{(\mathbf{U},\mathbf{V})|\left\|{\mathbf{U}}\right\|\leq\Gamma,\left\|{\mathbf{V}}\right\|\leq\Gamma\}, we have function f(U,V)=∥M−UV⊤∥F2f(\mathbf{U},\mathbf{V})=\|{\mathbf{M}-\mathbf{U}\mathbf{V}^{\top}}\|_{\text{F}}^{2} satisfying:

where smoothness parameter β=8max⁡{Γ2,∥M∥}\beta=8\max\{\Gamma^{2},\left\|{\mathbf{M}}\right\|\}.

The last step is by similar technics as in the proof of Lemma B.2, by expanding

Within the region D={(U,V)∣σmin⁡(X⊤U)≥γ,σmin⁡(Y⊤V)≥γ}\mathcal{D}=\{(\mathbf{U},\mathbf{V})|\sigma_{\min}(\mathbf{X}^{\top}\mathbf{U})\geq\gamma,\sigma_{\min}(\mathbf{Y}^{\top}\mathbf{V})\geq\gamma\}, then we have function f(U,V)=∥M−UV⊤∥F2f(\mathbf{U},\mathbf{V})=\|{\mathbf{M}-\mathbf{U}\mathbf{V}^{\top}}\|_{\text{F}}^{2} satisfying:

Let U^,V^\hat{\mathbf{U}},\hat{\mathbf{V}} be the left singular vectors of U,V\mathbf{U},\mathbf{V}. Inside region D\mathcal{D}, we have:

Next, we show as long as we are in some Frobenious ball around optimum, then we have good spectral property over U,V\mathbf{U},\mathbf{V} which guarantees the preconditions for Lemma C.2 and Lemma C.3.

Within the region D={(U,V)∣∥M−UV⊤∥F≤110σk(M)}\mathcal{D}=\{(\mathbf{U},\mathbf{V})|\left\|{\mathbf{M}-\mathbf{U}\mathbf{V}^{\top}}\right\|_{F}\leq\frac{1}{10}\sigma_{k}(\mathbf{M})\}, and for U=WUD12,V=WVD12\mathbf{U}=\mathbf{W}_{U}\mathbf{D}^{\frac{1}{2}},\mathbf{V}=\mathbf{W}_{V}\mathbf{D}^{\frac{1}{2}} where WUDWV=SVD(UV⊤)\mathbf{W}_{U}\mathbf{D}\mathbf{W}_{V}=\text{SVD}(\mathbf{U}\mathbf{V}^{\top}), we have:

For spectral norm of U\mathbf{U}, we have:

For the minimum singular value of U⊤U\mathbf{U}^{\top}\mathbf{U}, we have:

By symmetry, the same holds for V\mathbf{V}. On the other hand, we have:

Let the principal angle between X\mathbf{X} and WU\mathbf{W}_{U} to be θ\theta. This gives sin⁡2θ=∥X⊥⊤WU∥2≤19\sin^{2}\theta=\left\|{\mathbf{X}_{\perp}^{\top}\mathbf{W}_{U}}\right\|^{2}\leq\frac{1}{9}. Thus cos⁡2θ=σmin⁡2(X⊤WU)≥89\cos^{2}\theta=\sigma_{\min}^{2}(\mathbf{X}^{\top}\mathbf{W}_{U})\geq\frac{8}{9}. Therefore:

C.2 Proof of Theorem C.1

Now, we are ready for our key theorem. By Lemma C.2, Lemma C.3, and Lemma C.4, we already know the function has good property locally in the region D={(U,V)∣∥M−UV⊤∥F≤110σk(M)}\mathcal{D}=\{(\mathbf{U},\mathbf{V})|\left\|{\mathbf{M}-\mathbf{U}\mathbf{V}^{\top}}\right\|_{F}\leq\frac{1}{10}\sigma_{k}(\mathbf{M})\} which alludes linear convergence. Similar to the symmetric PSD case, the work remains is to prove that once we initialize inside this region, our algorithm will guarantee U,V\mathbf{U},\mathbf{V} never leave this region with high probability even with relatively large stepsize. Again, we also need to control the incoherence of Ut,Vt\mathbf{U}_{t},\mathbf{V}_{t} over all iterates additionally to achieve tight sample complexity and near optimal runtime.

For simplicity of notation, we assume d=d1=d2d=d_{1}=d_{2}, and do not distinguish d1d_{1} and d2d_{2}. However, it is easy to check our proof never use the property M\mathbf{M} is square matrix. The proof easily extends to d1≠d2d_{1}\neq d_{2} case by replacing dd in the proof with suitable d1,d2d_{1},d_{2}.

Define event Et={∀τ≤t,f(Uτ,Vτ)≤(1−η2κ)t(110κ)2,max⁡igi(Uτ,Vτ)≤100μkκ2d,max⁡jhj(Uτ,Vτ)≤100μkκ2d}\mathfrak{E}_{t}=\{\forall\tau\leq t,f(\mathbf{U}_{\tau},\mathbf{V}_{\tau})\leq(1-\frac{\eta}{2\kappa})^{t}(\frac{1}{10\kappa})^{2},\max_{i}g_{i}(\mathbf{U}_{\tau},\mathbf{V}_{\tau})\leq\frac{100\mu k\kappa^{2}}{d},\max_{j}h_{j}(\mathbf{U}_{\tau},\mathbf{V}_{\tau})\leq\frac{100\mu k\kappa^{2}}{d}\}. Theorem C.1 is equivalent to prove event ET\mathfrak{E}_{T} happens with high probability. The proof achieves this by contructing two supermartingales for f(Ut,Vt)1Etf(\mathbf{U}_{t},\mathbf{V}_{t})1_{\mathfrak{E}_{t}}, gi(Ut,Vt)1Etg_{i}(\mathbf{U}_{t},\mathbf{V}_{t})1_{\mathfrak{E}_{t}} and hi(Ut,Vt)1Eth_{i}(\mathbf{U}_{t},\mathbf{V}_{t})1_{\mathfrak{E}_{t}} (where 1(⋅)1_{(\cdot)} denote indicator function), applies concentration argument.

The proofs also follow similar structure as symmetric PSD case:

Their probability 1 bound and variance bound in order to apply Azuma-Bernstein inequality

Final combination of concentration results to conclude the proof

Then let filtration Ft=σ{SG(U0,V0),⋯ ,SG(Ut−1,Vt−1)}\mathfrak{F}_{t}=\sigma\{SG(\mathbf{U}_{0},\mathbf{V}_{0}),\cdots,SG(\mathbf{U}_{t-1},\mathbf{V}_{t-1})\} where σ{⋅}\sigma\{\cdot\} denotes the sigma field. Also let event , note Et⊂Ft\mathfrak{E}_{t}\subset\mathfrak{F}_{t}. Also Et+1⊂Et\mathfrak{E}_{t+1}\subset\mathfrak{E}_{t}, and thus 1Et+1≤1Et1_{\mathfrak{E}_{t+1}}\leq 1_{\mathfrak{E}_{t}}.

By Lemma C.4, we immediately know that conditioned on Et\mathfrak{E}_{t}, we have ∥Ut∥≤2\left\|{\mathbf{U}_{t}}\right\|\leq\sqrt{2}, ∥Vt∥≤2\left\|{\mathbf{V}_{t}}\right\|\leq\sqrt{2}, σmin⁡(X⊤Ut)≥1/2κ\sigma_{\min}(\mathbf{X}^{\top}\mathbf{U}_{t})\geq 1/\sqrt{2\kappa}, σmin⁡(Y⊤Vt)≥1/2κ\sigma_{\min}(\mathbf{Y}^{\top}\mathbf{V}_{t})\geq 1/\sqrt{2\kappa}. We will use this fact throughout the proof.

For simplicity, when it’s clear from the context, we denote:

First, since potential function gl(U,V)g_{l}(\mathbf{U},\mathbf{V}) is forth-order polynomial, we can expand:

Where we denote R1R_{1} as the sum of first order terms and higher order terms (all second/third/forth order terms), and R2R_{2} as the sum of second order terms and higher order terms.

We now give a proposition about properties of R1R_{1} and R2R_{2} which involves a lot calculation, and postpone its proof in the end of this section.

With above notations, we have following inequalities hold true.

Then by taking conditional expectation, we have:

The first order term can be calculated as:

In second last inequality, we use key observation:

The last inequality is achieved by choosing cc small enough.

The right inequality is true since 1Et≤1Et−11_{\mathfrak{E}_{t}}\leq 1_{\mathfrak{E}_{t-1}}. This implies GitG_{it} is supermartingale.

Probability 1 bound for G𝐺G:

By Proposition C.5, we know with probability 1 that ∣R1∣1Et≤ηO(μ2k2κ5)1Et|R_{1}|1_{\mathfrak{E}_{t}}\leq\eta O(\mu^{2}k^{2}\kappa^{5})1_{\mathfrak{E}_{t}}. This gives with probability 1:

Variance bound for G𝐺G:

Bernstein’s inequality for G𝐺G:

by η<cμdkκ3log⁡d\eta<\frac{c}{\mu dk\kappa^{3}\log d} and choosing cc to be small enough, we have:

Since initialization gives max⁡igi(U0,V0)≤10μkκ2d\max_{i}g_{i}(\mathbf{U}_{0},\mathbf{V}_{0})\leq\frac{10\mu k\kappa^{2}}{d}, therefore:

Construction of supermartingale F:

Where we denote Q1Q_{1} as the sum of first order terms and higher order terms (all second/third/forth order terms), and Q2Q_{2} as the sum of second order terms and higher order terms.

We also now give a proposition about properties of Q1Q_{1} and Q2Q_{2} which involves a lot calculation, and postpone its proof in the end of this section.

With above notations, we have following inequalities hold true.

Probability 1 bound:

By Proposition C.6, we know with probability 1 that ∣Q1∣1Et≤ηO(μdkκ3)f(Ut,Vt)1Et|Q_{1}|1_{\mathfrak{E}_{t}}\leq\eta O(\mu dk\kappa^{3})f(\mathbf{U}_{t},\mathbf{V}_{t})1_{\mathfrak{E}_{t}}. This gives with probability 1:

Variance bound:

Bernstein’s inequality:

Let s′=O(1)(1−ηκ)t[σ2log⁡d+Rlog⁡d]s^{\prime}=O(1)(1-\frac{\eta}{\kappa})^{t}[\sqrt{\sigma^{2}\log d}+R\log d], this gives:

by η<cμdkκ3log⁡d\eta<\frac{c}{\mu dk\kappa^{3}\log d} and choosing cc to be small enough, we have:

Since F0=f(U0)≤(120κ)2F_{0}=f(\mathbf{U}_{0})\leq(\frac{1}{20\kappa})^{2}, therefore:

Finally, combining the concentration result for martingale GG (Eq.(19)) and martingale FF (Eq.(22)), we conclude:

Finally we give proof for Proposition C.5 and Proposition C.6. The proof mostly consistsof expanding every term and careful calculations.

For simplicity of notation, we hide the term 1Et1_{\mathfrak{E}_{t}} in all following equations. Reader should always think every term in this proof multiplied by 1Et1_{\mathfrak{E}_{t}}. Recall that:

We first prove first three inequality. Recall that:

By expanding the polynomial, we can write out the first order term:

and recall we choose η<cμdkκ3log⁡d\eta<\frac{c}{\mu dk\kappa^{3}\log d}, where cc is some universal constant, then we have:

With equation (23), (24), (25), (26), now we are ready to prove Lemma.

This gives in sum that, with probability 1:

Similarly to the proof of Proposition C.5, we hide the term 1Et1_{\mathfrak{E}_{t}} in all following equations. Reader should always think every term in this proof multiplied by 1Et1_{\mathfrak{E}_{t}}. Recall that:

By expanding the polynomial, we can write out the first order term:

Again, in addition to equation (23), (23), (24), (25), we also need following inequality:

This gives in sum that, with probability 1: