Tighter Low-rank Approximation via Sampling the Leveraged Element

Srinadh Bhojanapalli, Prateek Jain, Sujay Sanghavi

Introduction

Finding a low-rank approximation to a matrix is fundamental to a wide array of machine learning techniques. The large sizes of modern data matrices has driven much recent work into efficient (typically randomized) methods to find low-rank approximations that do not exactly minimize the residual, but run much faster / parallel, with fewer passes over the data. Existing approaches involve either intelligent sampling of a few rows / columns of the matrix, projections onto lower-dimensional spaces, or sampling of entries followed by a top-rr SVD of the resulting matrix (with unsampled entries set to 0).

Both the sampling and the subsequent alternating minimization are naturally fast, parallelizable, and able to utilize sparsity in the input matrix. Existing literature has either focused on running in input sparsity time but approximation in (the weaker) Frobenius norm, or running in O(n2)O(n^{2}) time with approximation in spectral norm. Our method provides the best of both worlds: it runs in input sparsity time, with just two passes over the data matrix, and yields an approximation in spectral norm. It does however have a dependence on the ratio of the first to the rthr^{th} singular value of the matrix.

Our alternative approach also yields new methods for two related problems: directly finding the low-rank approximation of the product of two given matrices, and distributed PCA.

Our contributions are thus three new methods in this space:

Low-rank approximation of a general matrix: Our first (and main) contribution is a new method (LELA, Algorithm 1) for low-rank approximation of any given matrix: first draw a random subset of entries in a specific biased way, and then execute a weighted alternating minimization algorithm that minimizes the error on these samples over a factored form of the intended low-rank matrix. The sampling is done with only two passes over the matrix (each in input sparsity time), and both the sampling and the alternating minimization steps are highly parallelizable and compactly stored/manipulated.

For a matrix MM, let MrM_{r} be the best rank-rr approximation (i.e. the matrix corresponding to top rr components of SVD). Our algorithm finds a rank-rr matrix M^r\widehat{M}_{r} in time O(nnz(M)+nκ2r5ϵ2)O(nnz(M)+\frac{n\kappa^{2}r^{5}}{\epsilon^{2}}), while providing approximation in spectral norm: ∥M−M^r∥≤∥M−Mr∥+ϵ∥M−Mr∥F\|M-\widehat{M}_{r}\|\leq\|M-M_{r}\|+\epsilon\|M-M_{r}\|_{F}, where κ=σ1(M)/σr(M)\kappa=\sigma_{1}(M)/\sigma_{r}(M) is the condition number of MrM_{r}. Existing methods either can run in input sparsity time, but provide approximations in (the weaker) Frobenius norm (i.e. with ∣∣⋅∣∣||\cdot|| replaced by ∣∣⋅∣∣F||\cdot||_{F} in the above expression), or run in O(n2)O(n^{2}) time to approximate in spectral norm, but even then with leading constants larger than 1. Our method however does have a dependence on κ\kappa, which these do not. See Table 1 for a detailed comparison to existing results for low-rank approximation.

Direct approximation of a matrix product: We provide a new method to directly find a low-rank approximation to the product of two matrices, without having to first compute the product itself. To do so, we first choose a small set of entries (in a biased random way) of the product that we will compute, and then again run weighted alternating minimization on these samples. The choice of the biased random distribution is now different from above, as the sampling step does not have access to the product matrix. However, again both the sampling and alternating minimization are highly parallelizable.

Distributed PCA: Motivated by applications with really large matrices, recent work has looked at low-rank approximation in a distributed setting where there are ss servers – each have small set of rows of the matrix – each of which can communicate with a central processor charged with coordinating the algorithm. In this model, one is interested in find good approximations while minimizing both computations and the communication burden on the center.

Given a set Ω⊆[n]×[d]\Omega\subseteq[n]\times[d], PΩ(M)P_{\Omega}(M) is given by: PΩ(M)(i,j)=MijP_{\Omega}(M)(i,j)=M_{ij} if (i,j)∈Ω(i,j)\in\Omega and otherwise. RΩ(M)=w.∗PΩ(M)R_{\Omega}(M)=w.*P_{\Omega}(M) denotes the Hadamard product of ww and PΩ(M)P_{\Omega}(M). That is, RΩ(M)(i,j)=wijMijR_{\Omega}(M)(i,j)=w_{ij}M_{ij} if (i,j)∈Ω(i,j)\in\Omega and otherwise. Similarly let RΩ1/2(M)(i,j)=wijMijR_{\Omega}^{1/2}(M)(i,j)=\sqrt{w_{ij}}M_{ij} if (i,j)∈Ω(i,j)\in\Omega and otherwise.

Related results

Low rank approximation: Now we will briefly review some of the existing work on algorithms for low rank approximation. introduced the problem of computing low rank approximation of a matrix MM with few passes over MM. They presented an algorithm that samples few rows and columns and does SVD to compute low rank approximation, and gave additive error guarantees. have extended these results. considered a different approach based on entrywise sampling and quantization for low rank approximation and has given additive error bounds.

have given low rank approximation algorithms with relative error guarantees in Frobenius norm. have provided guarantees on error in spectral norm which are later improved in . The main techniques of these algorithms is to use a random Gaussian or Hadamard transform matrix for projecting the matrix onto a low dimensional subspace and compute the rank-rr subspace. have given an algorithm based on random Hadamard transform that computes rank-rr approximation in time O(n2rϵ2)O(\frac{n^{2}r}{\epsilon^{2}}) and gives spectral norm bound of ∥M−M^r∥≤c∥M−Mr∥+ϵ∥M−Mr∥F\|M-\widehat{M}_{r}\|\leq c\|M-M_{r}\|+\epsilon\|M-M_{r}\|_{F}.

One drawback of Hadamard transform is that it cannot take advantage of sparsity of the input matrix. Recently gave an algorithm using sparse subspace embedding that runs in input sparsity time with relative Frobenius norm error guarantees.

We presented some results in this area as a comparison with our results in table 1. This is a heavily subsampled set of existing results on low rank approximations. There is a lot of interesting work on very related problems of computing column/row based(CUR) decompositions, matrix sketching, low rank approximation with streaming data. Look at for more detailed discussion and comparison.

Matrix sparsification: In the matrix sparsification problem, the goal is to create a sparse sketch of a given matrix by sampling and reweighing the entries of the matrix. Various techniques for sampling have been proposed and analyzed which guarantee ϵ\epsilon approximation error in Frobenius norm with O(nϵ2log⁡n)O(\frac{n}{\epsilon^{2}}\log n) samples . As we will see in the next section, the first step of algorithm 1 involves sampling according to a very specific distribution (similar to matrix sparsification), which has been designed for guaranteeing good error bounds for computing low rank approximation. For a comparison of various sampling distributions for the problem of low rank matrix recovery see .

Matrix completion: Matrix completion problem is to recover a n×nn\times n rank-rr matrix from observing small number of (O(nrlog⁡(n))O(nr\log(n))) random entries. Nuclear norm minimization is shown to recover the matrix from uniform random samples if the matrix is incoherentA n×dn\times d matrix AA of rank-rr with SVD U∗Σ∗(V∗)TU^{*}\Sigma^{*}(V^{*})^{T} is incoherent if ∥(U∗)i∥2≤μ0rn,∀i\|(U^{*})^{i}\|^{2}\leq\frac{\mu_{0}r}{n},\forall i and ∥(V∗)j∥2≤μ0rd,∀j\|(V^{*})^{j}\|^{2}\leq\frac{\mu_{0}r}{d},\forall j for some constant μ0\mu_{0}. . Similar results are shown for other algorithms like OptSpace and alternating minimization . Recently has given guarantees for recovery of any matrix under leverage score sampling from O(nrlog⁡2(n))O(nr\log^{2}(n)) entries.

Distributed PCA: In distributed PCA, one wants to compute rank-rr approximation of a n×dn\times d matrix that is stored across ss servers with small communication between servers. One popular model is row partition model where subset of rows are stored at each server. Algorithms in achieve O(dsrϵ)O(\frac{dsr}{\epsilon}) communication complexity with relative error guarantees in Frobenius norm, under this model. Recently have considered the scenario of arbitrary splitting of a n×dn\times d matrix and given an algorithm that has O(dsrϵ)O(\frac{dsr}{\epsilon}) communication complexity with relative error guarantees in Frobenius norm.

Low-rank Approximation of Matrices

Sampling: A crucial ingredient of our approach is using the correct sampling distribution. Recent results in matrix completion indicate that a small number (O(nrlog⁡2(n))O(nr\log^{2}(n))) of samples drawn in a way biased by leverage scoresIf SVD of Mr=U∗Σ∗(V∗)TM_{r}=U^{*}\Sigma^{*}(V^{*})^{T} then leverage scores of MrM_{r} are ∣∣(U∗)i∣∣2||(U^{*})^{i}||^{2} and ∣∣(V∗)j∣∣2||(V^{*})^{j}||^{2} for all i,ji,j. can capture all the information in any exactly low-rank matrix. While this is indicative, here we have neither access to the leverage scores, nor is our matrix exactly low-rank. We approximate the leverage scores with the row and column norms (∣∣Mi∣∣2||M^{i}||^{2} and ∣∣Mj∣∣2||M_{j}||^{2}), and account for the arbitrary high-rank nature of input by including an L1L_{1} term in the sampling; the distribution is given in eq. (2). Computationally, our sampling procedure can be done in two passes and O(nnz(M)+mlog⁡n)O(nnz(M)+m\log n) time.

Weighted alternating minimization: In our second step, we directly optimize over the factored form of the intended low-rank matrix, by minimizing a weighted squared error over the sampled elements from stage 1. That is, we first express the low-rank approximation M^r\widehat{M}_{r} as UVTUV^{T} and then iterate over UU and VV alternatingly to minimize the weighted L2L_{2} error over the sampled entries (see Sub-routine 2). Note that this is different from taking principal components of a 0-filled version of the sampled matrix. The weights give higher emphasis to elements with smaller sampling probabilities. In particular, the goal is to minimize the following objective function:

That is, if T=log⁡(∥M∥ϵ∥M−Mr∥F)T=\log(\frac{\|M\|}{\epsilon\|M-M_{r}\|_{F}}), we have:

Note that our time and sample complexity depends quadratically on κ\kappa. Recent results in the matrix completion literature shows that such a dependence can be improved to log⁡(κ)\log(\kappa) by using a slightly more involved analysis . We believe a similar analysis can be combined with our techniques to obtain tighter bounds; we leave a similar tighter analysis for future research as such a proof would be significantly more tedious and would take away from the key message of this paper.

In the first step we take 2 passes over the matrix to compute the sampling distribution (2) and sampling the entries based on this distribution. It is easy to show that this step would require O(nnz(M)+mlog⁡(n))O(nnz(M)+m\log(n)) time. Next, the initialization step of WAltMin procedure requires computing rank-rr SVD of RΩ0(M)R_{\Omega_{0}}(M) which has at most mm non-zero entries. Hence, the procedure can be completed in O(mr)O(mr) time using standard techniques like power method. Note that by Lemma 3.2 we need top-rr singular vectors of RΩ0(M)R_{\Omega_{0}}(M) only upto constant approximation. Further tt-th iteration of alternating minimization takes O(2∣Ω2t+1∣r2)O(2|\Omega_{2t+1}|r^{2}) time. So, the total time complexity of our method is O(nnz(M)+mr2)O(nnz(M)+mr^{2}). As shown in Theorem 3.1, our method requires m=O(nr3ϵ2κ2log⁡(n)log⁡2(∥M∥ϵ∥M−Mr∥F))m=O(\frac{nr^{3}}{\epsilon^{2}}\kappa^{2}\log(n)\log^{2}(\frac{\|M\|}{\epsilon\|M-M_{r}\|_{F}})) samples. Hence, the total run-time of our algorithm is: O(nnz(M)+nr5ϵ2κ2log⁡(n)log⁡2(∥M∥ϵ∥M−Mr∥F))O(nnz(M)+\frac{nr^{5}}{\epsilon^{2}}\kappa^{2}\log(n)\log^{2}(\frac{\|M\|}{\epsilon\|M-M_{r}\|_{F}})).

Remarks: Now we will discuss how to sample entries of MM using sampling method (2) in O(nnz(M)+mlog⁡(n))O(nnz(M)+m\log(n)) time. Consider the following multinomial based sampling model: sample the number of elements per row (say mim_{i}) by doing mm draws using a multinomial distribution over the rows, given by {0.5(d∥Mi∥2(n+d)∥M∥F2+1n+d)+0.5∥Mi∥1∥M∥1,1}\{0.5(\frac{d\|M^{i}\|^{2}}{(n+d)\|M\|_{F}^{2}}+\frac{1}{n+d})+0.5\frac{\|M^{i}\|_{1}}{\|M\|_{1,1}}\}. Then, sample mim_{i} elements of the row-ii, using {0.5∥Mj∥2∥M∥F2+0.5∣Mij∣∥M∥1,1}\{0.5\frac{\|M_{j}\|^{2}}{\|M\|_{F}^{2}}+0.5\frac{|M_{ij}|}{\|M\|_{1,1}}\} over j∈[d]j\in[d], with replacement.

The failure probability in this model is bounded by 2 times the failure probability if the elements are sampled according to (2) . Hence, we can instead use the above mentioned multinomial model for sampling. Moreover, ∥Mi∥\|M^{i}\|, ∥Mi∥1\|M^{i}\|_{1} and ∥Mj∥\|M_{j}\| can be computed in time O(nnz(M)+n)O(nnz(M)+n), so mim_{i}’s can be sampled efficiently. Moreover, the multinomial distribution for all the rows can be computed in time O(d+nnz(M))O(d+nnz(M)), O(d)O(d) work for setting up the first ∥Mj∥\|M_{j}\| term and nnz(M)nnz(M) term for changing the base distribution wherever MijM_{ij} is non-zero. Hence, the total time complexity is O(nnz(M)+mlog⁡n)O(nnz(M)+m\log n).

2 Proof Overview:

We now present the key steps in our proof of Theorem 3.1. As mentioned in the previous section, our algorithm proceeds in two steps: entry-wise sampling of the given matrix MM and then weighted alternating minimization (WAltMin) to obtain a low-rank approximation of MM.

Hence, the goal is to analyze the WAltMin procedure, with input samples obtained using (2), to obtain the bounds in Theorem 3.1. Now, WAltMin is an iterative procedure solving an inherently non-convex problem, min⁡U,V∑(i,j)∈Ωwij(eiTUVTej−Mij)2\min_{U,V}\sum_{(i,j)\in\Omega}w_{ij}(\mathbf{e}_{i}^{T}UV^{T}\mathbf{e}_{j}-M_{ij})^{2}. Hence, it is prone to local minimas or worse, might not even converge. However, recent results for low-rank matrix completion have shown that alternating minimization (with appropriate initialization) can indeed be analyzed to obtain exact matrix completion guarantees.

Our proof also follows along similar lines, where we show that the initialization procedure (step 4 of Sub-routine 2) provides an accurate enough estimate of MrM_{r} and then at each step, we show a geometric decrease in distance to MrM_{r}. However, our proof differs from the previous works in two key aspects: a) existing proof techniques of alternating minimization assume that each element is sampled uniformly at random, while we can allow biased and approximate sampling, b) existing techniques crucially use the assumption that MrM_{r} is incoherent, while our proof avoids this assumption using the weighted version of AltMin.

We now present our bounds for initialization as well as for each step of the WAltMin procedure. Theorem 3.1 follows easily from the two bounds.

Let the set of entries Ω\Omega be generated according to (2). Also, let m≥Cnδ2log⁡(n)m\geq C\frac{n}{\delta^{2}}\log(n). Then, the following holds (w.p. ≥1−2n10\geq 1-\frac{2}{n^{10}}):

Also, if ∥M−Mr∥F≤1576κr1.5∥Mr∥F\|M-M_{r}\|_{F}\leq\frac{1}{576\kappa r^{1.5}}\|M_{r}\|_{F}, then the following holds (w.p. ≥1−2n10\geq 1-\frac{2}{n^{10}}):

where U^(0)\widehat{U}^{(0)} is the initial iterate obtained using Steps 4, 5 of Sub-Procedure 2. κ=σ1∗/σr∗\kappa=\sigma_{1}^{*}/\sigma_{r}^{*}, σi∗\sigma_{i}^{*} is the ii-th singular value of MM, Mr=U∗Σ∗(V∗)TM_{r}=U^{*}\Sigma^{*}(V^{*})^{T}.

Let Pr(A)\mathcal{P}_{r}(A) be the best rank-rr approximation of AA. Then, Lemma 3.2 and Weyl’s inequality implies that:

Now, we can have two cases: 1) ∥M−Mr∥F≥1576κr1.5∥Mr∥F\|M-M_{r}\|_{F}\geq\frac{1}{576\kappa r^{1.5}}\|M_{r}\|_{F}: In this case, setting δ=ϵ/(κr1.5)\delta=\epsilon/(\kappa r^{1.5}) in (4) already implies the required error bounds of Theorem 3.1There is a small technicality here: alternating minimization can potentially worsen this bound. But the error after each step of alternating minimization can be effectively checked using a small cross-validation set and we can stop if the error increases.. 2) ∥M−Mr∥F≤1576κr1.5∥Mr∥F\|M-M_{r}\|_{F}\leq\frac{1}{576\kappa r^{1.5}}\|M_{r}\|_{F}. In this regime, we will show now that alternating minimization reduces the error from initial δ∥M∥F\delta\|M\|_{F} to δ∥M−Mr∥F\delta\|M-M_{r}\|_{F}.

Let hypotheses of Theorem 3.1 hold. Also, let ∥M−Mr∥F≤1576κrr∥Mr∥F\|M-M_{r}\|_{F}\leq\frac{1}{576\kappa r\sqrt{r}}\|M_{r}\|_{F}. Let U^(t)\widehat{U}^{(t)} be the tt-th step iterate of Sub-Procedure 2 (called from Algorithm 1), and let V^(t+1)\widehat{V}^{(t+1)} be the (t+1)(t+1)-th iterate (for VV). Also, let ∥(U(t))i∥≤8rκ∥Mj∥2∥M∥F2+∣Mij∣∥M∥F\|(U^{(t)})^{i}\|\leq 8\sqrt{r}\kappa\sqrt{\frac{\|M_{j}\|^{2}}{\|M\|_{F}^{2}}+\frac{|M_{ij}|}{\|M\|_{F}}} and dist(U(t),U∗)≤12dist({U}^{(t)},U^{*})\leq\frac{1}{2}, where U(t)U^{(t)} is a set of orthonormal vectors spanning U^(t)\widehat{U}^{(t)}. Then, the following holds (w.p. ≥1−γ/T\geq 1-\gamma/T):

and ∥(V(t+1))j∥≤8rκ∥Mj∥2∥M∥F2+∣Mij∣∥M∥F\|(V^{(t+1)})^{j}\|\leq 8\sqrt{r}\kappa\sqrt{\frac{\|M_{j}\|^{2}}{\|M\|_{F}^{2}}+\frac{|M_{ij}|}{\|M\|_{F}}}, where V(t+1)V^{(t+1)} is a set of orthonormal vectors spanning V^(t+1)\widehat{V}^{(t+1)}.

The above lemma shows that distance between V^(t+1)\widehat{V}^{(t+1)} and V∗V^{*} (and similarly, U^(t+1)\widehat{U}^{(t+1)} and U∗U^{*}) decreases geometrically up to ϵ∥M−Mr∥F/σr∗\epsilon\|M-M_{r}\|_{F}/\sigma^{*}_{r}. Hence, after log⁡(∥M∥F∥/ζ)\log(\|M\|_{F}\|/\zeta) steps, the first error term in the bounds above vanishes and the error bound given in Theorem 3.1 is obtained.

Note that, the sampling distribution used for our result is a “hybrid” distribution combining leverage scores and the L1L_{1}-style sampling. However, if MM is indeed a rank-rr matrix, then our analysis can be extended to handle the leverage score based sampling itself (qij=m⋅∥Mi∥2+∥Mj∥22n∥M∥F2q_{ij}=m\cdot\frac{\|M^{i}\|^{2}+\|M_{j}\|^{2}}{2n\|M\|_{F}^{2}}). Hence our results also show that weighted alternating minimization can be used to solve the coherent-matrix completion problem introduced in .

3 Direct Low-rank Approximation of Matrix Product

In this section we present a new pass efficient algorithm for the following problem: suppose we are given two matrices, and desire a low-rank approximation of their product ABAB; in particular, we are not interested in the actual full matrix product itself (as this may be unwieldy to store and use, and thus wasteful to produce in its entirety). One example setting where this arises is when one wants to calculate the joint counts between two very large sets of entities; for example, web companies routinely come across settings where they need to understand (for example) how many users both searched for a particular query and clicked on a particular advertisement. The number of possible queries and ads is huge, and finding this co-occurrence matrix from user logs involves multiplying two matrices – query-by-user and user-by-ad respectively – each of which is itself large.

We give a method that directly produces a low-rank approximation of the final product, and involves storage and manipulation of only the efficient factored form (i.e. one tall and one fat matrix) of the final intended low-rank matrix. Note that as opposed to the previous section, the matrix does not already exist and hence we do not have access to its row and column norms; so we need a new sampling scheme (and a different proof of correctness).

Algorithm: Suppose we are given an n1×dn_{1}\times d matrix AA and another d×n2d\times n_{2} matrix BB, and we wish to calculate a rank-rr approximation of the product A⋅BA\cdot B. Our algorithm proceeds in two stages:

Choose a biased random set Ω⊂[n1]×[n2]\Omega\subset[n_{1}]\times[n_{2}] of elements as follows: choose an intended number mm (according to Theorem 3.4 below) of sampled elements, and then independently include each (i,j)∈[n1]×[n2](i,j)\in[n_{1}]\times[n_{2}] in Ω\Omega with probability given by q^ij=min⁡{1,qij}\hat{q}_{ij}=\min\{1,q_{ij}\} where

Then, find PΩ(A⋅B)P_{\Omega}(A\cdot B), i.e. only the elements of the product ABAB that are in this set Ω\Omega.

Run the alternating minimization procedure WAltMin(PΩ(A⋅B),Ω,r,q^,T)(P_{\Omega}(A\cdot B),\Omega,r,\hat{q},T), where TT is the number of iterations (again chosen according to Theorem 3.4 below). This produces the low-rank approximation in factored form.

Remarks: Note that the sampling distribution now depends only on the row norms ∥Ai∥2\|A^{i}\|^{2} of AA and the column norms ∥Bj∥2\|B_{j}\|^{2} of BB; each of these can be found completely in parallel, with one pass over each row/column of the matrices AA / BB. A second pass, again parallelizable, calculates the element (A⋅B)ij(A\cdot B)_{ij} of the product, for (i,j)∈Ω(i,j)\in\Omega. Once this is done, we are again in the setting of doing weighted alternating minimization over a small set of samples – the setting we had before, and as already mentioned this too is highly parallelizable and very fast overall. In particular, the computation complexity of the algorithm is O(∣Ω∣⋅(d+r2))=O(m(d+r2))=O(nr3κ2ϵ2⋅(d+r2))O(|\Omega|\cdot(d+r^{2}))=O(m(d+r^{2}))=O(\frac{nr^{3}\kappa^{2}}{\epsilon^{2}}\cdot(d+r^{2})) (suppressing terms dependent on norms of AA and BB ), where n=max⁡{n1,n2}n=\max\{n_{1},n_{2}\}.

We now present our theorem on the number of samples and iterations needed to make this procedure work with at least a constant probability.

Further when ∥Y−Yr∥F≤∥Yr∥F\|Y-Y_{r}\|_{F}\leq\|Y_{r}\|_{F} we get:

Distributed Principal Component Analysis

Modern large-scale systems have to routinely compute PCA of data matrices with millions of data points embedded in similarly large number of dimensions. Now, even storing such matrices on a single machine is not possible and hence most industrial scale systems use distributed computing environment to handle such problems. However, performance of such systems depend not only on computation and storage complexity, but also on the required amount of communication between different servers.

In contrast, a distributed setting extension of our LELA algorithm 1 has linear communication complexity O(ds+nr5ϵ2)O(ds+\frac{nr^{5}}{\epsilon^{2}}) and computes rank-rr approximation M^r\widehat{M}_{r}, with ∣∣M−M^r∣∣≤∣∣M−Mr∣∣+ϵ∣∣M−Mr∣∣F||M-\widehat{M}_{r}||\leq||M-M_{r}||+\epsilon||M-M_{r}||_{F}. Now note that if n≈dn\approx d and if ss scales with nn (which is a typical requirement), then our communication complexity can be significantly better than that of . Moreover, our method provides spectral norm bounds as compared to relatively weak Frobenius bounds mentioned above.

Algorithm: The distributed version of our LELA algorithm depends crucially on the following observation: given VV, each row of UU can be updated independently. Hence, servers need to communicate rows of VV only. There also, we can use the fact that each server requires only O(nr/slog⁡n)O(nr/s\log n) rows of VV to update their corresponding UrkU_{\mathbf{r_{k}}}. UrkU_{\mathbf{r_{k}}} denote restriction of U{U} to rows in set {rk}\{r_{k}\} and outside and similarly V^ck,Y^ck\widehat{V}_{\mathbf{c_{k}}},\widehat{Y}_{\mathbf{c_{k}}} denote restriction of V,Y^V,\widehat{Y} to rows {ck}\{c_{k}\}.

We now describe the distributed version of each of the critical step of LELA algorithm. See Algorithm 3 for a detailed pseudo-code. For simplicity, we dropped the use of different set of samples in each iteration. Correspondingly the algorithm will modify to distributing samples Ωk\Omega^{k} into 2T+12T+1 buckets and using one in each iteration. This simplification doesn’t change the communication complexity.

Sampling: For sampling, we first compute column norms ∥Mj∥,∀1≤j≤d\|M_{j}\|,\forall 1\leq j\leq d and communicate to each server. This operation would require O(ds)O(ds) communication. Next, each server (server kk) samples elements from its rows {rk}\{\mathbf{r_{k}}\} and stores RΩk(Mrk)R_{\Omega^{k}}(M_{\mathbf{r_{k}}}) locally. Note that because of independence over rows, the servers don’t need to transmit their samples to other servers.

Initialization: In the initialization step, our algorithm computes top rr right singular vector of RΩ(M)R_{\Omega}(M) by iterations Y^(t+1)=RΩ(M)TRΩ(M)Yt=∑kRΩk(M)TRΩk(M)Yt\widehat{Y}^{(t+1)}=R_{\Omega}(M)^{T}R_{\Omega}(M)Y^{t}=\sum_{k}R_{\Omega^{k}}(M)^{T}R_{\Omega^{k}}(M)Y^{t}. Now, note that computing RΩk(M)YtR_{\Omega^{k}}(M)Y^{t} requires server kk to access atmost ∣Ωk∣|\Omega^{k}| columns of YtY^{t}. Hence, the total communication from the CP to all the servers in this round is O(∣Ω∣r)O(|\Omega|r). Similarly, each column of RΩk(M)TRΩk(M)YtR_{\Omega^{k}}(M)^{T}R_{\Omega^{k}}(M)Y^{t} is only ∣Ωk∣|\Omega^{k}| sparse. Hence, total communication from all the servers to CP in this round is O(∣Ω∣r)O(|\Omega|r). Now, we need constant many rounds to get a constant factor approximation to SVD of RΩ(M)R_{\Omega}(M), which is enough for good initialization in WAltMin procedure. Hence, total communication complexity of the initialization step would be O(∣Ω∣r)O(|\Omega|r).

Alternating Minimization Step: For alternating minimization, update to rows of UU is computed at the corresponding servers and the update to VV is computed at the CP. For updating U^rk(t+1)\widehat{U}^{(t+1)}_{\mathbf{r_{k}}} at server kk, we use the following observation: updating U^rk(t+1)\widehat{U}^{(t+1)}_{\mathbf{r_{k}}} requires atmost ∣Ωk∣|\Omega^{k}| rows of V^(t)\widehat{V}^{(t)}. Hence, the total communication from CP to all the servers in the tt-th iteration is O(∣Ω∣r)O(|\Omega|r). Next, we make a critical observation that update V^(t+1)\widehat{V}^{(t+1)} can be computed by adding certain messages from each server (see Algorithm 3 for more details). Message from server kk to CP is of size O(∣Ωk∣r2)O(|\Omega^{k}|r^{2}). Hence, total communication complexity in each round is O(∣Ω∣r2)O(|\Omega|r^{2}) and total number of rounds is O(log⁡(∥M∥F/ζ))O(\log(\|M\|_{F}/\zeta)).

We now combine the above given observations to provide error bounds and communication complexity of our distributed PCA algorithm:

Let the n×dn\times d matrix MM be distributed over ss servers according to the row-partition model. Let m≥Cγnr3ϵ2κ2log⁡(n)log⁡2(∣∣Mr∣∣ζ)m\geq\frac{C}{\gamma}\frac{nr^{3}}{\epsilon^{2}}\kappa^{2}\log(n)\log^{2}(\frac{||M_{r}||}{\zeta}). Then, the algorithm 3 on completion will leave matrices U^rk(t+1)\widehat{U}_{\mathbf{r_{k}}}^{(t+1)} at server kk and V^(t+1)\widehat{V}^{(t+1)} at CP such that the following holds (w.p. ≥1−γ\geq 1-\gamma): ∣∣M−U^(t+1)(V^(t+1))T∣∣≤∣∣M−Mr∣∣+ϵ∣∣M−Mr∣∣F+ζ||M-\widehat{U}^{(t+1)}(\widehat{V}^{(t+1)})^{T}||\leq||M-M_{r}||+\epsilon||M-M_{r}||_{F}+\zeta, where U^(t+1)=∑kU^rk(t+1)\widehat{U}^{(t+1)}=\sum_{k}\widehat{U}_{\mathbf{r_{k}}}^{(t+1)}. This algorithm has a communication complexity of O(ds+∣Ω∣r2)=O(ds+nr5κ2ϵ2log⁡2(∣∣Mr∣∣ζ))O(ds+|\Omega|r^{2})=O(ds+\frac{nr^{5}\kappa^{2}}{\epsilon^{2}}\log^{2}(\frac{||M_{r}||}{\zeta})) real numbers.

As discussed above, each update to V^(t)\widehat{V}^{(t)} and U^(t)\widehat{U}^{(t)} are computed exactly as given in the WAltMin procedure (Sub-routine 2). Hence, error bounds for the algorithm follows directly from Theorem 3.1. Communication complexity bounds follows by observing that ∣Ω∣≤2m|\Omega|\leq 2m w.h.p.

Remark: The sampling step given above suggests another simple algorithm where we can compute PΩ(M)P_{\Omega}(M) in a distributed fashion and communicate the samples to CP. All the computation is performed at CP afterwards. Hence, the total communication complexity would be O(ds+∣Ω∣)=O(ds+nr3κ2ϵ2log⁡(∣∣Mr∣∣ζ)O(ds+|\Omega|)=O(ds+\frac{nr^{3}\kappa^{2}}{\epsilon^{2}}\log(\frac{||M_{r}||}{\zeta}), which is lesser than the communication complexity of Algorithm 3. However, such an algorithm is not desirable in practice, because it is completely reliant on one single server to perform all the computation. Hence it is slower and is fault-prone. In contrast, our algorithm can be implemented in a peer-peer scenario as well and is more fault-tolerant.

Also, the communication complexity bound of Theorem 4.1 only bounds the total number of real numbers transferred. However, if each of the number requires several bits to communicate then the real communication can still be very large. Below, we bound each of the real number that we transfer, hence providing a bound on the number of bits transferred.

Bit complexity: First we will bound wijMijw_{ij}M_{ij}. Note that we need to bound this only for (i,j)∈Ω(i,j)\in\Omega. Now, ∣wijMij∣≤∣∣RΩ(M)∣∣∞≤∣∣RΩ(M)∣∣≤∣∣M∣∣+ϵ∣∣M∣∣F≤2∗ndMmax|w_{ij}M_{ij}|\leq||R_{\Omega}(M)||_{\infty}\leq||R_{\Omega}(M)||\leq||M||+\epsilon||M||_{F}\leq 2*ndM_{max}, where the third inequality follows from Lemma 3.2. Hence if the entries of the matrix MM are being represented using bb bits initially then the algorithm needs to use O(b+log⁡(nd))O(b+\log(nd)) bits. By the same argument we get a bound of O(b+log⁡(nd))O(b+\log(nd)) bits for computing ∣∣Mi∣∣2,∀i;∣∣Mj∣∣2,∀j;∣∣M∣∣F2||M^{i}||^{2},\forall i;||M_{j}||^{2},\forall j;||M||_{F}^{2} and ∣∣M∣∣1,1||M||_{1,1}.

Further at any stage of the WAltMin iterations ∣∣U^(t)(V^(t+1))T∣∣∞≤∣∣U^(t)(V^(t+1))T∣∣≤2∣∣M∣∣F||\widehat{U}^{(t)}(\widehat{V}^{(t+1)})^{T}||_{\infty}\leq||\widehat{U}^{(t)}(\widehat{V}^{(t+1)})^{T}||\leq 2||M||_{F}. So this stage also needs O(b+log⁡(n))O(b+\log(n)) bits for computation. Hence overall the bit complexity of each of the real numbers of the algorithm 3 is O(b+log⁡(nd))O(b+\log(nd)) , if bb bits are needed for representing the matrix entries. That is, overall communication complexity of the algorithm is O((b+log⁡(nd))⋅(ds+nr3κ2ϵ2log⁡(∣∣Mr∣∣ζ))O((b+\log(nd))\cdot(ds+\frac{nr^{3}\kappa^{2}}{\epsilon^{2}}\log(\frac{||M_{r}||}{\zeta})).

Simulations

In this section we present some simulation results on synthetic data to show the error performance of the algorithm 1. First we consider the setting of finding low rank approximation of a given matrix MM. Later we consider the setting of computing low rank approximation of A⋅BA\cdot B, given AA and BB without computing the product.

For simulations we consider random matrices of size 1000 by 1000 and rank-5. MrM_{r} is a rank 5 matrix with all singular values 1. We consider two cases, one in which MrM_{r} is incoherent and other in which MrM_{r} is coherent. Recall that a n×dn\times d rank-rr matrix MrM_{r} is an incoherent matrix if ∥(U∗)i∥2≤μ0rn,∀i\|(U^{*})^{i}\|^{2}\leq\frac{\mu_{0}r}{n},\forall i and ∥(V∗)j∥2≤μ0rd,∀j\|(V^{*})^{j}\|^{2}\leq\frac{\mu_{0}r}{d},\forall j, where SVD of MrM_{r} is U∗Σ∗(V∗)TU^{*}\Sigma^{*}(V^{*})^{T}. Intuitively incoherent matrices have mass spread over almost all entries whereas coherent matrices have mass concentrated on only few entries.

To generate matrices with varying incoherence parameter μ0\mu_{0}, we use the power law matrices model . Mr=DUVTDM_{r}=DUV^{T}D, where UU and VV are random n×rn\times r orthonormal matrices and DD is a diagonal matrix with Dii∝1iαD_{ii}\propto\frac{1}{i^{\alpha}}. For α=0\alpha=0 MrM_{r} is an incoherent matrix with μ0=O(1)\mu_{0}=O(1) and for α=1\alpha=1 MrM_{r} is a coherent matrix with μ0=O(n)\mu_{0}=O(n).

The input to algorithms is the matrix M=Mr+ZM=M_{r}+Z, where ZZ is a Gaussian noise matrix with ∣∣Z∣∣=0.01,0.05||Z||=0.01,0.05 and 0.10.1. Correspondingly Frobenius norm of ZZ is ∣∣Z∣∣∗1000/2||Z||*\sqrt{1000}/2, which is 0.16,0.790.16,0.79 and 1.61.6 respectively.

Each simulation is averaged over 20 different runs. We run the WAltMin step of the algorithm for 15 iterations. Note that using different set of samples in each iteration of WAltMin subroutine 2 is generally observed to be not required in practice. Hence we use the same set of samples for all iterations.

In the first plot we compare the error ∣∣Mr−M^r∣∣||M_{r}-\widehat{M}_{r}|| of our algorithm LELA 1 with the random projection based algorithm . We use the matrix with each entry an independent Gaussian random variable as the sketching matrix, for the random projection algorithm. Other choices are Walsh-Hadamard based transform and sparse embedding matrices .

We compare the error of both algorithms as we vary number of samples mm for algorithm 1, equivalently varying the dimension of random projection l=m/nl=m/n for the random projection algorithm. In figure 1 we plot the error ∣∣Mr−M^r∣∣||M_{r}-\widehat{M}_{r}|| with varying number of samples mm for both the algorithms. For incoherent matrices we see that LELA algorithm has almost the same error as the random projection algorithm 1(a). But for coherent matrices we notice that in figure 1(b) LELA has significantly smaller error.

Now we consider the setting of computing low rank approximation of YYTYY^{T} given YY using algorithm LELA direct discussed in section 3.3 with sampling (5). In figure 2 we compare this algorithm with a stagewise algorithm, which computes low rank approximation Y^r\widehat{Y}_{r} from YY first and sets the rank-rr approximation of YYTYY^{T} as Y^rY^rT\widehat{Y}_{r}\widehat{Y}^{T}_{r}. As discussed in section 3.3 direct approximation of YYTYY^{T} has less error than that of computing Y^rY^rT\widehat{Y}_{r}\widehat{Y}^{T}_{r}. Again plot 2(a) is for incoherent matrices and plot 2(b) is for coherent matrices.

Finally in figure 3 we consider the case where AA and BB are two rank 2r2r matrices with ABAB being a rank rr matrix. Here the top rr dimensional row space of AA is orthogonal to the top rr dimensional column space of BB. Hence simple algorithms that compute rank rr approximation of AA and BB first and then multiply will have high error as compared to that of LELA direct.

References

Appendix A Concentration Inequalities

In this section we will review couple of concentration inequalities we use in the proofs.

Let X1,...XnX_{1},...X_{n} be independent scalar random variables. Let ∣Xi∣≤L,∀i w.p. 1|X_{i}|\leq L,\forall i~{}w.p.~{}1. Then,

Recall the Shatten-pp norm of a matrix XX is

σi(X)\sigma_{i}(X) is the iith singular value of XX. In particular for p=2p=2, Shatten-22 norm is the Frobenius norm of the matrix.

[Matrix Chebyshev Inequality ] Let XX be a random matrix. For all t>0t>0,

Appendix B Proofs of section 3

In this section we will present proof for Theorem 3.1. For simplicity we will only discuss proofs for the case when matrix is square. Rectangular case is a simple extension. We will provide proofs of the supporting lemmas first.

Let q^ij=min⁡{qij,1}.\hat{q}_{ij}=\min\{q_{ij},1\}. This is to make sure the probabilities are all less than 1. Recall the definition of weights wij=1/q^ijw_{ij}=1/\hat{q}_{ij} when q^ij>0\hat{q}_{ij}>0 and else. Note that ∑ijq^ij≤m\sum_{ij}\hat{q}_{ij}\leq m. Also let m≥βnrlog⁡(n)m\geq\beta nr\log(n).

Let {δij}\{\delta_{ij}\} be the indicator random variables and δij=1\delta_{ij}=1 with probability q^ij\hat{q}_{ij}. Define Ω\Omega to be the sampling operator with Ωij=δij\Omega_{ij}=\delta_{ij}. Define the weighted sampling operator RΩR_{\Omega} such that, RΩ(M)ij=δijwijMijR_{\Omega}(M)_{ij}=\delta_{ij}w_{ij}M_{ij}.

First we will abstract out the properties of the sampling distribution (2) that we use in the rest of the proof.

For Ω\Omega generated according to (2) and under the assumptions of Lemma 3.2 the following holds, for all (i,j)(i,j) such that qij≤1q_{ij}\leq 1.

The proof of the lemma B.1 is straightforward from the definition of qijq_{ij}.

Now we will provide proof of the initialization lemma 3.2. Proof of lemma 3.2:

The proof of this lemma has two parts. 1) We show that

2) We show that the trimming step of algorithm 2 gives the required row norm bounds on U^(0)\widehat{U}^{(0)}.

Proof of the first step: We prove the proof of the first part using the matrix Bernstein inequality. Note that the L1L1 term in the sampling distribution will help in getting good bounds on absolute magnitude of random variables XijX_{ij} in this proof.

First we will bound ∥Xij∥\|X_{ij}\|. When qij≥1q_{ij}\geq 1, q^ij=1\hat{q}_{ij}=1 and δij=1\delta_{ij}=1, and Xij=0X_{ij}=0 with probability 1. Hence we only need to consider cases when q^ij=qij≤1\hat{q}_{ij}=q_{ij}\leq 1. We will assume this in all the proofs without explicitly mentioning it any more.

ζ1\zeta_{1} follows from q^ij≤1\hat{q}_{ij}\leq 1.

Hence, ∥Xij∥\|X_{ij}\| is bounded by L=2nm∥M∥FL=\frac{2n}{m}\|M\|_{F}. Now we will bound the variance.

Hence we get ∥M−Pr(RΩ(M))∥≤∥M−RΩ(M)∥+∥RΩ(M)−Pr(RΩ(M))∥≤∥M−Mr∥+2δ∥M∥F\|M-\mathcal{P}_{r}(R_{\Omega}(M))\|\leq\|M-R_{\Omega}(M)\|+\|R_{\Omega}(M)-\mathcal{P}_{r}(R_{\Omega}(M))\|\leq\|M-M_{r}\|+2\delta\|M\|_{F}, which implies ∥Mr−Pr(RΩ(M))∥≤2∥M−Mr∥+2δ∥M∥F\|M_{r}-\mathcal{P}_{r}(R_{\Omega}(M))\|\leq 2\|M-M_{r}\|+2\delta\|M\|_{F}.

Let SVD of Pr(RΩ(M))\mathcal{P}_{r}(R_{\Omega}(M)) be U(0)Σ(0)(V(0))TU^{(0)}\Sigma^{(0)}(V^{(0)})^{T}. Hence,

This implies dist(U(0),U∗)≤2∥M−Mr∥+2δ∥M∥Fσr∗≤1144r.dist(U^{(0)},U^{*})\leq\frac{2\|M-M_{r}\|+2\delta\|M\|_{F}}{\sigma^{*}_{r}}\leq\frac{1}{144r}. This follows from the assumption ∥M−Mr∥F≤1576κr1.5∥Mr∥F\|M-M_{r}\|_{F}\leq\frac{1}{576\kappa r^{1.5}}\|M_{r}\|_{F} and δ≤1576κr1.5\delta\leq\frac{1}{576\kappa r^{1.5}}. κ=σ1∗σr∗\kappa=\frac{\sigma^{*}_{1}}{\sigma^{*}_{r}} is the the condition number of MrM_{r}.

Proof of the trimming step: From previous step we know that ∥RΩ(M)−M∥≤δ∥M∥F\|R_{\Omega}(M)-M\|\leq\delta\left\|M\right\|_{F} and consequently dist(U(0),U∗)≤δ2dist(U^{(0)},U^{*})\leq\delta_{2}. Let,

be the estimates for the left leverages scores of the matrix MM. Since ∥M−Mr∥F≤∥Mr∥F\|M-M_{r}\|_{F}\leq\|M_{r}\|_{F}, li2≥∑k=1r(σk∗)2(Uik∗)2∑k=1r(σk∗)2l_{i}^{2}\geq\frac{\sum_{k=1}^{r}(\sigma^{*}_{k})^{2}(U^{*}_{ik})^{2}}{\sum_{k=1}^{r}(\sigma^{*}_{k})^{2}}.

since ∣(Uj(0))i−(uˉj)i∣≥2li−li=∑k=1r(σk∗)2(Uik∗)2∑k=1r(σk∗)2\left|(U^{(0)}_{j})_{i}-(\bar{u}_{j})_{i}\right|\geq 2l_{i}-l_{i}=\sqrt{\frac{\sum_{k=1}^{r}(\sigma^{*}_{k})^{2}(U^{*}_{ik})^{2}}{\sum_{k=1}^{r}(\sigma^{*}_{k})^{2}}}.

First we will show that this trimming step will not increase the distance to U∗U^{*} by much. To bound the dist(U^(0),U∗)dist(\widehat{U}^{(0)},U^{*}) consider, ∥(u⊥∗)TU∥\|(u^{*}_{\perp})^{T}U\|, where u⊥∗u^{*}_{\perp} is some vector perpendicular to U∗U^{*}.

for δ2≤1144r\delta_{2}\leq\frac{1}{144r}. Second we will bound ∥(U^(0))i∥\|(\widehat{U}^{(0)})^{i}\|.

Hence we finish the proof of the second part of the lemma. ∎

B.2 Weighted AltMin analysis

We first provide proof of Lemma 3.3 for rank-1 case to explain the main ideas and in the next section we will discuss rank-rr case. Hence M1=σ∗u∗(v∗)TM_{1}=\sigma^{*}u^{*}(v^{*})^{T}. Before the proof of the lemma we will prove couple of supporting lemmas.

The weighted alternating minimization updates at the t+1t+1 iteration are,

Writing in terms of power method updates we get,

where BB and CC are diagonal matrices with Bjj=∑iδijwij(uit)2B_{jj}=\sum_{i}\delta_{ij}w_{ij}(u^{t}_{i})^{2} and Cjj=∑iδijwijuitui∗C_{jj}=\sum_{i}\delta_{ij}w_{ij}u^{t}_{i}u^{*}_{i} and yy is the vector RΩ(M−M1)TutR_{\Omega}(M-M_{1})^{T}u^{t} with entries yj=∑iδijwijuit(M−M1)ijy_{j}=\sum_{i}\delta_{ij}w_{ij}u^{t}_{i}(M-M_{1})_{ij}.

Now we will bound the error caused by the M−M1M-M_{1} component in each iteration.

For Ω\Omega generated according to (2) and under the assumptions of Lemma 3.3 the following holds:

with probability greater that 1−γTlog⁡(n)1-\frac{\gamma}{T\log(n)}, for m≥βnlog⁡(n)m\geq\beta n\log(n), β≥4c12Tγδ2\beta\geq\frac{4c_{1}^{2}T}{\gamma\delta^{2}}. Hence,∥(ut)TRΩ(M−M1)∥≤dist(ut,u∗)∥M−M1∥+δ∥M−M1∥F,\left\|(u^{t})^{T}R_{\Omega}(M-M_{1})\right\|\leq dist(u^{t},u^{*})\|M-M_{1}\|+\delta\left\|M-M_{1}\right\|_{F}, for constant δ\delta.

ζ1\zeta_{1} follows from the fact that XijX_{ij} are zero mean independent random variables. ζ2\zeta_{2} follows from (20). Hence applying the matrix Chebyshev inequality for p=2p=2 and t=δ∥M−M1∥Ft=\delta\|M-M_{1}\|_{F} gives the result. ∎

For Ω\Omega sampled according to (2) and under the assumptions of Lemma 3.3 the following holds:

with probability greater that 1−2n21-\frac{2}{n^{2}}, for m≥βnlog⁡(n)m\geq\beta n\log(n), β≥16δ12\beta\geq\frac{16}{\delta_{1}^{2}} and δ1≤3\delta_{1}\leq 3.

ζ1\zeta_{1} follows from (11). Also it is easy to check that ∣Xj∣≤16nm|X_{j}|\leq\frac{16n}{m}. Now applying Bernstein inequality gives the result. ∎

For Ω\Omega sampled according to (2) and under the assumptions of Lemma 3.3 the following holds:

with probability greater than 1−2n21-\frac{2}{n^{2}}, for m≥βnlog⁡(n),β≥48c12δ12m\geq\beta n\log(n),\beta\geq\frac{48c_{1}^{2}}{\delta_{1}^{2}} and δ1≤3\delta_{1}\leq 3.

Hence the jthjth coordinate of the error term in equation (16) is

Recall that αi=uit(⟨u∗,ut⟩uit−ui∗).\alpha_{i}=u^{t}_{i}(\langle u^{*},u^{t}\rangle u^{t}_{i}-u^{*}_{i}). Let Xij=δijwijαivj∗eje1TX_{ij}=\delta_{ij}w_{ij}\alpha_{i}v^{*}_{j}e_{j}e_{1}^{T}, for i,ji,j in [1,..n][1,..n]. Note that XijX_{ij} are independent random matrices. Then (⟨ut,u∗⟩B−C)v∗(\langle u^{t},u^{*}\rangle B-C)v^{*} is the first and the only column of the matrix ∑i,j=1nXij\sum_{i,j=1}^{n}X_{ij}. We will bound ∥∑ij=1nXij∥\|\sum_{ij=1}^{n}X_{ij}\| using matrix Bernstein inequality.

because ∑iαi=0\sum_{i}\alpha_{i}=0. Now we will give a bound on ∥Xij∥\|X_{ij}\|.

The lemma follows from applying matrix Bernstein inequality. ∎

Now we will provide proof of lemma 3.3. Proof of lemma 3.3:[Rank-1 case]

Now we will prove that the distance between utu^{t}, u∗u^{*} and vt+1,v∗v^{t+1},v^{*} decreases with each iteration. Recall that from the assumptions of the lemma we have the following row norm bounds for utu^{t};

First we will prove that dist(ut,u∗)dist(u^{t},u^{*}) decreases in each iteration and second we will prove that vt+1v^{t+1} satisfies similar bound on its row norms.

Using Lemma B.3, Lemma B.4 and equation (16) we get,

Hence by applying the noise bounds Lemma B.2 we get,

ζ1\zeta_{1} follows from δ1≤12\delta_{1}\leq\frac{1}{2}. ζ2\zeta_{2} follows from using ⟨ut,u∗⟩≥⟨u0,u∗⟩\langle u^{t},u^{*}\rangle\geq\langle u^{0},u^{*}\rangle. ζ3\zeta_{3} follows from (⟨u∗,u0⟩−2δ11−⟨u∗,u0⟩2≥12(\langle u^{*},u^{0}\rangle-2\delta_{1}\sqrt{1-\langle u^{*},u^{0}\rangle^{2}}\geq\frac{1}{2}, δ≤120\delta\leq\frac{1}{20} and δ1≤120\delta_{1}\leq\frac{1}{20}. Hence

From Lemma B.3 and (20) we get that ∣∑iδijwij(uit)2−1∣≤δ1\left|\sum_{i}\delta_{ij}w_{ij}(u^{t}_{i})^{2}-1\right|\leq\delta_{1} and ∣∑iδijwijui∗uit−⟨u∗,ut⟩∣≤δ1\left|\sum_{i}\delta_{ij}w_{ij}u^{*}_{i}u^{t}_{i}-\langle u^{*},u^{t}\rangle\right|\leq\delta_{1}, when β≥16c12δ12.\beta\geq\frac{16c_{1}^{2}}{\delta_{1}^{2}}. Hence,

We will bound using ∑iδijwijuitMij\sum_{i}\delta_{ij}w_{ij}u^{t}_{i}M_{ij} using Bernstein inequality.

∑iVar⁡(Xi)=∑iq^ij(1−q^ij)(wij)2(uit)2Mij2≤∑iwij(uit)2Mij2≤4nc12m∥Mj∥2\sum_{i}\operatorname{Var}(X_{i})=\sum_{i}\hat{q}_{ij}(1-\hat{q}_{ij})(w_{ij})^{2}(u^{t}_{i})^{2}M_{ij}^{2}\leq\sum_{i}w_{ij}(u^{t}_{i})^{2}M_{ij}^{2}\leq\frac{4nc_{1}^{2}}{m}\|M_{j}\|^{2}. Finally ∣Xij∣≤∣wijuitMij∣≤4nc1m∣Mij∣/∣Mij∣∥M∥F≤4nc1m∣Mij∣∥M∥F|X_{ij}|\leq\left|w_{ij}u^{t}_{i}M_{ij}\right|\leq\frac{4nc_{1}}{m}|M_{ij}|/\sqrt{\frac{|M_{ij}|}{\|M\|_{F}}}\leq\frac{4nc_{1}}{m}\sqrt{|M_{ij}|\|M\|_{F}}.

Hence applying Bernstein inequality with t=δ∥Mj∥2+∣Mij∣∥M∥Ft=\delta\sqrt{\|M_{j}\|^{2}+|M_{ij}|\|M\|_{F}} gives, ∑iδijwijuitMij≤(1+δ1)∥Mj∥2+∣Mij∣∥M∥F\sum_{i}\delta_{ij}w_{ij}u^{t}_{i}M_{ij}\leq(1+\delta_{1})\sqrt{\|M_{j}\|^{2}+|M_{ij}|\|M\|_{F}} with probability greater than 1−2n31-\frac{2}{n^{3}} when m≥24c12δ12nlog⁡(n)m\geq\frac{24c_{1}^{2}}{\delta_{1}^{2}}n\log(n). For δ1≤120\delta_{1}\leq\frac{1}{20}, we get, ∥u^t∥∣v^jt+1∣≤2119∥Mj∥2+∣Mij∣∥M∥F\|\widehat{u}^{t}\|\left|\widehat{v}_{j}^{t+1}\right|\leq\frac{21}{19}\sqrt{\|M_{j}\|^{2}+|M_{ij}|\|M\|_{F}}.

Now we will bound ∥v^t+1∥\|\widehat{v}^{t+1}\|.

ζ1\zeta_{1} follows from Lemma B.4 and equations (16) and (23). ζ2\zeta_{2} follows from using ⟨u∗,u^0⟩≤⟨u∗,ut⟩\langle u^{*},\widehat{u}^{0}\rangle\leq\langle u^{*},u^{t}\rangle and δ1≤120\delta_{1}\leq\frac{1}{20}. ζ3\zeta_{3} follows from the argument: for δ1≤116\delta_{1}\leq\frac{1}{16}, ⟨u^0,u∗⟩−2δ11−⟨u∗,u^0⟩2\langle\widehat{u}^{0},u^{*}\rangle-2\delta_{1}\sqrt{1-\langle u^{*},\widehat{u}^{0}\rangle^{2}} is greater than 12\frac{1}{2}, if ⟨u^0,u∗⟩≥35\langle\widehat{u}^{0},u^{*}\rangle\geq\frac{3}{5}. This holds because dist(u∗,u^0)≤45dist(u^{*},\widehat{u}^{0})\leq\frac{4}{5} from Lemma 3.2.

Hence we have shown that vt+1v^{t+1} satisfies the row norm bounds. From Lemma B.2 we have, in each iteration with probability greater than 1−γTlog⁡(n)1-\frac{\gamma}{T\log(n)} we have ∥(ut)TRΩ(M−M1)∥≤dist(ut,u∗)∥M−M1∥+δ∥M−M1∥F\left\|(u^{t})^{T}R_{\Omega}(M-M_{1})\right\|\leq dist(u^{t},u^{*})\|M-M_{1}\|+\delta\left\|M-M_{1}\right\|_{F}. Hence the probability of failure in TT iterations is less than γ.\gamma. Lemma now follows from assumption on mm. ∎

Now we have all the elements needed for proof of the Theorem 3.1. Proof of Theorem 3.1:[Rank-1 case]

Lemma 3.2 has shown that u^0\widehat{u}^{0} satisfies the row norm bounds condition. From Lemma 3.3 we get dist(vt+1,v∗)≤12dist(ut,u∗)+5δ∥M−M1∥F/σ∗dist(v^{t+1},v^{*})\leq\frac{1}{2}dist(u^{t},u^{*})+5\delta\|M-M_{1}\|_{F}/\sigma^{*}. Hence dist(vt+1,v∗)≤14tdist(u^0,u∗)+10δ∥M−M1∥F/σ∗dist(v^{t+1},v^{*})\leq\frac{1}{4^{t}}dist(\widehat{u}^{0},u^{*})+10\delta\|M-M_{1}\|_{F}/\sigma^{*}. After t=O(log⁡(1ζ))t=O(\log(\frac{1}{\zeta})) iterations we get dist(vt+1,v∗)≤ζ+10δ∥M−M1∥F/σ∗dist(v^{t+1},v^{*})\leq\zeta+10\delta\|M-M_{1}\|_{F}/\sigma^{*} and dist(ut,u∗)≤ζ+10δ∥M−M1∥F/σ∗dist(u^{t},u^{*})\leq\zeta+10\delta\|M-M_{1}\|_{F}/\sigma^{*}.

ζ1\zeta_{1} follows from equation (16) and ζ2\zeta_{2} from ∥B−1∥≤11−δ3≤2\|B^{-1}\|\leq\frac{1}{1-\delta_{3}}\leq 2 from Lemma B.3.

From Lemma B.2 we have, in each iteration with probability greater than 1−γTlog⁡(n)1-\frac{\gamma}{T\log(n)} we have ∥(ut)TRΩ(M−M1)∥≤dist(ut,u∗)∥M−M1∥+δ∥M−M1∥F\left\|(u^{t})^{T}R_{\Omega}(M-M_{1})\right\|\leq dist(u^{t},u^{*})\|M-M_{1}\|+\delta\left\|M-M_{1}\right\|_{F}. Hence the probability of failure in TT iterations is less than γ.\gamma. ∎

B.3 Rank-r𝑟r proofs

Let SVD of MrM_{r} be U∗Σ∗(V∗)TU^{*}\Sigma^{*}(V^{*})^{T}, U∗,V∗U^{*},V^{*} are n×rn\times r orthonormal matrices and Σ∗\Sigma^{*} is a r×rr\times r diagonal matrix with Σii∗=σi∗\Sigma^{*}_{ii}=\sigma^{*}_{i}. We have seen in Lemma 3.2 that initialization and trimming steps give

In this section we will present rank-rr proof of Lemma 3.3. Before that we will present rank-rr version of the supporting lemmas.

Now like shown in , we will analyze a equivalent algorithm to algorithm 2 where the iterates are orthogonalized at each step. This makes analysis significantly simpler to present. Let, U^(t)=U(t)R(t)\widehat{U}^{(t)}=U^{(t)}R^{(t)} and V^(t+1)=V(t+1)R(t+1)\widehat{V}^{(t+1)}=V^{(t+1)}R^{(t+1)} be the respective QR factorizations. Then we replace step 7 of the algorithm 2 with

where BjB^{j} and CjC^{j} are r×rr\times r matrices.

Writing in terms of power method updates we get,

where the jjth column of FF, Fj=((Bj)−1(Bj(U(t))TU∗−Cj))Σ∗(V∗)jF_{j}=\left((B^{j})^{-1}(B^{j}(U^{(t)})^{T}U^{*}-C^{j})\right)\Sigma^{*}(V^{*})^{j}.

First we will bound ∥Bj∥\|B^{j}\| using matrix Bernstein inequality.

For Ω\Omega generated according to (2) the following holds:

with probability greater that 1−2n21-\frac{2}{n^{2}}, for m≥βnrκlog⁡(n)m\geq\beta nr\kappa\log(n), β≥4∗48c12δ22\beta\geq\frac{4*48c_{1}^{2}}{\delta_{2}^{2}} and δ2≤3r\delta_{2}\leq 3r.

Now we will bound the error caused by the M−MrM-M_{r} component in each iteration.

For Ω\Omega generated according to (2) the following holds:

with probability greater that 1−1c2log⁡(n)1-\frac{1}{c_{2}\log(n)}, for m≥βnrlog⁡(n)m\geq\beta nr\log(n), β≥4c12c2δ2\beta\geq\frac{4c_{1}^{2}c_{2}}{\delta^{2}}. Hence,∥(U(t))TRΩ(M−Mr)∥≤dist(U(t),U∗)∥M−Mr∥+δ∥M−Mr∥F,\left\|(U^{(t)})^{T}R_{\Omega}(M-M_{r})\right\|\leq dist(U^{(t)},U^{*})\|M-M_{r}\|+\delta\left\|M-M_{r}\right\|_{F}, for constant δ\delta.

ζ1\zeta_{1} follows from the fact that XijX_{ij} are zero mean independent random variables. ζ2\zeta_{2} follows from (33). Hence applying the matrix Chebyshev inequality for p=2p=2 and t=δ∥M−M1∥Ft=\delta\|M-M_{1}\|_{F} gives the result. ∎

For Ω\Omega generated according to (2) the following holds:

with probability greater that 1−2n21-\frac{2}{n^{2}}, for m≥βnlog⁡(n)m\geq\beta n\log(n), β≥32r3κ2δ22\beta\geq\frac{32r^{3}\kappa^{2}}{\delta_{2}^{2}}, c1≤8κrc_{1}\leq 8\kappa\sqrt{r} and δ2≤12\delta_{2}\leq\frac{1}{2}.

Recall that the jjth column of FF, Fj=((Bj)−1(Bj(U(t))TU∗−Cj))Σ∗(V∗)jF_{j}=\left((B^{j})^{-1}(B^{j}(U^{(t)})^{T}U^{*}-C^{j})\right)\Sigma^{*}(V^{*})^{j}, where Bj=∑iδijwij(U(t))i(U(t))iTB^{j}=\sum_{i}\delta_{ij}w_{ij}(U^{(t)})^{i}{(U^{(t)})^{i}}^{T}, and Cj=∑iδijwij(U(t))i(U∗)iT.C^{j}=\sum_{i}\delta_{ij}w_{ij}(U^{(t)})^{i}{(U^{*})^{i}}^{T}. We will bound spectral norm of FF using matrix Bernstein inequality.

Let Xij=((Bj)−1(δijwijAij))Σ∗(V∗)jejTX_{ij}=\left((B^{j})^{-1}(\delta_{ij}w_{ij}A^{j}_{i})\right)\Sigma^{*}(V^{*})^{j}e_{j}^{T}, then ∑iXij=((Bj)−1(Bj(U(t))TU∗−Cj))Σ∗(V∗)jejT\sum_{i}X_{ij}=\left((B^{j})^{-1}(B^{j}(U^{(t)})^{T}U^{*}-C^{j})\right)\Sigma^{*}(V^{*})^{j}e_{j}^{T}.

ζ1\zeta_{1} follows from (33) and (12). ζ2\zeta_{2} follows from

Now since V^(t+1)=V(t+1)R(t+1)\widehat{V}^{(t+1)}=V^{(t+1)}R^{(t+1)},

Now we are ready to present proof of Lemma 3.3 for rank-rr case. Proof of Lemma 3.3:

The proof like in rank-11 case has two steps. In the first step we show that dist(V(t+1),V∗)dist(V^{(t+1)},V^{*}) decreases in each iteration. In the second step we show row norm bounds for V(t+1)V^{(t+1)}. Recall from the assumptions of the lemma we have the following row norm bound for U(t)U^{(t)}:

for δ2≤116κ\delta_{2}\leq\frac{1}{16\kappa}. ζ1\zeta_{1} follows from (28). ζ2\zeta_{2} follows from Lemma B.6.

From Lemma B.5 and (33) we get that σmin⁡(Bj)≥1−δ2\sigma_{\min}(B^{j})\geq 1-\delta_{2} and σmax⁡(Cj)≤1+δ2\sigma_{\max}(C^{j})\leq 1+\delta_{2}. Recall that

Hence, ∥(V(t+1))j∥≤1σmin⁡(R(t+1))(11−δ2∥(U(t))TRΩ(M)j∥).\|(V^{(t+1)})^{j}\|\leq\frac{1}{\sigma_{\min}(R^{(t+1)})}\left(\frac{1}{1-\delta_{2}}\|(U^{(t)})^{T}R_{\Omega}(M)_{j}\|\right). We will bound ∥(U(t))TRΩ(M)j∥\|(U^{(t)})^{T}R_{\Omega}(M)_{j}\| using matrix Bernstein inequality.

with probability greater than 1−2n21-\frac{2}{n^{2}} for m≥24c12δ22nlog⁡(n)m\geq\frac{24c_{1}^{2}}{\delta_{2}^{2}}n\log(n). Hence ∥(V(t+1))j∥≤8κr∥Mj∥2∥M∥F2+∣Mij∣∥M∥F.\|(V^{(t+1)})^{j}\|\leq 8\kappa\sqrt{r}\sqrt{\frac{\|M_{j}\|^{2}}{\|M\|_{F}^{2}}+\frac{|M_{ij}|}{\|M\|_{F}}}.

Hence we have shown that (V(t+1))j(V^{(t+1)})^{j} satisfies corresponding row norm bound. This completes the proof of the Lemma. ∎

Now we have all the elements needed for proof of the Theorem 3.1. Proof of Theorem 3.1:

From Lemma 3.3 we get dist(V(t+1),V∗)≤12dist(U(t),U∗)+5δ∥M−Mr∥F/σr∗dist(V^{(t+1)},V^{*})\leq\frac{1}{2}dist(U^{(t)},U^{*})+5\delta\|M-M_{r}\|_{F}/\sigma^{*}_{r}. Hence dist(V(t+1),V∗)≤14tdist(U^0,U∗)+10δ∥M−Mr∥F/σr∗dist(V^{(t+1)},V^{*})\leq\frac{1}{4^{t}}dist(\widehat{U}^{0},U^{*})+10\delta\|M-M_{r}\|_{F}/\sigma^{*}_{r}. After t=O(log⁡(1ζ))t=O(\log(\frac{1}{\zeta})) iterations we get dist(V(t+1),V∗)≤ζ+10δ∥M−Mr∥F/σr∗dist(V^{(t+1)},V^{*})\leq\zeta+10\delta\|M-M_{r}\|_{F}/\sigma^{*}_{r} and dist(U(t),U∗)≤ζ+10δ∥M−Mr∥F/σr∗dist(U^{(t)},U^{*})\leq\zeta+10\delta\|M-M_{r}\|_{F}/\sigma^{*}_{r}.

ζ1\zeta_{1} follows from equation (28) and ζ2\zeta_{2} from ∥B−1∥≤11−δ3≤2\|B^{-1}\|\leq\frac{1}{1-\delta_{3}}\leq 2 from Lemma B.5.

From Lemma B.6 we have, in each iteration with probability greater than 1−γTlog⁡(n)1-\frac{\gamma}{T\log(n)} we have ∥(U(t))TRΩ(M−Mr)∥≤dist(U(t),U∗)∥M−Mr∥+δ∥M−Mr∥F\left\|(U^{(t)})^{T}R_{\Omega}(M-M_{r})\right\|\leq dist(U^{(t)},U^{*})\|M-M_{r}\|+\delta\left\|M-M_{r}\right\|_{F}. Hence the probability of failure in TT iterations is less than γ.\gamma. ∎

Appendix C Proofs of section 3.3

We will now discuss proof of Theorem 3.4. The proof follows same structure as proof of Theorem 3.1 with few key changes because of the absence of L1L1 term in the sampling and the special structure of M=ABM=AB. Again for simplicity we will present proofs only for the case of n1=n2=nn_{1}=n_{2}=n.

Recall that q^ij=min⁡(1,qij)\hat{q}_{ij}=\min(1,q_{ij}) where qij=m⋅(∥Ai∥2n∥A∥F2+∥Bj∥2n∥B∥F2)q_{ij}=m\cdot\left(\frac{\|A^{i}\|^{2}}{n\|A\|_{F}^{2}}+\frac{\|B_{j}\|^{2}}{n\|B\|_{F}^{2}}\right). Also, let wij=1/q^ijw_{ij}=1/\hat{q}_{ij}.

First we will abstract out the properties of the sampling distribution (5) that we use in the rest of the proof. Also let CAB=(∥A∥F2+∥B∥F2)2∥AB∥F2C_{AB}=\frac{(\|A\|_{F}^{2}+\|B\|_{F}^{2})^{2}}{\|AB\|_{F}^{2}}

For Ω\Omega generated according to (5) and under the assumptions of Lemma C.2 the following holds, for all (i,j)(i,j) such that qij≤1q_{ij}\leq 1.

The proof of the lemma C.1 is straightforward from the definition of qijq_{ij}.

Now, similar to proof of Theorem 3.1, we divide our analysis in two parts: initialization analysis and weighted alternating minimization analysis.

Let the set of entries Ω\Omega be generated according to q^ij\hat{q}_{ij} (5). Also, let m≥CCABnδ2log⁡(n)m\geq CC_{AB}\frac{n}{\delta^{2}}\log(n). Then, the following holds (w.p. ≥1−2n10\geq 1-\frac{2}{n^{10}}):

Also, if ∥AB−(AB)r∥F≤1576κr1.5∥(AB)r∥F\|AB-(AB)_{r}\|_{F}\leq\frac{1}{576\kappa r^{1.5}}\|(AB)_{r}\|_{F}, then the following holds (w.p. ≥1−2n10\geq 1-\frac{2}{n^{10}}):

where U^(0)\widehat{U}^{(0)} is the initial iterate obtained using Steps 4, 5 of Sub-Procedure 2. κ=σ1∗/σr∗\kappa=\sigma_{1}^{*}/\sigma_{r}^{*}, σi∗\sigma_{i}^{*} is the ii-th singular value of ABAB, (AB)r=U∗Σ∗(V∗)T(AB)_{r}=U^{*}\Sigma^{*}(V^{*})^{T}.

First we show that RΩ(AB)R_{\Omega}(AB) is a good approximation of ABAB.

First we will bound ∥Xij∥\|X_{ij}\|. When mqij≥1mq_{ij}\geq 1, q^ij=1\hat{q}_{ij}=1 and δij=1\delta_{ij}=1, and Xij=0X_{ij}=0 with probability 1. Hence we only need to consider cases when q^ij=mqij≤1\hat{q}_{ij}=mq_{ij}\leq 1. We will assume this in all the proofs without explicitly mentioning it any more.

ζ1\zeta_{1} follows from q^ij≤1\hat{q}_{ij}\leq 1.

Hence, ∥Xij∥\|X_{ij}\| is bounded by L=n2m(∥A∥F2+∥B∥F2)L=\frac{n}{2m}(\|A\|_{F}^{2}+\|B\|_{F}^{2}). Recall that this is the step in the proof of Lemma 3.2 that required the L1 term in sampling, which we didn’t need now because of the structure ABAB of the matrix. Now we will bound the variance.

Once we have ∥RΩ(M)−M∥≤δ∥M∥F\|R_{\Omega}(M)-M\|\leq\delta\|M\|_{F}, proof of the trimming step that guarantees

follows from the same argument as in Lemma 3.2.

C.2 Weighted AltMin Analysis

Let hypotheses of Theorem 3.4 hold. Also, let ∥AB−(AB)r∥F≤1576κrr∥(AB)r∥F\|AB-(AB)_{r}\|_{F}\leq\frac{1}{576\kappa r\sqrt{r}}\|(AB)_{r}\|_{F}. Let U^(t)\widehat{U}^{(t)} be the tt-th step iterate of Sub-Procedure 2 (called from WAltMin(PΩ(A⋅B),Ω,q^,T)WAltMin(P_{\Omega}(A\cdot B),\Omega,\hat{q},T)), and let V^(t+1)\widehat{V}^{(t+1)} be the (t+1)(t+1)-th iterate (for VV). Also, let ∥(U(t))i∥≤8rκ∥Ai∥2/∥A∥F2\|(U^{(t)})^{i}\|\leq 8\sqrt{r}\kappa\sqrt{\|A^{i}\|^{2}/\|A\|_{F}^{2}} and dist(U(t),U∗)≤12dist({U}^{(t)},U^{*})\leq\frac{1}{2}, where U(t)U^{(t)} is a set of orthonormal vectors spanning U^(t)\widehat{U}^{(t)}. Then, the following holds (w.p. ≥1−γ/T\geq 1-\gamma/T):

and ∥(V(t+1))j∥≤8rκ∥Bj∥2/∥B∥F2\|(V^{(t+1)})^{j}\|\leq 8\sqrt{r}\kappa\sqrt{\|B_{j}\|^{2}/\|B\|_{F}^{2}}, where V(t+1)V^{(t+1)} is a set of orthonormal vectors spanning V^(t+1)\widehat{V}^{(t+1)}.

For the sake of simplicity we will discuss the proof for rank-1(r=1)(r=1) case for this part of the algorithm. Rank-rr proof follows by combining the below analysis with rank-rr analysis of Lemma 3.3 (see Section B.3). Before presenting the proof of this Lemma, we will state couple of supporting lemmas. The proofs of these supporting lemmas follows very closely to the ones in section B.2.

For Ω\Omega sampled according to (5) and under the assumptions of Lemma C.3, the following holds:

with probability greater that 1−2n21-\frac{2}{n^{2}}, for m≥βCABnlog⁡(n)m\geq\beta C_{AB}n\log(n), β≥16δ12\beta\geq\frac{16}{\delta_{1}^{2}} and δ1≤3\delta_{1}\leq 3.

Writing in terms of power method updates we get,

where PP and QQ are diagonal matrices with Pjj=∑iδijwij(uit)2P_{jj}=\sum_{i}\delta_{ij}w_{ij}(u^{t}_{i})^{2} and Qjj=∑iδijwijuitui∗Q_{jj}=\sum_{i}\delta_{ij}w_{ij}u^{t}_{i}u^{*}_{i} and yy is the vector RΩ(M−M1)TutR_{\Omega}(M-M_{1})^{T}u^{t} with entries yj=∑iδijwijuit(M−M1)ijy_{j}=\sum_{i}\delta_{ij}w_{ij}u^{t}_{i}(M-M_{1})_{ij}.

Now we will bound the error caused by the M−MrM-M_{r} component in each iteration.

For Ω\Omega generated according to (5) and under the assumptions of Lemma C.3, the following holds:

with probability greater that 1−1c2log⁡(n)1-\frac{1}{c_{2}\log(n)}, for m≥βnrlog⁡(n)m\geq\beta nr\log(n), β≥4c12c2δ2\beta\geq\frac{4c_{1}^{2}c_{2}}{\delta^{2}}. Hence, ∥(U(t))TRΩ(M−Mr)∥≤dist(U(t),U∗)∥M−Mr∥+δ∥M−Mr∥F,\left\|(U^{(t)})^{T}R_{\Omega}(M-M_{r})\right\|\leq dist(U^{(t)},U^{*})\|M-M_{r}\|+\delta\left\|M-M_{r}\right\|_{F}, for constant δ\delta.

For Ω\Omega sampled according to (5) and under the assumptions of Lemma C.3, the following holds:

with probability greater than 1−2n21-\frac{2}{n^{2}}, for m≥βCABnlog⁡(n),β≥48c12δ12m\geq\beta C_{AB}n\log(n),\beta\geq\frac{48c_{1}^{2}}{\delta_{1}^{2}} and δ1≤3\delta_{1}\leq 3.

Now we will provide proof of lemma C.3. Proof of lemma C.3:[Rank-1 case]

Let utu^{t} and vt+1v^{t+1} be the normalized vectors of the iterates u^t\widehat{u}^{t} and v^t+1\widehat{v}^{t+1}. In the first step we will prove that the distance between utu^{t}, u∗u^{*} and vt+1,v∗v^{t+1},v^{*} decreases with each iteration. In the second step we will prove that vt+1v^{t+1} satisfies ∣vjt+1∣≤c1∥Bj∥2/∥B∥F2|v^{t+1}_{j}|\leq c_{1}\sqrt{\|B_{j}\|^{2}/\|B\|_{F}^{2}}. From the assumptions of the lemma we have,

Using Lemma C.4, Lemma C.6 and equation (42) we get,

Hence by applying the noise bounds Lemma C.5 we get,

ζ1\zeta_{1} follows from δ1≤12\delta_{1}\leq\frac{1}{2}. ζ2\zeta_{2} follows from using ⟨ut,u∗⟩≥⟨u0,u∗⟩\langle u^{t},u^{*}\rangle\geq\langle u^{0},u^{*}\rangle. ζ3\zeta_{3} follows from (⟨u∗,u0⟩−2δ11−⟨u∗,u0⟩2≥12(\langle u^{*},u^{0}\rangle-2\delta_{1}\sqrt{1-\langle u^{*},u^{0}\rangle^{2}}\geq\frac{1}{2}, δ≤120\delta\leq\frac{1}{20} and δ1≤120\delta_{1}\leq\frac{1}{20}. Hence

Now, by selecting m≥Cγ⋅(∥A∥F2+∥B∥F2)2∥AB∥F2⋅nr3(ϵ)2κ2log⁡(n)log⁡2(∥A∥F+∥B∥Fζ)m\geq\frac{C}{\gamma}\cdot\frac{(\|A\|_{F}^{2}+\|B\|_{F}^{2})^{2}}{\|AB\|_{F}^{2}}\cdot\frac{nr^{3}}{(\epsilon)^{2}}\kappa^{2}\log(n)\log^{2}(\frac{\|A\|_{F}+\|B\|_{F}}{\zeta}), the above bound reduces to (w.p. ≥1−γ/log⁡(∥A∥F+∥B∥Fζ)\geq 1-\gamma/\log(\frac{\|A\|_{F}+\|B\|_{F}}{\zeta})):

Hence, using induction, after T=log⁡(∥A∥F+∥B∥Fζ)T=\log(\frac{\|A\|_{F}+\|B\|_{F}}{\zeta}) rounds, we obtain (w.p. ≥1−γ\geq 1-\gamma): dist(vt+1,v∗)≤ϵ∥M−M1∥F+ζdist(v^{t+1},v^{*})\leq\epsilon\|M-M_{1}\|_{F}+\zeta. However, the above induction step would require vt+1v^{t+1} to satisfy the L∞L_{\infty} condition as well, that we prove below.

From Lemma C.4 and (45) we get that ∣∑iδijwij(uit)2−1∣≤δ1\left|\sum_{i}\delta_{ij}w_{ij}(u^{t}_{i})^{2}-1\right|\leq\delta_{1} and ∣∑iδijwijui∗uit−⟨u∗,ut⟩∣≤δ1\left|\sum_{i}\delta_{ij}w_{ij}u^{*}_{i}u^{t}_{i}-\langle u^{*},u^{t}\rangle\right|\leq\delta_{1}, when β≥16c12δ12.\beta\geq\frac{16c_{1}^{2}}{\delta_{1}^{2}}. Hence,

Now we will bound ∥v^t+1∥\|\widehat{v}^{t+1}\|.

ζ1\zeta_{1} follows from Lemma C.6 and equations (42) and (50). ζ2\zeta_{2} follows from using ⟨u∗,u0⟩≤⟨u∗,ut⟩\langle u^{*},u^{0}\rangle\leq\langle u^{*},u^{t}\rangle and δ1≤120\delta_{1}\leq\frac{1}{20}. ζ3\zeta_{3} follows by initialization and using the assumption on mm with large enough C>0C>0. Hence we get

Hence we have shown that vt+1v^{t+1} satisfies the row norm bounds. This completes the proof. ∎

The proof of the Theorem 3.4 now follows from the Lemma C.2 and Lemma C.3.