Low Rank Matrix Completion via Robust Alternating Minimization in Nearly Linear Time
Yuzhou Gu, Zhao Song, Junze Yin, Lichen Zhang
Introduction
Under these assumptions, a variety of algorithms based on convex relaxation have been derived . These algorithms relax the problem as a trace-norm minimization problem that can be solved with semidefinite programs (SDP). Unfortunately, solving SDP is inherently slow and rarely used in practice: even the state-of-the-art SDP solver would require time is the exponent of matrix multiplication. Currently, . to solve the program . Heuristics such as alternating minimization and gradient descent are much preferred due to their efficiency. first showed that under the standard low rank and incoherent settings, as long as we are allowed to observe entriesIn this paper, we assume and we use to hide polylogarithmic factors in and . (where is the condition number of matrix ) , then alternating minimization provably recovers the matrix . Subsequent works further unify different approaches by treating matrix completion as a non-convex optimization problem and improve the sample complexity . A remarkable advantage of alternating minimization is its efficiency, as each iteration, the two alternating updates can be implemented in time.
Despite various advantages, the series of theoretical papers analyzing alternating minimization fail to capture a crucial component of many practical implementations as the updates are usually computed approximately to further speed up the process. In contrast, the analysis pioneered in and followups crucially relies on the exact formulation of the updates, making it difficult to adapt and generalize to the approximate updates setting. On the other hand, developing an alternating minimization framework would also enable us to utilize faster, approximate solvers to implement updates that leads to theoretical speedup of the algorithm.
In Section 2, we introduce the related works which include matrix completion and applying sketching matrices to solve optimization problems. In Section 3, we present the notations, definitions, and lemmas that we use for the later sections. In Section 4, we present the significant findings and discuss the techniques utilized. In Section 5, we provide some concluding remarks and future directions.
Related Work
Low rank matrix completion is a fundamental problem in machine learning. Practical applications including recommender systems, with the most notable one being collaborative filtering and the Netflix Challenge . It also has a wide range of applications in computer visions and signal processing . For more comprehensive surveys, we refer readers to . Algorithms for matrix completion can be roughly divided into two categories — convex relaxation and non-convex heuristics. Candes and Recht prove the first sample complexity for low rank matrix completion under convex relaxation and the bound is subsequently improved by . In practice, heuristic methods based on non-convex optimizations are often preferred due to their simplicity and efficiency. One notable approach is gradient descent . Alternating minimization is also a popular alternative that is widely applied in practice. provides a provable guarantee on the convergence of alternating minimization when the matrix-to-recover is low rank and incoherent. Subsequently, there have been a long line of works analyzing the performance of non-convex heuristics under standard matrix completion setting and under the noise or corrupted-entries setting . Recently, the work provides an algorithm with improved sample complexity and runtime when stronger subspace regularity assumptions are imposed, utilizing techniques from sparse recovery in the semi-random setting .
A recent trend in sketching community is to apply them as a means to reduce the iteration cost of optimization algorithms. Applications such as linear programming , empirical risk minimization , approximating the John ellipsoid , Frank-Wolfe algorithm and linear MDPs .
Preliminary
In this section, we provide necessary background on matrix completion and assumptions.
Given a rank-, real matrix , we use to denote its condition number: where are singular values of sorted in magnitude. When is clear from context, we often use directly.
1 Angles and Distances Between Subspaces
A key quantity that captures the closeness of the subspaces by two matrices is the distance, defined as follows:
One can further quantify the geometry of two subspaces by their principal angles:
For any matrix , and for orthogonal matrix () we define
.
For orthogonal matrices and ( and ), we define
.
and .
and .
Standard trigonometry equalities and inequalities hold for above definitions, see, e.g., .
2 Background on Matrix Completion
We introduce necessary definitions and assumptions for low rank matrix completion. Given a set of of indices , we define a linear operator that selects the corresponding entries:
A crucial assumption for low rank matrix completion is incoherence. We start by defining the notion below.
Here is the -th row of , for all .
We say a general rank- matrix is incoherent if both its row and column spans are incoherent:
,
,
where is the SVD of M and , denote the -th row of and the -th row of respectively.
We are now in the position to state the set of assumptions for low rank matrix completion problem.
Each entry of is sampled independently with equal probability. In other words, the set is formed by sampling each entry independently according to certain distribution.
We note that the above assumptions are all standard in the literature.
Now we are ready to state the low rank matrix completion problem.
Technique Overview
Before diving into the details of our algorithm and analysis, let us review the alternating minimization proposed in . The algorithm can be described pretty succinctly: given the sampled indices , the algorithm starts by partitioning into groups, denoted by . The algorithm first computes a top- SVD of the matrix where is the sampling probability. It then proceeds to trim all rows of the left singular matrix with large row norms (this step is often referred as clipping). It then optimizes the factors and alternatively. At iteration , the algorithm first fixes and solves for with a multiple response regression using entries in , then it fixes the newly obtained and solves for with entries in . After iterating over all groups in the partition, the algorithm outputs the final factors and as its output.
From a runtime complexity perspective, the most expensive steps are solving two multiple response regressions per iteration, which would take a total of time. On the other hand, we observe that the total instance size for the multiple response regressions is only , inspiring us to consider efficient, randomized solvers that can solve the regression in time nearly linear in the instance size.We note that our solver would incur an extra total cost of . Under the standard low rank and incoherent assumptions, the state-of-the-art non-convex optimization-based approach would require samples and the time is subsumed by the portion. This term is hence ignored. This in turn produces an algorithm with a nearly linear runtime in terms of verifying all entries in .
Two problems remain to complete our algorithm: 1). What kind of multiple response regression solvers will run in nearly linear time and produce high accuracy solutions and 2). How to prove the convergence of the alternating minimization in the presence of the errors caused by approximate solvers. While the second question seems rather intuitive that the algorithm should tolerate moderate amount of errors, the analysis becomes highly nontrivial when one examines the argument in and followups, as all of them crucially rely on the fact that the factors and are solved exactly and hence admit closed form. This motivates us to develop an analytical framework for alternating minimization, that admits approximate solves each iteration.
It remains to develop a perturbation theory for alternating minimization and our key innovation is a perturbation argument on the incoherence bound under small row norm perturbation. Let denote the -th row of . We show that if two matrices and satisfying and , then the change of incoherence between and is also very small. Our main strategy involves reducing incoherence to statistical leverage score, a critical numerical quantity that measures the importance of rows . The problem then reduces to showing that if two matrices have similar rows, their leverage scores are also similar. By utilizing the leverage score formulation and a perturbation result from , we prove that it is indeed the case they have similar leverage scores. This concludes the perturbation argument on matrix incoherence.
However, this alone is insufficient for our inductive argument to progress, as we must also quantify the proximity between the approximate and exact solutions. To accomplish this, we employ a novel approach based on the condition number of the matrices. Specifically, given the exact matrix and the approximate matrix , we demonstrate that the distance between and is relatively small as long as is bounded by . To obtain a good bound on , we need to solve the approximate regression to high precision (inverse proportionally to ). We achieve this objective through a sketching-based preconditioner, which is the first problem we would like to address.
Sketching-based preconditioning is a widely-used and lightweight approach to solving regression problems with high accuracy. The fundamental concept involves reducing the dimensionality of the regression problem by utilizing a sketching matrix and creating an approximate preconditioner based on the sketch. This preconditioner accelerates the convergence of an iterative solver, such as the conjugate gradient or Generalized Minimal RESidual method (GMRES), employed in the reduced system. With this preconditioner, we obtain an convergence for an -approximate solution. Beyond its theoretical soundness and efficiency, these preconditioners also exhibit good performances when used in practice .
An important feature of our robust alternating minimization framework coupled with the fast regression solvers is that we preserve the sample complexity of : by picking the sampling probability , we are required to sample entries. By a clever thresholding approach, further improves the sample complexity to . As their algorithm is alternating minimization in nature, our robust framework and nearly linear regression solvers can be adapted and hence obtain an improved sample complexity and runtime by a factor of .
In the rest of this section, we will review our approaches and clarify how we employ various strategies to achieve our goal.
In Section 4.1, we illustrate the major means to prove the convergence of alternating minimization through a subspace approaching argument.
In Section 4.2, we describe a perturbation theory that handles the incoherence of approximate updates.
In Section 4.3, we present the main algorithmic tool to realize the speedup, a sketching-based high accuracy regression solver.
In Section 4.4, we deliver the main result of this paper.
The basis of the analysis of both and ours is an inductive argument that shows the low rank factors obtained in each iteration approaches the optimum as their distance shrinks by a constant factor and we call this subspace approaching argument, as we iteratively refine subspaces that approach the optimum. The major difference is that the induction of can be based on the exact solutions solely — they inductively prove the distances shrink by a constant factor, and the low rank factors are -incoherent for to be specified. It is tempting to replace these exact solutions with the approximate solutions we obtain. Unfortunately, the heavily exploits the closed-form formulation of the solutions so that they can easily decompose the matrices into terms whose spectral norms can be bounded in a straightforward manner. Our approximate solutions on the other hand cannot be factored in such a fashion.
To circumvent this issue, we instead keeping the exact solutions as a sequence of references and inductively bound the incoherence of these exact solutions. More specifically, for any , we assume is -incoherent and , then we show that
and
We can then proceed to show similar conditions hold for and , therefore advance the induction. Note that we only show the exact solutions are incoherent, but to conclude the desired guarantee on the output, we also need to show that the approximate solutions are also incoherent. This motivates us to develop a perturbation theory of matrix incoherence under the presence of row perturbations.
2 A Perturbation Theory for Matrix Incoherence
Our main goal is to understand how perturbations to rows of a matrix change the incoherence.
With all pieces in hand, we can readily prove that indeed, the row norms after isotropic transformation is indeed small:
For more details, we refer readers to Appendix G. We can then instantiate the perturbation result with matrices and , and respectively.
3 Nearly Linear Time Solve via Sketching
Sum over all iterations, the total size of the multiple response regression is , and our regression solver takes time, as desired.
We summarize the result in the following lemma.
4 Putting Things Together
Given our fast regression solver and robust analytical framework that effectively handles the perturbation error caused by approximate solve, we are in the position of delivering our main result.
It samples entries;
It runs in time.
Let us pause and make some remarks regarding the above result. On the sample complexity front, we attain the result achieved in , but we would also like to point out that it can be further improved using the approach developed in . Our robust alternating minimization framework indicates that as long as the error caused by the approximate solver can be polynomially bounded, then the convergence of the algorithm is preserved (up to factors). Thus, our framework can be safely integrated into any alternating minimization-based algorithm for matrix completion.
Moreover, the runtime of algorithm is nearly linear in the verification time — given a set of sampled entries , it takes time to compute an entry of therefore a total of time. achieves similar runtime guarantee with a sample complexity of , but their approach is based on generalizing sparse recovery to low rank matrix setting and is much more complicated than ours. As alternating minimization is among the most popular practical implementations for matrix completion, we believe our algorithm not only bridges the gap between theory and practice in terms of robust analysis, but also obtains an improved practical runtime, as the fast regression solver has been widely adapted in practice .
Conclusion
In this paper, we develop a nearly linear time algorithm for low rank matrix completion via two ingredients: a sketching-based preconditioner for solving multiple response regressions, and a robust framework for alternating minimization.
Our robust alternating minimization framework effectively bridges the gap between theory and practice — as all prior theoretical analysis of alternating minimization requires exact solve of the multiple response regressions, but in practice, fast and cheap approximate solvers are preferred. Our algorithm also has the feature that it runs in time nearly linear in verifying the solution, as given a set of entries , it takes time to compute the corresponding entries.
One natural next step is to improve the sample complexity for alternating minimization-based matrix completion algorithms, as it would lead to direct sample complexity and runtime improvement to our approach. It is also interesting to develop an algorithm that runs in nearly linear time of the output size, i.e., an algorithm with runtime .
Acknowledgement
The authors would like to thank Jonathan Kelner for helpful discussions and pointing out many references. Lichen Zhang is supported by NSF grant No. 1955217 and NSF grant No. 2022448.
References
Appendix
In Section A, we introduce more fundamental lemmas and facts. In Section B, we provide more details about our sketching-based solver. In Section C, we support the main init by giving and explaining more definitions and lemmas. In Section D, we explain our main induction hypothesis. In Section E, we analyze the general case of the update rules and notations. In Section F, we give the lemmas for distance shrinking and their proofs: we upper bound different terms by distance. In Section G, we analyze the distance and incoherence under row perturbations.
Appendix A More Preliminary
In this section, we display more fundamental concepts. In Section A.1, we introduce algebraic properties for matrices. In Section A.2, we analyze the properties of angles and distances. In Section A.3, we provide the tools which are used in previous works. In Section A.4, we state several well-known probability tools.
We state several standard norm inequalities here.
Part 2. .
Part 4. if , .
Part 5. .
Part 7. if is rank-.
Part 8. If is invertible, we have .
Part 9. For vector with , we have .
For any matrix , square invertible matrix
Part 10. .
For any matrix , and square diagonal invertible matrix
Part 11. .
We omit their proofs, as they are quite standard.
The next fact bounds the spectral norm of a matrix after applying a unitary transformation.
Part 1. By the property of , we know that .
Part 2. By property of , we have .
The following is a collection of simple algebraic facts.
Part 1. If , then .
Part 2. If , then .
Part 3. If , then .
where the first step follows from , the second step follows from for all , and the last step follows from .
where the first step follows from , the second step follows from , and the last step follows from .
where the first step follows from Eq. (1) and the second step follows from simple algebra.
for all in the domain of .
A.2 Properties of Angles and Distances
We explore some more relations for angles and distances between subspaces.
The next lemma is a simple application of fundamental subspaces decomposition.
We know that the column space of is orthogonal to the null space of , and the null space of has dimension .
Let be an orthonormal basis of the null space of .
We know that either in the column space of or the null space of .
Case 1: in the column space of . In this case, we can write .
where the first step follows from , the second step follows from is orthogonal that , the third step follows from for all matrices and , the fourth step follows from Eq. (2), and the last step follows from .
Case 2: in the null space of . In this case, we know that and , so
where the first step follows from and , the second step follows from , and the third step follows from .
Thus, we have shown . ∎
The following lemma presents a simple inequality for orthogonal complements.
Let us first compute the Gram matrix of , which is
where the first step follows from , the second step follows from simple algebra, and the last step follows from has orthonormal columns.
This means that . ∎
The singular vectors can be parametrized by orthogonal complement and inverse, solely.
Part 1. and have the same set of singular vectors.
Part 2. Let be a singular vector of , if corresponds to , then it corresponds to .
Part 3. .
we argue that corresponds to the smallest singular value of via contradiction. Suppose there exists some unit vector with
and it contradicts the definition of spectral norm.
Similarly, if is the unit vector that realizes the spectral norm of , then it is also a singular vector corresponds to the smallest singular value of , or equivalently, the spectral norm of . Our above argument essentially implies that and have the same set of singular vectors.
Our above argument is choosing to the eigenvector corresponding to the largest singular values. Similarly, we can choose to 2nd, 3rd, and then prove entire sets.
let be the singular values of and be corresponding singular vectors.
which means that . Note that all singular values of are in this form, i.e., we have its singular values being
as , and the above singular values are in ascending order.
Proof of Part 3. The proof is then straightforward.
Suppose that is largest singular value and singular vector (e.g. ). Then, we have
Using Part 2 (by choosing ), we know that is also the largest singular vector for . Assume that largest singular value is (e.g. ). Then we have
where the first step follows from Eq. (4), the second step follows from is a real number and a real number multiplying a matrix is commutative and follows from the associative property, and the third step follows from Eq. (3).
Combining the lower bound and upper bound, we have
We prove several fundamental trigonometry equalities for subspace angles.
where the first step follows from the definition of (see Definition 3.2), the second step follows from Lemma A.5, the third step follows from the part 3 of Lemma A.6, the fourth step follows from simple algebra, the fifth step follows from Lemma A.5, and the last step follows from the definition of and (see Definition 3.2). ∎
Recall that and .
so by the definition of (see Definition 3.2), we have
By part 1 of Lemma A.6, we know that and have the same set of singular vectors.
Note that and have the same singular vectors implies that the singular vector realizing corresponds to the smallest singular value of , i.e.,
where the first step follows from , the second step follows from , the third step follows from simple algebra, the fourth step follows from , the fifth step follows from Eq. (7), and the sixth step follows from Eq. (8).
where the first step follows from Eq. (6), the second step follows from Lemma A.5, the third step follows from definitions of and (see Def. 3.2).
Therefore, by Eq. (A.2), we have . This completes the proof. ∎
The next lemma demonstrates relationship between several trigonometry definitions.
Part 1. .
Part 2. .
Part 3. .
Part 4. .
Part 5. .
where the first step follows from the definition of
the second step follows from (see Eq. (10)), the third step follows from simple algebra, the fourth step follows from (see Lemma A.4), the fifth step follows from , and the last step follows from .
where the first step follows from Lemma A.7, the last step follows from .
Proof of Part 2. For simplicity, we use to represent .
Using Lemma A.8, the above equation is further equivalent to
This is true forever, since .
Proof of Part 3. Given (Eq. (11)) and (Eq. (A.2)), we have
Proof of Part 4. We define as the SVD of matrix as follows
where the first step follows from for all matrices and , the second step follows from the simple property of matrix, the third step follows from the fact that is orthogonal, and the last step follows from simple algebra, i.e., .
For , we have
where the first step follows from can not provide a better cost than minimizer, the second step follows from Eq. (13), the third step follows from simple algebra, and the last step follows from the triangle inequality.
For the second term of Eq. (A.2), namely , we have
where the first step follows from simple algebra and the second step follows from the definition of (see Definition 3.2).
For the first term of Eq. (A.2), namely , we have
where the first step follows from simple algebra, the second step follows from , the third step follows from is orthonormal basis, and the last step follows from .
where the first step follows from Part 4, the second step follows from Part 2, and the last step follows from Part 1. ∎
A.3 Tools from Prior Works
The previous paper assumes the entries of are sampled independently with the following probability. Note that the choice of also determines the sample complexity of the algorithm.
Let denote a sufficiently large constant. We define sample probability to be
Then, we sample each coordinately independently according to that probability.
The parameter is a tuning parameter for sampling probability.
It is obvious that .
Given the set of indices, we denote the row and column selection operator as follows.
For each , we define set
For each , we define set ,
The next structural lemma bounds the inner product between vectors inside set .
Let be a set f indices sampled uniformly at random from with each element of sampled independently with probability . Let be a sufficiently large constant.
The following lemma bounds the spectral gap between two matrix inverses in terms of the larger of their spectral norm squared, times the spectral norm of their differences.
For two conforming real matrices and ,
The next claim bounds the inner product between any unit vector and rows of incoherent matrix.
Suppose is incoherent, and is incoherent. For any unit vectors we have
Part 1.
Part 2. .
Proof of Part 1. Note that , so
where the second step follows from the inner product between two unit vectors is at most 1.
where the last step follows from is incoherent.
where the first step follows from , the second step follows from Eq. (A.3), the third step follows from , the fourth step follows from , and the last step follows from the Lemma statement that is a unit vector.
Proof of Part 2. Similarly as the proof of part 1. We know that
where the first step follows from , the second step follows from Eq. (17), the third step follows from , and the last step follows from . ∎
A.4 Probability Tools
We introduce several well-known probability inequalities.
, ;
, .
Appendix B High Accuracy Weighted Regression Solver
We demonstrate our high accuracy, iterative solver for weighted multiple response regression in this section.
Here, we mainly focus on the SRHT matrix, the algorithm that processes it, and its properties. We start by introducing the definition of the SRHT matrix .
For an matrix , can be computed in time .
The following lemma states that a suitable chosen SRHT provides the so-called subspace embedding property.
SRHT can be further utilized for a high accuracy regression solver, as presented by the following lemma.
The above result also extends to weighted regression, measured in terms of the norm. For the sake of completeness, we include the algorithm and a proof here.
Let us analyze Algorithm 2, first on its convergence then on its runtime.
where the first step follows from the definition of from Algorithm 2, the second step follows from simple algebra, the third step follows from , the fourth step follows from simple algebra, the last step follows from the SVD, .
and recall for initial solution , we have
B.2 Forward Error of Regression
Let denote the exact solution to the regression problem, then it holds that
so we can perform the following decomposition:
where the first step follows from simple algebra, the second step follows from the Pythagorean theorem, the third step follows from the assumption of Lemma B.5, and the fourth step follows from simple algebra.
Assuming has full column rank, then .
where the first step follows from , the second step follows from , the third step follows from Eq. (B.2), and the last step follows from . ∎
B.3 Reducing Weighted Linear Regression to Linear Regression
Solving the regression in matrix completion involves computing the Hadamard product with a binary matrix, we further generalize it to a nonnegative weight matrix, and show it’s equivalent up to a rescaling.
Let and .
with probability at least , then there is an algorithm that runs in
where the first step follows from the definition of , the second step follows from the definition of and , the third step follows from simple algebra, the fourth step follows from , and the last step follows from the definition of . This finishes the proof. ∎
B.4 Solving Weighted Multiple Response Regression in Weight Sparsity Time
The main result of this section is an algorithm, together with a weighted multiple response analysis that runs in time proportional to the sparsity of weight matrix .
We can rewrite multiple regression into linear regression in the following way,
Consider the -th linear regression. We define
Let be a sufficiently large constant (The running time of the algorithm is linear in ). Using forward error Lemma B.5, we know that
where the second step follows from , the third step follows from the definition of (see Lemma B.7), and the last step follows from simple algebra.
Using Lemma B.6 times, we can obtain the running time. ∎
Appendix C Initialization Conditions
In this section, we deal with init conditions. In Section C.1, we provide the lemma which bound the distance between and . In Section C.2, we show that if is close to , then is close to . In Section C.3, we give the formal definition of , , and . In Section C.4, we combine the previous lemmas to form a new result.
We prove our init condition lemma. This can be viewed as a variation of Lemma C.1 in .
holds with probability at least .
Let . Let be some constant decided by Theorem 3.1 .
where the first step follows from Theorem 3.1 in , the second step follows from , the third step follows from simple algebra, namely , the fourth step follows from , the last step follows from
where the first step follows from the SVD of (see Definition 3.5) and , the second step follows from adding and subtracting the same thing, the third step follows from simple algebra, the fourth step follows from if (Fact A.1), the fifth step follows from , the sixth step follows from applying Part 2 of Fact A.2 twice (one for and one for ), the seventh step follows from (Fact A.1), and the last step follows from .
Combining Eq. (C.1) and Eq. (C.1), we get:
We first define , and then provide a lemma to show that whenever is close to , is close to .
The initialization condition proof is very standard in literature, we follows from .
Let be an orthonormal column matrix such that
Let be an orthonormal basis of .
Part 1.
Part 2. is incoherent with parameter .
For the convenience of matching later induction proof, when we use this lemma for the base in induction, we write to denote .
Proof of Part 1. For simplicity, in the proof, we use to denote .
By definition of , we know that
Then, for each with ,
where the first step follows from truncation at , the second step follows from simple algebra, the third step follows from Eq. (27), the fourth step follows from simple algebra, the fifth step follows from the definition of and , and the last step follows from the triangle inequality.
For each with , we know that
where the first step follows from in this case.
Combining Eq. (C.2) and Eq. (31), we know for all
where the first step follows from taking the summation of square of Eq. (C.2), and the second step follows from simple algebra, the third step follows from Eq. (25), the fourth step follows from and are unit vectors, and the last step follows Part 3 of Fact A.3.
where the first step follows from triangle inequality, the second step follows from Eq. (C.2), and the third step follows from Eq. (26).
where the first step follows from Eq. (29), the second step follows from triangle inequality, the third step follows from Eq. (28), the fourth step follows from Eq. (C.2), and the last step follows from simple algebra.
where the first step follows from , the second step follows from taking the summation of square of Eq. (C.2).
where the first step follows from Eq. (36) and the second step follows from (Fact A.1).
where the first step follows from triangle inequality, the second step follows from , the third step follows from the definition of , the fourth step follows from Eq. (C.2), and the last step follows from .
where the first step follows from Fact A.1, the second step follows from the fact that forms an orthonormal basis (see Part 2 of Fact A.2), the third step follows from the QR decomposition of (Eq. (36)), the fourth step follows from (see Lemma A.8), the fifth step follows from Eq. (C.2), and the last step follows from using the fact that .
where the first step follows from Eq. (C.2), the second step follows from Eq. (C.2), the third step follows from Eq. (C.2), the fourth step follows from simple algebra, and the last step follows from the fact that .
Proof of Part 2. The incoherence of is
where the first step follows from the definition of incoherence, the second step follows from Eq. (36), the third step follows from , the fourth step follows from Eq (C.2), the fifth step follows from is truncating at , the sixth step follows from , and the last step follows from . ∎
We provide the definitions for , , and . We also include a procedure that clips rows with large norm then perform Gram-Schmidt.
Let .
To make convenient of base case of induction proof, we call to be .
C.4 Initialization Condition: Main Result
We provide a Lemma which bounds and shows that is incoherent with parameter .
Let and be defined as Definition A.10.
and
is incoherent with parameter .
holds with probability at least .
From Lemma C.1, we see that satisfy that
Appendix D Main Induction Hypothesis
In this section, we provide our main induction hypothesis: we inductively bound and the incoherence of . We start by presenting our formal algorithm.
Let be defined as Definition 3.5. Define . For all , we have the following results.
Part 1. If is incoherent and , then we have
Part 2. If is incoherent and , then we have
Part 3. If is incoherent and , then we have
Part 4. If is incoherent and , then we have
The above results hold with high probability.
Proof of Part 1. To prove this part, we need to use Lemma F.1, and Lemma F.3. To use Lemma F.1, we need the condition that is incoherent. To use Lemma F.3, we need two conditions: one is that be a -incoherent and the other is .
where the first step follows from the definition of distance (Definition 3.1), the second step follows from the definition of (, see Definition E.6), the third step follows from simple algebra, the fourth step follows from , the fifth step follows from Fact A.2, the sixth step follows from , and the seventh step follows from (Fact A.1).
where the second step follows from Lemma F.1, the third step follows from Lemma F.3, the last step follows from Definition A.11.
Proof of Part 2. In this proof, we need to use Lemma F.3, Lemma F.4, Lemma F.5. To use Lemma F.3, we need the condition that is incoherent and the other is . To use Lemma F.4, we need the condition that is incoherent. To use Lemma F.5, we need the condition that is incoherent.
For each , according to Definition E.6, we have
where it follows from Part 2 of Lemma F.3.
where the first step follows from , the second step follows from , the third step follows from Lemma F.4, the fourth step follows from , the fifth step follows from Lemma F.5 (for ), and the last step follows from simple algebra.
Combining Eq. (41), Eq. (42), Eq. (43), and Eq. (D), we have
Proof of Part 3 and Part 4. By a symmetric argument, we can also prove
We are now ready to prove the main theorem of this paper (Theorem 4.2)
For the correctness part, it follows from combining the Init condition (Lemma C.6), perturbation lemma (Lemma G.5) Induction lemmas (Lemma D.1).
For the running time part, it follows from using Lemma B.7 for times. For each iteration, we use twice, and there are iterations. ∎
Appendix E General Case Update Rules and Notations
In this section, we review various properties of rank- updates due to our algorithm. In Section E.1, we provide the formal definition of the updated rule. In Section E.2, we give the definition of the error matrix and analyze its properties. In Section E.3, we focus on providing the definition for the update rule for .
To begin with, we formally define the updated rule as follows.
We note that the update rule does not directly reflect our algorithm. Nevertheless, we start by analyzing this QR-based update and later connecting it to our algorithm.
E.2 Error Matrix
Next, we provide several definitions related to error matrix . For most of notations, we follow (Note that those definitions are implicitly presented at page 16 in ). Note that we use to denote the optimal low rank factor instead of to ease notations.
Let be diagonal block matrices (where each block has size ).
Let be block rescaled identity matrix (where each block has size ).
Without loss of generality, we can assume that is an integer. Then, can also be viewed as a diagonal block matrix with size .
where the first step follows from all matrices are diagonal block matrix, the second step follows from is an identiy matrix with resacling (), and the third step follows from all matrices ar diagonal block matrix.
where the first step follows from the definition of the second step follows from Claim E.4, the third step follows from that fact that is a diagonal matrix, the fourth step follows from , the fifth step follows from and canceling out, and the last step follows from the definition of . ∎
E.3 Update Rule for V𝑉V
Appendix F Technical Lemmas for Distance Shrinkage
In this section, we prove a collection of technical lemmas that will facilitate us to eventually conclude our induction.
In Section F.1, we bound by distance. In Section F.2, we bound by distance. In Section F.3, we upper bound . In Section F.4, we upper bound . In Section F.5, we upper bound .
In this section, we upper bound by distance between and . We generally follow the approach of .
Let be the error matrix defined by Definition E.6. Let be a -incoherent matrix and . Let be a -incoherent matrix (see Definition 3.5). Let and be defined as Definition A.10. Let be defined as Definition A.11.
holds with probability least .
where the first step follows from (Fact A.1), the second step follows from Claim E.5, the third step follows from , the fourth step follows from Lemma F.4, and the fifth step follows from Lemma F.2. ∎
Now, we upper bound . We follow similar ideas in literature .
holds with probability at least .
where the first step follows from being defined as the -th row of matrices and the second step follows from the definition of (see Definition E.3).
Also, using Eq. (46), we have :
Hence, we get with probability at least :
where the first step follows from being defined as the -th row of matrices and the second step follows from Lemma A.13.
where the first step follows from Eq. (45), the second step follows from , the third step follows from simple algebra, the fourth step follows from is incoherent, the fifth step follows from spectral norm definition, the last step follows from the definition of distance.
where the last step follows from .
where the first step follows from Fact A.1 and the second step follows from Eq. (F.2). ∎
𝑡11\|\Sigma^{*}R_{t+1}^{-1}\| by Condition Number To bound , we show that . Similarly, we also bound by showing .
Let be the lower-triangular matrix obtained by QR decomposition of (see Definition E.6). Let be a -incoherent and . Let be a -incoherent matrix (see Definition 3.5). Let be defined as Definition A.10. Let be defined as Definition A.11.
where the first step follows from , the second step follows from , and the third step follows from .
where the first step follows from Part 2 of Fact A.2 that is a matrix of SVD that has an orthonormal basis, the second step follows from definition of , the third step follows from Fact A.1, the fourth step follows from , and the last step follows from (see Lemma A.8).
where the first step follows from the definition of , the second step follows from Part 2 of Fact A.2, the third step follows from Definition E.6, the fourth step follows from triangle inequality, the fifth step follows from the definition of , the sixth step follows from Eq. (F.3), the seventh step follows from the definition of (see Definition 3.1), and the last step follows from Lemma F.1.
For convenient, we define .
We define .
Then we now and .
We analyze , for all , and and show both of them are bounded by 2. We prove a variation of Lemma C.6 in .
Let be incoherent. Then, we have:
both events succeed with probability at least
where the first step follows from is a diagonal block matrix, and the second step follows from the definition of for a symmetric matrix.
Results would follow using the bound on , that we show below
where the first step follows from the definition of , the second step follows from the definition of , the third step follows from the definition of inner product, and the last step follows from definition of .
where the first step follows from the definition of variance, the second step follows from Eq. (F.4), and the third step follows from simple algebra.
Hence, using Bernstein’s inequality (Lemma A.17):
where the first step follows from the definition of , the second step follows from the the notation being defined in Definition A.12, and the third step follows from definition of which is if and if .
where the first step follows from the definition of variance, the second step follows from Eq. (F.5), and the last step follows from simple algebra.
Lemma now follows from using Bernstein’s inequality. ∎
Appendix G A Perturbation Theory for Distances and Incoherence
In this section, we present one of the main technical contributions of this paper — a perturbation theory for distances and matrix incoherence. Our main technology is a reduction from incoherence to leverage score, then utilize different parametrizations of leverage score to obtain a bound on incoherence.
In Section G.1, show to bound distance by the spectral norm. In Section G.2, we present the perturbation related lemma that is from to . In Section G.3, we assert a toll from the previous work: leverage score changes under row perturbation. In Section G.4, we elucidate the perturbation related lemma that is from to .
The following lemma establishes a relationship between and the spectral norm.
where the first step follows from the definition of , the second step follows from , the third step follows from simple algebra, the fourth step follows from , the fifth step follows from , the sixth step follows from , and the last step follows from canceling the term .
where the first step follows from (see Lemma A.8) and the second steep follows from Eq. (G.1), the third step follows from , and the fourth step follows from simple algebra.
Note that , thus, we complete the proof. ∎
G.2 From Right Factor to Left Factor
Given an orthonormal basis and a target matrix , suppose for some matrix . We prove some relations on singular values of and given some conditions on .
where the first step follows from the definition of distance and the second step follows from the Lemma statement.
Using (Lemma A.8), we have
where the first step follows from Eq. (G.2), the second step follows from Eq. (60), and the third step follows from simple algebra.
G.3 Leverage Score Change Under Row Perturbations
We analyze the change to leverage scores when the rows are perturbed in a structured manner.
where the first step follows from the triangle inequality, the second step follows from the definition of , the third step follows from the assumption of this lemma: , and the last step follows from .
where the first step follows from simple algebra, the second step follows from , the third step follows from Eq. (63).
where the first step follows from Lemma A.14, the second step follows from Eq. (65) and Eq. (G.3), the third step follows from Eq. (G.3), the fourth step follows from Eq. (63), and the last step follows from simple algebra.
where the first step follows from simple algebra, the second step follows from , the third step follows from Eq. (G.3), and the last step follows from Eq. (G.3). ∎
G.4 From Approximate to Exact Distance and Incoherence
Given a matrix that is incoherent, we show that if a matrix is close to enough in spectral norm, then it also preserves the distance and incoherence of .
where denote the -th row of and respectively.
Let us form the projection matrix , note that the quantity on the RHS is the -th diagonal of the projection matrix.
where the first step follows from the Lemma statement: , the second step follows from simple algebra, the third step follows from simple algebra.
The -th diagonal of is then , as desired. ∎
is incoherent, i.e., .
Let
Proof of Part 1. From lemma assumptions, we have
Proof of Part 2. By Lemma G.3 and Lemma G.4, we know that for any