The Fast Cauchy Transform and Faster Robust Linear Regression
Kenneth L. Clarkson, Petros Drineas, Malik Magdon-Ismail, Michael W. Mahoney, Xiangrui Meng, David P. Woodruff
Introduction
Preliminaries
The following two Bernstein-type tail inequalities are useful because they give tail bounds without reference to the number of i.i.d. trials. The first bound is due to Maurer , and the second is an immediate application of the first.
Let be independent random variables with , and define . Then, for any ,
Let be i.i.d. Bernoulli random variables with probability , and let , where , with and . Then, for any ,
The proof is a straightforward application of Lemma 1 to . ∎
The Cauchy distribution, having density , is the unique -stable distribution. If are independent Cauchys, then is distributed as a Cauchy scaled by . The Cauchy distribution will factor heavily in our discussion, and bounds for sums of Cauchy random variables will be used throughout. We note that the Cauchy distribution has undefined expectation and infinite variance.
The following upper and lower tail inequalities for sums of Cauchy random variables are proved in Appendix A. The proof of Lemma 3 is similar to an argument of Indyk , though in that paper the Cauchy random variables are independent. As in that paper, our argument follows by a Markov bound after conditioning on the magnitudes of the Cauchy random variable summands not being too large, so that their conditional expectations are defined. However, in this paper, the Cauchy random variables are dependent, and so after conditioning on a global event, the expectations of the magnitudes need not be the same as after this conditioning in the independent case.
Lemma 4 is a simple application of Lemma 1, while Lemma 5 was shown in ; we include the proofs for completeness.
For , let be (not necessarily independent) Cauchy random variables, and with . Let . Then, for any ,
Remark. The bound has only logarithmic dependence on the number of Cauchy random variables and does not rely on any independence assumption among the random variables. Even if the Cauchys are independent, one cannot substantially improve on this bound due to the nature of the Cauchy distribution. This is because, for independent Cauchys, , and the latter sum is itself distributed as a Cauchy scaled by . Hence for independent Cauchys, .
For , let be independent Cauchy random variables, and with and . Let . Then, for any ,
where
Main Technical Result: the Fast Cauchy Transform
This FCT construction first preprocesses by a deterministic low-coherence “spreading matrix,” then rescales by Cauchy random variables, and finally samples linear combinations of the rows. Let be a parameter governing the failure probability of our algorithm. Then, we construct as
has each column chosen independently and uniformly from the standard basis vectors for ; we will set the parameter , where controls the probability that our algorithms fail and is a suitably large constant;
is a diagonal matrix with diagonal entries chosen independently from a Cauchy distribution; and
(For completeness, we remind the reader that the (non-normalized) matrix of the Hadamard transform may be defined recursively as follows:
There is a distribution (given by the above construction) over matrices , with , such that for an arbitrary (but fixed) , and for all , the inequalities
Further, for any , the product can be computed in time.
Setting to a small constant, since and , it follows that in the above theorem.
The existence of such a satisfying bounds of the form (2) was established by Sohler and Woodruff . Here, our contribution is to show that can be factored into structured matrices so that the product can be computed in time. We also remark that, in additional theoretical bounds provided by the FJLT, high-quality numerical implementations of variants of the Hadamard transform exist, which is an additional plus for our empirical evaluations of Theorem 1 and Theorem 2.
Our proof of this theorem uses a tail bound for in terms of and , where is any positive vector in , and is the matrix used in our FCT construction. where are anti-correlated random variables. To get concentration, we independently bounded in our proof which required to obtain the high probability result; this resulted in the bound .
2 FCT2 Construction: via a Fast Johnson-Lindenstrauss Transform
This FCT construction first preprocesses by a FJLT and then rescales by Cauchy random variables. Recall that is a parameter governing the failure probability of our algorithm; and let be a generic arbitrarily small positive constant (whose value may change from one formula to another). Let , , and , where the parameters are appropriately large constants. Then, we construct as
is a matrix of independent Cauchy random variables; and
There is a distribution (given by the above construction) over matrices , with , such that for arbitrary (but fixed) , and for all , the inequalities
hold with probability , where . Further, for any , the product can be computed in time.
Remark. For , FCT2 gives a better dependence of the distortion on , but more generally FCT2 has a dependence on . This dependence arises because the random FJLT matrix does not give a deterministic guarantee for spreading out a vector whereas the low coherence matrix used in FCT1 does give a deterministic guarantee. This means that in using the union bound, we need to overcome a factor of .
Remark. The requirement is set by the restriction in Lemma 9 in the proof of Theorem 2. In the bound of Theorem 2, , where arises from Theorem 12, which originally appeared in . If a stronger version of Lemma 9 can be proved that relaxes the restriction , then correspondingly the bound of Theorem 2 will improve.
A basis for the range of is -conditioned if and for all , . We will say that is well-conditioned if and are low-degree polynomials in , independent of .
Given an matrix , let be any projection matrix such that for any ,
For example, it could be constructed with either of the FCT constructions described in Section 3, or with the “slow” Cauchy Transform of , or via some other means. After computing the matrix , the FastL1Basis algorithm of Figure 1 consists of the following steps: construct and an such that , where has orthonormal columns (for example using a QR-factorization of ); and then return .
The next theorem and its corollary are our main results for the FastL1Basis algorithm; and this theorem follows by combining our Theorem 2 with Theorems 9 and 10 of . The proof of this theorem may be found in Appendix D.
For any , the basis constructed by FastL1Basis of Figure 1 using any satisfying (3) is a -conditioned basis for the range of .
If is obtained from the FCT2 construction of Theorem 2, then the resulting is an -conditioned basis for , with and , with probability . The time to compute the change of basis matrix is , assuming and is a fixed constant.
Remark. Our constructions that result in satisfying (3) do not require that ; they only require that have rank , and so can be applied to any having rank . In this case, a small modification is needed in the construction of , because , and so we need to use instead of . The running time will involve terms with . This can be improved by processing quickly into a smaller matrix by sampling columns so that the range is preserved (as in ), which we do not discuss further.
and an achieving this minimum. We start with our main algorithm and theorem for this problem; and we then describe how a somewhat more sophisticated version of the algorithm yields improved running time bounds.
Prior work has shown that there is a diagonal sampling matrix with a small number of nonzero entries so that satisfies
The next theorem summarizes our main quality-of-approximation results for the FastCauchyRegression algorithm of Figure 2. It improves the algorithm of , which in turn improved the result in . (Technically, the running time of is , where is any constant larger than the exponent for matrix multiplication; for practical purposes, we can set .) Our improved running time comes from using the FCT and a simple row-norm estimator for the row-norms of a well-conditioned basis. The proof of this theorem may be found in Appendix E.
Given are , , and . FastCauchyRegression constructs a coreset specified by the diagonal sampling matrix and a solution vector that minimizes the weighted regression objective . The solution satisfies, with probability at least ( is a constant),
Further, with probability , the entire algorithm to construct runs in time
Given are , , and . OptimizedFastCauchyRegression constructs a coreset specified by the diagonal sampling matrix and a solution vector that minimizes the weighted regression objective . The solution satisfies, with probability at least ,
Further, with probability , the entire algorithm to construct , runs in time
Note that our algorithms and results also extend to multiple regression with , a fact that will be exploited in the next section.
A detailed inspection of the proof of Theorem 4 in Section 4.2 (see Appendix E for the proof) reveals that nowhere is it necessary that be a vector, i.e., the whole proof generalizes to a matrix . In particular, the inequalities in (9) continue to hold, since if they hold for every vector , then it must hold for a matrix because . Similarly, if Lemma 13 continues to hold for vectors then it will imply the desired result for matrices, and so the only change in all the algorithms and results is that the short dimension of changes from to . Thus, by shrinking by an additional factor of , and taking a union bound we get a relative error approximation for each individual regression. We refer to this modified algorithm, where a matrix is input and the optimization problem in the last step is modified appropriately, as FastCauchyRegression, overloading notation in the obvious way. This discussion is summarized in the following theorem.
Given , , a matrix and , FastCauchyRegression constructs a coreset specified by the diagonal sampling matrix and a solution that minimizes the weighted multiple regression objective . The solution satisfies, with probability at least ,
Further, with probability , the entire algorithm to construct , runs in time
First, we can save an extra factor of in in the above theorem if all we want is a relative error approximation to the entire multiple regression and we do not need relative error approximations to each individual regression.
where the constraint set is . Since the constraint set effectively places an independent constraint on each column of , after some elementary manipulation, it is easy to see that this regression is equivalent to the individual regressions to obtain . Indeed, for an optimal solution , we can set .
where (a) is from the -optimality of the constrained multiple regression as analyzed in Appendix E and (b) is because attained minimum error among all . This discussion is summarized in the following theorem.
For simplicity, we will use , , and when the underlying matrix is clear.
The following lemma characterizes the relationship between these two quantities.
Given an matrix and , we always have
Thus, . ∎
Although it is easier to describe sampling algorithms in terms of , after we show the equivalence between and , it will be easier for us to discuss conditioning algorithms in terms of , which naturally connects to ellipsoidal rounding algorithms.
Therefore, we have . So a -rounding of leads to a -conditioning of .
2 Fast Ellipsoidal Rounding
Applying Theorem 8 to the convex set , with the separation oracle described via a subgradient of and the initial rounding provided by the “” matrix from the QR decomposition of , we improve the running time of the algorithm used by Clarkson and by Dasgupta et al. from to while maintaining an -conditioning. The proof of this theorem may be found in Appendix G.2.
When , and hence by Lemma 6. Note that, even for the case when , we have , which is slightly better than FCT2 (see Corollary 1). However, we have to solve a rounding problem of size in the step 2 of FastLpBasis, which requires storage and work depending on .
Numerical Implementation and Empirical Evaluation
, the leading submatrix of the SNP matrix used by Paschou et al. . The SNP matrix is of size , from the Human Genome Diversity Panel and the HapMap Phase 3 dataset. See for more descriptions of the data.
, the leading submatrix of the TinyImages matrix created by Torralba et al. . The original images are in RGB format. We convert them to grayscale intensity images, resulting a matrix of size .
To implement FCT1 and FCT2 for our empirical evaluations, we have to fix several parameters in Theorems 2 and 1, finding a compromise between theory and practice. We choose except for GT. We choose and for FCT1, and for FCT2. Although those settings don’t follow Theorems 2 and 1 very closely, they seem to be good for practical use. Since all the transforms are randomized algorithms that may fail with certain probabilities, for each test matrix and each transform, we take independent runs and show the first and the third quartiles of in Tables 2 and 3.
The true signal is a standard Gaussian vector.
Each row of the design matrix is a canonical vector, which means that we only estimate a single entry of in each measurement. The number of measurements on the -th entry of is twice as large as that on the -th entry, . We have billion measurements on the first entry while only million measurements on the last. Imbalanced measurements apparently create difficulties for sampling-based algorithms.
Since the problem is separable, we know that an optimal solution is simply given by the median of responses corresponding to each entry.
We first check the overall performance of these sampling algorithms, measured by relative errors in -, -, and -norms. The results are shown in Table 4.
Since the algorithms are all randomized, we show the first and the third quartiles of the relative errors in independent runs. We see that CT clearly performs the best, followed by GT. UNIF works but it is about a magnitude worse than CT. NOCD is close to UNIF at the first quartile, but makes very large errors at the third. Without conditioning, NOCD is more likely to sample outliers because the response from a corrupted measurement is much larger than that from a normal measurement. However, those corrupted measurements contain no information about , which leads to NOCD’s poor performance. UNIF treats all the measurements the same, but the measurements are imbalanced. Although we sample measurements, the expected number of measurements on the last entry is only , which downgrades UNIF’s overall performance.
Conclusion
References
Appendix A Proofs of Technical Cauchy Lemmas
The proof uses similar techniques to the bounds due to Indyk for sums of independent clipped half-Cauchy random variables. Fix (we will choose later) and define the events
and . Note that . Using the pdf of a Cauchy and because , we have that:
By a union bound, . Further, , hence . We now bound \hbox{\bf{E}}\left[|C_{i}|\ \bigl{|}\ F\right]. First, observe that
Next, since , we have that
Finally, by using the pdf of a Cauchy, \hbox{\bf{E}}\left[|C_{i}|\bigl{|}F_{i}\right]={{1\over\pi}\log(1+M^{2})}/{\hbox{\bf{Pr}}[F_{i}]}, and so
By Markov’s inequality and because , we have:
A.2 Proof of Lemma 4 (Cauchy Lower Tail Inequality)
To bound the lower tail, we will use Lemma 1. By homogeneity, it suffices to prove the result for . Let . Clearly and so defining , we have that and . Thus, we have that
where the last step holds by Lemma 1 for . Using the distribution of the half-Cauchy, one can verify using standard techniques that by choosing , and , so and . It follows that and the result follows.
First, observe that , and since , . Next, observe that
because when , that row must be sampled, and so does not contribute to the deviation. So, we only need to analyze the RHS of the above equation. From now on, we only consider those with , in which case , where . Let be the (positive) random variable ; either or
where we defined . We can also obtain a bound for :
where, in the last inequality, we used the upper bound for and we further upper bounded by summing over all . Let with ; the standard Bernstein bound states that
Plugging in our bounds for and , we deduce that
The lemma follows after some simple algebraic manipulations.
Appendix B Proof of Theorem 1 (Fast Cauchy Transform (FCT1))
Before presenting the proof, we describe the main idea. It follows a similar line of reasoning to , and it uses an “uncertainty principle” (which we state as Lemma 7 below).
The uncertainty principle we prove follows from the fact that the concatenation of the Hadamard matrix with the identity matrix is a dictionary of low coherence. For background, and similar arguments to those we use in Lemma 7 below, see Section 4 of . In particular, see Claim 4.1 and Lemma 4.2 of that section.
To prove the upper bound, we use the existence of a -conditioned basis and apply to this basis to show that cannot expand too much, which in turn means that cannot expand too much (for any ). To prove the lower bound, we show that the inequality holds with exponentially high probability, for a particular ; and we then use a suitable -net to obtain the result for all .
We now proceed with the proof of Theorem 1. We will first prove an upper bound (Proposition 1) and then a lower bound (Proposition 2); the theorem follows by combining Propositions 1 and 2.
With probability at least , for all , , where .
Let be a -conditioned basis (see Definition 2 below) for the column space of , which implies that for some we can write . Since if and only if , it suffices to prove the proposition for . By construction of , for any , , and so
Thus it is enough to show that . We have
Since , it follows that
Applying this to for yields
since because is -conditioned.
The entry of is which is a Cauchy scaled by . So,
Hence, we can apply Lemma 3 with and to obtain
Setting the RHS to , it suffices that . Thus, with probability at least ,
Before we prove the lower bound, we need the following lemma which is derived using a sparsity result for matrices with unit norm rows and low “coherence,” as measured by the maximum magnitude of the inner product between distinct rows ( is a matrix with low coherence). This result mimics results in .
For and any , .
We can assume , and so . Let be rows of , with of them coming from and from . where is a symmetric block matrix where the entries in are , and so .
Now, given any , we set with , and choose to be the rows corresponding to the components of having largest magnitude, with being the rows with indices in . Then , and so the entry in with smallest magnitude has magnitude at most . We now consider . Since , ; further, all components have magnitude at most (as all the components of have smaller magnitude than those of ). is minimized by concentrating all the entries into as few components as possible. Since the number of non-zero components is at least , giving these entries the maximum possible magnitude results in
(where we used ). We are done because ∎
We now prove the lower bound. We assume that Proposition 1 holds for , which is true with probability at least for as defined in Proposition 1. Then, by a union bound, both Propositions 1 and 2 hold with probability at least
( and are from Proposition 1). Since , by choosing for large enough , the final probability of failure is at most , because .
Assume Proposition 1 holds. Then, for all , holds with probability at least
First we will show a result for fixed , summarized in the next lemma.
Given this lemma, the proposition follows by putting a -net on the range of (observe that the range of has dimension at most ). This argument follows the same line as in Sections 3 and 4 of . Specifically, let be any fixed (at most) dimensional subspace of (in our case, is the range of ). Consider the -net on with cubes of side . There are such cubes required to cover the hyper-cube ; and, for any two points inside the same -cube, . From each of the -cubes, select a fixed representative point which we will generically refer to as ; select the representative to have if possible. By a union bound and Lemma 8,
We will thus condition on the high probability event that for all . For any with , let denote the representative point for the cube in which resides ( as well). Then .
where the last inequality holds using Proposition 1. By choosing and recalling that , we have that , with probability at least
We have that , and
where the last inequality is because is a standard basis vector. To bound , we will show that is nearly uniform. Since is a weighted sum of independent Bernoulli random variables (because and are independent for ), we can use Lemma 2 with and , and so and ; setting in Lemma 2:
By a union bound, none of the exceed with probability at most . We assume this high probability event, in which case . We can now apply Lemma 4 with and to obtain
By a union bound, with probability at least . Scaling both sides by gives the lemma. ∎
Appendix C Proof of Theorem 2 (Fast Cauchy Transform (FCT2))
We will need results from prior work, which we paraphrase in our notation.
holds with probability at least (w.r.t. ), for global constants .
Remark. This is the standard Johnson-Lindenstrauss property with the additional requirement on . Essentially it says that is a nearly uniform, so that .
Let be any (fixed) dimensional subspace of , and an matrix sampled from a distribution having the MJLP property. Given , let . Then, with probability at least , for every ,
We also need a result on how the matrix of Cauchy random variables behaves when it hits a vector . The next theorem is Theorem 5 of . For completeness and also to fix some minor errors in the proof of , we give a proof of Theorem 12 in Appendix I.
where .
Note that for fixed to some small error probability, , and the product in the theorem above can be computed in time
The vector , noting that is a subspace of of dimension at most . Let be an orthonormal basis for , and let . Setting in Lemma 10, and recalling that is , in Lemma 10 can be expressed as . Applying a union bound, we have that for all with probability at least , that for all (and corresponding ), it holds that
holds with probability at least (by choosing ). The theorem follows because and hence , and .
Clearly is in the range of and has the same null-space otherwise would not preserve lengths to relative error. Therefore is a basis for the range of . Consider any . The first claim of the theorem follows from the following derivations:
(a) follows from the lower bound in (3), because it holds for every column of ; (b) follows because by the construction of , has orthonormal columns; finally, (c) follows from the upper bound in (3).
Finally, to obtain the Corollary, if satisfying (3) is constructed using Theorem 2 with small fixed probability of failure , then and . The running time to compute is obtained by summing (to compute ) and (to obtain ).
Let be a linear transform of the constraint set. We start with a basic lemma that allow us to use instead of . This lemma says that if we can construct a sampling matrix for under the constraint such that solving the down-sampled problem for gives a -approximation, then that same sampling matrix works for under the constraint .
Let and any diagonal sampling matrix as in Figure 2. Suppose that for any that minimizes , is a -approximation for the problem . Let be any solution to . Then is a -approximation for the problem .
Select . For any , there is some with , and we have:
where (a) is by the optimality of . So, minimizes , hence for all , . Now consider any and let . Then,
By Theorem 3, is an -conditioned basis for the range of , where
So, and for all , . We next show that estimates . The following lemma is a straightforward application of a Chernoff bound to independent half-Cauchys (see also Claims 1 and 2 and Lemmas 1 and 2 in ).
Let be independent Cauchys. Then, with probability at least , where is a constant.
Fix and for define the random variables to apply Lemma 12. Observe that for , are independent Cauchy random variables scaled by . Applying Lemma 12 with , we have that with probability at least
Given with columns, Suppose that for all ,
and suppose that is a solution to . Then, for all ,
Since preserves norms, for any we have that:
We are going to apply Lemma 5 with . From (10) (which holds for all with probability at least ), , and so we can apply Lemma 5 with . Since is -conditioned, , and , and so we have that with probability at least ,
where . Observe that . By a union bound, for every , with probability at least ,
where . We condition on this high probability event. Then,
Applying to both sides of (12) and using the triangle inequality, . We conclude that
where we used (since ) and . In an analogous way, we get the lower bound:
Again, applying to (12) and using the triangle inequality gives . Further, , and so we have
where we assume . Setting , using and (for ), and rescaling by dividing by 3, we obtain that with probability at least ,
where , and . Solving for using and , and simplifying a little, we require
The total success probability is , which results from a union bound applied to the two random processes involving and . The Theorem now follows by setting for a constant . This concludes the proof of the correctness.
Set , for . We compute the running time as follows. In Step 2, if we use Theorem 2 for (which succeeds with probability ), the time to compute is and and ( and affect the running time of later steps); We need to compute an orthogonal factorization in and then compute in for a total run time of Step 2 that is . In Step 3, by our choice of , so the time to compute is in , where is the time needed to compute followed by . Note that .
Since computation of the median of elements is in , computing all takes time. Thus, the running time for Steps 1-5 is .
where and is very tightly concentrated around (via a standard Bernstein bound) because it is the sum of independent binomial variables; specifically, with probability at least , . Hence with probability . The probability of success is (union bound). Since , and since standard algorithms for linear programming give , we have the result claimed in the theorem for .
As in the proof of Theorem 4 in Section E, given is and the constraint set . We condition on satisfying (3) and Theorem 3. So, is -conditioned where and depend on (this holds with probability at least ). Thus, and for any . It follows that
(The lower bound follows from , where are standard basis vectors.) In the proof of Theorem 4, we proved the following result. Given weights , with
Recall , where is a matrix of standard Gaussian random variables, and , with and
For , the are i.i.d. zero mean Gaussians with variance , so are i.i.d half Gaussians. We need a result from .
(Lemma 2 of ). Let be i.i.d. with continuous distribution function and . Then,
For the half Gaussian with variance , where is the standard Gaussian distribution function. Choosing and using Lemma 14, with probability at least ,
where we used . Using and , it follows that
holds with probability at least for any particular . If we required these bounds to hold for all , then to apply the union bound succesfully, we would need to set , which is too costly. We want , so we need a more subtle argument. We choose as in (14) with .
Let and be sampling probabilities obtained from the the exact leverage scores for . For these sampling probabilities, in (13) is larger which would imply that a smaller is needed. Nevertheless, any larger value of will also work, and so the same value of with will work with the weights . Note that since is fixed, is not a random variable, but is a random variable depending on . Fix and generate and thence .
We define a set of indices as those for which . These are the indices for which ‘worked’. Essentially, these are the large leverage scores. The intuition behind our argument is that even though there may be some indices for which did not work, there are enough large leverage scores for which did work that the probability of these faulty indices coming into play is miniscule.
To make this argument, we define hybrid weights to equal for and for . By construction,
and so the same works for constructing sampling probabilities . Note that in the algorithm, we do not actually construct (or know) ; they are just used here as a hypothetical set of sampling probabilities which help us to analyze the performance of the actual sampling probabilities we use, which are . The important property about the is that for , .
We call a set of rows that are sampled and rescaled according to a set of probabilities a good coreset if the coreset solution from this sample is a -approximation to the full regression. The sampling probabilities give a good coreset with probability at least . We now define several events over three random processes: , sampling a coreset according to and sampling a coreset according to . The last two random processes depend on the outcome of .
AllBounded is the event (we will choose later). We show
Indeed, is the median of i.i.d. zero mean Gaussians with variance , where (by the properties of the Gaussian distribution). Define if and 0 otherwise. Then if and only if . We have and the result follows by a Markov bound and a union bound over .
Let be the event that the coreset sampled according to probabilities are good.
Let be the event that the coreset sampled according to are good.
Let BadRow be the event that either of the two coresets above contains a row .
In what follows, we consider probabilities with respect to the joint distribution of and the randomness of choosing the coresets according to and .
where the second step follows because conditioning on , the sampling probabilities and are identical (by construction). Thus,
because we know that the sampling probabilities satisfy the conditions to get a good coreset with probability at least . To get an upper bound on , observe that
To conclude, we obtain a bound on . Condition on and that AllBounded holds. This fixes and and also means that . Hence,
where the last equality is because for . So the bound is determined by the sum of the leverage scores over the indices for which did not work. This is the quantification of our intuition that the algorithm will work as long as preserves enough of the large leverage scores. We need to bound , where is a random set of indices depending on . We will use a Markov bound to bound with high probability. We have
Since ,
But, , where the last step follows from the conditioning of which is assumed. Putting all this together,
where the last expression follows by setting in which case . Now, recalling is given as in the theorem statement, if we set
then, . Applying a Markov bound and conditioning on AllBounded, with probability at most , the bound holds. Condition on this bad event not happening, in which case, using (16),
where we used . Using a union bound over this bad event not happening, we finally have that
from which . This completes the proof.
Appendix G Proof of the Fast Ellipsoidal Rounding Theorems
For completeness, we state the following lemma which is from and which we will use in the proof of this theorem.
Now we proceed with the main part of the proof. We construct a sequence of ellipsoids , all centered at the origin, such that and , and thus this sequence must terminate in
The last inequality comes from the fact that . Therefore , and
Thus, our construction is valid. For each step, it takes at most calls to the separation oracle. Therefore, we need at most calls to find a -rounding of . Computing the extreme points of requires an eigendecomposition, which takes time. Hence the total cost to find a -rounding is calls and additional time. We note that rank-one updates can be used for computing the eigendecomposition of for efficiency. See Gu and Eisenstat .
G.2 Proof of Theorem 9
which means gives an -rounding of . Applying Theorem 8, we can find a -rounding of in at most calls to the separation oracle. Let be the ellipsoid that gives such rounding. We have
The QR factorization takes time. Each call to the separation oracle takes time. Computing the extreme points of an ellipsoid takes time. In total, we need time.
Appendix H Proof of Theorem 11
The tool we need to verify the FastLpBasis algorithm is simply the equivalence of vector norms. We present the proof for the case . The proof for the case is similar. Adopt the notation from the FastLpBasis algorithm. is chosen such that, with a constant probability,
where and are constants. Conditioning on this event, we have
Appendix I Proof of Theorem 12
Thus, it suffices to prove an upper bound on . is a Cauchy scaled by . So is a sum of scaled, dependent half-Cauchys with sum of scalings . By Lemma 3,
It suffices to set for the RHS to be at least . Since , with probability at least , . Multiplying both sides by gives the upper bound.
Lower Bound. The lower bound is essentially following the proof of the lower bound in Theorem 5 of , and so we only provide a sparse sketch of the proof. Consider an arbitrary, fixed . The product is distributed as a Cauchy random vector whose components are independent and scaled by . Therefore
where are i.i.d. Cauchy random variables. We now apply Lemma 4 with , and setting , to obtain
Since , we have The result now follows by putting a -net on for sufficiently small . This argument follows the same line as the end of Section 3 of .
It suffices to show the result for . Consider the -net on with cubes of side . There are such cubes required to cover the hyper-cube ; and, for any two points inside the same -cube, . From each of the -cubes, select a fixed representative point which we will generically refer to as ; select the representative to have if possible. By a union bound
We will thus condition on the high probability event that for all . We will also condition on the upper bound holding (which is true with probability at least ). For any with , let denote the representative point for the cube in which resides (by construction, as well). Then and since and is a subspace. We have
where we used the upper bound in the last inequality . By choosing and recalling that , we have that , with probability at least . Recall that , so, for large enough, by picking , we satisfy , and so our bounds hold with probability at least .
Appendix J Proof of Lemma 10
We will need some lemmas from prior work. The first two lemmas are on properties of a -net, taken directly from Lemma 4 of . Let be a matrix whose columns are an orthonormal basis for ; let be the unit sphere in and let be the set of points in , the intersection of and , defined by
for .
For any matrix , if for every we have , then for every unit vector , we have .
Note that as , the inequality in Lemma 17 gets stronger, but the bound on in Lemma 16 gets larger.
The next lemma demonstrates that a JLP distribution preserves matrix products.
For , let be an matrix be drawn from an MJLP distribution as given in Definition 7. Then for any real matrices with rows and ,
We now prove the first part of Lemma 10. Let be the matrix , and let be the -net with . By Lemma 16, . Let be any two points in , and set , to be two matrices (actually vectors) with rows. Since has orthonormal columns, . By Lemma 18, after relabeling ,
So, applying the union bound, for every pair ,
holds with probability at least . Let be the MJLP matrix constructed as per Lemma 9. We will now derive a bound on for the first result (2-norm) to hold. For every unit-norm in , for unit norm . By Lemma 17 (with ), for every unit vector ,
Since and , after rescaling , we have proved that with probability at least ,
We now derive the second result (Manhattan norm), conditioning on the high probability event that the result holds for the 2-norm as proved above. Since is an MJLP, we also have that with probability at least , for every with ,
Now consider any unit 2-norm ; , where has 2-norm at most , has unit 2-norm, and because is a -net on . Then,
where . We can bound the first term on the RHS using (18). To bound the second term, use the 2-norm bound as follows:
(the last inequality is because ). Thus, for every unit norm ,
Choosing , . Since (as otherwise by the two properties of an MJLP, for some , a contradiction) and , with probability at least ,
After rescaling , the probability becomes at least . Taking a union bound over the 2-norm result and the Manhattan norm result, and using , given that and , we finally have that for any unit 2-norm , both the inequalities
hold with probability at least , where the last equality follows by setting . Since the result holds for any unit norm , it holds for any by scaling by .