Low-distortion Subspace Embeddings in Input-sparsity Time and Applications to Robust Linear Regression

Xiangrui Meng, Michael W. Mahoney

Introduction

Background

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

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

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

For a discussion of ellipsoidal rounding, we refer readers to Clarkson et al. . In this paper, we simply cite the following lemma, which is based on ellipsoidal rounding.

Stable distributions.

where Xi∼iidD⁡X_{i}\stackrel{{\scriptstyle\text{iid}}}{{\sim}}\operatorname{\mathcal{D}} and X∼D⁡X\sim\operatorname{\mathcal{D}}. By “X≃YX\simeq Y”, we mean XX and YY have the same distribution.

By a result due to Lévy , it is known that pp-stable distributions exist for p∈(0,2]p\in(0,2]; and from Chambers et al. , it is known that pp-stable random variables can be generated efficiently, thus allowing their practical use. Let us use D⁡p\operatorname{\mathcal{D}}_{p} to denote the “standard” pp-stable distribution, for p∈p\in, specified by its characteristic function ψ(t)=e−∣t∣p\psi(t)=e^{-|t|^{p}}. It is known that D⁡1\operatorname{\mathcal{D}}_{1} is the standard Cauchy distribution, and that D⁡2\operatorname{\mathcal{D}}_{2} is the Gaussian distribution with mean and variance 22.

Tail inequalities.

We note two inequalities from Clarkson et al. regarding the tails of the Cauchy distribution.

For i=1,…,mi=1,\ldots,m, let CiC_{i} be mm (not necessarily independent) standard Cauchy variables, and γi>0\gamma_{i}>0 with γ=∑iγi\gamma=\sum_{i}\gamma_{i}. Let X=∑iγi∣Ci∣X=\sum_{i}\gamma_{i}|C_{i}|. For any t>1t>1,

For simplicity, we assume that m≥3m\geq 3 and t≥1t\geq 1, and then we have Pr⁡[X>tγ]≤2log⁡(mt)/t\Pr[X>t\gamma]\leq 2\log(mt)/t.

For i=1,…,mi=1,\ldots,m, let CiC_{i} be independent standard Cauchy random variables, and γi≥0\gamma_{i}\geq 0 with γ=∑iγi\gamma=\sum_{i}\gamma_{i}. Let X=∑iγi∣Ci∣X=\sum_{i}\gamma_{i}|C_{i}|. Then, for any t>0t>0,

We also note the following result about Gaussian variables. This is a direct consequence of Maurer’s inequality (), and we will use it to derive lower tail inequalities for pp-stable distributions.

For i=1,…,mi=1,\ldots,m, let GiG_{i} be independent standard Gaussian random variables, and γi≥0\gamma_{i}\geq 0 with γ=∑iγi\gamma=\sum_{i}\gamma_{i}. Let X=∑iγi∣Gi∣2X=\sum_{i}\gamma_{i}|G_{i}|^{2}. Then, for any t>0t>0,

In addition, ΠA\Pi A can be computed in O⁡(nnz⁡(A))\operatorname{\mathcal{O}}(\operatorname{nnz}(A)) time.

The construction of Π\Pi in this theorem is the same as the construction in Clarkson and Woodruff . For them, s=O⁡((d/ϵ)4log⁡2(d/ϵ))s=\operatorname{\mathcal{O}}((d/\epsilon)^{4}\log^{2}(d/\epsilon)) in order to achieve (1±ϵ)(1\pm\epsilon) distortion with a constant probability. Theorem 1 shows that it actually suffices to set s=O⁡((d2+d)/ϵ2)s=\operatorname{\mathcal{O}}((d^{2}+d)/\epsilon^{2}). Surprisingly, the proof is rather simple. Let X=UTΠTΠUX=U^{T}\Pi^{T}\Pi U, where UU is an orthonormal basis for A⁡2\operatorname{\mathcal{A}}_{2}. Compute E[∥X−I∥F2]\mathbf{E}[\|X-I\|_{F}^{2}] and apply Markov’s inequality to ∥X−I∥F2≤ϵ2\|X-I\|_{F}^{2}\leq\epsilon^{2}, which implies ∥X−I∥2≤ϵ\|X-I\|_{2}\leq\epsilon and hence the embedding result. See Appendix A.1 for a complete proof.

Remark. The O⁡(nnz⁡(A))\operatorname{\mathcal{O}}(\operatorname{nnz}(A)) running time is indeed optimal, up to constant factors, for general inputs. Consider the case when AA has an important row aja_{j} such that AA becomes rank-deficient without it. Thus, we have to observe aja_{j} in order to compute a low-distortion embedding. However, without any prior knowledge, we have to scan at least a constant portion of the input to guarantee that aja_{j} is observed with a constant probability, which takes O⁡(nnz⁡(A))\operatorname{\mathcal{O}}(\operatorname{nnz}(A)) time. Note that this optimality result applies to general pp.

In addition, ΠA\Pi A can be computed in O⁡(nnz⁡(A))\operatorname{\mathcal{O}}(\operatorname{nnz}(A)) time.

Instead of analyzing D⁡p\operatorname{\mathcal{D}}_{p} directly, for any p∈(1,2)p\in(1,2), we establish an order among the Cauchy distribution, the pp-stable distribution, and the Gaussian distribution, and then we derive upper and lower tail inequalities for the pp-stable distribution similar to the ones we used to prove Theorem 2. We state these technical results here since they are of independent interest. We start with the following lemma, which is proved in Appendix A.4 and which establishes this order.

For any p∈(1,2)p\in(1,2), there exist constants αp>0\alpha_{p}>0 and βp>0\beta_{p}>0 such that

Our numerical results suggest that the constants αp\alpha_{p} and βp\beta_{p} are not too far away from 11. See Figure 1, which plots of the CDFs of ∣Xp/2∣p|X_{p}/2|^{p} for p=1,0,1.1,…,2.0p=1,0,1.1,\ldots,2.0, based on which we conjecture ∣Xp1/2∣p1⪰∣Xp2/2∣p2|X_{p_{1}}/2|^{p_{1}}\succeq|X_{p_{2}}/2|^{p_{2}}, for all 1≤p1≤p2≤21\leq p_{1}\leq p_{2}\leq 2. This implies that 2p−1∣C∣⪰∣Xp∣p2^{p-1}|C|\succeq|X_{p}|^{p} and ∣Xp∣p⪰2p−2∣X2∣2≃2p−1∣G∣2|X_{p}|^{p}\succeq 2^{p-2}|X_{2}|^{2}\simeq 2^{p-1}|G|^{2}, which therefore provides a value for the constants αp\alpha_{p} and βp\beta_{p}.

Lemma 8 suggests that we can use Lemma 5 (regarding Cauchy random variables) to derive upper tail inequalities for general pp-stable distributions and that we can use Lemma 7 (regarding Gaussian variables) to derive lower tail inequalities for general pp-stable distributions. The following two lemmas establish these results; the proofs of these lemmas are provided in Appendix A.5 and Appendix A.6, respectively.

Given p∈(1,2)p\in(1,2), for i=1,…,mi=1,\ldots,m, let XiX_{i} be mm (not necessarily independent) random variables sampled from D⁡p\operatorname{\mathcal{D}}_{p}, and γi>0\gamma_{i}>0 with γ=∑iγi\gamma=\sum_{i}\gamma_{i}. Let X=∑iγi∣Xi∣pX=\sum_{i}\gamma_{i}|X_{i}|^{p}. Assume that m≥3m\geq 3. Then for any t≥1t\geq 1,

For i=1,…,mi=1,\ldots,m, let XiX_{i} be independent random variables sampled from D⁡p\operatorname{\mathcal{D}}_{p}, and γi≥0\gamma_{i}\geq 0 with γ=∑iγi\gamma=\sum_{i}\gamma_{i}. Let X=∑iγi∣ci∣X=\sum_{i}\gamma_{i}|c_{i}|. Then,

In addition, ΠA\Pi A can be computed in O⁡(nnz⁡(A))\operatorname{\mathcal{O}}(\operatorname{nnz}(A)) time.

In addition, ΠA\Pi A can be computed in O⁡(nnz⁡(A)⋅dlog⁡d)\operatorname{\mathcal{O}}(\operatorname{nnz}(A)\cdot d\log d) time.

Improving the Embedding Dimension

time. The second term comes from solving a subsampled problem of size O⁡(d3+p/2log⁡(1/ϵ)/ϵ2)×d\operatorname{\mathcal{O}}(d^{3+p/2}\log(1/\epsilon)/\epsilon^{2})\times d.

Remark. We have stated our results in the previous sections as poly⁡(d)\operatorname{poly}(d) without stating the value of the polynomial because there are numerous trade-offs between the conditioning quality and the running time. For example, let p=1p=1. We can use a rounding algorithm instead of QR to compute the RR matrix. If we use the input-sparsity time embedding with the O⁡(d)\operatorname{\mathcal{O}}(d)-rounding algorithm of , then the running time to compute the (1±ϵ)(1\pm\epsilon)-distortion embedding is O⁡(nnz⁡(A)⋅log⁡n+d8/ϵ2)\operatorname{\mathcal{O}}(\operatorname{nnz}(A)\cdot\log n+d^{8}/\epsilon^{2}) and the embedding dimension is O⁡(d6.5/ϵ2)\operatorname{\mathcal{O}}(d^{6.5}/\epsilon^{2}) (ignoring log⁡\log factors). If, on the other hand, we use QR to compute RR, then the running time is O⁡(nnz⁡(A)⋅log⁡n+d7/ϵ2)\operatorname{\mathcal{O}}(\operatorname{nnz}(A)\cdot\log n+d^{7}/\epsilon^{2}) and the embedding dimension is O⁡(d8/ϵ2)\operatorname{\mathcal{O}}(d^{8}/\epsilon^{2}). However, with the result from this section, the running time is simply O⁡(nnz⁡(A)⋅log⁡n+poly⁡(d)+T⁡p(ϵ;d3+p/2/ϵ2,d))\operatorname{\mathcal{O}}(\operatorname{nnz}(A)\cdot\log n+\operatorname{poly}(d)+\operatorname{\mathcal{T}}_{p}(\epsilon;d^{3+p/2}/\epsilon^{2},d)) and the poly⁡(d)\operatorname{poly}(d) term can be absorbed by the nnz⁡(A)\operatorname{nnz}(A) term.

Acknowledgments

References

Appendix A Appendix

Let the n×dn\times d matrix UU be an orthonormal basis for the range of the n×dn\times d matrix AA. Rather than proving the theorem by establishing that

where sijs_{ij} is the (i,j)(i,j)-th element of SS, djd_{j} is the jj-th diagonal element of DD, and ujku_{jk} is the (j,k)(j,k)-th element of UU. We will use the following facts in the proof:

Given these results, it is easy to obtain that

For any δ∈(0,1)\delta\in(0,1), set s=(d2+d)/(ϵ2δ)s=(d^{2}+d)/(\epsilon^{2}\delta). Then, by Markov’s inequality,

Therefore, with probability at least 1−δ1-\delta, we have ∥X−I∥2≤∥X−I∥F≤ϵ\|X-I\|_{2}\leq\|X-I\|_{F}\leq\epsilon, which implies

We start with the following result, which establishes the existence of the so-called Auerbach’s basis of a dd-dimensional normed vector space. For our proof, we will only need its existence and not an algorithm to construct it.

(Auerbach ) Let (A⁡,∥⋅∥)(\operatorname{\mathcal{A}},\|\cdot\|) be a dd-dimensional normed vector space. There exists a basis {e1,…,ed}\{e_{1},\ldots,e_{d}\} of A⁡\operatorname{\mathcal{A}}, called Auerbach basis, such that ∥ek∥=1\|e_{k}\|=1 and ∥ek∥∗=1\|e^{k}\|^{*}=1 for k=1,…,dk=1,\ldots,d, where {e1,…,en}\{e^{1},\ldots,e^{n}\} is a basis of A⁡∗\operatorname{\mathcal{A}}^{*} dual to {e1,…,en}\{e_{1},\ldots,e_{n}\}.

For any y=Ux∈Yy=Ux\in Y, we have ∥y∥1=∥Ux∥1≥∥x∥∞=1\|y\|_{1}=\|Ux\|_{1}\geq\|x\|_{\infty}=1,

and thus ∥y∥1≤∥v∥1=d\|y\|_{1}\leq\|v\|_{1}=d. Define YL={y∈Y ∣ ∥yL∥1≥12∥y∥1}Y^{L}=\{y\in Y\,|\,\|y^{L}\|_{1}\geq\frac{1}{2}\|y\|_{1}\} and YH=Y\YLY^{H}=Y\backslash Y^{L}. Given SS, define a mapping ϕ:{1,…,n}→{1,…,s}\phi:\{1,\ldots,n\}\to\{1,\ldots,s\} such that sϕ(j),j=1s_{\phi(j),j}=1, j=1,…,nj=1,\ldots,n, and split LL into two subsets: L^={j∈L ∣ ϕ(j)∈ϕ(H)}\hat{L}=\{j\in L\,|\,\phi(j)\in\phi(H)\} and Lˉ=L\L^\bar{L}=L\backslash\hat{L}. Consider these events:

E⁡U\operatorname{\mathcal{E}}_{U}: ∣ΠU∣1≤ω1dlog⁡d|\Pi U|_{1}\leq\omega_{1}d\log d for some ω1>0\omega_{1}>0.

E⁡L\operatorname{\mathcal{E}}_{L}: ∥SvL∥∞≤ω2/(dlog⁡d)\|Sv^{L}\|_{\infty}\leq\omega_{2}/(d\log d) for some ω2>0\omega_{2}>0.

E⁡H\operatorname{\mathcal{E}}_{H}: ϕ(j1)≠ϕ(j2), ∀ j1≠j2, j1,j2∈H\phi(j_{1})\neq\phi(j_{2}),\ \forall\,j_{1}\neq j_{2},\ j_{1},j_{2}\in H.

E⁡C\operatorname{\mathcal{E}}_{C}: min⁡j∈∣H∣∣cj∣≥ω3/(d2log⁡2d)\min_{j\in|H|}|c_{j}|\geq\omega_{3}/(d^{2}\log^{2}d) for some ω3>0\omega_{3}>0.

E⁡L^\operatorname{\mathcal{E}}_{\hat{L}}: ∣ΠUL^∣1≤ω4/(d2log⁡2d)|\Pi U^{\hat{L}}|_{1}\leq\omega_{4}/(d^{2}\log^{2}d) for some ω4>0\omega_{4}>0.

Recall that we set s=ωd5log⁡5ds=\omega d^{5}\log^{5}d in Theorem 2. We will show that, with ω\omega sufficiently large and proper choices of ω1\omega_{1}, ω2\omega_{2}, ω3\omega_{3}, and ω4\omega_{4}, the event E⁡U\operatorname{\mathcal{E}}_{U} leads to an upper bound of ∥Πy∥1\|\Pi y\|_{1} for all y∈range(A)y\in\text{range}(A), E⁡U\operatorname{\mathcal{E}}_{U} and E⁡L\operatorname{\mathcal{E}}_{L} lead to a lower bound of ∥Πy∥1\|\Pi y\|_{1} for all y∈YLy\in Y^{L} with probability at least 0.90.9, and E⁡H\operatorname{\mathcal{E}}_{H}, E⁡L^\operatorname{\mathcal{E}}_{\hat{L}}, and E⁡C\operatorname{\mathcal{E}}_{C} together imply an lower bound of ∥Πy∥1\|\Pi y\|_{1} for all y∈YHy\in Y^{H}.

Provided E⁡U\operatorname{\mathcal{E}}_{U}, we have

For any y∈range(A)y\in\text{range}(A), we can find an xx such that y=Uxy=Ux. Then,

Provided E⁡L\operatorname{\mathcal{E}}_{L}, for any fixed y∈YLy\in Y^{L}, we have

By assumption E⁡L\operatorname{\mathcal{E}}_{L} and ∥yL∥1≥12∥y∥1≥12\|y^{L}\|_{1}\geq\frac{1}{2}\|y\|_{1}\geq\frac{1}{2}, we obtain the result. ∎

Assume both E⁡U\operatorname{\mathcal{E}}_{U} and E⁡L\operatorname{\mathcal{E}}_{L}. If ω1\omega_{1} and ω2\omega_{2} satisfy

for some δ∈(0,1)\delta\in(0,1) regardless of dd, then, with probability at least 1−δ1-\delta, we have

Set ϵ=1/(2+8ω1dlog⁡d)\epsilon=1/(2+8\omega_{1}d\log d) and create an ϵ\epsilon-net YϵL⊆YLY^{L}_{\epsilon}\subseteq Y^{L} such that for any y∈YLy\in Y^{L}, we can find a yϵ∈YϵLy_{\epsilon}\in Y^{L}_{\epsilon} such that ∥y−yϵ∥1≤ϵ\|y-y_{\epsilon}\|_{1}\leq\epsilon. Since ∥y∥1≤d\|y\|_{1}\leq d for all y∈YLy\in Y^{L}, there exist such an ϵ\epsilon-net with at most (3d/ϵ)d(3d/\epsilon)^{d} elements (Bourgain et al. ). By Lemma 13, we can apply a union bound for all the elements in YϵLY^{L}_{\epsilon}:

For any y∈YLy\in Y^{L}, we have, noting that y−yϵ∈range(A)y-y_{\epsilon}\in\text{range}(A),

So we establish a lower bound for all y∈YLy\in Y^{L}. ∎

Provided E⁡H\operatorname{\mathcal{E}}_{H} and E⁡L^\operatorname{\mathcal{E}}_{\hat{L}}, if ω3>4ω4\omega_{3}>4\omega_{4}, we have

which creates a lower bound for all y∈YHy\in Y^{H}. ∎

We continue to show that, with ω\omega sufficiently large, by setting τ=ω1/4/(dlog⁡2d)\tau=\omega^{1/4}/(d\log^{2}d) and choosing ω1\omega_{1}, ω2\omega_{2}, ω3\omega_{3}, and ω4\omega_{4} properly, we have each event with probability at least 1−0.08=0.921-0.08=0.92 and thus

Moreover, the condition in Lemma 14 holds with δ=0.1\delta=0.1, and the condition in Lemma 15 holds. Therefore, Π=SC\Pi=SC has the desired property with probability at least 0.50.5, which would conclude the proof of Theorem 2.

With probability at least 0.920.92, E⁡U\operatorname{\mathcal{E}}_{U} holds with ω1=500(1+log⁡ω)\omega_{1}=500(1+\log\omega).

Setting ω1=500(1+log⁡ω)\omega_{1}=500(1+\log\omega) and t=ω1log⁡dt=\omega_{1}\log d, we have

We assume that log⁡d≥1\log d\geq 1 and log⁡ω≥1\log\omega\geq 1. ∎

For any δ∈(0,0.1)\delta\in(0,0.1), if s≥d/τs\geq d/\tau, we have,

Let Xij=sijvjLX_{ij}=s_{ij}v^{L}_{j}. We have E[Xij]=vjL/s\mathbf{E}[X_{ij}]=v^{L}_{j}/s, E[Xij2]=(vjL)2/s\mathbf{E}[X_{ij}^{2}]=(v^{L}_{j})^{2}/s, and 0≤Xij≤vjL≤τ0\leq X_{ij}\leq v^{L}_{j}\leq\tau. Fixed ii, XijX_{ij} are independent, j=1,…,nj=1,\ldots,n. By Bernstein’s inequality,

where we use Holder’s inequality: ∥vL∥22≤∥vL∥1∥vL∥∞≤dτ\|v^{L}\|_{2}^{2}\leq\|v^{L}\|_{1}\|v^{L}\|_{\infty}\leq d\tau. To obtain a union bound for all ii with probability 1−δ1-\delta, we need

Given δ<0.1\delta<0.1, it suffices to choose s=d/τs=d/\tau and t=2log⁡(d/(δτ))τt=2\log(d/(\delta\tau))\tau. Note that ∥vL∥1/s≤∥v∥1/s=τ\|v^{L}\|_{1}/s\leq\|v\|_{1}/s=\tau. We have

Increasing ss will decrease the failure rate, so it holds for all s≥d/τs\geq d/\tau. ∎

With probability at least 0.920.92, E⁡L\operatorname{\mathcal{E}}_{L} holds with ω2=(15+log⁡ω)/ω1/4\omega_{2}=(15+\log\omega)/\omega^{1/4}.

By Lemma 17, with probability at least 0.920.92, E⁡L\operatorname{\mathcal{E}}_{L} holds with

With the above choices of ω1\omega_{1} and ω2\omega_{2}, the condition in Lemma 13 holds with δ=0.1\delta=0.1 for sufficiently large ω\omega.

With ω1=500(1+log⁡ω)\omega_{1}=500(1+\log\omega), and ω2=(15+log⁡ω)/ω1/4\omega_{2}=(15+\log\omega)/\omega^{1/4}, the first term in

increases much slower than the second term as ω\omega increases, while both are at the order of dlog⁡dd\log d. Therefore, if ω\omega is sufficiently large, the condition hold with δ=0.1\delta=0.1. ∎

If ω≥160\omega\geq 160, event E⁡H\operatorname{\mathcal{E}}_{H} holds with probability at least 0.920.92.

Given j1,j2∈Hj_{1},j_{2}\in H and j1≠j2j_{1}\neq j_{2}, let Xj1j2=1X_{j_{1}j_{2}}=1 if ϕ(j1)=ϕ(j2)\phi(j_{1})=\phi(j_{2}) and Xj1j2=0X_{j_{1}j_{2}}=0 otherwise. It is easy to see that Pr⁡[Xj1j2=1]=1s\Pr[X_{j_{1}j_{2}}=1]=\frac{1}{s}. Therefore,

With probability at least 0.920.92, event E⁡C\operatorname{\mathcal{E}}_{C} holds with ω3=1/(8ω1/4)\omega_{3}=1/(8\omega^{1/4}).

∣H∣|H| is at most d/τ=ω1/4d2log⁡2dd/\tau=\omega^{1/4}d^{2}\log^{2}d. Then

Therefore, ω3=1/(8ω1/4)\omega_{3}=1/(8\omega^{1/4}) would suffice. ∎

With probability at least 0.920.92, event E⁡L^\operatorname{\mathcal{E}}_{\hat{L}} holds with ω4=25000(1+log⁡ω)/ω3/4\omega_{4}=25000(1+\log\omega)/\omega^{3/4}. Thus with ω\omega sufficiently large and the above choice of ω3\omega_{3}, the condition in Lemma 15 ω3>4ω4\omega_{3}>4\omega_{4} holds.

Assume that ∣UL^∣1≤25ω3/4d2log⁡3d|U^{\hat{L}}|_{1}\leq\frac{25}{\omega^{3/4}d^{2}\log^{3}d}. Similar to the proof of Lemma 16, we have

It suffices to choose t=1000(1+log⁡ω)log⁡dt=1000(1+\log\omega)\log d to make the RHS less than 0.040.04. So with probability at least 0.920.92, we have E⁡L^\operatorname{\mathcal{E}}_{\hat{L}} holds with ω4=25000(1+log⁡ω)/ω3/4\omega_{4}=25000(1+\log\omega)/\omega^{3/4}. ∎

By Theorem 2 and Lemma 3, we know that Steps 2 and 4 of Algorithm 1 succeed with a constant probability. Conditioning on this event, we have

where the last inequality is due to ϵ<1/2\epsilon<1/2. By Theorem 2, Step 2 takes O⁡(nnz⁡(A))\operatorname{\mathcal{O}}(\operatorname{nnz}(A)) time, and Step 3 takes O⁡(poly⁡(d))\operatorname{\mathcal{O}}(\operatorname{poly}(d)) time because ΠA\Pi A has O⁡(poly⁡(d)\operatorname{\mathcal{O}}(\operatorname{poly}(d) rows. Then, by Lemma 3, Step 4 takes O⁡(nnz⁡(A)⋅log⁡n)\operatorname{\mathcal{O}}(\operatorname{nnz}(A)\cdot\log n) time, and Step 5 takes T⁡1(ϵ/4;O⁡(poly⁡(d)log⁡(1/ϵ)/ϵ2),d)\operatorname{\mathcal{T}}_{1}(\epsilon/4;\operatorname{\mathcal{O}}(\operatorname{poly}(d)\log(1/\epsilon)/\epsilon^{2}),d) time. Therefore, the total running time of Algorithm 1 is as stated.

A.4 Proof of Lemma 8

Next, we state the following lemma, which is due to Nolan .

(Nolan [27, Thm. 1.12]) Let X∼D⁡pX\sim\operatorname{\mathcal{D}}_{p} with p∈[1,2)p\in[1,2). Then as x→∞x\to\infty,

where cp=sin⁡πp2⋅Γ(p)/πc_{p}=\sin\frac{\pi p}{2}\cdot\Gamma(p)/\pi.

By Lemma 23, it follows that, as t→∞t\to\infty,

Hence, there exist αp′>0\alpha_{p}^{\prime}>0 and t1>0t_{1}>0 such that for all t>t1t>t_{1},

Note that all the pp-stable distributions with p∈p\in have finite and positive density at x=0x=0. Therefore, there exists αp′′>0\alpha_{p}^{\prime\prime}>0 such that for all 0≤t≤t10\leq t\leq t_{1},

Let αp=max⁡{αp′,αp′′}\alpha_{p}=\max\{\alpha_{p}^{\prime},\alpha_{p}^{\prime\prime}\}. We get αp∣C∣⪰∣Xp∣p\alpha_{p}|C|\succeq|X_{p}|^{p}. For the Gaussian distribution, we have, as t→∞t\to\infty,

which converges to zero much faster than t−1t^{-1}, so we can apply similar arguments to obtain βp\beta_{p}.

A.5 Proof of Lemma 9 (Upper Tail Inequality for p𝑝p-stable Distributions)

Let Ci=Fc−1(Fp(Xi))C_{i}=F_{c}^{-1}(F_{p}(X_{i})), i=1,…,mi=1,\ldots,m, where FcF_{c} is the CDF of the standard Cauchy distribution and FpF_{p} is the CDF of D⁡p\operatorname{\mathcal{D}}_{p}. CiC_{i} follows the standard Cauchy distribution, and, by Lemma 8, we have αp∣Ci∣≥∣Xi∣p\alpha_{p}|C_{i}|\geq|X_{i}|^{p}. Therefore, for any t≥1t\geq 1,

A.6 Proof of Lemma 10 (Lower Tail Inequality for p𝑝p-stable Distributions)

Let GiG_{i} be independent random variables sampled from the standard Gaussian distribution, i=1,…,mi=1,\ldots,m. By Lemma 8, we have

The lower tail inequality from Lemma 7 concludes the proof.

A.8 Proof of Theorem 7 (Improving the Embedding Dimension)

Each of Steps 1, 3, and 5 of Algorithm 2 succeeds with a constant probability. We can control the success rate of each by adjusting the constant factor in the embedding dimension, such that all steps succeed with a constant probability. Conditioning on this event, we have κp(AR−1)=6d\kappa_{p}(AR^{-1})=6d because

By Lemma 1, κˉp(AR−1)≤6d1/p+1\bar{\kappa}_{p}(AR^{-1})\leq 6d^{1/p+1}, and then by Lemma 3, the embedding dimension of SS is O⁡(κˉpp(AR−1)d∣p/2−1∣dlog⁡(1/ϵ)/ϵ2)=O⁡(d3+p/2log⁡(1/ϵ)/ϵ2)\operatorname{\mathcal{O}}(\bar{\kappa}_{p}^{p}(AR^{-1})d^{|p/2-1|}d\log(1/\epsilon)/\epsilon^{2})=\operatorname{\mathcal{O}}(d^{3+p/2}\log(1/\epsilon)/\epsilon^{2}).