New and improved Johnson-Lindenstrauss embeddings via the Restricted Isometry Property
Felix Krahmer, Rachel Ward
Introduction
The Johnson-Lindenstrauss (JL) Lemma states that any set of points in high dimensional Euclidean space can be embedded into dimensions, without distorting the distance between any two points by more than a factor between and . In its original form, the Johnson-Lindenstrauss Lemma reads as follows.
As shown in , the bound for the size of is tight up to an factor. In the original paper of Johnson and Lindenstrauss, it was shown that a random orthogonal projection, suitably normalized, provides such an embedding with high probability . Later, this property was also verified for Gaussian random matrices, among other random matrix constructions . As a consequence, the JL Lemma has become a valuable tool for dimensionality reduction in a myriad of applications ranging from computer science , numerical linear algebra , manifold learning , and compressed sensing , , .
In most of these frameworks, the map under consideration is a linear map represented by an matrix . In this case, one can consider the set of differences ; to prove the theorem, one then needs to show that
When is a random matrix, the proof that satisfies the JL lemma with high probability boils down to showing a concentration inequality of the type
In order to reduce storage space and implementation time of such embeddings, the design of structured random JL embeddings has been an active area of research in recent years ; see or for a good overview of these efforts. Of particular importance in this context is whether fast (i.e. ) multiplication algorithms are available for the resulting matrices. Fast JL embeddings with optimal embedding dimension were first constructed by Ailon and Chazelle , but their embeddings are fast only for vectors. This restriction on the number of vectors was later weakened to . In , fast JL embeddings were constructed without any restrictions on the number of vectors, but the authors only provide sub-optimal embedding dimension . In this paper, we provide the first unrestricted fast JL construction with optimal embedding dimension up to logarithmic factors in . Note that in the range not covered by the constructions in , a logarithmic factor in is bounded by , and thus plays a minor role.
The restricted isometry constant is defined as the smallest value of for which (4) holds.
In particular, if has -RIP with , and if admits a -sparse solution , then .
The similarity between the expressions in (2) and (4) suggests a connection between the JL lemma and the Restricted Isometry Property. A first result in this direction was established in , wherein it was shown that random matrices satisfying a concentration inequality of type (3) (and hence the JL Lemma) satisfy the RIP of optimal order. More precisely, the authors prove the following theorem.
Suppose that , and are given. If the probability distribution generating the matrices satisfies the concentration inequality (3) with and absolute constant , then there exist absolute constants such that with probability the RIP (4) holds for with the prescribed and any .
In this sense, the JL Lemma implies the Restricted Isometry Property.
Contribution of this work.
We prove a converse result to Theorem 1.3: We show that RIP matrices, with randomized column signs, provide Johnson-Lindenstrauss embeddings that are optimal up to logarithmic factors in the ambient dimension. In particular, RIP matrices of optimal order provide Johnson-Lindenstrauss embeddings of optimal order as such, up to a logarithmic factor in (see Theorem 3.1). Note that without randomization, such a converse is impossible as vectors in the null space of the fixed parent matrix are always mapped to zero.
This observation has several consequences in the area of compressed sensing, and also allows us to obtain improved JL embedding results for several matrix constructions with existing RIP bounds . Of particular interest is the random partial Fourier or the random partial Hadamard matrix, which is formed by choosing a random subset of rows from the discrete Fourier or Hadamard matrix respectively, and with high probability has -RIP if the embedding dimension . For these matrices with randomized column signs, the running time for matrix-vector multiplication is as opposed to the running time of for purely random matrices. For such constructions, the previous best-known embedding dimension to ensure that (2) holds with probability , given by Ailon and Liberty , is . We can improve their result to have optimal dependence on the distortion, , showing that rows suffice for the embedding.
This paper is structured as follows: Section 2 introduces necessary notation. In Section 3, we state our main results, and Section 4 gives concrete examples of how these results improve on the best-known JL bounds for several matrix constructions as well as applications of our findings in compressed sensing. In Section 5 we give the relevant concentration inequalities and explicit RIP-based matrix inequalities that are needed for the proofs, which are then carried out in Section 6.
Notation
The main results
Along the way, our method provides a direct converse to Theorem 1.3:
Concrete examples and applications
Using Theorem 3.1, we can improve on the best Johnson-Lindenstrauss bounds for several matrix constructions that are known to have the Restricted Isometry Property:
For measures with discrete support, such constructions are equivalent to choosing rows at random from an matrix with orthonormal rows and uniformly bounded entries. Examples include the random partial Fourier matrix or random partial Hadamard matrix, formed from the discrete Fourier matrix or discrete Hadamard matrix respectively. (In the Fourier case, we distribute the resulting real and complex parts in different coordinates, inducing an additional factor of .) Note that the structure of these matrices allows for fast matrix vector multiplication. Recently, Ailon and Liberty verified the JL Lemma for such constructions, with column signs randomized, when . Our result improves the factor of in their result to the optimal dependence . We note that while their proof also uses the RIP, it also requires arguments from that are specific to discrete bounded orthonormal systems.
Examples of bounded orthonormal systems connected to continuous measures include the trigonometric polynomials and Chebyshev polynomials, which are orthogonal with respect to the uniform and Chebyshev measures, respectively. The Legendre system, while not uniformly bounded, can still be transformed via preconditioning to a bounded orthonormal system with respect to the Chebyshev measure . Note that all of these constructions have an associated fast transform.
Partial circulant matrices.
Other classes of structured random matrices known to have the RIP include partial circulant matrices . In one such set-up, the first row of the matrix is a Gaussian or Rademacher random vector, and each subsequent row is created by rotating one element to the right relative to the preceding row vector. Again, rows of this matrix are sampled, but in contrast to partial Fourier or Hadamard matrices, the selection need not be random. Using that convolution corresponds to multiplication in the Fourier domain, these matrices have associated fast matrix-vector multiplication routines. In , such matrices were shown to have the RIP with high probability for .
On the other hand, such a matrix composed with a diagonal matrix of random signs was shown to be a JL embedding with high probability as long as . Through Theorem 3.1, the same results also obtain if m\gtrsim\operatorname{max}\Big{(}\varepsilon^{-1}\log^{3/2}\left(\frac{4p}{\eta}\right)\log^{\frac{3}{2}}(N),\varepsilon^{-2}\log\left(\frac{4p}{\eta}\right)\log^{4}(N)\Big{)}. For large , this is an improvement compared to .
Deterministic constructions.
Several deterministic constructions of RIP matrices are known, including a recent result in that requires only . We refer the reader to the exposition in for a good overview in this direction; we highlight two such deterministic constructions here. Using finite fields, DeVore provides deterministic constructs of cyclic --valued matrices with -RIP with . Iwen provides deterministic constructions of --valued matrices whose number theoretic properties allow their products with Discrete Fourier Transform (DFT) matrices to be well approximated using a few highly sparse matrix multiplications. Both the binary-valued matrices and their products with the DFT yield -RIP matrices with . By Theorem 3.1, the class of matrices that results by randomizing the column signs of either of these deterministic constructions satisfies the JL Lemma with .
Note that the amount of randomness needed to construct such embeddings is still comparable to the first two examples, requiring random bits. Under the model assumption that the entries of each vector to be embedded has random signs, however, the required randomness in the matrix is removed completely.
For each of the aforementioned examples, we summarize the number of dimensions that are known to be sufficient -RIP to hold. We also list the previously best known bound for JL embedding dimension (if there is one) along with the JL bounds obtained from Theorem 3.1. Where Theorem 3.1 yields a better bound than previously known, at least for some range of parameters, we highlight the result in bold face. In each of the bounds, we list only the dependence on , and , or and , omitting absolute constants.
Compressed sensing in redundant dictionaries.
As shown recently in , concentration inequalities of type (3) allow for the extension of the compressed sensing methodology to redundant dictionaries – in particular, tight frames – as opposed to orthonormal bases only. Since signals with sparse representations in redundant dictionaries comprise a much more realistic model of nature, this extension of compressed sensing is fundamental. Our results show that basically all random matrix constructions arising in the standard theory of compressed sensing (i.e., based on RIP estimates) also yield compressed sensing matrices for the redundant framework.
Compressed sensing with cross validation.
Compressed sensing algorithms are designed to recover approximately sparse signals; if this assumption is violated, they may yield solutions far from the input signal. In , a method of cross validation is introduced to detect such situations, and to obtain tight bounds on the error incurred by compressed sensing reconstruction algorithms in general. There, a subset of the measurements are held out from the reconstruction algorithm and only the remaining measurements are used to produce a candidate approximation to the unknown . If the hold-out matrix satisfies the Johnson-Lindenstrauss Lemma, then the observable quantity can be used as a reliable proxy for the unknown error . Our work shows that any RIP matrix as in the standard compressed sensing framework can be used for cross validation up to a randomization of its column signs.
Optimal asymptotics in δ𝛿\delta for RIP to hold.
As mentioned above, it can be shown using a Gelfand width argument that is the optimal asymptotics (in and ) of the embedding dimension for a matrix with the restricted isometry property (4). Our results – combined with the known optimality of the asymptotics for the embedding dimension in the Johnson-Lindenstrauss Lemma (1.1) – imply that up to a factor of , is the optimal asymptotics in the restricted isometry constant for fixed and as . Recall that this rate is realized by many of the above examples, such as Gaussian random matrices.
Proof Ingredients
The proof of Theorem 3.1 relies on concentration inequalities for Rademacher sequences and explicit RIP-based norm estimates. The first concentration result is a classical inequality by Hoeffding .
The second concentration of measure result is a deviation bound for Rademacher chaos. There are many such bounds in the literature; the following inequality dates back to , but appeared with explicit constants and with a much simplified proof as Theorem in .
Let be the matrix with entries and assume that for all . Let be a Rademacher sequence. Then, for any ,
We also need the following basic estimate for RIP matrices (see for instance Proposition in ).
The proof of our norm estimate for RIP-matrices uses Proposition 5.3, and relies on the observation commonly used in the theory of compressed sensing (see for example ) that for in decreasing arrangement and , for one has and thus .
The following bounds hold: and .
To obtain (10), we use the inequality of arithmetic and geometric means; to obtain (9), we use Proposition 5.3.
Proof of the main results
We begin by proving Theorem 3.1. Without loss of generality, we assume that all are normalized so that . Furthermore, assume that is even.
We first consider a fixed , eventually taking a union bound over all . We further assume that is in decreasing arrangement. To achieve this, we reorder the entries of , and permute the columns of accordingly. This has no impact on the following estimates, as the Restricted Isometry Property of the matrix is invariant under permutations of its columns. We need to estimate
As has the Restricted Isometry Property of order and level , it also has the RIP of order and level , and each is almost an isometry. Hence, noting that , the first term can be estimated as follows.
Thus, using that
To estimate the second term, fix and consider the random variable
with as in Proposition 5.4. By Hoeffding’s inequality (Proposition 5.1) combined with Proposition 5.4,
In order for this probability to be less than , we need:
In order for this probability to be less than , we need:
By assumption, , so conditions (13) and (15) are satisfied by setting , and (that is, ). Then the second term is bounded by in absolute value, and the last term is bounded by . Together with the deterministic RIP-based estimate for the first term, this implies the Theorem. ∎
Remarks:
As shown in , a random matrix whose entries follow a subgaussian distribution is known to have with high probability the Restricted Isometry Property of best possible order, that is, one can choose When , is a JL embedding by Theorem 3.1, and our resulting bound for is optimal up to a single logarithmic factor in . This shows that Theorem 3.1 must also be optimal up to a single logarithmic factor in .
Acknowledgments
The authors would like to thank Holger Rauhut, Deanna Needell, Jan Vybíral, Mark Tygert, Mark Iwen, Justin Romberg, Mark Davenport, and Arie Israel for valuable discussions on this topic. Rachel Ward gratefully acknowledges the partial support of National Science Foundation Postdoctoral Research Fellowship. Felix Krahmer gratefully acknowledges the partial support of the Hausdorff Center for Mathematics. Finally, both authors are grateful for the support of the Institute of Advanced Study through the Park City Math Institute where this project was initiated.