Johnson-Lindenstrauss lemma for circulant matrices

Aicke Hinrichs, Jan Vybíral

Introduction

The classical Johnson-Lindenstrauss lemma may be formulated as follows.

The evaluation of f(x)f(x), where ff is a projection onto a random kk dimensional subspace, is a very time-consuming operation. Therefore, a significant effort was devoted to

simplify the algorithm to allow an easy implementation.

Achlioptas observed in , that the mapping may also be realised by a matrix, where each component is selected independently at random with a fixed distribution. This decreases the time for evaluation of f(x)f(x) essentially.

An important breakthrough was achieved by Ailon and Chazelle in . Let us briefly describe their Fast Johnson-Lindenstrauss transform (FJLT). The FJLT is the product of three matrices f(x)=PHDxf(x)=PHDx, where

PP is a k×dk\times d matrix, where each component is generated independently at random. In particular, Pi,j≈N(0,1)P_{i,j}\approx N(0,1) with probability

HH is the d×dd\times d normalised Hadamard matrix,

DD is a random d×dd\times d diagonal matrix, with each Di,iD_{i,i} drawn independently from {−1,1}\{-1,1\} with probability 1/2.

It follows, that with high probability, f(x)f(x) may be calculated in time O(dlog⁡d+qdε−2log⁡n).O(d\log d+qd\varepsilon^{-2}\log n).

We refer to for a historical overview as well as for an extensive description of the present “state of the art”.

In this note we propose another direction to approach the Johnson-Lindenstrauss lemma, namely we investigate the possibility of taking a partial circulant matrix for ff combined with a random ±1\pm 1 diagonal matrix, see the next section for exact definitions.

This transform has a running time of O(dlog⁡d)O(d\log d), requires less randomness (2d2d instead of kdkd or (k+1)d(k+1)d used in ) and allows a simpler implementation.

Unfortunately, up to now, we were only able to prove the statement with k=O(ε−2log⁡3n)k=O(\varepsilon^{-2}\log^{3}n), compared to the standard value k=O(ε−2log⁡n)k=O(\varepsilon^{-2}\log n). We leave the possible improvements of this bound open for further investigations.

Circulant matrices

We study the question (which to our knowledge has not been addressed in the literature before), whether ff in the Johnson-Lindenstrauss lemma may be chosen as a circulant matrix. Let us give the necessary notation.

Let a=(a0,…,ad−1)a=(a_{0},\dots,a_{d-1}) be independent identically distributed random variables. We denote by Ma,kM_{a,k} the partial circulant matrix

Furthermore, if ϰ=(ϰ0,…,ϰd−1)\varkappa=(\varkappa_{0},\dots,\varkappa_{d-1}) are independent Bernoulli variables, we put

Then with probability at least 2/3 the following holds

The preconditioning of xx using DϰD_{\varkappa} seems to be necessary and we shall comment on this point later on. Its role may be compared with the use of the random Fourier transform in .

In contrast to the above mentioned variants of the Johnson-Lindenstrauss lemma, the coordinates of f(x)f(x) are now no longer independent random variables. Our approach “decouples” the dependence caused by the circulant structure. It resembles in some aspects the methods used recently in compressed sensing, cf. .

First, we recall the Lemma 1 from Section 4.1 of (cf. also Lemma 2.2 of ), which shall be useful later on.

where aia_{i} are i.i.d. normal variables and αi\alpha_{i} are nonnegative real numbers. Then for any t>0t>0

Furthermore, we shall use the decoupling lemma of [6, Proposition 1.9].

where (ξ0′,…,ξd−1′)(\xi^{\prime}_{0},\dots,\xi^{\prime}_{d-1}) denotes an independent copy of (ξ0,…,ξd−1)(\xi_{0},\dots,\xi_{d-1}).

The key role in the proof of the Johnson-Lindenstrauss lemma is played by the following estimates.

Then there is a constant cc, independent on k,d,εk,d,\varepsilon and xx, such that

Here (and any time later) the summation in the index is to be understood modulo dd.

The decoupling of the circulant matrix is based on

We use Lemma 2.2 to estimate the diagonal term II.

We choose αi=∑j=0k−1xj+i2\alpha_{i}=\displaystyle\sum_{j=0}^{k-1}x^{2}_{j+i} and get ∣∣α∣∣1=k,∣∣α∣∣∞≤1||\alpha||_{1}=k,||\alpha||_{\infty}\leq 1 and hence ∣∣α∣∣2≤k||\alpha||_{2}\leq\sqrt{k}. This leads to

We set εk/2=2kt\varepsilon k/2=2\sqrt{kt}, i.e. t=ε2k/16t=\varepsilon^{2}k/16, in (2.3) and obtain

On the other hand, if c=5/2−6>1/20c=5/2-\sqrt{6}>1/20, then c+c/2=1/4\sqrt{c}+c/2=1/4 and

for t=cε2kt=c\varepsilon^{2}k, which finally gives

Next, we estimate the moments of the off-diagonal part IIII. We use Lemma 2.3 twice, which gives

where a′a^{\prime} and ϰ′\varkappa^{\prime} are independent copies of aa and ϰ\varkappa, respectively.

First, we make a substitution v=j+i,v′=j+i′v=j+i,v^{\prime}=j+i^{\prime} and use the Khintchine inequality with the optimal constant cp≤pc_{p}\leq\sqrt{p} and the random variable ϰ\varkappa to obtain

Next, we involve Minkowski’s inequality with respect to p/2≥1p/2\geq 1 and Khintchine’s inequality for the random variable ϰ′.\varkappa^{\prime}.

Furthermore, the Minkowski inequality for aa and a′a^{\prime} gives

If a0,…,ad−1a_{0},\dots,a_{d-1} are Bernoulli variables, then Khintchine’s inequality gives

as the product of two independent Bernoulli variables is again of this type.

For normal variables, we use first Khintchine’s inequality and spherical coordinates to obtain

We combine (2.7) with Stirling’s inequality and obtain

Hence, if a0,…,ad−1a_{0},\dots,a_{d-1} are independent Bernoulli or normally distributed variables, we may estimate

We choose pp by the condition 2cp3/2kε=e−1\frac{\sqrt{2}cp^{3/2}}{\sqrt{k}\varepsilon}=e^{-1}. We may assume c≥1c\geq 1, which ensures that p≤kp\leq k and k+pk≤2k\frac{\sqrt{k+p}}{k}\leq\frac{\sqrt{2}}{\sqrt{k}}, which leads to

The proof then follows by (2.1) and (2.2) combined with (2.5), (2.6) and (2.9). ∎

The proof of Theorem 2.1 follows from Lemma 2.4 by the union bound over all (n2)\binom{n}{2} pairs of points.

(i) We note that (2.8) follows directly by very well known estimates of moments of Gaussian chaos, cf. . We preferred to give a simple and direct proof.

(ii) Let us also mention that Lemma 2.4 fails, if the multiplication with DϰD_{\varkappa} is omitted. Namely, let k≤dk\leq d be natural numbers, let a0,…,ad−1a_{0},\dots,a_{d-1} be independent normal variables and let x=1d(1,…,1)x=\frac{1}{\sqrt{d}}(1,\dots,1). If f(x)=Ma,kxf(x)=M_{a,k}x, then

Due to the 2-stability of the normal distribution, the variable

is again normally distributed, i.e. b≈N(0,1).b\approx N(0,1). Hence

depends neither on kk nor on dd and Lemma 2.4 cannot hold.

(iii) The statement of Theorem 2.1 holds also for matrices with Toeplitz structure. The proof is literally the same, only notational changes are necessary.

Acknowledgement: We thank Albrecht Böttcher for his comments to the topic. The research of Aicke Hinrichs was supported by the DFG Heisenberg grant HI 584/3-2. Jan Vybíral acknowledges the financial support provided by the FWF project Y 432-N15 START-Preis “Sparse Approximation and Optimization in High Dimensions”.

References