Almost Optimal Unrestricted Fast Johnson-Lindenstrauss Transform
Nir Ailon, Edo Liberty
Introduction
Designing computationally efficient transformations that reduce dimensionality of data while approximately preserving its metric information lies at the heart of many problems. While in compressed sensing such techniques are sought for sparse data in a real or complex metric space (with respect to some basis), in random projections, following the seminal work of Johnson and Lindenstrauss, one seeks to reduce dimension of any set of finite data.The term ”random projections” describes Johnson and Lindenstrauss’ s original construction and became synonymous with the process of approximate metric preserving dimension reduction using randomized linear mappings. However, these linear mappings need not be (and indeed are usually not) projections in the linear algebraic sense of the word. In both applications, random matrices of a suitable size result in optimal construction in the parameters (the original dimension), (the target dimension), (the number of input vectors) and (the distortion). However, these constructions’ resulting running time complexity, measured as number of operations needed in order to map a vector, is suboptimal.
The transformation we derive here is a composition of two random matrices: A random sign matrix and a random selection of a suitable number of rows from a Fourier matrix, where , and is the tolerated distortion level. The result, for constant , is believed to be suboptimal within the factor in the target dimension . The running time of performing the transformation on a vector is dominated by the of the Fast Fourier Transform, and is believed to be optimal. The possibility of obtaining such a running time for fixed distortion was left as an open problem in Ailon and Chazelle and Ailon and Liberty’s work, and here we resolve it up to a factor of . The dependence on the constant is also believed to be suboptimal, and the “correct” dependence shoould be . The question of improving this dependence is left as an open problem.
The use of a combination of random sign matrices and various forms of subsampled Fourier matrices was also used in the work of Ailon and Chazelle and later Ailon and Liberty , as well as that of Matousek . Here we obtain improved analysis using recent work by Rudelson and Vershynin for sparse reconstruction .
An underlying idea common to both random projections and sparse reconstruction is the preservation of metric information under a dimension reducing transformation. In sparse reconstruction theory, this property is known as restricted isometry . A matrix is a restricted isometry with sparseness paramater if for some ,
In , Rudelson and Vershynin construct a distribution over matrices such that, with high probability, has the restricted isometry property with sparseness parameter and arbitrarily small .Their analysis is done over the complex field, but we restrict the discussion to the reals here. In their analysis, and can be applied (to a given vector ) in running time . Assuming polynomial in , this takes the simpler form of .In their work, the dependence of on is not analyzed because is assumed to be fixed (for sparse signal reconstruction purposes, this dependence is not important). It is not hard to derive the quadratic dependence of in from their work. In fact, is (up to a constant) nothing other than a random choice of rows from the (unnormalized) Hadamard matrix, defined as , where is the dot product over the binary field, is assumed to be a power of and are thought of as dimensional vectors over the binary field in an obvious way.Rudelson and Vershynin use the complex Discrete Fourier Transform matrix, but their analysis does not change when using the Hadamard matrix. As a corollary of the result, one obtains a universal matrix for reconstructing sparse signals, which can be applied to a vector in time . The conjecture is that the same distribution with should work as well, but this is a major open question beyond the scope of this work. For an excellent survey explaining how restricted isometry can be used for sparse reconstruction, and why designing such matrices with good computational properties is important we refer the readers to and to references therein.
with constant probability. Additionally, the number of steps required for applying on any given is . In their result was taken as , which is also essentially the best possible . Unfortunately, both results break down when .Ailon and Chazelle and Ailon and Liberty used to denote the data dimension, its cardinality and the sought distortion bound. Here we follow Rudelson and Vershynin’s convention using to denote the dimension and the distortion bound. We now use to denote the data cardinality. Assuming the tolerance parameter fixed, this limitation can be rephrased as follows: The techniques fail when the number of vectors is in .
In both Ailon and Chazelle and Ailon and Liberty’s results, as well as in previous work the bounds (1.2) are obtained by proving strong tail bounds on the distribution of the estimator , and then applying a simple union bound on the finite collection . It is worth a moment’s thought to realize that Ailon and Chazelle’s result as well as that of Ailon and Liberty can be used for restricted isometry as well. Indeed, a simple epsilon-net argument for the set of -sparse vectors can turn that set into a finite set of vectors, on which a union bound can be applied. However, the current limitation of random projections mentioned above will limit to be in (for arbitrarily small ). Interestingly, Rudelson and Vershynin’s result does not break down for polynomial in . A careful inspection of their techniques reveals that instead of union bounding on a finite set of strongly concentrated random variables, they use a result due to Dudley to bound extreme values of Gaussian processes. Can this idea be used to improve and ? Intuitively there is no reason why a result which is designed for preserving the metric of sparse vectors should help with preserving the metric of any finite set of vectors. It turns out, luckily, that such a reduction can be done, though not in an immediate way. A suitable generalization of Rudelson and Vershynin’s result (Section 2), combined with Ailon and Chazelle and Ailon and Liberty’s method of random sign matrix preconditioning achieves this in Section 3.
2. Notation
Now let be a random matrix obtained by picking random rows from the unnormalized Hadamard matrix (the Euclidean norm of each column of is ). Let denote the probability space for the choice of .
Restricted isometry result generalization
We follow the main path of Rudelson et al. in to prove a more general formulation of their main theorem which is more suitable for us here.
[Derived from Rudelson and Vershynin] Let be any real number. Define as
In particular, if , then
If we also assume that , then (2.3) will hold, from which we conclude that
Now we notice that , where for a set of indexes the diagonal matrix (as defined in ) has in diagonal position if and only if . Using this observation and multiplying (2.4) by we conclude that
which is exactly the main result of Rudelson and Vershynin in for restricted isometry.
The proof of Theorem 2.1 below points out the necessary changes to the proof of Theorem 3.4 in . The difference between the theorems is that in our case, the supremum in the definition of is taken not only over the set of sparse vectors, but over a richer set. It turns out however that uses sparsity in a very limited way: In fact, the dominating effect of sparsity there is obtained using the fact that the norm of a sparse vector is small, compared to its norm. These arguments appear at the very end of their proof. For the sake of contributing to the self containment of the paper we walk through the main milestones of the proof of Theorem 3.4 in , and point out the changes necessary for our purposes. The reader is nevertheless encouraged to refer to the enlightening exposition in first.
Clearly . We define new independent random i.i.d. variables obtaining each the values with equal probability. Let denote the probability space for . It suffices to prove (using a symmetrization argument, see Lemma 6.3 in ) that
where is the (random) ’th row of . To that end, as claimed in (Lemma 3.5), if we can show that for any fixed choice of ,
for some number , then by taking on both sides and using Jensen’s inequality (to swap on the RHS with ) and the triangle inequality, the conclusion would be that
Since , we would get the stated result. It thus suffices to prove (2.6) with . To do so, continue by replacing the binary random variables in (2.6) with Gaussian random variables using a comparison principle (inequality (4.8) in ), reducing the problem to that of bounding the expected extreme value of a Gaussian process. Using Dudley’s inequality (Theorem 11.17 in ), as Rudelson and Vershynin do, one concludes that (2.6) will hold with taken as:
For a norm , a set and number , denotes the minimal number of balls of radius in norm centered in points of needed to cover the set ,
is defined as , where , and
, where we remind the reader that is the row of .
Rudelson and Vershynin derive bounds on for small and for large separately, where in their case was the set of -sparse vectors of Euclidean norm (denoted by in ). The sparsity of the vectors in the set is used in both derivations, as follows:
For large , they use containment argument (11) in , asserting that . Note that by Cauchy Schwartz and the definition of , hence we ”gain” a factor of when deriving .
For small , inequality (13) in asserts that , where is the number of ways to choose elements from a set of elements. Since the best sparseness we can assume for vectors in here is trivially , we replace the expression with , and with .To be exact, in they use the expression and not , but the parameter in their work can be taken as for our purposes.
Rudelson and Vershynin then derive a bound for by balancing the two bounds at . In our case we balance at . The net result will lead to a which is as the one in the statement of Lemma 3.5 , except that the will disappear and will be replaced by . The conclusion is that we can take to be
Random Projections
Our main result claims that the same construction used by Rudelson et al. also gives improved bounds for random projections. In what follows, we fix to be and to be . Additionally, we assume that is such that
Indeed, Theorem 2.1 guarantees that this holds with probability at least in .
Let denote a set of cardinality , and let satisfy (3.1). With probability at least (in ) we have the following uniform bound for all :
Let and be defined as in Section 2. For each we write , where is the restriction of to its largest (in absolute value) coordinates and is the restriction to its remaining coordinates. Note that and that is -sparse and that .
For the first term we have from Theorem 2.1 and the fact that is -sparse.
In what follows we will use the bound on to show that with high probability, for all , . A similar argument will bound the cross product . Combining the three gives the desired result that .
We start by analyzing the measure concentration properties of . Let be the Rademacher random variable defined by
Let denote a median of . By Talagrand , we have that for all ,
for some global , where . By the triangle inequality and Equation (3.1) we have . Clearly . Hence, . From the fact that and using Appendix A and (3.2)-(3.3) We conclude that . Hence, again using (3.2)-(3.3) and union bounding over the vectors in , we conclude that with probability , uniformly for all :
We now bound the cross term ( is now held fixed). By disjointness of and , . Decompose into , where and . For any fixed , the function is linear (and hence convex) in . Also for all possible values of , . Hence, again by Talagrand,
where is a median of , and . Clearly,
Again using Appendix A and gives that , and again we conclude using a union bound that with probability at least , uniformly for all , .
Tying it all together, we conclude that with probability at least , uniformly for all ,
Conclusions
The obvious problems left open are those of (1) improving the dependence of in (from to ) and (2) removing the dependence of in . Other directions of research include not only reducing the computational efficiency of random dimension reduction, but also the amount of randomness needed for the construction.
Acknowledgements
We thank Emmanuel Candes for helpful discussions.
References
Appendix A
For any real valued random variable such that for all
we have that .
Define the variable .
Clearly, gives . In the same way we get . Thus, and