Robust Sub-Gaussian Principal Component Analysis and Width-Independent Schatten Packing
Arun Jambulapati, Jerry Li, Kevin Tian
Introduction
We study two natural, but seemingly unrelated, problems in high dimensional robust statistics and continuous optimization respectively. As we will see, these problems have an intimate connection.
Problem 1: Robust sub-Gaussian principal component analysis. We consider the following statistical task, which we call robust sub-Gaussian principal component analysis (PCA). Given samples from sub-Gaussian See Section 2 for a formal definition. distribution with covariance , an fraction of which are arbitrarily corrupted, the task asks to output unit vector with Throughout we use to denote the Schatten -norm (cf. Section 2 for more details). for tolerance . Ergo, the goal is to robustly return a -approximate top eigenvector of the covariance of sub-Gaussian . This is the natural extension of PCA to the robust statistics setting.
There has been a flurry of recent work on efficient algorithms for robust statistical tasks, e.g. covariance estimation and PCA. From an information-theoretic perspective, sub-Gaussian concentration suffices for robust covariance estimation. Nonetheless, to date all polynomial-time algorithms achieving nontrivial guarantees on covariance estimation of a sub-Gaussian distribution (including PCA specifically) in the presence of adversarial noise require additional algebraic structure. For instance, sum-of-squares certifiably bounded moments have been leveraged in polynomial time covariance estimation [HL18, KSS18]; however, this is a stronger assumption than sub-Gaussianity.
In many applications (see discussion in [DKK+17]), the end goal of covariance estimation is PCA. Thus, a natural question which relaxes robust covariance estimation is: can we robustly estimate the top eigenvector of the covariance , assuming only sub-Gaussian concentration? Our work answers this question affirmatively via two incomparable algorithms. The first achieves in polynomial time; the second achieves in nearly-linear time under a mild gap assumption on . Moreover, both methods have nearly-optimal sample complexity.
Problem 2: Width-independent Schatten packing. We consider a natural generalization of packing semidefinite programs (SDPs) which we call Schatten packing. Given symmetric positive semidefinite and parameter , a Schatten packing SDP asks to solve the optimization problem
Here, is the Schatten- norm of matrix and is the probability simplex (see Section 2). When , (1) is the well-studied (standard) packing SDP objective [JY11, ALO16, PTZ16], which asks to find the most spectrally bounded convex combination of packing matrices. For smaller , the objective encourages combinations more (spectrally) uniformly distributed over directions.
Learning with adversarial outliers. The study of estimators robust to a small fraction of adversarial outliers dates back to foundational work, e.g. [Hub64, Tuk75]. Following more recent work [LRV16, DKK+19], there has been significant interest in efficient, robust algorithms for statistical tasks in high-dimensional settings. We focus on methods robustly estimating covariance properties here, and defer a thorough discussion of the (extensive) robust statistics literature to [Ste18, Li18, DK19].
There has been quite a bit of work in understanding and giving guarantees for robust covariance estimation where the uncorrupted distribution is exactly Gaussian [DKK+17, DKK+18, DKK+19, CDGW19]. These algorithms strongly use relationships between higher-order moments of Gaussian distributions via Isserlis’ theorem. Departing from the Gaussian setting, work of [LRV16] showed that if the distribution is an affine transformation of a 4-wise independent distribution, robust covariance estimation is possible. This was extended by [KSS18], which also assumed nontrivial structure in the moments of the distribution, namely that sub-Gaussianity was certifiable via the sum-of-squares proof system. To the best of our knowledge it has remained open to give nontrivial guarantees for robust estimation of any covariance properties under minimal assumptions, i.e. sub-Gaussian concentration.
All aforementioned algorithms also yield guarantees for robust PCA, by applying a top eigenvector method to the learned covariance. However, performing robust PCA via the intermediate covariance estimation step is lossy, both statistically and computationally. From a statistical perspective, samples are necessary to learn the covariance of a -dimensional Gaussian in Frobenius norm (and for known efficient algorithms for spectral norm error [DKS17]); in contrast, samples suffice for (non-robust) PCA. Computationally, even when the underlying distrubution is exactly Gaussian, the best-known covariance estimation algorithms run in time ; algorithms working in more general settings based on the sum-of-squares approach require much more time. In contrast, the power method for PCA in a matrix takes time We say if for some constant .. Motivated by this, our work initiates the direct study of robust PCA, which is often independently interesting in applications.
We remark there is another problem termed “robust PCA” in the literature, e.g. [CLMW11], under a different generative model. We defer a detailed discussion to [DKK+17], which experimentally shows that algorithms from that line of work do not transfer well to our corruption model.
Width-independent iterative methods. Semidefinite programming (SDP) and its linear programming specialization are fundamental computational tasks, with myriad applications in learning, operations research, and computer science. Though general-purpose polynomial time algorithms exist for SDPs ([NN94]), in practical settings in high dimensions, approximations depending linearly on input size and polynomially on error are sometimes desirable. To this end, approximation algorithms based on entropic mirror descent have been intensely studied [WK06, AK16, GHM15, AL17, CDST19], obtaining additive approximations to the objective with runtimes depending polynomially on , where is the “width”, the largest spectral norm of a constraint.
2 Our results
Robust sub-Gaussian principal component analysis. We give two algorithms for robust sub-Gaussian PCA We follow the distribution and corruption model described in Assumption 1.. Both are near-sample optimal, polynomial-time, and assume only sub-Gaussianity. The first is via a simple filtering approach, as summarized here (and developed in Section 3).
Under Assumption 1, let , and . Algorithm 6 runs in time , and outputs with , for a fixed multiple of parameter in Assumption 1, with probability at least .
Our second algorithm is more efficient under mild conditions, but yields a worse approximation for . Specifically, if there are few eigenvalues of larger than , our algorithm runs in nearly-linear time. Note that if there are many eigenvalues above this threshold, then the PCA problem itself is not very well-posed; our algorithm is very efficient in the interesting setting where the approximate top eigenvector is identifiable. We state our main algorithmic guarantee here, and defer details to Section 5.
We remark that samples are necessary for a -approximation to the top eigenvector of via uncorrupted samples from , so our first method is sample-optimal, as is our second up to a factor.
Width-independent Schatten packing. Our second method crucially requires an efficient solver for Schatten packing SDPs. We demonstrate that Schatten packing, i.e. (1) for arbitrary , admits width-independent solvers. We state an informal guarantee, and defer details to Section 4.
Preliminaries
For , the satisfying is , so has spectrum .
Multivariate has sub-Gaussian proxy if its restriction to any unit is -sub-Gaussian, i.e.
We consider the following standard model for gross corruption with respect to distribution a .
As we only estimate covariance properties, the assumption that is mean-zero only loses constants in problem parameters, by pairing samples and subtracting them (cf. [DKK+19], Section 4.5.1).
Robust sub-Gaussian PCA via filtering
In this section, we sketch the proof of Theorem 1, which gives guarantees on our filtering algorithm for robust sub-Gaussian PCA. This algorithm obtains stronger statistical guarantees than Theorem 2, at the cost of super-linear runtime; the algorithm is given as Algorithm 6. Our analysis stems largely from concentration facts about sub-Gaussian distributions, as well as the following (folklore) fact regarding estimation of variance along any particular direction.
In other words, we show that using corrupted samples, we can efficiently estimate a -multiplicative approximation of the variance of in any unit direction Corollary 5 gives a slightly stronger guarantee that reusing samples does not break dependencies of .. This proof is deferred to Appendix B for completeness. Algorithm 6 combines this key insight with a soft filtering approach, suggested by the following known structural fact found in previous work (e.g. Lemma A.1 of [DHL19], see also [SCV17, Ste18]).
Let , be sets of nonnegative reals, and . Define , for all . Consider any disjoint partition , of with Then, .
Our Algorithm 6, , takes as input a set of corrupted samples following Assumption 1 and the corruption parameter . At a high level, it initializes a uniform weight vector , and iteratively operates as follows (we denote by the empirical covariance ).
approximate top eigenvector of via power iteration.
Compute .
If , then terminate and return .
Sort indices by , with smallest.
The analysis of Algorithm 6 then proceeds in two stages.
As Lemma 2 then applies, the procedure always removes more mass from bad points than good, and thus can only remove at most mass total by the corruption model. Thus, the weights are always roughly uniform (in ), which by standard concentration facts (see Appendix A) imply the quality of the approximate top eigenvector is good. Moreover, the iteration count is bounded by roughly because whenever the algorithm does not terminate, enough mass is removed from large spectral directions. Combining with the termination criteria imply that when a vector is returned, it is a close approximation to the top direction of . Details can be found as Lemma 15 and in the proof of Theorem 1.
Schatten packing
The following result is shown in [MRWZ16].
(Algorithm 1) solves Problem 1 in time.
Oour interpretation of the analysis of [MRWZ16], combines two ingredients: a potential argument and mirror descent, which yields a dual feasible point if did not grow sufficiently.
Potential argument. The potential used by [MRWZ16] is , well-known to be a -additive approximation of . As soon as or reaches the scale , by nonnegativity this becomes a multiplicative guarantee, motivating the setting of threshold . To prove the potential is monotone, [MRWZ16] uses step size and a Taylor approximation; combining with the termination condition yields the desired claim.
Mirror descent. To certify that grows sufficiently (e.g. the method terminates in few iterations, else dual feasibility holds), we interpret the step as approximate entropic mirror descent. Specifically, we track the quantity , and show that if has not grown sufficiently, then it must be bounded for every , certifying dual feasibility. Formally, for any sequence and , we show
The last inequality followed by being an upwards truncation. If is bounded (else, we have primal feasibility), we show the entire above expression is bounded for any . Thus, by setting and choosing to be each coordinate indicator, it follows that the average of all is coordinatewise at least , and solves Problem 1 as a dual solution.
In all iterations of Algorithm 2, defining , .
We now prove our main result, which leverages the potential bound following the framework of Section 4.1. In the proof, we assume that entries of are bounded by ; this does not incur more loss than a constant multiple of in the guarantees, and a proof can be found as Lemma 16.
Algorithm 2 runs in time . Further, its output solves Problem 2.
The runtime follows from Line 7 (each iteration cost is dominated by multiplication through ), so we prove correctness. Define potential as in Lemma 3, and note that as ,
The second inequality followed from our assumption on entry sizes (Lemma 16). If Algorithm 2 breaks out of the while loop of Line 4, we have by Lemma 3 that for returned on Line 11,
Thus, primal feasibility is always correct. We now prove correctness of dual feasibility. First, let be the Kullback-Leibler divergence from to , for , . Define the normalized points in each iteration. Expanding definitions,
The only inequality used the bounds, for ,
Telescoping (4) over all iterations, and using for all since is uniform, we have that whenever Line 4 is not satisfied before the check on Line 7 (i.e. ),
The last inequality used by assumption, and . Next, since each entrywise, defining ,
Combining (5) and (6), and rearranging, yields by definition of ,
3 Schatten-norm packing semidefinite programs
We generalize Algorithm 2 to solve Schatten packing semidefinite programs, which we now define.
We assume that is an odd integer for simplicity (sufficient for our applications), and leave for interesting future work the cases when is even or noninteger. The potential used in the analysis and an overall guarantee are stated here, and deferred to Appendix C. The proofs are simple modifications of Lemma 3 and Theorem 4 using trace inequalities (similar to those in [JLL+20]) in place of scalar inequalities, as well as efficient approximation of quantities in Line 5 via the standard technique of Johnson-Lindestrauss projections.
In all iterations of Algorithm 3, defining , .
Let be odd. Algorithm 3 runs in iterations, and its output solves Problem 3. Each iteration is implementable in , where nnz is the number of nonzero entries amongst all , losing in the quality of Problem 3 with probability .
We remark that the framework outlined in Section 4.1 is flexible enough to handle mixed-norm packing problems. Specifically, developments in Section 5 require the following guarantee.
for . Given estimate of OPT exponentially bounded in , there is a procedure calling Algorithm 7 times giving with , . Algorithm 7 runs in iterations, each implementable in time .
Our method, found in Appendix C, approximately solves (7) by first applying a standard binary search to place on the right scale, for which it suffices to solve an approximate decision problem. Then, we apply a truncated mirror descent procedure on the potential , and prove correctness for solving the decision problem following the framework we outlined in Section 4.1.
Robust sub-Gaussian PCA in nearly-linear time
We give our nearly-linear time robust PCA method, leveraging developments of Section 4. Throughout, we will be operating under Assumption 1, for some corruption parameter with ; suffices. We now develop tools to prove Theorem 2.
Algorithm 4 uses three subroutines: our earlier method (Lemma 1), an application of our earlier Proposition 2 to approximate the solution to
and a method for computing approximate eigenvectors by [MM15] (discussed in Appendix D).
Here, is the largest eigenvalue of . The total time required by the method is .
Algorithm 4 is computationally bottlenecked by the application of Proposition 2 on Line 2 and the call to on Line 4, from which the runtime guarantee of Theorem 2 follows straightforwardly. To demonstrate correctness, we first certify the quality of the solution to (8).
The proof of this is similar to results in e.g. [DKK+19, Li18], and combines concentration guarantees with a union bound over all possible corruption sets . This implies the following immediately, upon applying the guarantees of Proposition 2.
Let be the output of the solver. Recall that . Additionally, define
Notice in particular that , and that all these matrices are PSD. We next prove the second, crucial fact, which says that is a good approximator to in Loewner ordering:
The proof combines the strategy in Lemma 5 with the guarantee of the SDP solver. Perhaps surprisingly, Corollary 1 and Lemma 6 are the only two properties about that our final analysis of Theorem 2 will need. In particular, we have the following key geometric proposition, which carefully combines trace inequalities to argue that the corrupted points cannot create too many new large eigendirections.
be sorted eigendecompositions of and , so , and . Let be as in Theorem 2, and assume . Then,
For concreteness, we will define the parameters
Suppose for contradiction that all for . By applying the guarantee of Corollary 1 and Fact 2, it follows that
Let be the largest index such that , and note that . We define
That is, is the restriction of to its top eigendirections. Then,
In the proof of Proposition 4, we used the following facts.
Let be symmetric matrices and a positive integer. Then we have
By the Courant-Fischer minimax characterization of eigenvalues,
The guarantees of Proposition 4 were geared towards exact eigenvectors of the matrix . We now modify the analysis to tolerate inexactness in the eigenvector computation, in line with the processing of Line 5 of our Algorithm 4. This yields our final claim in Theorem 2.
In the setting of Proposition 4, and letting satisfy (9), set for all
Then with probability at least ,
Assume all have for contradiction. We outline modifications to the proof of Proposition 4. Specifically, we redefine the matrix by
Because is a projection matrix, it is clear . Therefore, by combining the derivations (13) and (14), it remains true that
We now bound these two terms in an analogous way from Proposition 4, with negligible loss; combining these bounds will again yield a contradiction. First, we have the lower bound
Here, the last inequality applied the assumption (9) with respect to . Next, we upper bound
Finally, we prove Theorem 2 by combining the tools developed thus far.
Correctness of the algorithm is immediate from Corollary 2 and the guarantees of . Concretely, Corollary 2 guarantees that one of the vectors we produce will be a -approximate top eigenvector (say some index ), and will only lose a negligible fraction of this quality (see Lemma 1); the best returned eigenvector as measured by can only improve the guarantee. Finally, the failure probability follows by combining the guarantees of Lemmas 1, 5, and 6.
We now discuss runtime. The complexity of lines 2, 4, and 5, as guaranteed by Proposition 2, Proposition 3, and Lemma 1 are respectively (recalling )
Throughout we use that we can compute matrix-vector products in an arbitrary linear combination of the in time ; it is easy to check that in all runtime guarantees, nnz can be replaced by this computational cost. Combining these bounds yields the final conclusion. ∎
We thank Swati Padmanabhan and Aaron Sidford for helpful discussions.
References
Appendix A Concentration
We use the following concentration facts on sub-Gaussian distributions following from standard techniques, and give an application bounding Schatten-norm deviations.
Under Assumption 1, there are universal constants , such that
By observing (3), it is clear that the random vector for has covariance and sub-Gaussian proxy . For any fixed unit vector , by Lemma 1.12 of [RH17], the random variable is sub-exponential with parameter , so by Bernstein’s inequality (Theorem 1.13, [RH17]), defining for each ,
Next, by a standard application of the triangle inequality (see e.g. Exercise 4.3.3, [Ver16])
with probability at least for appropriate , . The conclusion follows since its statement is scale invariant, so it suffices to show as we have that
Let . Under Assumption 1, there are universal constants , with
Suppose the event in Lemma 9 does not hold, which happens with probability at least . Define for shorthand and let its spectral decomposition be . By the triangle inequality and Fact 2,
A.2 Concentration under weightings in 𝔖ϵn\mathfrak{S}_{\epsilon}^{n}
We consider concentration of the empirical covariance under weightings which are not far from uniform, in spectral and Schatten senses.
Under Assumption 1, let , , and for a sufficiently large constant. Then for a universal constant ,
Because the vertices of are uniform over sets with (see e.g. Section 4.1, [DKK+19]), by convexity of the Schatten- norm it suffices to prove
For any fixed , and recalling , we can decompose this sum as
By applying Corollary 3, it follows that by setting and our choice of that
Moreover, for any fixed , setting where is a sufficiently large constant, so that for sufficiently small , ,
Here, we used that . Finally, union bounding over all possible sets imply that with probability at least , the following events hold:
Combining these bounds in the context of (18) after applying the triangle inequality, we have with probability at least for all the desired conclusion,
Under Assumption 1, let for a sufficiently large constant. For universal and all , with probability at least ,
Therefore, again using the formula (18) and the triangle inequality yields the desired conclusion for all directions , which is equivalent to the spectral bound of the lemma statement. ∎
Appendix B Deferred proofs from Section 3
In this section, we prove Lemma 1, which allows us to robustly estimate the quadratic form of a vector in the covariance of a sub-Gaussian distribution from corrupted samples. Algorithm 5 is folklore, and intuitively very simple; it projects all samples onto , throws away the fraction of points with largest magnitude in this direction, and takes the mean of the remaining set.
We have by Hölder’s inequality that for any with ,
The second inequality is Lemma 1.10 [RH17]. Setting yields the result. ∎
The runtime claim is immediate; we now turn our attention to correctness. We follow notation of Assumption 1, and in a slight abuse of notation, also define for . First, for , then is sub-exponential with parameter at most (Lemma 1.12, [RH17]). By Bernstein’s inequality, we have that if , then for all ,
Using this in a standard Chernoff bound, we have that with probability ,
Define the interval and let be the set of points in that survive the truncation procedure, so that . Given event (24), for all , since there are at most points in outside , and . We decompose the deviation as follows:
Here we overloaded to mean that lies in the interval , and conditioned on lying entirely in . We bound each of these terms individually. First, for all , conditioning on (24) (i.e. all ), is an independent sample from . Thus, by (25) and Bernstein’s inequality,
with (conditional) probability at least . By a union bound, both events occur with probability at least ; condition on this for the remainder of the proof. Under this assumption, we control the other three terms of (26). Observe that , , and . Further, by definition of , every summand is at most . Thus,
Combining (27), (28), (29), and (30) in derivation (26) and dividing by yields the claim. ∎
Finally, we also give an alternative set of conditions under which we can certify correctness of . Specifically, this assumption will be useful in lifting indpendence assumptions between and our samples in repeated calls within Algorithm 6.
Under Assumption 1, let the following conditions hold for universal constant :
Note that (32) is a factor weaker in its guarantee than Corollary 4, and is over weights in a different set . Standard sub-Gaussian concentration (i.e. an unweighted variant of Corollary 4) and modifying the proof of Corollary 4 to take the constraint set and normalizing over vertex sets of size yield the following conclusion.
Let for a sufficiently large constant. Assumption 2 holds with probability at least .
We give a variant of Lemma 1 with slightly stronger guarantees for ; specifically, it holds for all simultaneously for a fixed set of samples satisfying Assumption 2.
Under Assumption 2, Algorithm 5 outputs with , for a fixed multiple of the parameter in Assumption 1, and runs in time .
We discuss how to modify the derivations from Lemma 1 appropriately in the absence of applications of Bernstein’s inequality. First, note that appropriately combining (31) and (32) in a derivation such as (18) yields the following bound (deterministically under Assumption 2):
Now, consider the decomposition (26). We claim first that similarly to (28), (29), (30) we can bound each summand in the latter three terms by ; to prove this, it suffices to show that at least one filtered attains this bound, as then by definition of the algorithm, each non-filtered will as well. Note that a fraction between and of points in is filtered (since there are only points from ). The assumption (32) then implies precisely the desired bound on some filtered by placing uniform mass on filtered points from , and applying pigeonhole. So, all non-filtered are bounded by , yielding analogous statements to (28), (29), (30).
Finally, an analogous derivation to (27) follows via an application of the bound (33), where we place uniform mass on the set and adjust constants appropriately, since the above argument shows that under the assumption (32), we have that at most indices have . ∎
B.2 Preliminaries
For convenience, we give the following preliminaries before embarking on our proof of Theorem 1 and giving guarantees on Algorithm 6. First, we state a set of assumptions which augments Assumption 2 with one additional condition, used in bounding the iteration count of our algorithm.
Under Assumption 1, let Assumption 2 hold, as well as the following additional condition for the same universal constant :
Standard sub-Gaussian concentration inequalities and a union bound, combined with our earlier claim Lemma 11, then yield the following guarantee.
Let for a sufficiently large constant. Assumption 3 holds with probability at least .
B.3 Analysis of 𝖯𝖢𝖠𝖥𝗂𝗅𝗍𝖾𝗋\mathsf{PCAFilter}
For this section, for any nonnegative weights , define . We now state our algorithm, . At all iterations , it maintains a current nonnegative weight vector (initialized to be the uniform distribution on ), preserving the following invariants for all :
We now state our method as Algorithm 6; note that the update to is of the form in Lemma 2.
Under Assumption 2, for any iteration of Algorithm 6, suppose (35) held for all iterations . Then, (35) holds at iteration .
On the other hand, by (33) we know that the total quadratic form over is bounded as
Here, we applied the observation that the normalized restricted to are in (e.g. using Lemma 14 inductively). However, since we did not terminate (Line 5), we must have by being a top eigenvector and Corollary 5 (we defer discussions of inexactness to Theorem 1) that
To obtain the last conclusion, we used (38). Finally, note that for all ,
Thus, the desired inequality (36) follows from combining the above derivations, e.g. using (37) and
Lemma 13 yields for all that by telescoping. Note that we can only remove at most mass from total, as . Denote for shorthand normalized weights . Then, the following is immediate by .
Under Assumption 2, in all iterations of Algorithm 6, .
Using Lemma 14, we show that the output has the desired quality of being a large eigenvector.
Under Assumption 2, let the output of Algorithm 6 be . Then for a universal constant , .
We assume for now that is an exact top eigenvector, and discuss inexactness while proving Theorem 1. By (33) and Lemma 14, as then the normalized restriction of to is in ,
We used the Courant-Fischer characterization of eigenvalues, and that is a top eigenvector of . Moreover, by termination conditions and Corollary 5 (correctness of ),
Combining these two bounds and rescaling yields the conclusion. ∎
Finally, we prove our main guarantee about Algorithm 6. See 1
First, we will operate under Assumption 3, which holds with probability at least . It is clear that the analyses of Lemma 13 and 15 hold with multiplicative approximations of top eigenvector computation, which the power method approximates with high probability. Thus, each iteration takes time , where we will union bound over the number of iterations. We now give an iteration bound: in any iteration where we do not terminate, Lemma 2 implies
Appendix C Deferred proofs from Section 4
Since our notion of approximation is multiplicative, we can assume without more than constant loss that has bounded entries. This observation is standard, and formalized in the following lemma.
Feasibility of Problem 2 is unaffected (up to constants in ) by removing columns of with entries larger than .
If for any entry, then , else is already larger than . Ignoring all such entries of and rescaling can only change the objective by a factor. ∎
As , entrywise. Via for , it follows that
By direct manipulation of the above quantity, and recalling we defined ,
Using , i.e. , we thus obtain
Cauchy-Schwarz yields that , . Substituting into the above,
Finally, to bound this latter quantity, since , we observe that for all either or , in which case
Thus, plugging this bound into (39) entrywise,
C.2 Proofs from Section 4.3
Our analysis of Algorithm 3 will use the following helper fact.
Feasibility of Problem 3 is unaffected (up to constants in ) by removing matrices with an eigenvalue larger than .
The proof is identical to Lemma 16; we also require the additional fact that the Schatten norm is monotone in the Loewner order, forcing the constraint . ∎
We remark that we can perform this preprocessing procedure via power iteration on each .
Drop and define . For simplicity, define the matrices
We recall the Lieb-Thirring inequality . Applying this, we have
As , we have . Applying the bounds for , where we use that commutes with all , it follows that
Definitions of , , , and preservation of positiveness under Schur complements imply
Thus, . Applying this and recalling ,
By , taking roots we thus have
Finally, the conclusion follows as in Lemma 3; by linearity of trace and ,
Here, we used the inequality for all nonzero ,
The proof is analogous to that of Theorem 4; we sketch the main differences here. By applying Lemma 17 and monotonicity of Schatten norms in the Loewner order, we again have , implying correctness whenever the algorithm terminates on Line 4. Correctness of dual certification again follows from lack of termination and the choice of , as well as setting to indicate each coordinate. Finally, the returned matrix in Line 8 is correct by convexity of the Schatten- norm, and the fact that all have unit Schatten- norm.
We now discuss issues regearding computing in Line 5 of the algorithm, the bottleneck step; these techniques are standard in the approximate SDP literature, and we defer a more formal discussion to e.g. [JLL+20]. First, note that each coordinate of requires us to compute
We estimate the two quantities in the above expression each to multiplicative error with high probability. Union bounding over iterations, and modifying Lemma 4 to use the potential , the analysis remains valid up to constants in with this multiplicative approximation quality. We now discuss our approximation strategies.
For shorthand, denote . To estimate the denominator of (40), it suffices to multiplicatively approximate within a factor, as raising to the power can only improve this. To do so, we use the well-known fact (e.g. [DG03]) that letting be a matrix with independent entries , for , with probability ,
We can simultaneously compute all such quantities by first applying matrix-vector multiplications through to each row of , and then computing all quadratic forms. In total, the computational cost per iteration of all approximations is as desired. ∎
C.3 Proof of Proposition 2
In this section, following our prior developments, we prove the following claim.
Given access to an oracle for the following approximate decision problem, we can implement an efficient binary search for estimating OPT. Specifically, letting the range of OPT be , we can subdivide the range into multiplicative intervals of range , and then compute a binary search using our decision oracle. This incurs a multiplicative overhead in the setting of Proposition 2 (see Appendix A, [JLL+20], for a more formal treatment).
C.3.2 Preliminaries
up to multiplicative tolerance on either side. Consider the potential function
It is clear that the first term of approximates the left hand side of (41) up to a additive factor, so if any of , , or reaches the scale and is bounded by , we can safely terminate. and conclude primal feasibility for Problem 4. Next, we compute
The following helper lemma will be useful in concluding dual infeasibility of Problem 4.
In the setting of Problem 4, suppose there exists with
From the definitions in (43), it is clear that , where , are the dual norms of , respectively. Moreover, by the definition of , we have for all ,
as desired (here, we used positivity of all relevant quantities). ∎
C.3.3 Potential monotonicity
We prove a monotonicity property regarding the potential in (42).
Denote for simplicity the threshold and the step vector . First, by prior calculations in Lemma 3 and Lemma 4, it follows that
Next, note that by entrywise and lack of termination (i.e. the threshold ),
Therefore, by for ,
Moreover, by applying Cauchy-Schwarz and the threshold once more,
Combining (44) and (45) (and applying similar reasoning to the term ), we conclude
Recall the inequality for nonnegative . Expanding the definition of and (cf. (42)), and plugging in the above bounds, we conclude that
As before, we show that this sum is entrywise nonpositive. For any with , we have
as desired, where we used that . This yields the conclusion . ∎
C.3.4 Algorithm and analysis
Finally, we state Algorithm 7 and prove Proposition 2.
Correctness of the reduction to deciding Problem 4 follows from the discussion in Section C.3.1. Moreover, by the given Algorithm 7, it is clear (following e.g. the preprocessing of Lemma 17) that throughout the algorithm, so whenever the algorithm terminates we have primal feasibility. It suffices to prove that whenever the problem admits with
then the algorithm terminates on Line 5 in iterations. Analogously to Theorem 4, we have
Next, since is an upwards truncation of , applying Lemma 18 implies that
The conclusion follows by the definition of , as desired. Finally, the iteration complexity follows analogously to the discussion in Theorem 5’s proof, where the only expensive cost is estimating coordinates of the component of every iteration. ∎
Finally, we remark that by opening up the dual certificates , of our mirror descent analysis, we can in fact implement a stronger version of the decision Problem 4 which returns a feasible dual certificate whenever the primal problem is infeasible. We omit this extension for brevity, as it is unnecessary for our applications, but it is analogous to the analysis of Theorem 5.
Appendix D Deferred proofs from Section 5
We claim that Algorithm 1 in [MM15] applied to the matrix with a careful choice of exponent in their Algorithm 1 yields this guarantee. Specifically, we choose , both of which satisfy the criteria in their main theorem, such that the iterates produced by simultaneous power iteration with exponent and with exponent are identical; it suffices to choose a multiple of . Thus, we can also apply their guarantees to and apply a union bound. Notice that their Algorithm 1 also contains some postprocessing to ensure that they obtain singular values in the right space, which is unnecessary for us, as our matrices are Hermitian. ∎
D.2 Proof of Lemma 5
D.3 Proof of Lemma 6
We follow the notation of (10). First, by the guarantees of Corollary 1,
Therefore, again applying Corollary 1, for all ,
We conclude that the set of weights belong to . By applying Corollary 4 to these weights and adjusting the definition of by a constant, we conclude with probability at least