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 Xi≥0X_{i}\geq 0 be independent random variables with ∑iE[Xi2]<∞\sum_{i}\hbox{\bf{E}}[X_{i}^{2}]<\infty, and define X=∑iXiX=\sum_{i}X_{i}. Then, for any t>0t>0,

Let xix_{i} be i.i.d. Bernoulli random variables with probability pp, and let X=∑i∈[n]ξixiX=\sum_{i\in[n]}\xi_{i}x_{i}, where ξi≥0\xi_{i}\geq 0, with ∑i∈[n]ξi=ξ\sum_{i\in[n]}\xi_{i}=\xi and ∑i∈[n]ξi2≤ξ2/β2\sum_{i\in[n]}\xi_{i}^{2}\leq\xi^{2}/\beta^{2}. Then, for any t>0t>0,

The proof is a straightforward application of Lemma 1 to Z=∑i∈[n]ξi(1−xi)Z=\sum_{i\in[n]}\xi_{i}(1-x_{i}). ∎

The Cauchy distribution, having density p(x)=1π11+x2p(x)={1\over\pi}{1\over 1+x^{2}}, is the unique 11-stable distribution. If C1,…,CMC_{1},\ldots,C_{M} are independent Cauchys, then ∑i∈[M]γiCi\sum_{i\in[M]}\gamma_{i}C_{i} is distributed as a Cauchy scaled by γ=∑i∈[M]∣γi∣\gamma=\sum_{i\in[M]}|\gamma_{i}|. 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 i∈[m]i\in[m], let CiC_{i} be mm (not necessarily independent) Cauchy random variables, and γi>0\gamma_{i}>0 with γ=∑i∈[m]γi\gamma=\sum_{i\in[m]}\gamma_{i}. Let X=∑i∈[m]γi∣Ci∣X=\sum_{i\in[m]}\gamma_{i}|C_{i}|. Then, for any t≥1t\geq 1,

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, ∑iγi∣Ci∣≥∣∑iγiCi∣\sum_{i}\gamma_{i}|C_{i}|\geq|\sum_{i}\gamma_{i}C_{i}|, and the latter sum is itself distributed as a Cauchy scaled by γ\gamma. Hence for independent Cauchys, Pr[X≥γt]=2πtan⁡−1t=Ω(1t)\hbox{\bf{Pr}}[X\geq\gamma t]={2\over\pi}\tan^{-1}t=\Omega({1\over t}).

For i∈[r]i\in[r], let CiC_{i} be independent Cauchy random variables, and γi≥0\gamma_{i}\geq 0 with γ=∑i∈[r]γi\gamma=\sum_{i\in[r]}\gamma_{i} and ∑i∈[r]γi2≤γ2/β2\sum_{i\in[r]}{\gamma_{i}^{2}}\leq\gamma^{2}/\beta^{2}. Let X=∑i∈[r]γi∣Ci∣X=\sum_{i\in[r]}\gamma_{i}|C_{i}|. Then, for any t≥0t\geq 0,

where δ≤2exp⁡(−asε2∥Zx∥1(2+23ε)∥Z∥1∥x∥∞).\displaystyle\delta\leq 2\operatorname{exp}\left({-as\varepsilon^{2}{\|Zx\|}_{1}\over(2+{2\over 3}\varepsilon){\|Z\|}_{1}{\|x\|}_{\infty}}\right).

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 δ∈(0,1]\delta\in(0,1] be a parameter governing the failure probability of our algorithm. Then, we construct Π1\Pi_{1} as

B∈Rr1×2nB\in\R^{r_{1}\times 2n} has each column chosen independently and uniformly from the r1r_{1} standard basis vectors for Rr1\R^{r_{1}}; we will set the parameter r1=αdlog⁡dδr_{1}=\alpha d\log{d\over\delta}, where δ\delta controls the probability that our algorithms fail and α\alpha is a suitably large constant;

C∈R2n×2nC\in\R^{2n\times 2n} is a diagonal matrix with diagonal entries chosen independently from a Cauchy distribution; and

(For completeness, we remind the reader that the (non-normalized) n×nn\times n matrix of the Hadamard transform HnH_{n} may be defined recursively as follows:

There is a distribution (given by the above construction) over matrices Π1∈Rr1×n\Pi_{1}\in\R^{r_{1}\times n}, with r1=O(dlog⁡d+dlog⁡1δ)r_{1}=O(d\log d+d\log{1\over\delta}), such that for an arbitrary (but fixed) A∈Rn×dA\in\R^{n\times d}, and for all x∈Rdx\in\R^{d}, the inequalities

Further, for any y∈Rny\in\R^{n}, the product Π1y\Pi_{1}y can be computed in O(nlog⁡r1)O(n\log r_{1}) time.

Setting δ\delta to a small constant, since s=r13\sqrt{s}=r_{1}^{3} and r1=O(dlog⁡d)r_{1}=O(d\log d), it follows that κ=O(d4log⁡4d)\kappa=O(d^{4}\log^{4}d) in the above theorem.

The existence of such a Π1\Pi_{1} satisfying bounds of the form (2) was established by Sohler and Woodruff . Here, our contribution is to show that Π1\Pi_{1} can be factored into structured matrices so that the product Π1A\Pi_{1}A can be computed in O(ndlog⁡d)O(nd\log d) 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 ∥Bg∥22{\|Bg\|}_{2}^{2} in terms of ∥g∥2{\|g\|}_{2} and ∥g∥1{\|g\|}_{1}, where gg is any positive vector in Rn\R^{n}, and BB is the matrix used in our FCT construction. ∥Bg∥22=∑jγj2{\|Bg\|}_{2}^{2}=\sum_{j}{\gamma_{j}^{2}} where γj=∑iBjigi\gamma_{j}=\sum_{i}B_{ji}g_{i} are anti-correlated random variables. To get concentration, we independently bounded γj2\gamma_{j}^{2} in our proof which required s=r16s=r_{1}^{6} to obtain the high probability result; this resulted in the bound κ=O(d4log⁡4d)\kappa=O(d^{4}\log^{4}d).

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 δ∈(0,1]\delta\in(0,1] is a parameter governing the failure probability of our algorithm; and let η>0\eta>0 be a generic arbitrarily small positive constant (whose value may change from one formula to another). Let r1=c⋅dlog⁡dδr_{1}=c\cdot d\log{d\over\delta}, s=c′⋅(d+log⁡nδ)s=c^{\prime}\cdot(d+\log{n\over\delta}), and t=s2+ηt=s^{2+\eta}, where the parameters c,c′>0c,c^{\prime}>0 are appropriately large constants. Then, we construct Π1∈Rr1×n\Pi_{1}\in\R^{r_{1}\times n} as

C∈Rr1×ns/tC\in\R^{r_{1}\times ns/t} is a matrix of independent Cauchy random variables; and

There is a distribution (given by the above construction) over matrices Π1∈Rr1×n\Pi_{1}\in\R^{r_{1}\times n}, with r1=O(dlog⁡dδ)r_{1}=O(d\log{d\over\delta}), such that for arbitrary (but fixed) A∈Rn×dA\in\R^{n\times d}, and for all x∈Rdx\in\R^{d}, the inequalities

hold with probability 1−δ1-\delta, where κ=O(dδ(d+log⁡nδ)1+ηlog⁡d)\kappa=O({d\over\delta}(d+\log{n\over\delta})^{1+\eta}\log d). Further, for any y∈Rny\in\R^{n}, the product Π1y\Pi_{1}y can be computed in O(nlog⁡dδ)O(n\log{d\over\delta}) time.

Remark. For log⁡n<d\log n<d, FCT2 gives a better dependence of the distortion on dd, but more generally FCT2 has a dependence on log⁡n\log n. 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 nn.

Remark. The requirement t≥s2+ηt\geq s^{2+\eta} is set by the restriction in Lemma 9 in the proof of Theorem 2. In the bound of Theorem 2, κ=κ′t\kappa=\kappa^{\prime}\sqrt{t}, where κ′=O(dlog⁡(r1d))\kappa^{\prime}=O(d\log(r_{1}d)) arises from Theorem 12, which originally appeared in . If a stronger version of Lemma 9 can be proved that relaxes the restriction t≥s2+ηt\geq s^{2+\eta}, then correspondingly the bound of Theorem 2 will improve.

A basis UU for the range of AA is (α,β)(\alpha,\beta)-conditioned if ∥U∥1≤α{\|U\|}_{1}\leq\alpha and for all x∈Rdx\in\R^{d}, ∥x∥∞≤β∥Ux∥1{\|x\|}_{\infty}\leq\beta{\|Ux\|}_{1}. We will say that UU is well-conditioned if α\alpha and β\beta are low-degree polynomials in dd, independent of nn.

Given an n×dn\times d matrix AA, let Π1∈Rr1×n\Pi_{1}\in\R^{r_{1}\times n} be any projection matrix such that for any x∈Rdx\in\R^{d},

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 Π1\Pi_{1}, the FastL1Basis algorithm of Figure 1 consists of the following steps: construct Π1A\Pi_{1}A and an RR such that Π1A=QR\Pi_{1}A=QR, where QQ has orthonormal columns (for example using a QR-factorization of Π1A\Pi_{1}A); and then return U=AR−1=A(QTΠ1A)−1U=AR^{-1}=A(Q^{T}\Pi_{1}A)^{-1}.

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 A∈Rn×dA\in\R^{n\times d}, the basis U=AR−1U=A{R^{-1}} constructed by FastL1Basis(A)(A) of Figure 1 using any Π1\Pi_{1} satisfying (3) is a (dr1,κ)(d\sqrt{r_{1}},\kappa)-conditioned basis for the range of AA.

If Π1\Pi_{1} is obtained from the FCT2 construction of Theorem 2, then the resulting UU is an (α,β)(\alpha,\beta)-conditioned basis for AA, with α=O(d3/2log⁡1/2d)\alpha=O(d^{3/2}\log^{1/2}d) and β=O(d2+ηlog⁡d)\beta=O(d^{2+\eta}\log d), with probability 1−δ1-\delta. The time to compute the change of basis matrix R−1{R^{-1}} is O(ndlog⁡d+d3log⁡d)O(nd\log d+d^{3}\log d), assuming log⁡n=O(d)\log n=O(d) and δ>0\delta>0 is a fixed constant.

Remark. Our constructions that result in Π1\Pi_{1} satisfying (3) do not require that A∈Rn×dA\in\R^{n\times d}; they only require that AA have rank dd, and so can be applied to any A∈Rn×mA\in\R^{n\times m} having rank dd. In this case, a small modification is needed in the construction of UU, because R∈Rd×mR\in\R^{d\times m}, and so we need to use R†R^{\dagger} instead of R−1R^{-1}. The running time will involve terms with mm. This can be improved by processing AA quickly into a smaller matrix by sampling columns so that the range is preserved (as in ), which we do not discuss further.

and an x∗x^{*} 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 DD with a small number of nonzero entries so that x^=argmin⁡x∈Rd∥D(Ax−b)∥1\hat{x}=\operatorname{argmin}\nolimits_{x\in\R^{d}}\lVert D(Ax-b)\rVert_{1} satisfies

The next theorem summarizes our main quality-of-approximation results for the FastCauchyRegression algorithm of Figure 2. It improves the O(nd2+poly⁡(dε−1log⁡n))O(nd^{2}+\operatorname{poly}(d\varepsilon^{-1}\log n)) algorithm of , which in turn improved the result in . (Technically, the running time of is O(ndω+−1+poly⁡(dε−1log⁡n))O(nd^{\omega^{+}-1}+\operatorname{poly}(d\varepsilon^{-1}\log n)), where ω+\omega^{+} is any constant larger than the exponent for matrix multiplication; for practical purposes, we can set ω+=3\omega^{+}=3.) 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 ε∈(0,1)\varepsilon\in(0,1), ρ>0\rho>0, A∈Rn×dA\in\R^{n\times d} and b∈Rnb\in\R^{n}. FastCauchyRegression(A,b)(A,b) constructs a coreset specified by the diagonal sampling matrix DD and a solution vector x^∈Rd\hat{x}\in\R^{d} that minimizes the weighted regression objective ∥D(Ax−b)∥1{\|D(Ax-b)\|}_{1}. The solution x^\hat{x} satisfies, with probability at least 1−1dρ1-{1\over d^{\rho}} (ρ>0\rho>0 is a constant),

Further, with probability 1−o(1)1-o(1), the entire algorithm to construct x^\hat{x} runs in time

Given are ε∈(0,1)\varepsilon\in(0,1), ρ>0\rho>0, A∈Rn×dA\in\R^{n\times d} and b∈Rnb\in\R^{n}. OptimizedFastCauchyRegression(A,b)(A,b) constructs a coreset specified by the diagonal sampling matrix DD and a solution vector x^∈Rd\hat{x}\in\R^{d} that minimizes the weighted regression objective ∥D(Ax−b)∥1{\|D(Ax-b)\|}_{1}. The solution x^\hat{x} satisfies, with probability at least 1−1dρ−1log⁡ρn1-{1\over d^{\rho}}-{1\over\log^{\rho}n},

Further, with probability 1−o(1)1-o(1), the entire algorithm to construct x^\hat{x}, runs in time

Note that our algorithms and results also extend to multiple regression with b∈Rn×kb\in\R^{n\times k}, 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 xx be a vector, i.e., the whole proof generalizes to a matrix ZZ. In particular, the inequalities in (9) continue to hold, since if they hold for every vector xx, then it must hold for a matrix ZZ because ∥XZ∥1=∑j∈[k]∥XZ(j)∥1{\|XZ\|}_{1}=\sum_{j\in[k]}{\|XZ^{(j)}\|}_{1}. 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 XX changes from d+1d+1 to d+kd+k. Thus, by shrinking δ\delta by an additional factor of kk, and taking a union bound we get a relative error approximation for each individual regression. We refer to this modified algorithm, where a matrix BB is input and the optimization problem in the last step is modified appropriately, as FastCauchyRegression(A,B)(A,B), overloading notation in the obvious way. This discussion is summarized in the following theorem.

Given ε∈(0,1)\varepsilon\in(0,1), ρ>0\rho>0, a matrix A∈Rn×dA\in\R^{n\times d} and B∈Rn×kB\in\R^{n\times k}, FastCauchyRegression(A,B)(A,B) constructs a coreset specified by the diagonal sampling matrix DD and a solution W^∈Rd×k{\hat{W}}\in\R^{d\times k} that minimizes the weighted multiple regression objective ∥D(AW−B)∥1{\|D(AW-B)\|}_{1}. The solution W^\hat{W} satisfies, with probability at least 1−1(d+k)ρ1-{1\over(d+k)^{\rho}},

Further, with probability 1−o(1)1-o(1), the entire algorithm to construct W^\hat{W}, runs in time

First, we can save an extra factor of (d+k)(d+k) in ss 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 C={W∈Rd×d:Wii=−1}{\cal C}=\{W\in\R^{d\times d}:W_{ii}=-1\}. Since the constraint set effectively places an independent constraint on each column of WW, after some elementary manipulation, it is easy to see that this regression is equivalent to the dd individual regressions to obtain wj∗w_{j}^{*}. Indeed, for an optimal solution W∗W^{*}, we can set wj∗=W∗(j)w_{j}^{*}=W^{*(j)}.

where (a) is from the (1+ε)(1+\varepsilon)-optimality of the constrained multiple regression as analyzed in Appendix E and (b) is because j∗j^{*} attained minimum error among all j∈[d]j\in[d]. This discussion is summarized in the following theorem.

For simplicity, we will use κp\kappa_{p}, σpmin⁡\sigma_{p}^{\min}, and σpmax⁡\sigma_{p}^{\max} when the underlying matrix is clear.

The following lemma characterizes the relationship between these two quantities.

Given an n×dn\times d matrix AA and p∈[1,∞]p\in[1,\infty], we always have

Thus, κp(A)≤d∣1/p−1/2∣αβ\kappa_{p}(A)\leq d^{|1/p-1/2|}\alpha\beta. ∎

Although it is easier to describe sampling algorithms in terms of κˉp\bar{\kappa}_{p}, after we show the equivalence between κp\kappa_{p} and κˉp\bar{\kappa}_{p}, it will be easier for us to discuss conditioning algorithms in terms of κp\kappa_{p}, which naturally connects to ellipsoidal rounding algorithms.

Therefore, we have κp(AR−1)≤κ\kappa_{p}(A{R^{-1}})\leq\kappa. So a κ\kappa-rounding of C\mathcal{C} leads to a κ\kappa-conditioning of AA.

2 Fast Ellipsoidal Rounding

Applying Theorem 8 to the convex set C={x ∣ ∥Ax∥p≤1}\mathcal{C}=\{x\,|\,\|Ax\|_{p}\leq 1\}, with the separation oracle described via a subgradient of ∥Ax∥p\|Ax\|_{p} and the initial rounding provided by the “RR” matrix from the QR decomposition of AA, we improve the running time of the algorithm used by Clarkson and by Dasgupta et al. from O(nd5log⁡n)\mathcal{O}(nd^{5}\log n) to O(nd3log⁡n)\mathcal{O}(nd^{3}\log n) while maintaining an O(d)\mathcal{O}(d)-conditioning. The proof of this theorem may be found in Appendix G.2.

When d>log⁡nd>\log n, κp(AR−1)=O(d1+3⋅∣1/p−1/2∣)\kappa_{p}(AR^{-1})=\mathcal{O}(d^{1+3\cdot|1/p-1/2|}) and hence κˉp(AR−1)=O(d1+3⋅∣1/p−1/2∣+max⁡{1/p,1/2})\bar{\kappa}_{p}(AR^{-1})=\mathcal{O}(d^{1+3\cdot|1/p-1/2|+\max\{1/p,1/2\}}) by Lemma 6. Note that, even for the case when p=1p=1, we have κˉp(AR−1)=O(d7/2)\bar{\kappa}_{p}(AR^{-1})=\mathcal{O}(d^{7/2}), which is slightly better than FCT2 (see Corollary 1). However, we have to solve a rounding problem of size ns/t×dns/t\times d in the step 2 of FastLpBasis, which requires storage and work depending on nn.

Numerical Implementation and Empirical Evaluation

A3A_{3}, the leading submatrix of the SNP matrix used by Paschou et al. . The SNP matrix is of size 492516×2250492516\times 2250, from the Human Genome Diversity Panel and the HapMap Phase 3 dataset. See for more descriptions of the data.

A4A_{4}, 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 8e7×10248e7\times 1024.

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 r1=⌈2dlog⁡d⌉r_{1}=\lceil 2d\log d\rceil except r1=2dr_{1}=2d for GT. We choose s=⌈2dlog⁡d⌉s=\lceil 2d\log d\rceil and t=2d2t=2d^{2} for FCT1, and s=2⌈2log⁡2(2dlog⁡d)⌉s=2^{\lceil 2\log_{2}(2d\log d)\rceil} 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 5050 independent runs and show the first and the third quartiles of κˉ1\bar{\kappa}_{1} in Tables 2 and 3.

The true signal x∗x^{*} is a standard Gaussian vector.

Each row of the design matrix AA is a canonical vector, which means that we only estimate a single entry of x∗x^{*} in each measurement. The number of measurements on the ii-th entry of x∗x^{*} is twice as large as that on the (i+1)(i+1)-th entry, i=1,…,14i=1,\ldots,14. We have 2.622.62 billion measurements on the first entry while only 0.160.16 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 11-, 22-, and ∞\infty-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 100100 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 x∗x^{*}, which leads to NOCD’s poor performance. UNIF treats all the measurements the same, but the measurements are imbalanced. Although we sample 100000100000 measurements, the expected number of measurements on the last entry is only 3.053.05, 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 M>0M>0 (we will choose MM later) and define the events

and F=∩i∈[m]FiF=\cap_{i\in[m]}F_{i}. Note that F∩Fi=FF\cap F_{i}=F. Using the pdf of a Cauchy and because tan⁡−1x≤x\tan^{-1}x\leq x, we have that:

By a union bound, Pr[F]≥1−2mπM\hbox{\bf{Pr}}[F]\geq 1-{2m\over\pi M}. Further, Pr[F∣Fi]Pr[Fi]=Pr[F∩Fi]=Pr[F]\hbox{\bf{Pr}}[F|F_{i}]\hbox{\bf{Pr}}[F_{i}]=\hbox{\bf{Pr}}[F\cap F_{i}]=\hbox{\bf{Pr}}[F], hence Pr[F∣Fi]=Pr[F]/Pr[Fi]\hbox{\bf{Pr}}[F|F_{i}]=\hbox{\bf{Pr}}[F]/\hbox{\bf{Pr}}[F_{i}]. We now bound \hbox{\bf{E}}\left[|C_{i}|\ \bigl{|}\ F\right]. First, observe that

Next, since Fi∩F=FF_{i}\cap F=F, 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 Pr[X≥γt∣Fˉ]≤1\hbox{\bf{Pr}}[X\geq\gamma t|\bar{F}]\leq 1, 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 γ=1\gamma=1. Let Zi=γimin⁡(∣Ci∣,M)Z_{i}=\gamma_{i}\min(|C_{i}|,M). Clearly Zi≤γi∣Ci∣Z_{i}\leq\gamma_{i}|C_{i}| and so defining Z=∑iZiZ=\sum_{i}Z_{i}, we have that Z≤XZ\leq X and Pr[X≤1−t]≤Pr[Z≤1−t]\hbox{\bf{Pr}}[X\leq 1-t]\leq\hbox{\bf{Pr}}[Z\leq 1-t]. Thus, we have that

where the last step holds by Lemma 1 for 1−t<E[Z]1-t<\hbox{\bf{E}}[Z]. Using the distribution of the half-Cauchy, one can verify using standard techniques that by choosing M≈1.6768M\approx 1.6768, E[Zi]=γi\hbox{\bf{E}}[Z_{i}]=\gamma_{i} and E[Zi2]≤32γi2\hbox{\bf{E}}[Z_{i}^{2}]\leq{3\over 2}\gamma_{i}^{2}, so ∑iE[Zi]=1\sum_{i}\hbox{\bf{E}}[Z_{i}]=1 and ∑iE[Zi2]≤32∑iγi2≤32β2\sum_{i}\hbox{\bf{E}}[Z_{i}^{2}]\leq{3\over 2}\sum_{i}\gamma_{i}^{2}\leq{3\over 2\beta^{2}}. It follows that Pr[Z≤1−t]≤exp⁡(−t2/3β2),\hbox{\bf{Pr}}[Z\leq 1-t]\leq\operatorname{exp}\left(-t^{2}/{\textstyle{3\over\beta^{2}}}\right), and the result follows.

First, observe that ∥DZx∥1=∑i∈[n]Dii∣Z(i)x∣{\|DZx\|}_{1}=\sum_{i\in[n]}D_{ii}|Z_{(i)}x|, and since E[Dii]=1\hbox{\bf{E}}[D_{ii}]=1, E[∥DZx∥1]=∑i∈[n]∣Z(i)x∣=∥Zx∥1\hbox{\bf{E}}[{\|DZx\|}_{1}]=\sum_{i\in[n]}|Z_{(i)}x|={\|Zx\|}_{1}. Next, observe that

because when p^i=1\hat{p}_{i}=1, 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 ii with p^i<1\hat{p}_{i}<1, in which case p^i=s⋅ti\hat{p}_{i}=s\cdot t_{i}, where ti≥a∥Z(i)∥1/∥Z∥1t_{i}\geq a{\|Z_{(i)}\|}_{1}/{\|Z\|}_{1}. Let QiQ_{i} be the (positive) random variable Dii∣Z(i)x∣D_{ii}|Z_{(i)}x|; either Qi=0Q_{i}=0 or

where we defined γ=1a∥Z∥1∥x∥∞\gamma={1\over a}{\|Z\|}_{1}{\|x\|}_{\infty}. We can also obtain a bound for ∑p^i<1Var[Qi]\sum_{\hat{p}_{i}<1}\hbox{\bf{Var}}[Q_{i}]:

where, in the last inequality, we used the upper bound for QiQ_{i} and we further upper bounded by summing over all i∈[n]i\in[n]. Let Q=∑iQiQ=\sum_{i}Q_{i} with Qi≤γQ_{i}\leq\gamma; the standard Bernstein bound states that

Plugging in our bounds for ∑iVar[Qi]\sum_{i}\hbox{\bf{Var}}[Q_{i}] and γ\gamma, 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 (d,1)(d,1)-conditioned basis UU and apply Π1\Pi_{1} to this basis to show that ∥Π1Ux∥1{\|\Pi_{1}Ux\|}_{1} cannot expand too much, which in turn means that ∥Π1Ax∥1{\|\Pi_{1}Ax\|}_{1} cannot expand too much (for any xx). To prove the lower bound, we show that the inequality holds with exponentially high probability, for a particular yy; and we then use a suitable γ\gamma-net to obtain the result for all yy.

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 1−δ1-\delta, for all x∈Rdx\in\R^{d}, ∥Π1Ax∥1≤κ∥Ax∥1\lVert\Pi_{1}Ax\rVert_{1}\leq\kappa\lVert Ax\rVert_{1}, where κ=O(dsδlog⁡(r1d))\kappa=O({d\sqrt{s}\over\delta}\log(r_{1}d)).

Let U∈Rn×dU\in\R^{n\times d} be a (d,1)(d,1)-conditioned basis (see Definition 2 below) for the column space of AA, which implies that for some Z∈Rd×dZ\in\R^{d\times d} we can write A=UZA=UZ. Since ∥Π1Ax∥1≤κ∥Ax∥1\lVert\Pi_{1}Ax\rVert_{1}\leq\kappa\lVert Ax\rVert_{1} if and only if ∥Π1UZx∥1≤κ∥UZx∥1\lVert\Pi_{1}UZx\rVert_{1}\leq\kappa\lVert UZx\rVert_{1}, it suffices to prove the proposition for UU. By construction of UU, for any x∈Rdx\in\R^{d}, ∥x∥∞≤∥Ux∥1\lVert x\rVert_{\infty}\leq\lVert Ux\rVert_{1}, and so

Thus it is enough to show that ∥Π1U∥1≤κ\lVert\Pi_{1}U\rVert_{1}\leq\kappa. We have

Since ∥Gszi∥1≤2s∥Gszi∥2≤4s∥zi∥2≤4s∥zi∥1\lVert G_{s}z_{i}\rVert_{1}\leq\sqrt{2s}\lVert G_{s}z_{i}\rVert_{2}\leq\sqrt{4s}\lVert z_{i}\rVert_{2}\leq\sqrt{4s}\lVert z_{i}\rVert_{1}, it follows that

Applying this to y=U(j)y=U^{(j)} for j∈[d]j\in[d] yields

since ∥U∥1≤d\lVert U\rVert_{1}\leq d because UU is (d,1)(d,1)-conditioned.

The (i,j)(i,j) entry of BCU^BC\hat{U} is ∑kBikCkkU^kj,\sum_{k}B_{ik}C_{kk}{\hat{U}}_{kj}, which is a Cauchy scaled by γij=∑k∣BikU^kj∣\gamma_{ij}=\sum_{k}|B_{ik}\hat{U}_{kj}|. So,

Hence, we can apply Lemma 3 with γ=∥U^∥1\gamma={\|\hat{U}\|}_{1} and m=r1dm=r_{1}d to obtain

Setting the RHS to δ\delta, it suffices that t=O(1δlog⁡(dr1))t=O({1\over\delta}\log(dr_{1})). Thus, with probability at least 1−δ1-\delta,

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 (GsG_{s} is a matrix with low coherence). This result mimics results in .

For G=[HsIs]G=\left[\begin{smallmatrix}H_{s}\\ I_{s}\end{smallmatrix}\right] and any z∈Rsz\in\R^{s}, ∥Gz∥1≥12s1/4∥z∥2\lVert Gz\rVert_{1}\geq{1\over 2}s^{1/4}\lVert z\rVert_{2}.

We can assume ∥z∥2=1\lVert z\rVert_{2}=1, and so ∥Gz∥22=2\lVert Gz\rVert_{2}^{2}=2. Let G(S′)G_{(S^{\prime})} be kk rows of GG, with κ\kappa of them coming from HsH_{s} and k−κk-\kappa from IsI_{s}. G(S′)G(S′)T=I+ΛG_{(S^{\prime})}G_{(S^{\prime})}^{T}=I+\Lambda where Λ\Lambda is a symmetric 2×22\times 2 block matrix [01sQ1sQT0]\left[\begin{smallmatrix}\bm{0}&{1\over\sqrt{s}}Q\\ {1\over\sqrt{s}}Q^{T}&\bm{0}\\ \end{smallmatrix}\right] where the entries in Q∈Rκ×(k−κ)Q\in\R^{\kappa\times(k-\kappa)} are ±1\pm 1, and so ∥Q∥2≤κ(k−κ)≤12k\lVert Q\rVert_{2}\leq\sqrt{\kappa(k-\kappa)}\leq{1\over 2}k.

Now, given any zz, we set k=2βsk=2\beta\sqrt{s} with β=25\beta={2\over 5}, and choose G(S′)G_{(S^{\prime})} to be the rows corresponding to the kk components of GzGz having largest magnitude, with G(S)G_{(S)} being the rows with indices in [s]∖S′[s]\setminus S^{\prime}. Then ∥G(S′)z∥22≤1+β\lVert G_{(S^{\prime})}z\rVert_{2}^{2}\leq 1+\beta, and so the entry in G(S′)zG_{(S^{\prime})}z with smallest magnitude has magnitude at most a=(1+β)/k=(1+β)/2βs−1/4a=\sqrt{(1+\beta)/k}=\sqrt{(1+\beta)/2\beta}s^{-1/4}. We now consider G(S)zG_{(S)}z. Since ∥Gz∥22=2\lVert Gz\rVert_{2}^{2}=2, ∥G(S)z∥22≥1−β\lVert G_{(S)}z\rVert_{2}^{2}\geq 1-\beta; further, all components have magnitude at most aa (as all the components of G(S)zG_{(S)}z have smaller magnitude than those of G(S′)zG_{(S^{\prime})}z). ∥G(S)z∥1\lVert G_{(S)}z\rVert_{1} is minimized by concentrating all the entries into as few components as possible. Since the number of non-zero components is at least (1−β)/a2=2βs1/2(1−β)/(1+β)(1-\beta)/a^{2}=2\beta s^{1/2}(1-\beta)/(1+\beta), giving these entries the maximum possible magnitude results in

(where we used β=25\beta={2\over 5}). We are done because ∥Gz∥1≥∥G(S)z∥1\lVert Gz\rVert_{1}\geq\lVert G_{(S)}z\rVert_{1} ∎

We now prove the lower bound. We assume that Proposition 1 holds for Π1\Pi_{1}, which is true with probability at least 1−δ1-\delta for κ\kappa as defined in Proposition 1. Then, by a union bound, both Propositions 1 and 2 hold with probability at least

(δ\delta and κ\kappa are from Proposition 1). Since s1/2=r13s^{1/2}=r_{1}^{3}, by choosing r1=αdlog⁡dδr_{1}=\alpha d\log{d\over\delta} for large enough α\alpha, the final probability of failure is at most 2δ2\delta, because κ=O(dsδlog⁡(r1d))=O(poly⁡(d))\kappa=O({d\sqrt{s}\over\delta}\log(r_{1}d))=O(\operatorname{poly}(d)).

Assume Proposition 1 holds. Then, for all x∈Rdx\in\R^{d}, ∥Π1Ax∥1≥∥Ax∥1\lVert\Pi_{1}Ax\rVert_{1}\geq\lVert Ax\rVert_{1} holds with probability at least

First we will show a result for fixed y∈Rny\in\R^{n}, summarized in the next lemma.

Pr[∥Π1y∥1<2∥y∥1]≤exp⁡(−r148)+exp⁡(−s1/28r12+log⁡r1)\displaystyle\hbox{\bf{Pr}}\left[{\|\Pi_{1}y\|}_{1}<2{\|y\|}_{1}\right]\leq\operatorname{exp}\left(-{{r_{1}\over 48}}\right)+\operatorname{exp}\left(-{s^{1/2}\over 8r_{1}^{2}}+\log r_{1}\right)

Given this lemma, the proposition follows by putting a γ\gamma-net Γ\Gamma on the range of AA (observe that the range of AA has dimension at most dd). This argument follows the same line as in Sections 3 and 4 of . Specifically, let LL be any fixed (at most) dd dimensional subspace of Rn\R^{n} (in our case, LL is the range of AA). Consider the γ\gamma-net on LL with cubes of side γ/d\gamma/d. There are (2d/γ)d(2d/\gamma)^{d} such cubes required to cover the hyper-cube ∥y∥∞≤1{\|y\|}_{\infty}\leq 1; and, for any two points y1,y2y_{1},y_{2} inside the same γ/d\gamma/d-cube, ∥y1−y2∥1≤γ\lVert y_{1}-y_{2}\rVert_{1}\leq\gamma. From each of the γ/d\gamma/d-cubes, select a fixed representative point which we will generically refer to as y∗y^{*}; select the representative to have ∥y∗∥1=1\lVert y^{*}\rVert_{1}=1 if possible. By a union bound and Lemma 8,

We will thus condition on the high probability event that ∥Π1y∗∥1≥2∥y∗∥{\|\Pi_{1}y^{*}\|}_{1}\geq 2{\|y^{*}\|} for all y∗y^{*}. For any y∈Ly\in L with ∥y∥1=1{\|y\|}_{1}=1, let y∗y^{*} denote the representative point for the cube in which yy resides (∥y∗∥1=1{\|y^{*}\|}_{1}=1 as well). Then ∥y−y∗∥≤γ{\|y-y^{*}\|}\leq\gamma.

where the last inequality holds using Proposition 1. By choosing γ=1/κ\gamma=1/\kappa and recalling that ∥y∗∥1=1{\|y^{*}\|}_{1}=1, we have that ∥Π1y∥1≥1{\|\Pi_{1}y\|}_{1}\geq 1, with probability at least

We have that ∥g∥22=∑i∥Gszi∥22=2∑i∥zi∥22=2∥y∥22{\|g\|}_{2}^{2}=\sum_{i}{\|G_{s}z_{i}\|}_{2}^{2}=2\sum_{i}{\|z_{i}\|}_{2}^{2}=2{\|y\|}_{2}^{2}, and

where the last inequality is because B(i)B^{(i)} is a standard basis vector. To bound ∑jγj2\sum_{j}\gamma_{j}^{2}, we will show that γj\gamma_{j} is nearly uniform. Since γj\gamma_{j} is a weighted sum of independent Bernoulli random variables (because BjiB_{ji} and BjkB_{jk} are independent for i≠ki\not=k), we can use Lemma 2 with ξi=∣g∣i\xi_{i}=|g|_{i} and 1−p=1−1/r1≤11-p=1-1/r_{1}\leq 1, and so ∑iξi=∥g∥1\sum_{i}\xi_{i}={\|g\|}_{1} and ∑iξi2=∥g∥22\sum_{i}\xi_{i}^{2}={\|g\|}^{2}_{2}; setting t=1/r1t=1/r_{1} in Lemma 2:

By a union bound, none of the γj\gamma_{j} exceed 2∥g∥1/r12{\|g\|}_{1}/r_{1} with probability at most r1exp⁡(−s1/2/8r12)r_{1}\operatorname{exp}\left(-{s^{1/2}}/{8r_{1}^{2}}\right). We assume this high probability event, in which case ∑jγj2≤4∥g1∥12/r1\sum_{j}\gamma_{j}^{2}\leq 4{\|g_{1}\|}^{2}_{1}/r_{1}. We can now apply Lemma 4 with β2=r1/4\beta^{2}=r_{1}/4 and t=12t={1\over 2} to obtain

By a union bound, ∥BCg∥1≥12∥g∥1{\|BCg\|}_{1}\geq{1\over 2}{\|g\|}_{1} with probability at least 1−exp⁡(−r148)−exp⁡(−s1/28r12+log⁡r1)1-\operatorname{exp}\left(-{{r_{1}\over 48}}\right)-\operatorname{exp}\left(-{s^{1/2}\over 8r_{1}^{2}}+\log r_{1}\right). Scaling both sides by 44 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 1−c1e−c2kε21-c_{1}e^{-c_{2}k\varepsilon^{2}} (w.r.t. GG), for global constants c1,c2,c3>0c_{1},c_{2},c_{3}>0.

Remark. This is the standard Johnson-Lindenstrauss property with the additional requirement on ∥Gx∥1{\|Gx\|}_{1}. Essentially it says that GxGx is a nearly uniform, so that ∥Gx∥1≈s∥Gx∥2≈s∥x∥2{\|Gx\|}_{1}\approx\sqrt{s}{\|Gx\|}_{2}\approx\sqrt{s}{\|x\|}_{2}.

Let LL be any (fixed) dd dimensional subspace of Rt\R^{t}, and GG an s×ts\times t matrix sampled from a distribution having the MJLP property. Given ε∈(0,13]\varepsilon\in(0,{1\over 3}], let s=36(k+8dc3ε+log⁡(2c1))/c2ε2=O(kε2+dε3)s=36(k+{8d\over c_{3}\varepsilon}+\log(2c_{1}))/c_{2}\varepsilon^{2}=O({k\over\varepsilon^{2}}+{d\over\varepsilon^{3}}). Then, with probability at least 1−e−k1-e^{-k}, for every x∈Rtx\in\R^{t},

We also need a result on how the matrix of Cauchy random variables CC behaves when it hits a vector yy. 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 κ′=O(dδlog⁡(r1d))\kappa^{\prime}=O({d\over\delta}\log(r_{1}d)).

Note that for δ\delta fixed to some small error probability, r1=O(dlog⁡d)r_{1}=O(d\log d), and the product CyCy in the theorem above can be computed in time O(r1n)=O(ndlog⁡d).O(r_{1}n)=O(nd\log d).

The vector zi∈colsp⁡A({i})z_{i}\in\operatorname{colsp}A_{(\{i\})}, noting that colsp⁡A({i})\operatorname{colsp}A_{(\{i\})} is a subspace of Rt\R^{t} of dimension at most dd. Let Ui∈Rt×dU_{i}\in\R^{t\times d} be an orthonormal basis for colsp⁡A({i})\operatorname{colsp}A_{(\{i\})}, and let zi=Uiwiz_{i}=U_{i}w_{i}. Setting ε=12\varepsilon={1\over 2} in Lemma 10, and recalling that GG is s×ts\times t, kk in Lemma 10 can be expressed as k=c2s144−16dc3−log⁡(2c2)k={c_{2}s\over 144}-{16d\over c_{3}}-\log(2c_{2}). Applying a union bound, we have that for all i∈[n/t]i\in[n/t] with probability at least 1−2c1⋅nt⋅exp⁡(−c2s144+16dc3)1-2c_{1}\cdot{n\over t}\cdot\operatorname{exp}(-{c_{2}s\over 144}+{16d\over c_{3}}), that for all y=Axy=Ax (and corresponding zi∈Rtz_{i}\in\R^{t}), it holds that

holds with probability at least 1−δ−2c1⋅ntexp⁡(−c2s144+16dc3)≥1−2δ1-\delta-2c_{1}\cdot{n\over t}\operatorname{exp}(-{c_{2}s\over 144}+{16d\over c_{3}})\geq 1-2\delta (by choosing s≥144c2(16dc3+log⁡2c1nδt)s\geq{144\over c_{2}}({16d\over c_{3}}+\log{2c_{1}n\over\delta t})). The theorem follows because log⁡n≤d\log n\leq d and hence κ′=O(dδlog⁡d)\kappa^{\prime}=O({d\over\delta}\log d), s=O(d+log⁡1δ)s=O(d+\log{1\over\delta}) and t=O(s2+η)t=O(s^{2+\eta}).

Clearly U=AR−1U=AR^{-1} is in the range of AA and has the same null-space otherwise Π1A\Pi_{1}A would not preserve lengths to relative error. Therefore UU is a basis for the range of AA. Consider any x∈Rdx\in\R^{d}. 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 AR−1AR^{-1}; (b) follows because by the construction of RR, Π1AR−1\Pi_{1}AR^{-1} has dd orthonormal columns; finally, (c) follows from the upper bound in (3).

Finally, to obtain the Corollary, if Π1\Pi_{1} satisfying (3) is constructed using Theorem 2 with small fixed probability of failure δ\delta, then r1=O(dlog⁡d)r_{1}=O(d\log d) and κ=O(d2+ηlog⁡d)\kappa=O(d^{2+\eta}\log d). The running time to compute R−1{R^{-1}} is obtained by summing O(ndlog⁡d)O(nd\log d) (to compute Π1A\Pi_{1}A) and O(r1d2)=O(d3log⁡d)O(r_{1}d^{2})=O(d^{3}\log d) (to obtain R−1∈Rd×dR^{-1}\in\R^{d\times d}).

Let C′={y=R−1x:x∈C}{\cal C}^{\prime}=\{y={R^{-1}}x:x\in{\cal C}\} be a linear transform of the constraint set. We start with a basic lemma that allow us to use UU instead of XX. This lemma says that if we can construct a sampling matrix DD for UU under the constraint C′{\cal C}^{\prime} such that solving the down-sampled problem for UU gives a (1+ε)(1+\varepsilon)-approximation, then that same sampling matrix works for XX under the constraint C{\cal C}.

Let U=XR−1U=X{R^{-1}} and DD any diagonal sampling matrix as in Figure 2. Suppose that for any y^∈C′\hat{y}\in{\cal C}^{\prime} that minimizes ∥DUy∥{\|DUy\|}, y^\hat{y} is a (1+ε)(1+\varepsilon)-approximation for the problem min⁡y∈C′∥Uy∥\min_{y\in{\cal C}^{\prime}}{\|Uy\|}. Let x^\hat{x} be any solution to min⁡x∈C∥DXx∥\min_{x\in{\cal C}}{\|DXx\|}. Then x^\hat{x} is a (1+ε)(1+\varepsilon)-approximation for the problem min⁡x∈C∥Xx∥\min_{x\in{\cal C}}{\|Xx\|}.

Select y^=R−1x^∈C′\hat{y}={R^{-1}}\hat{x}\in{\cal C}^{\prime}. For any y∈C′y\in{\cal C}^{\prime}, there is some x∈Cx\in{\cal C} with y=R−1xy={R^{-1}}x, and we have:

where (a) is by the optimality of x^\hat{x}. So, y^\hat{y} minimizes ∥DUy∥1{\|DUy\|}_{1}, hence for all y∈C′y\in{\cal C}^{\prime}, ∥Uy^∥1≤(1+ε)∥Uy∥1{\|U\hat{y}\|}_{1}\leq(1+\varepsilon){\|Uy\|}_{1}. Now consider any x∈Cx\in{\cal C} and let y=R−1x∈C′y={R^{-1}}x\in{\cal C}^{\prime}. Then,

By Theorem 3, U=XR−1U=X{R^{-1}} is an (α,β)(\alpha,\beta)-conditioned basis for the range of XX, where

So, ∥U∥1≤qr1{\|U\|}_{1}\leq q\sqrt{r_{1}} and for all y∈Rqy\in\R^{q}, ∥y∥∞≤κ∥Uy∥1{\|y\|}_{\infty}\leq\kappa{\|Uy\|}_{1}. We next show that λi\lambda_{i} estimates ∥U(i)∥1{\|U_{(i)}\|}_{1}. 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 Z1,…,Zr2Z_{1},\ldots,Z_{r_{2}} be r2r_{2} independent Cauchys. Then, 12≤median⁡{∣Z1∣,…,∣Zr2∣}≤32{1\over 2}\leq\operatorname{median}\{|Z_{1}|,\ldots,|Z_{r_{2}}|\}\leq{3\over 2} with probability at least 1−2e−cr21-2e^{-cr_{2}}, where c≥2(tan⁡−1(15))2≥0.07c\geq 2(\tan^{-1}({1\over 5}))^{2}\geq 0.07 is a constant.

Fix ii and for j∈[r2]j\in[r_{2}] define the random variables Zj=ΛijZ_{j}=\Lambda_{ij} to apply Lemma 12. Observe that for j∈[r2]j\in[r_{2}], Zj=Λij=U(i)Π2(j)Z_{j}=\Lambda_{ij}=U_{(i)}\Pi_{2}^{(j)} are independent Cauchy random variables scaled by ∥U(i)∥1{\|U_{(i)}\|}_{1}. Applying Lemma 12 with λi=median⁡j∈r2∣Λij∣\lambda_{i}=\operatorname{median}_{j\in r_{2}}|\Lambda_{ij}|, we have that with probability at least 1−2e−cr21-2e^{-cr_{2}}

Given DD with nn columns, Suppose that for all y∈Rqy\in\R^{q},

and suppose that y^\hat{y} is a solution to min⁡y∈C′∥DUy∥\min_{y\in{\cal C}^{\prime}}{\|DUy\|}. Then, for all y∈C′y\in{\cal C}^{\prime},

Since DD preserves norms, for any y∈C′y\in{\cal C}^{\prime} we have that:

We are going to apply Lemma 5 with Z=UZ=U. From (10) (which holds for all i∈[n]i\in[n] with probability at least 1−δ1-\delta), λi/∑i∈[n]λi≥13∥U(i)∥1/∥U∥1\lambda_{i}/\sum_{i\in[n]}\lambda_{i}\geq{1\over 3}{\|U_{(i)}\|}_{1}/{\|U\|}_{1}, and so we can apply Lemma 5 with a=13a={1\over 3}. Since UU is (α,β)(\alpha,\beta)-conditioned, ∥Uy∥1≥1β∥y∥∞{\|Uy\|}_{1}\geq{1\over\beta}{\|y\|}_{\infty}, and ∥U∥1≤α{\|U\|}_{1}\leq\alpha, and so we have that with probability at least 1−δ1-\delta,

where 0≤∣ζi∣≤10\leq|\zeta_{i}|\leq 1. Observe that ei∈He_{i}\in H. By a union bound, for every h∈Hh\in H, with probability at least 1−δ1-\delta,

where δ≤2∣H∣exp⁡(−sε2(6+2ε)αβ)\delta\leq 2|H|\operatorname{exp}\left({-s\varepsilon^{2}\over(6+2\varepsilon)\alpha\beta}\right). We condition on this high probability event. Then,

Applying UU to both sides of (12) and using the triangle inequality, ∥Uh∥1≤∥Uy∥1+γq∑i=1q∣ζi∣∥Uei∥1{\|Uh\|}_{1}\leq{\|Uy\|}_{1}+{\gamma\over q}\sum_{i=1}^{q}|\zeta_{i}|{\|Ue_{i}\|}_{1}. We conclude that

where we used ∥Uy∥1≥1β∥y∥∞=1β{\|Uy\|}_{1}\geq{1\over\beta}{\|y\|}_{\infty}={1\over\beta} (since ∥y∥∞=1{\|y\|}_{\infty}=1) and ∑i=1q∥Uei∥1=∥U∥1≤α\sum_{i=1}^{q}{\|Ue_{i}\|}_{1}={\|U\|}_{1}\leq\alpha. In an analogous way, we get the lower bound:

Again, applying UU to (12) and using the triangle inequality gives ∥Uh∥1≥∥Uy∥1−γq∥U∥1{\|Uh\|}_{1}\geq{\|Uy\|}_{1}-{\gamma\over q}{\|U\|}_{1}. Further, ∥Uy∥1≤∥U∥1∥y∥∞≤α{\|Uy\|}_{1}\leq{\|U\|}_{1}{\|y\|}_{\infty}\leq\alpha, and so we have

where we assume ϵ≤12\epsilon\leq{1\over 2}. Setting γ=qε/(4αβ)\gamma=q\varepsilon/(4\alpha\beta), using (1+ε)2≤1+3ε(1+\varepsilon)^{2}\leq 1+3\varepsilon and (1−ε)2≥1−3ε(1-\varepsilon)^{2}\geq 1-3\varepsilon (for ε<12\varepsilon<{1\over 2}), and rescaling ε\varepsilon by dividing by 3, we obtain that with probability at least 1−δ1-\delta,

where δ≤2∣H∣exp⁡(−sε29(6+2ε/3)αβ)\delta\leq 2|H|\operatorname{exp}\left({-s\varepsilon^{2}\over 9(6+2\varepsilon/3)\alpha\beta}\right), and ∣H∣≤(24αβε)q|H|\leq({24\alpha\beta\over\varepsilon})^{q}. Solving for ss using α≤qr1\alpha\leq q\sqrt{r_{1}} and β≤κ\beta\leq\kappa, and simplifying a little, we require

The total success probability is 1−2δ1-2\delta, which results from a union bound applied to the two random processes involving Π2\Pi_{2} and DD. The Theorem now follows by setting δ=1/dρ\delta=1/d^{\rho} for a constant ρ\rho. This concludes the proof of the correctness.

Set δ=13qρ\delta={1\over 3q^{\rho}}, for ρ=O(1)\rho=O(1). We compute the running time as follows. In Step 2, if we use Theorem 2 for Π1\Pi_{1} (which succeeds with probability 1−δ1-\delta), the time to compute Π1X\Pi_{1}X is O(nqlog⁡q)O(nq\log q) and r1=O(qlog⁡q)r_{1}=O(q\log q) and κ=O(qρ+2log⁡q))\kappa=O\left(q^{\rho+2}\log q)\right) (r1r_{1} and κ\kappa affect the running time of later steps); We need to compute an orthogonal factorization in O(r1q2)O(r_{1}q^{2}) and then compute R−1{R^{-1}} in O(q3)O(q^{3}) for a total run time of Step 2 that is O((n+q2)qlog⁡q)O((n+q^{2})q\log q). In Step 3, r2=O(log⁡n)r_{2}=O(\log n) by our choice of r2r_{2}, so the time to compute Λ=XR−1Π2\Lambda=X{R^{-1}}\Pi_{2} is in O(nqr2+r2q2)=O(nqlog⁡n+q2log⁡n)O(nqr_{2}+r_{2}q^{2})=O(nq\log n+q^{2}\log n), where O(nqlog⁡n+q2log⁡n)O(nq\log n+q^{2}\log n) is the time needed to compute R−1Π2R^{-1}\Pi_{2} followed by X⋅(R−1Π2)X\cdot(R^{-1}\Pi_{2}). Note that q2log⁡n≤nqlog⁡nq^{2}\log n\leq nq\log n.

Since computation of the median of r2r_{2} elements is in O(r2)O(r_{2}), computing all λi\lambda_{i} takes O(nr2)=O(nlog⁡n)O(nr_{2})=O(n\log n) time. Thus, the running time for Steps 1-5 is O(nqlog⁡n)+q3log⁡qO(nq\log n)+q^{3}\log q.

where E[S]≤s=O(ε−2qρ+92log⁡52(qε))\hbox{\bf{E}}[S]\leq s=O\left(\varepsilon^{-2}q^{\rho+{9\over 2}}\log^{{5\over 2}}({q\over\varepsilon})\right) and SS is very tightly concentrated around ss (via a standard Bernstein bound) because it is the sum of independent binomial variables; specifically, with probability at least 1−e−38s1-e^{-{3\over 8}s}, S≤2sS\leq 2s. Hence S=O(s)S=O(s) with probability 1−o(1)1-o(1). The probability of success is 1−3δ=1−1qρ1-3\delta=1-{1\over q^{\rho}} (union bound). Since s=ε−2qρ+92poly⁡(log⁡qε)s=\varepsilon^{-2}q^{\rho+{9\over 2}}\operatorname{poly}(\log{q\over\varepsilon}), and since standard algorithms for linear programming give ϕ(S,q)=SqO(1)\phi(S,q)=Sq^{O(1)}, we have the result claimed in the theorem for q=O(d)q=O(d).

As in the proof of Theorem 4 in Section E, given is X∈Rn×qX\in\R^{n\times q} and the constraint set C{\cal C}. We condition on Π1∈Rr1×n\Pi_{1}\in\R^{r_{1}\times n} satisfying (3) and Theorem 3. So, U=XR−1U=XR^{-1} is (qr1,κ)(q\sqrt{r_{1}},\kappa)-conditioned where r1r_{1} and κ\kappa depend on n,q,δn,q,\delta (this holds with probability at least 1−δ1-\delta). Thus, ∥U∥1≤qr1{\|U\|}_{1}\leq q\sqrt{r_{1}} and ∥x∥∞≤κ∥Ux∥1{\|x\|}_{\infty}\leq\kappa{\|Ux\|}_{1} for any x∈Rqx\in\R^{q}. It follows that

(The lower bound follows from ∑i∈[q]∥ei∥∞≤∑i∈[q]∥Uei∥1\sum_{i\in[q]}{\|e_{i}\|}_{\infty}\leq\sum_{i\in[q]}{\|Ue_{i}\|}_{1}, where eie_{i} are standard basis vectors.) In the proof of Theorem 4, we proved the following result. Given weights tit_{i}, with

Recall Λ=UΠ2\Lambda=U\Pi_{2}, where Π2∈Rn×r2\Pi_{2}\in\R^{n\times r_{2}} is a matrix of i.i.d.i.i.d. standard Gaussian random variables, and λ^i=median⁡j∈[r2]∣Λij∣\hat{\lambda}_{i}=\operatorname{median}_{j\in[r_{2}]}|\Lambda_{ij}|, with and

For j∈[r2]j\in[r_{2}], the Λij\Lambda_{ij} are i.i.d. zero mean Gaussians with variance ∥U(i)∥22{\|U_{(i)}\|}_{2}^{2}, so ∣Λij∣|\Lambda_{ij}| are i.i.d half Gaussians. We need a result from .

(Lemma 2 of ). Let x1,…,xrx_{1},\ldots,x_{r} be i.i.d. with continuous distribution function FF and λ=median⁡i∈[r]xi\lambda=\operatorname{median}_{i\in[r]}x_{i}. Then,

For the half Gaussian with variance σ2\sigma^{2}, F(x)=2ϕ(x/σ)−1F(x)=2\phi(x/\sigma)-1 where ϕ\phi is the standard Gaussian distribution function. Choosing ϵ=14\epsilon={1\over 4} and using Lemma 14, with probability at least 1−exp⁡(−r2/2)1-\operatorname{exp}({-r_{2}/2}),

where we used 0.3<ϕ−1(58)0.3<\phi^{-1}({\textstyle{5\over 8}}). Using ∥U(i)∥2≥∥U(i)∥1/q{\|U_{(i)}\|}_{2}\geq{\|U_{(i)}\|}_{1}/\sqrt{q} and ∥U∥1≥q/κ{\|U\|}_{1}\geq q/\kappa, it follows that

holds with probability at least 1−2exp⁡(−r2/2)1-2\operatorname{exp}({-r_{2}/2}) for any particular ii. If we required these bounds to hold for all i∈[n]i\in[n], then to apply the union bound succesfully, we would need to set r2=Ω(log⁡n)r_{2}=\Omega(\log n), which is too costly. We want r2=O(log⁡(dϵ−1log⁡n))r_{2}=O(\log(d\epsilon^{-1}\log n)), so we need a more subtle argument. We choose ss as in (14) with a=0.3q/κa=0.3\sqrt{q}/\kappa.

Let ti=∥U(i)∥1t_{i}={\|U_{(i)}\|}_{1} and pi=min⁡(1,s⋅ti)p_{i}=\min(1,s\cdot t_{i}) be sampling probabilities obtained from the the exact L1L_{1} leverage scores for UU. For these sampling probabilities, aa in (13) is larger which would imply that a smaller ss is needed. Nevertheless, any larger value of ss will also work, and so the same value of ss with a=0.3q/κa=0.3\sqrt{q}/\kappa will work with the weights tit_{i}. Note that since Π1\Pi_{1} is fixed, pip_{i} is not a random variable, but p^i\hat{p}_{i} is a random variable depending on Π2\Pi_{2}. Fix r2r_{2} and generate Π2\Pi_{2} and thence λ^i,p^i\hat{\lambda}_{i},\hat{p}_{i}.

We define a set of indices T⊆[n]T\subseteq[n] as those ii for which λ^i≥(0.3q/κ)∥U(i)∥1/∥U∥1\hat{\lambda}_{i}\geq(0.3\sqrt{q}/\kappa){\|U_{(i)}\|}_{1}/{\|U\|}_{1}. These are the indices for which Π2\Pi_{2} ‘worked’. Essentially, these are the large leverage scores. The intuition behind our argument is that even though there may be some indices for which Π2\Pi_{2} did not work, there are enough large leverage scores for which Π2\Pi_{2} did work that the probability of these faulty indices coming into play is miniscule.

To make this argument, we define hybrid weights wiw_{i} to equal λ^i\hat{\lambda}_{i} for i∈Ti\in T and tit_{i} for i∉Ti\not\in T. By construction,

and so the same ss works for constructing sampling probabilities qi=min⁡(1,s⋅wi)q_{i}=\min(1,s\cdot w_{i}). Note that in the algorithm, we do not actually construct (or know) pi,qip_{i},q_{i}; 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 p^i\hat{p}_{i}. The important property about the qiq_{i} is that for i∈Ti\in T, qi=p^iq_{i}=\hat{p}_{i}.

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 (1+ε)(1+\varepsilon)-approximation to the full L1L_{1} regression. The sampling probabilities qiq_{i} give a good coreset with probability at least 1−δ1-\delta. We now define several events over three random processes: Π2\Pi_{2}, sampling a coreset according to p^i\hat{p}_{i} and sampling a coreset according to qiq_{i}. The last two random processes depend on the outcome of Π2\Pi_{2}.

AllBounded is the event {λ^i≤Clog⁡n⋅∥U(i)∥2 ∀i∈[n]}\{\hat{\lambda}_{i}\leq C\sqrt{\log n}\cdot{\|U_{(i)}\|}_{2}\ \forall i\in[n]\} (we will choose CC later). We show

Indeed, λ^i\hat{\lambda}_{i} is the median of r2r_{2} i.i.d. zero mean Gaussians x1,…,xr2x_{1},\ldots,x_{r_{2}} with variance ∥U(i)∥22{\|U_{(i)}\|}_{2}^{2}, where Pr[xi>Clog⁡n∥U(i)∥2]=1−ϕ(Clog⁡n)≤1/(πnC2/2)\hbox{\bf{Pr}}\left[x_{i}>C\sqrt{\log n}{\|U_{(i)}\|}_{2}\right]=1-\phi(C\sqrt{\log n})\leq 1/(\sqrt{\pi}n^{C^{2}/2}) (by the properties of the Gaussian distribution). Define zi=1z_{i}=1 if xi>Clog⁡nx_{i}>C\sqrt{\log n} and 0 otherwise. Then λ^i>Clog⁡n\hat{\lambda}_{i}>C\sqrt{\log n} if and only if ∑i∈[r2]zi>r2/2\sum_{i\in[r_{2}]}z_{i}>r_{2}/2. We have E[∑i∈[r2]zi]≤r2/(πnC2/2)\hbox{\bf{E}}\left[\sum_{i\in[r_{2}]}z_{i}\right]\leq r_{2}/(\sqrt{\pi}n^{C^{2}/2}) and the result follows by a Markov bound and a union bound over i∈[n]i\in[n].

Let Good(q)\textsf{Good}(q) be the event that the coreset sampled according to probabilities qiq_{i} are good.

Let Good(p^)\textsf{Good}(\hat{p}) be the event that the coreset sampled according to p^i\hat{p}_{i} are good.

Let BadRow be the event that either of the two coresets above contains a row i∉Ti\notin T.

In what follows, we consider probabilities with respect to the joint distribution of Π2\Pi_{2} and the randomness of choosing the coresets according to qiq_{i} and p^i\hat{p}_{i}.

where the second step follows because conditioning on ¬BadRow\neg\textsf{BadRow}, the sampling probabilities p^i\hat{p}_{i} and qiq_{i} are identical (by construction). Thus,

because we know that the sampling probabilities qiq_{i} satisfy the conditions to get a good coreset with probability at least 1−δ1-\delta. To get an upper bound on Pr[BadRow]\hbox{\bf{Pr}}[\textsf{BadRow}], observe that

To conclude, we obtain a bound on Pr⁡[BadRow∣AllBounded]\Pr[{\textsf{BadRow}}|{\textsf{AllBounded}}]. Condition on Π2\Pi_{2} and that AllBounded holds. This fixes TT and p^i\hat{p}_{i} and also means that p^i≤Clog⁡nqi\hat{p}_{i}\leq C\sqrt{\log n}q_{i}. Hence,

where the last equality is because qi=piq_{i}=p_{i} for i∉Ti\not\in T. So the bound is determined by the sum of the leverage scores over the indices for which Π2\Pi_{2} did not work. This is the quantification of our intuition that the algorithm will work as long as Π2\Pi_{2} preserves enough of the large leverage scores. We need to bound ∑i∉Tpi\sum_{i\notin T}p_{i}, where TT is a random set of indices depending on Π2\Pi_{2}. We will use a Markov bound to bound ∑i∉Tpi\sum_{i\notin T}p_{i} with high probability. We have

Since Pr[i∉T]≤exp⁡(−r2/2)\hbox{\bf{Pr}}[i\not\in T]\leq\operatorname{exp}({-r_{2}/2}),

But, ∑i∈[n]pi≤s∑i∈[n]ti=s∥U∥1≤sqr1\sum_{i\in[n]}p_{i}\leq s\sum_{i\in[n]}t_{i}=s{\|U\|}_{1}\leq sq\sqrt{r_{1}}, where the last step follows from the conditioning of UU which is assumed. Putting all this together,

where the last expression follows by setting C=2C=2 in which case 1−1/n≥121-1/n\geq{1\over 2}. Now, recalling ρ>0\rho>0 is given as in the theorem statement, if we set

then, EΠ2[∑i∉Tpi ∣ AllBounded]≤1/log⁡2ρ+1/2n\hbox{\bf{E}}_{\Pi_{2}}\left[\sum_{i\notin T}p_{i}\ \mid\ {\textsf{AllBounded}}\right]\leq 1/\log^{2\rho+1/2}n. Applying a Markov bound and conditioning on AllBounded, with probability at most 1/log⁡ρn1/\log^{\rho}n, the bound ∑i∉Tpi>1/log⁡ρ+1/2n\sum_{i\notin T}p_{i}>1/\log^{\rho+1/2}n holds. Condition on this bad event not happening, in which case, using (16),

where we used C=2C=2. Using a union bound over this bad event not happening, we finally have that

from which Pr[Good(p^)]≥1−δ−O(log⁡−ρn)\hbox{\bf{Pr}}[\textsf{Good}(\hat{p})]\geq 1-\delta-O(\log^{-\rho}n). 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 E1,E2,…\mathcal{E}_{1},\mathcal{E}_{2},\ldots, all centered at the origin, such that Ek⊇C\mathcal{E}_{k}\supseteq\mathcal{C} and ∣Ek∣/∣Ek−1∣<e3/8/2, k=1,2,…|\mathcal{E}_{k}|/|\mathcal{E}_{k-1}|<e^{3/8}/2,\ k=1,2,\ldots, and thus this sequence must terminate in

The last inequality comes from the fact that 12dxk,ik∉Kk{1\over 2\sqrt{d}}x_{k,i_{k}}\notin\mathcal{K}_{k}. Therefore β=(gkTEkgk)−1/2<12d\beta=(g_{k}^{T}E_{k}g_{k})^{-1/2}<{1\over 2\sqrt{d}}, and

Thus, our construction is valid. For each step, it takes at most dd calls to the separation oracle. Therefore, we need at most 3.15d2log⁡L3.15d^{2}\log L calls to find a 2d2d-rounding of C\mathcal{C}. Computing the extreme points of Ek\mathcal{E}_{k} requires an eigendecomposition, which takes O(d3)O(d^{3}) time. Hence the total cost to find a 2d2d-rounding is 3.15d2log⁡L3.15d^{2}\log L calls and additional O(d4log⁡L)O(d^{4}\log L) time. We note that rank-one updates can be used for computing the eigendecomposition of Ek\mathcal{E}_{k} for efficiency. See Gu and Eisenstat .

G.2 Proof of Theorem 9

which means E0=E(0,R0−1)\mathcal{E}_{0}=\mathcal{E}(0,R_{0}^{-1}) gives an n1/p−1/2n^{1/p-1/2}-rounding of C\mathcal{C}. Applying Theorem 8, we can find a 2d2d-rounding of C\mathcal{C} in at most 3.15d2log⁡(n1/p−1/2)3.15d^{2}\log(n^{1/p-1/2}) calls to the separation oracle. Let E=E(0,E)\mathcal{E}=\mathcal{E}(0,E) be the ellipsoid that gives such rounding. We have

The QR factorization takes O(nd2)O(nd^{2}) time. Each call to the separation oracle takes O(nd)O(nd) time. Computing the extreme points of an ellipsoid takes O(d3)O(d^{3}) time. In total, we need O(nd3log⁡n)O(nd^{3}\log n) 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 p<2p<2. The proof for the case p>2p>2 is similar. Adopt the notation from the FastLpBasis algorithm. GG is chosen such that, with a constant probability,

where θ1>0\theta_{1}>0 and θ2>0\theta_{2}>0 are constants. Conditioning on this event, we have

Appendix I Proof of Theorem 12

Thus, it suffices to prove an upper bound on ∥RU∥1\lVert RU\rVert_{1}. (RU)ij=∑kRikUkj(RU)_{ij}=\sum_{k}R_{ik}U_{kj} is a Cauchy scaled by γij=∥U(j)∥\gamma_{ij}={\|U^{(j)}\|}. So ∥RU∥1\lVert RU\rVert_{1} is a sum of r1dr_{1}d scaled, dependent half-Cauchys with sum of scalings γ=∑i,j∥U(j)∥=r1∥U∥1\gamma=\sum_{i,j}{\|U^{(j)}\|}=r_{1}{\|U\|}_{1}. By Lemma 3,

It suffices to set t=O(1plog⁡(r1d))t=O({1\over p}\log(r_{1}d)) for the RHS to be at least 1−δ1-\delta. Since ∥U∥1≤d{\|U\|}_{1}\leq d, with probability at least 1−δ1-\delta, ∥RU∥1=O(r1dδlog⁡(r1d)){\|RU\|}_{1}=O({r_{1}d\over\delta}\log(r_{1}d)). Multiplying both sides by C=4/r1C=4/r_{1} 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 yy. The product CRyCRy is distributed as a Cauchy random vector whose components are independent and scaled by C∥y∥1C{\|y\|}_{1}. Therefore

where XiX_{i} are i.i.d. Cauchy random variables. We now apply Lemma 4 with γ=r1C∥y∥1\gamma=r_{1}C{\|y\|}_{1}, β2=r1\beta^{2}=r_{1} and setting t=12t={1\over 2}, to obtain

Since C=4/r1C=4/r_{1}, we have Pr[∥CRy∥1≤2∥y∥1]≤exp⁡(−r1/12).\hbox{\bf{Pr}}\left[{\|CRy\|}_{1}\leq 2{\|y\|}_{1}\right]\leq\operatorname{exp}\left(-r_{1}/12\right). The result now follows by putting a γ\gamma-net Γ\Gamma on LL for sufficiently small γ\gamma. This argument follows the same line as the end of Section 3 of .

It suffices to show the result for ∥y∥1=1{\|y\|}_{1}=1. Consider the γ\gamma-net on LL with cubes of side γ/d\gamma/d. There are (2d/γ)d(2d/\gamma)^{d} such cubes required to cover the hyper-cube ∥y∥∞≤1{\|y\|}_{\infty}\leq 1; and, for any two points y1,y2y_{1},y_{2} inside the same γ/d\gamma/d-cube, ∥y1−y2∥1≤γ\lVert y_{1}-y_{2}\rVert_{1}\leq\gamma. From each of the γ/d\gamma/d-cubes, select a fixed representative point which we will generically refer to as y∗y^{*}; select the representative to have ∥y∗∥1=1\lVert y^{*}\rVert_{1}=1 if possible. By a union bound

We will thus condition on the high probability event that ∥CRy∗∥1≥∥y∗∥1{\|CRy^{*}\|}_{1}\geq{\|y^{*}\|}_{1} for all y∗y^{*}. We will also condition on the upper bound holding (which is true with probability at least 1−δ1-\delta). For any y∈Ly\in L with ∥y∥1=1{\|y\|}_{1}=1, let y∗y^{*} denote the representative point for the cube in which yy resides (by construction, ∥y∗∥1=1{\|y^{*}\|}_{1}=1 as well). Then ∥y−y∗∥≤γ{\|y-y^{*}\|}\leq\gamma and y−y∗∈Ly-y^{*}\in L since y,y∗∈Ly,y^{*}\in L and LL is a subspace. We have

where we used the upper bound in the last inequality κ′=1δ⋅O(dlog⁡(r1d))\kappa^{\prime}={1\over\delta}\cdot O(d\log(r_{1}d)). By choosing γ=1/κ′\gamma=1/\kappa^{\prime} and recalling that ∥y∗∥1=1{\|y^{*}\|}_{1}=1, we have that ∥CRy∥1≥1{\|CRy\|}_{1}\geq 1, with probability at least 1−δ−exp⁡(−r1/12+dlog⁡(2dκ′))1-\delta-\operatorname{exp}(-r_{1}/12+d\log(2d\kappa^{\prime})). Recall that κ′=O(dδlog⁡(r1d))\kappa^{\prime}=O({d\over\delta}\log(r_{1}d)), so, for cc large enough, by picking r1=c⋅dlog⁡dδr_{1}=c\cdot d\log{d\over\delta}, we satisfy r112≥log⁡1δ+dlog⁡(2d2δlog⁡(r1d)){r_{1}\over 12}\geq\log{1\over\delta}+d\log(2{d^{2}\over\delta}\log(r_{1}d)), and so our bounds hold with probability at least 1−2δ1-2\delta.

Appendix J Proof of Lemma 10

We will need some lemmas from prior work. The first two lemmas are on properties of a γ\gamma-net, taken directly from Lemma 4 of . Let U∈Rt×dU\in\R^{t\times d} be a matrix whose columns are an orthonormal basis for LL; let SS be the unit sphere in Rd\R^{d} and let TT be the set of points in SLS_{L}, the intersection of LL and SS, defined by

∣T∣≤ecd|T|\leq e^{cd} for c=(1γ+2)c=({1\over\gamma}+2).

For any d×dd\times d matrix MM, if for every u,v∈Tu,v\in T we have ∣uTMv∣≤ε|u^{T}Mv|\leq\varepsilon, then for every unit vector ww, we have ∣wTMw∣≤ε(1−γ)2|w^{T}Mw|\leq{\varepsilon\over(1-\gamma)^{2}}.

Note that as γ→0\gamma\rightarrow 0, the inequality in Lemma 17 gets stronger, but the bound on ∣T∣|T| in Lemma 16 gets larger.

The next lemma demonstrates that a JLP distribution preserves matrix products.

For ε∈(0,12]\varepsilon\in(0,{1\over 2}], let GG be an s×ts\times t matrix be drawn from an MJLP distribution as given in Definition 7. Then for A,BA,B any real matrices with tt rows and ∥A∥F=∥B∥F=1\|A\|_{F}=\|B\|_{F}=1,

We now prove the first part of Lemma 10. Let MM be the d×dd\times d matrix M=UTGTGU−IM=U^{T}G^{T}GU-I, and let TT be the γ\gamma-net with γ=12\gamma={1\over 2}. By Lemma 16, ∣T∣≤e4d|T|\leq e^{4d}. Let u,v∈Tu,v\in T be any two points in TT, and set A=UuA=Uu, B=UvB=Uv to be two matrices (actually vectors) with tt rows. Since UU has orthonormal columns, ∥A∥F=∥B∥F=1{\|A\|}_{F}={\|B\|}_{F}=1. By Lemma 18, after relabeling 3ε/2→ε3\varepsilon/2\rightarrow\varepsilon,

So, applying the union bound, for every pair x,y∈Tx,y\in T,

holds with probability at least 1−c1∣T∣2e−4c2sε2/91-c_{1}|T|^{2}e^{-4c_{2}s\varepsilon^{2}/9}. Let GG be the s×ts\times t MJLP matrix constructed as per Lemma 9. We will now derive a bound on ss for the first result (2-norm) to hold. For every unit-norm xx in LL, x=Uwx=Uw for unit norm w∈Rdw\in\R^{d}. By Lemma 17 (with γ=12\gamma={1\over 2}), for every unit vector w∈SLw\in S_{L},

Since wTUTGTGUw=∥Gx∥22w^{T}U^{T}G^{T}GUw={\|Gx\|}_{2}^{2} and ∥w∥22=∥x∥22{\|w\|}_{2}^{2}={\|x\|}_{2}^{2}, after rescaling 4ε→ε4\varepsilon\rightarrow\varepsilon, we have proved that with probability at least 1−c1e8de−c2s4ε2/(9⋅16)=1−c1e8de−c2sε2/361-c_{1}e^{8d}e^{-c_{2}s4\varepsilon^{2}/(9\cdot 16)}=1-c_{1}e^{8d}e^{-c_{2}s\varepsilon^{2}/36},

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 GG is an MJLP, we also have that with probability at least 1−c1∣T∣e−c2sε21-c_{1}|T|e^{-c_{2}s\varepsilon^{2}}, for every w∈Tw\in T with x=Uwx=Uw,

Now consider any unit 2-norm x∈Lx\in L; x=U(w+Δ)x=U(w+\Delta), where w∈Tw\in T has 2-norm at most 11, w+Δw+\Delta has unit 2-norm, and ∥Δ∥2≤γ{\|\Delta\|}_{2}\leq\gamma because TT is a γ\gamma-net on SS. Then,

where ∣Δ′∣≤∥GUΔ∥1\left|\Delta^{\prime}\right|\leq{\|GU\Delta\|}_{1}. 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 ε≤1\varepsilon\leq 1). Thus, for every unit norm x∈Lx\in L,

Choosing γ=c3ε/2\gamma=c_{3}\varepsilon/2, ∣T∣=exp⁡(2d(1+1c3ε2))|T|=\operatorname{exp}\left(2d(1+{1\over c_{3}\varepsilon\sqrt{2}})\right). Since c3<(1+ε)/(1−ε)c_{3}<(1+\varepsilon)/(1-\varepsilon) (as otherwise by the two properties of an MJLP, ∥Gx∥1>s∥Gx∥2\|Gx\|_{1}>\sqrt{s}\|Gx\|_{2} for some xx, a contradiction) and ε≤13\varepsilon\leq{1\over 3}, with probability at least 1−c1e4d/c3εe−c2sε21-c_{1}e^{4d/c_{3}\varepsilon}e^{-c_{2}s\varepsilon^{2}},

After rescaling 2ε→ε2\varepsilon\rightarrow\varepsilon, the probability becomes at least 1−c1e8d/c3εe−c2sε2/41-c_{1}e^{8d/c_{3}\varepsilon}e^{-c_{2}s\varepsilon^{2}/4}. Taking a union bound over the 2-norm result and the Manhattan norm result, and using 8d≤8d/c3ε8d\leq 8d/c_{3}\varepsilon, given that c3≤(1+ε)/(1−ε)c_{3}\leq(1+\varepsilon)/(1-\varepsilon) and ε≤1/3\varepsilon\leq 1/3, we finally have that for any unit 2-norm xx, both the inequalities

hold with probability at least 1−2c1e8d/c3εe−c2sε2/36=1−e−k1-2c_{1}e^{8d/c_{3}\varepsilon}e^{-c_{2}s\varepsilon^{2}/36}=1-e^{-k}, where the last equality follows by setting s=36(k+8dc3ε+log⁡(2c1))/c2ε2=O(kε2+dε3)s=36(k+{8d\over c_{3}\varepsilon}+\log(2c_{1}))/c_{2}\varepsilon^{2}=O({k\over\varepsilon^{2}}+{d\over\varepsilon^{3}}). Since the result holds for any unit norm xx, it holds for any xx by scaling by ∥x∥2{\|x\|}_{2}.