Combining geometry and combinatorics: A unified approach to sparse signal recovery
R. Berinde, A. C. Gilbert, P. Indyk, H. Karloff, M. J. Strauss
Introduction
With the rise in high-speed data transmission and the exponential increase in data storage, it is imperative that we develop effective data compression techniques, techniques which accomodate both the volume and speed of data streams. A new approach to compressing -dimensional vectors (or signals) begins with linear observations or measurements. For a signal , its compressed representation is equal to , where is a carefully chosen matrix, , often chosen at random from some distribution. We call the vector the measurement vector or a sketch of . Although the dimension of is much smaller than that of , it retains many of the essential properties of .
There are several reasons why linear compression or sketching is of interest. First, we can easily maintain a linear sketch under linear updates to the signal . For example, after incrementing the -th coordinate , we simply update the sketch as . Similarly, we also easily obtain a sketch of a sum of two signals given the sketches for individual signals and , since . Both properties are very useful in several computational areas, notably computing over data streams [AMS99, Mut03, Ind07], network measurement [EV03], query optimization and answering in databases [AMS99].
Another scenario where linear compression is of key importance is compressed sensing [CRT06, Don06a], a rapidly developing area in digital signal processing. In this setting, is a physical signal one wishes to sense (e.g., an image obtained from a digital camera) and the linearity of the observations stems from a physical observation process. Rather than first observing a signal in its entirety and then compressing it, it may be less costly to sense the compressed version directly via a physical process. A camera “senses” the vector by computing a dot product with a number of pre-specified measurement vectors. See [TLW+06, DDT+08] for a prototype camera built using this framework. Other applications of linear sketching include database privacy [DMT07].
There are many algorithms for recovering sparse approximations (or their variants) of signals from their sketches. The early work on this topic includes the algebraic approach of [Man92](cf. [GGI+02a]). Most of the known algorithms, however, can be roughly classified as either combinatorial or geometric.
Combinatorial approach. In the combinatorial approach, the measurement matrix is sparse and often binary. Typically, it is obtained from an adjacency matrix of a sparse bipartite random graph. The recovery algorithm proceeds by iteratively, identifying and eliminating ‘‘large’’ coefficients In the non-sketching world, such methods algorithms are often called “weak greedy algorithms”, and have been studied thoroughly by Temlyakov [Tem02] of the vector . The identification uses non-adaptive binary search techniques. Examples of combinatorial sketching and recovery algorithms include [GGI+02b, CCFC02, CM04, GKMS03, DWB05, SBB06b, SBB06a, CM06, GSTV06, GSTV07, Ind08, XH07] and others.
The typical advantages of the combinatorial approach include fast recovery, often sub-linear in the signal length if and fast and incremental (under coordinate updates) computation of the sketch vector . In addition, it is possible to construct efficient (albeit suboptimal) measurement matrices explicitly, at least for simple type of signals. For example, it is known [Ind08, XH07] how to explicitly construct matrices with measurements, for signals that are exactly -sparse. The main disadvantage of the approach is the suboptimal sketch length.
Geometric approach. This approach was first proposed in the papers [CRT06, Don06a] and has been extensively investigated since then (see [Gro06] for a bibliography). In this setting, the matrix is dense, with at least a constant fraction of non-zero entries. Typically, each row of the matrix is independently selected from a sub-exponential -dimensional distribution, such as Gaussian or Bernoulli. The key property of the matrix which yields efficient recovery algorithms is the Restricted Isometry Property [CRT06], which requires that for any -sparse vector we have . If a matrix satisfies this property, then the recovery process can be accomplished by finding a vector using the following linear program:
The advantages of the geometric approach include a small number of measurements ( for Gaussian matrices and for Fourier matrices) and resiliency to measurement errors Historically, the geometric approach resulted also in the first deterministic or uniform recovery algorithms, where a fixed matrix was guaranteed to work for all signals . In contrast, the early combinatorial sketching algorithms only guaranteed probability of correctness for each signal . However, the papers [GSTV06, GSTV07] showed that combinatorial algorithms can achieve deterministic or uniform guarantees as well.. The main disadvantage is the running time of the recovery procedure, which involves solving a linear program with variables and constraints. The computation of the sketch can be done efficiently for some matrices (e.g., Fourier); however, an efficient sketch update is not possible. In addition, the problem of finding an explicit construction of efficient matrices satisfying the RIP property is open [Tao07]; the best known explicit construction [DeV07] yields measurements.
Connections. There has been some recent progress in obtaining the advantages of both approaches by decoupling the algorithmic and combinatorial aspects of the problem. Specifically, the papers [NV07, DM08, NT08] show that one can use greedy methods for data compressed using dense matrices satisfying the RIP property. Similarly [GLR08], using the results of [KT07], show that sketches from (somewhat) sparse matrices can be recovered using linear programming.
In addition, in Figure 2 we present very recent results discovered during the course of our research. Some of the running times of the algorithms depend on the “precision parameter” , which is always bounded from the above by if the coordinates of are integers.
In this paper we give a sequence of results which indicate that the combinatorial and geometric approaches are, in a rigorous sense, different manifestations of a common underlying phenomenon. This enables us to achieve a unifying perspective on both approaches, as well as obtaining several new concrete algorithmic results.
Consider any matrix that is the adjacency matrix of an -unbalanced expander , , , with left degree , such that are smaller than . Then the scaled matrix satisfies the property, for and for some absolute constant .
The fact that the unbalanced expanders yield matrices with RIP- property is not an accident. In particular, we show in Section 2 that any binary matrix in which each column has ones In fact, the latter assumption can be removed without loss of generality. The reason is that, from the RIP- property alone, it follows that each column must have roughly the same number of ones. The slight unbalance in the number of ones does not affect our results much; however, it does complicate the notation somewhat. As a result, we decided to keep this assumption throughout the paper. and which satisfies RIP- property with proper parameters, must be an adjacency matrix of a good unbalanced expander. That is, an RIP- matrix and the adjacency matrix of an unbalanced expander are essentially equivalent. Therefore, RIP- provides an interesting “analytic” formulation of expansion for unbalanced graphs. Also, without significantly improved explicit constructions of unbalanced expanders with parameters that match the probabilistic bounds (a longstanding open problem), we do not expect significant improvements in the explicit constructions of RIP- matrices.
Consider any binary matrix such that each column has exactly ones. If for some scaling factor the matrix satisfies the property, then the matrix is an adjacency matrix of an -unbalanced expander, for
In the next step in Section 3, we show that the RIP-1 property of a binary matrix (or, equivalently, the expansion property) alone suffices to guarantee that the linear program recovers a good sparse approximation. In particular, we show the following
Let be an matrix of an unbalanced -expander. Let . Consider any two vectors , such that , and . Then
where is the optimal -term representation for .
We also provide a noise-resilient version of the theorem; see Section 3 for details.
By combining Theorem 3 with the best known probabilistic constructions of expanders (Section 2) we obtain a scheme for sparse approximation recovery with parameters as in Figure 1. The scheme achieves the best known bounds for several parameters: the scheme is deterministic (one matrix works for all vectors ), the number of measurements is , the update time is and the encoding time is . In particular, this provides the first known scheme which achieves the best known measurement and encoding time bounds simultaneously. In contrast, the Gaussian and Fourier matrices are known to achieve only one optimal bound at a time. The fast encoding time also speeds-up the LP decoding, given that the linear program is typically solved using the interior-point method, which repeatedly performs matrix-vector multiplications. In addition to theoretical guarantees, random sparse matrices offer an attractive empirical performance. We show in Section 4 that the empirical behavior of binary sparse matrices with LP decoding is consistent with the analytic performance of Gaussian random matrices.
In the final part of the paper, we show that adjacency matrices of unbalanced expanders can be augmented to facilitate sub-linear time combinatorial recovery. This fact has been implicit in the earlier work [GSTV07, Ind08]; here we verify that indeed the expansion property is the sufficient condition guaranteeing correctness of those algorithms. As a result, we obtain an explicit construction of matrices with rows that are amenable to a sublinear decoding algorithm for all vectors (similar to that in [GSTV07]). Previous explicit constructions for sublinear time algorithms either had rows [CM06] or had rows [Ind08, XH07] but were restricted to -sparse signals or their slight generalizations. An additional (and somewhat unexpected) consequence is that the algorithm of [Ind08] is simple, effectively mimicking the well-known “parallel bit-flip” algorithm for decoding low-density parity-check codes.
where is the optimal -term representation for .
Figure 3 summarizes the connections among all of our results. We show the relationship between the combinatorial and geometric approaches to sparse signal recovery
Unbalanced expanders and RIP matrices
In this section we show that RIP- matrices for can be constructed using high-quality expanders. The formal definition of the latter is as follows.
A -unbalanced expander is a bipartite simple graph with left degree such that for any with , the set of neighbors of has size .
In constructing such graphs, our goal is to make , , and as small as possible, while making as close to as possible.
The following well-known proposition can be shown using the probabilistic method.
For any , , there exists a -unbalanced expander with left degree and right set size ).
For any and , one can explicitly construct a -unbalanced expander with left degree , left set size and right set size .
The construction is given in [CRVW02], Theorem 7.3. Note that the theorem refers to notion of lossless conductors, which is equivalent to unbalanced expanders, modulo representing all relevant parameters (set sizes, degree, etc.) in the log-scale. After an additional -time postprocessing, we can ensure that the graph is simple; i.e., it contains no duplicate edges. ∎
2. Construction of RIP matrices
An matrix is said to satisfy if, for any -sparse vector , we have
Observe that the definitions of and matrices are incomparable. In what follows below, we present sparse binary matrices with rows that are RIP1,k,δ; it has been shown recently [Cha08] that sparse binary matrices cannot be RIP2,k,δ unless the number of rows is . In the other direction, consider an appropriately scaled random Gaussian matrix of rows. Such a matrix is known to be RIP2,k,δ. To see that this matrix is not RIP1,k,δ, consider the signal consisting of all zeros except a single 1 and the signal consisting of all zeros except terms with coefficient . Then but .
Theorem 1 Consider any matrix that is the adjacency matrix of an -unbalanced expander with left degree , such that are smaller than . Then the scaled matrix satisfies the property, for and for some absolute constant .
The proof proceeds in two stages. In the first part, we show that the theorem holds for the case of . In the second part, we extend the theorem to the case where is slightly larger than .
The case of . We order the edges , of in a lexicographic manner. It is helpful to imagine that the edges of are being added to the (initially empty) graph. An edge causes a collision if there exists an earlier edge , such that . We define to be the set of edges which do not cause collisions, and .
To upper bound the latter quantity, observe that the vectors satisfy the following constraints:
The coordinates of are monotonically non-increasing.
For each prefix set , , we have - this follows from the expansion properties of the graph .
, since the graph is simple.
It is now immediate that for any satisfying the above constraints, we have . Since , the lemma follows. ∎
Lemma 9 immediately implies that . Since for any we have , it follows that satisfies the property.
The case of . Let . We will show that if is small enough, then the value of is close to .
We start from a few useful technical claims.
For any , define if , and otherwise. Also, define .
We have .
By Lemma 9 we know that . Therefore
We have .
Define the set . We have
It suffices to bound from below.
where we used Lemma 9 in the third line. Altogether
We have .
Define the set . Decompose into a sum
which, as in the proof of Lemma 13, can be bounded from above by
Combining Lemma 14 and Lemma 13 yields the proof of the theorem. ∎
The assumption that each column has exactly ones is not crucial, since the RIP- property itself implies that the number of ones in each column can differ by at most factor of . All proofs in this paper are resilient to this slight unbalance. However, we decided to keep this assumption for the ease of notation.
Theorem 2 Consider any binary matrix such that each column has exactly ones. If for some scaling factor the matrix satisfies the property, then the matrix is an adjacency matrix of an -unbalanced expander, for
Note that, for small values of , we have .
Let be the graph with adjacency matrix . Assume that there exists , such that . We will construct two -dimensional vectors such that , but , which is a contradiction.
The vector is simply the characteristic vector of the set . Clearly, we have and .
The vector is defined via a random process. For , define to be i.i.d. random variables uniformly distributed over . We define if , and otherwise. Note that .
Let be the “collision set”, i.e., the set of all such that the number of the edges from to is at least . Let . By the definition of the set we have . Moreover, from the assumption it follows that .
Let . We split into and . Clearly, . It suffices to show that is significantly smaller than for some .
The expected value of is equal to .
For each , the coordinate is a sum of independent random variables uniformly distributed over . The claim follows by elementary analysis. ∎
By Claim 15 we know that there exists such that . This implies that . Therefore
LP decoding
In this section we show that if is an adjacency matrix of an expander graph, then the LP decoding procedure can be used for recovering sparse approximations.
Let be an adjacency matrix of an unbalanced -expander with left degree . Let . We also define to be the set of edges between the sets and .
Without loss of generality, we can assume that consists of the largest (in magnitude) coefficients of . We partition coordinates into sets , such that (i) the coordinates in the set are not larger (in magnitude) than the coordinates in the set , , and (ii) all sets but have size . Therefore, . Let be a submatrix of containing rows from .
From the equivalence of expansion and RIP-1 property we know that . At the same time, we know that . Therefore
From the expansion properties of it follows that, for , we have . It follows that at most edges can cross from to , and therefore
It follows that , and thus . ∎
2. LP recovery
The following theorem provides recovery guarantees for the program , by setting and .
Theorem 3 Consider any two vectors , such that for we have , and . Let be the set of largest (in magnitude) coefficients of , then
where we used Lemma 16 in the last line. It follows that
Consider any two vectors , such that for we have , and . Let be the set of largest (in magnitude) coefficients of . Then
Experimental Results
Our theoretical analysis shows that, up to constant factors, our scheme achieves the best known bounds for sparse approximate recovery. In order to determine the exact values of those constant factors, we show, in Figure 4, the empirical probability of correct recovery of a random -sparse signal of dimension as a function of and . As one can verify, the empirical constants involved are quite low. The thick curve shows the analytic computation of the phase transition between the survival of typical -faces of the cross-polytope (left) and the polytope (right) under projection by a Gaussian random matrix. This line is equivalent to a phase transition in the ability of LP decoding to find the sparsest solution to , and, in effect, is representative of the performance of Gaussian matrices in this framework (see [Don06b] and [DT06] for more details). Gaussian measurement matrices with rows and columns can recover signals with sparsity below the thick curve and cannot recover signals with sparsity above the curve. This figure thus shows that the empirical behavior of binary sparse matrices with LP decoding is consistent with the analytic performance of Gaussian random matrices. Furthermore, the empirical values of the asymptotic constants seem to agree. See [BI08] for further experimental data.
Sublinear-time decoding of sparse vectors
In this section we focus on the recovery problem for the case where the signal vector is -sparse. The algorithm given here is essentially subsumed by the HHS algorithm provided in the Appendix (modulo the slightly higher reconstruction time and the number of measurements of the latter). The advantage of the algorithm from this section, however, is that it is very simple to present as well as analyze. This will enable us to illustrate the basic concepts without getting into technical details needed for the case of general signals .
The algorithm we present here is essentially a simplification of the algorithm given in [Ind08]. The main difference is the assumption about the measurement matrix . In [Ind08] the matrix was assumed to be an “augmented” version of the adjacency matrix of an extractor. Here, we assume that is an “augmented” version of the adjacency matrix of an unbalanced expander (or alternatively, by Theorem 2, any binary matrix that satisfies an RIP-1 property). The latter assumption turns out to be the “right” one, resulting in further simplification of the algorithm.
To define the matrices, we start with a straightforward definition. If and are 0–1 vectors, we can view them as masks that determine which entries of a signal appear and which are zeroed out. For example, the signal consists of the entries of restricted to the nonzero components of . The notation indicates the componentwise or Hadamard product of two vectors. Given 0–1 matrices and , we can form a matrix that encodes sequential restrictions by all pairs of their rows. We express this matrix as the row tensor product .
The construction of the measurement matrix is as follows. Let be a -unbalanced expander, , with left degree , , . Without loss of generality we can assume that is a power of . Let be the adjacency matrix of . The measurement matrix has rows. The matrix is the bit-test matrix; its th column contains the binary expansion of . That is, For and , let . The -th row of is such that, for any , , where is the -th least significant bit in the binary representation of .
The purpose of the above augmentation is as follows. Consider a specific -sparse vector . Let denote the the support of , i.e., the set of indices of the non-zero coordinates of . Assume that the -th row of the matrix is such that , and let . Then, from the values of , we can recover both and . This is because for each of those rows, the value of is equal to if , or otherwise; moreover, at least one of the values is non-zero. Of course, if , then the algorithm might “recover” an incorrect pair . This can be detected if ; otherwise, the error might be undetected.
Let be a matrix described above. Then for any -sparse , given , we can recover in time .
The main component of the recovery algorithm is the procedure , which returns a vector such that . The procedure maintains a vector of multisets. Initially, all entries are set to .
Reduce(): for compute such that if then if then for such that if contains copies of then return
For any -sparse vector , the procedure Reduce returns a vector such that is -sparse.
From the expanding properties of , it follows that at most rows of return an incorrect pair . Each set of incorrect pairs can change the outcome for at most positions of . Thus, at most positions of can be incorrect. ∎
The final algorithm invokes Recover.
Recover() if then return Reduce() We now need to recover Recover return
Conclusion
We show in this paper that the geometric and the combinatorial approaches to sparse signal recovery are different manifestations of a common underyling phenomenon. Thus, we are able to show a unified perspective on both approaches—the key unifiying elements are the adjacency matrices of unbalanced expanders.
In most of the recent applications of compressed sensing, a physical device instantiates the measurement of and, as such, these applications need measurement matrices which are conducive to physical measurement processes. This paper shows that there is another, quite different, large, natural class of measurement matrices, combined with the same (or similar) recovery algorithms for sparse signal approximation. These measurement matrices may or may not be conducive to physical measurement processes but they are quite amenable to computational or digital signal measurement. Our work suggests a number of applications in digital or computational “sensing” such as efficient numerical linear algebra and network coding.
The preliminary experimental analysis exhibits interesting high-dimensional geometric phenomena as well. Our results suggest that the projection of polytopes under Gaussian random matrices is similar to that of projection by sparse random matrices, despite the fact that Gaussian random matrices are quite different from sparse ones.
References
Appendix A HHS(p)(p) decoding
In this section we focus on the general recovery problem for an arbitrary vector . We show that, as in the previous algorithm in Section 5, we can use the adjacency matrices of unbalanced expanders, suitably augmented and concatenated, to obtain an explicit construction of matrices that are designed for the sub-linear time combinatorial recovery algorithm HHS in [GSTV07]. We call this modified algorithm the HHS algorithm. For the sake of exposition, we highlight the necessary changes in the construction of the matrices and the algorithm and summarize the remaining, unchanged portions of the algorithm. Similarly, for the analysis of HHS, we present only those portions which are significantly different from the original analysis and summarize those which are not. We establish the following result.
Let denote the size of the measurements for either an explicit or random construction. Then, the HHS algorithm runs in time .
For explicit constructions and for random constructions .
If we truncate the output of the algorithm to the largest terms, then the modified output satisfies
This subsection describes how to construct the measurement matrix . We note that this construction has the same super-structure as the random construction in [GSTV07] and, as such, we highlight the necessary changes while summarizing the similar pieces. For ease of exposition, we set . The matrix consists of two pieces: an identification matrix and an estimation matrix . We use the first part of the sketch to identify indices of significant components of the signal quickly and then we use the second part to estimate the coefficients of those terms.
We use concatenated copies of the (normalized) adjacency matrices of -unbalanced expanders with left degree . In what follows, we let the sparsity parameter vary but fix . Normalize by the factor . By Theorem 1, such matrices satisfy the property for and . Fix so that . Finally, we note that the number of rows in such a matrix is for known explicit constructions of such matrices and is for random constructions. To simplify our accounting below, we denote the number of rows by for either the explicit or the random constructions.
The identification matrix is a 0–1 matrix with dimensions . It consists of a combination of a three structured matrices. Formally, is the row tensor product . The bit-test matrix has dimensions , and the isolation matrix has dimensions .
The isolation matrix is a 0–1 matrix with a hierarchical structure. It consists of blocks labeled by , where . Each block, in turn, has further substructure as a row tensor product of a collection of 0–1 matrices: for and . The first matrix is called the sifting matrix and the second matrix is called the noise reduction matrix. Each sifting matrix is the normalized adjacency matrix of an -unbalanced expander (or, equivalently, a normalized 0–1 matrix).
The purpose of the noise reduction matrix is to attenuate the noise in a signal that has a single large component. It is also a 0–1 valued matrix constructed as follows. For each pair of indices , let be a prime power corresponding to a finite field of size . Then we set each noise reduction matrix to be the Nisan-Wigderson generator over the field of size . That is, we index the rows of the matrix by by pairs of field elements and index columns by polynomials of degree at most . Position is 1, if , and 0, otherwise. Such a construction produces a matrix with rows. See [DeV07] or [CM06] for similar constructions of similar sizes.
We note that the dimensions of the product of matrices are the critical ones (not the dimensions of the individual matrices). Each block is of dimension .
A.1.2. The estimation matrix
A.2. The HHS(p)(p) algorithm
A.3. Proof sketches
The goal of the algorithm is to identify a small set of signal components that carry most of the -energy in the signal and to estimate the coefficients of those components well. We argue that, when our signal estimate is poor, the algorithm makes substantial progress toward this goal. We focus on the analysis of the algorithm in the case when our signal estimate is poor as this is the critical case. More precisely, assume that the current approximation satisfies
First, we obtain a fundamental relationship between the large and the small entries in a signal in Lemmas 21, 22.
Next, we show in Lemma 23 that the sifting matrix isolates significant coefficients in a moderate amount of noise.
Finally, we use a small RIPp,L,δ matrix to estimate the values of the coefficients in Lemma 28.
We note that for , the constant is bounded below by and from above by so if , then .
If we combine this relation with our previous calculation, we find
To prove the second inequality, we use the Cauchy-Schwarz inequality to see that
Finally, we add this inequality to (A.4) to obtain
Now, we turn to the identification of significant signal entries. We pull these off in bands of decreasing magnitude. For exposition, we assume that . We can think of the action of one submatrix as
mapping each input signal to a collection of output signals.
To prove this result, we must show a sequence of shorter results. Our goal is to isolate significant spikes from one another and to reduce the contribution of the rest of the signal to these isolations.
An band is a band of spikes of magnitude between and . There is some (a power of 2) such that the number of spikes in the band is between and . If the -contribution, , of this band to the current residual error is greater than the average band’s contribution, ; i.e.,
The next lemma tells us how many spikes lie above a significant band.
If an band is significant, then there are at most terms of magnitude greater than in the current residual.
If the spikes of magnitude have -energy at least as big as spikes of magnitude , then
and so the number of larger spikes must be less than , , as . Because there are only possible , if we take a union over all , we achieve the desired result. ∎
We say that a spike with index is isolated from other spikes with indices in a set by a matrix if there is a row in that has a one in column and no other one in any column in .
We are ready to begin the proof of Lemma 23. Our goal is to show that isolates from each other the vast majority of spikes of magnitude , and, hence, isolates the majority of those with magnitude equal to from the larger spikes.
Let with . We apply the noise reduction operator to . In at least half of the output signals, we have signals of the form
Consider the submatrix of obtained by extracting the rows of that have a 1 in column and then removing column itself. By construction, has at most ones in any column, so its 1-to-1 operator norm is at most . Thus the average over rows of of is at most , or at most if we incorporate extra log factors into .
In addition, the number of rows in the matrix is , where and . If , the number of rows is . If , the number of rows is . Observe that and imply . Since , it follows that
The estimation portion of the algorithm is exactly the same as the HHS algorithm. Let be the set of identified candidates, . By the RIP- property, the submatrix of given by columns indexed by is invertible and the inverse is bounded in the appropriate operator norm. we can apply to by Jacobi iteration in time to estimate the coefficients in . In the exact case of , we recover exactly. Otherwise, the RIP- property assures that the -norm of the vector of estimates is bounded in terms of the -norm of ; i.e., this estimation process introduces errors that are small compared with the error associated with missing the other terms in . Its proof is a small modification of the proof in [GSTV07], which itself was originally proven by Rudelson.
Then and .
Let denote , so that . Let denote the complement of .