# Sparse reconstruction with compressed sensing

Author: Ngoc Ly (SysEn 5800 Fall 2021)

## Introduction

### Goal

The goal of compressed sensing is to solve the underdetermined linear system in which the number of variables is much greater than the number of observations, resulting in an infinite number of signal coefficient vectors for the same set of compressive measurements . The objective is to reconstruct a vector in a given of measurements and a sensing matrix A. Instead of taking a large number of high-resolution measurements and discarding the majority of them, consider taking far fewer random measurements and reconstructing the original with high probability from its sparse representation.

### Basic Idea and Notation

Begin with a linear equation , where is a random sensing matrix that must be obtained and will result in either exact or approximated optimum solution depending on how it is chosen, is a signal vector with at most -sparse entries, which means has non-zero entries, be an index set, is a compressed measurement vector, , is a noise vector and assumed to be bounded if it exists, and read as much less than .

### Sparsity

A vector is said to be -sparse in
if it has at most nonzero coefficients.
The support of is , and is a -sparse signal when the cardinality .
The set of -sparse vectors is denoted by .
Consequently, there are different subsets of -sparse vectors. If a random -sparse is drawn uniformly from ,
its entropy, , is approximately equivalent to bits are required for compression of ^{[1]}^{[2]}.

The idea is to search for the sparsest from the measurement vector and a sensing matrix with . If the number of linear measurements is at least twice as its sparsity , i.e., , then there exists at most one signal that satisfies the constraint and produce the correct result for any ^{[2]}. Hence, the reconstruction problem can be formulated as an "norm" program.

This optimization problem minimizes the number of nonzero entries of subject to the constraint , that is to find the sparsest element in the affine space ^{[3]}. It turns out to be a combinatorial optimization problem, which is NP-Hard^{[4]} because it includes all possible sets of -sparse out of . Furthermore, if noise is present, the recovery is unstable [Buraniuk "compressed sensing"].

### Restricted Isometry Property (RIP)

A matrix is said to satisfy the RIP of order if for all has a . A restricted isometry constant (RIC) of is the smallest satisfying this condition ^{[5]}^{[6]}^{[7]}.

Under projections through matrix , the restricted isometry property allows -sparse vectors to have unique measurement vectors . If meets RIP, then does not send two distinct -sparse to the same measurement vector , indicating that is a unique solution under RIP.

If the matrix satisfies the RIP condition of order and the constant , there are two distinct -sparse vectors in . When they are equal, the restricted isometry property holds. If is a -order RIP matrix, it means that no two -sparse vectors are mapped to the same measurement vector by . In other words, when working with sparse vectors, the RIP ensures that the columns of are nearly orthonormal. Furthermore, is an approximately norm-preserving function, which means that it preserves its distance when mapping for -sparse signals for all or more as approaches zero. Candes, Romberg, and Tao ^{[5]} proved that if is -sparse, and satisfies the RIP of order with RIP-constant , then gives a unique sparse solution. The convex optimization problem is the same as the solution to the program and can solve by the Linear Program ^{[3]} ^{[2]}. Hence, the reconstruction problem is as followed which can be solved by basis pursuit ^{[5]} ^{[8]}.

## Theory and Algorithmic Discussions

Two main things need to be considered when recovering

- (1)
**The design of the sensing matrix**

- (2)
**The recovery algorithm**

#### Sparsity order

^{[9]}^{[10]}^{[11]}
TODO determining for deterministic sensing matrices isn't the same as the random case ^{[12]}.

#### Mutual Coherence

The recovery algorithm often refers to the measurement of quantities that are appropriate to the measurement matrix (sensing matrix), i.e., the coherence. A small coherence implies the RIP condition with high probability. In general, the performance of the recovery algorithm gets better if the coherence is getting smaller. It means the columns of the matrices that have medium size are well-conditioned (governed).

Let and assume -normalized columns of , the mutual coherence is defined by

, where is the th column of ^{[4]}.

The feasibility of attaining the lower bounds for the coherence of a matrix , with -normalized columns, and the columns of the matrix are equiangular tight frames defined as the Welch bound.

^{[4]} Sensing matrices using the Welch bound will imply a RIP of order . ^{[10]}^{[11]}

However a sensing matrix has two constraints a small coherence and makes it impossible to satisfy the Welch bound^{[4]}. for an must be for . This means that can't be arbitrarily large and still satisfy the Welch bound. ^{[4]}

Let a matrix with -normalized columns and let . for all sparse .

^{[4]}

### Sensing Matrix

Although the sensing matrix satisfies RIP of order in some situations, confirming a given matrix meets RIP's criteria is NP-hard in general. As a result, designing an efficient sensing matrix is critical. These sensing matrices are responsible for signal compression at the encoder end and accurate or approximate reconstruction at the decoder end. Sensing matrices are classified as RIP or non-RIP. Non-RIP sensing matrices adhere to a weaker condition, statistical isometry property, while still ensuring high probability recover. ^{[10]} For signal compression, different sensing matrices are utilized in compressed sensing. There are random, deterministic, structural, and optimized sensing matrices are used in compressed sensing ^{[13]}.

**Random Sensing Matrices**

Some classes of random matrices satisfy RIP, specifically those matrices with independent and identically distributed (i.i.d.) entries drawn from a sub-Gaussian distribution. It requires the number of measurements, ^{[5]} ^{[14]} ^{[8]}, to recover with high probability. Other popular random sensing matrices are Gaussian, Bernoulli, or Rademacher distributions i.e. matrix with entries . (give examples) However, the high memory storage costs of random dense matrices render them impractical for large-scale applications. Second, despite the fact that random matracies have a high probability of satisfying RIP, there is no efficient algorithm for verifying RIP for random matracies (Li, Gao, Ge, Zhang) ^{[15]}. Several researchers have turned to sparse measurement matrices such as binary or bi-adjacency matrices rather than random matrices to address this issue. Nonetheless, those sparse matrices are unstructured in the same way that acyclic networks or trees are. Fortunately, the new random Weibull matrices ~ cite (Xiaoya Zhang and Song Li) give time of failure example. are built with appropriate observations and provide exact sparse signal reconstruction with a greater probability ^{[13]}.

### Weibull Example

**Deterministic Sensing Matrices**

Although deterministic sensing matrices are insufficient to satisfy the RIP condition, they can be used to provide instances for novel concepts. The Vandermond matrices are one of the best deterministic matrices for recovering the -sparse signal; however, the reconstruction technique gets unstable as rises. Despite the lack of RIP support in the non-RIP deterministic sensing matrices, it successfully recovered the original sparse signal for the chirp function-based employing complex-valued deterministic matrices ^{[16]}^{[10]}. Proved binary, bipolar, and ternary matrices are deterministic constructions of sensing matrices that satisfy the RIP of order ^{[17]} Arash Amini and Farokh Marvasti. Because of the cyclic feature, the reconstruction process can be sped up using a fast Fourier transform (FFT) technique. Another type of deterministic CS sensing matrix is one based on mutual coherence. packing design in combinatorial design theory induces the connection between sensing matrices and finite geometry (Li, Ge) ^{[11]}

(Deterministic Construction of Sparse Sensing Matrices via Finite Geometry Theorem II.1).
^{[11]}

The finite geometry-based sparse binary matrices were constructed with low coherence using a Steiner system (Shuxing Li and Gennian Ge) ^{[11]} it's neat so give example. The sparseness property of matrices aids in reducing storage requirements and improving the reconstruction process ^{[13]}.

### Finite Geometry Example

**Structural Sensing Matrices**

Sensing technologies require structured measurement matrices to perform a variety of tasks. Those matrices can be easily created with a small number of parameters. Furthermore, structured matrices can be used to speed the recovery performance of algorithms, making these matrices suitable for large matrices. The Toeplitz akin to a linear sparse ruler and the circulant matrix a square Toeplitz matrix akin to a circular sparse ruler. The Toeplitz structure is considered weakly stationary (second-order stationary) and a covariance matrix would be cinsidered Toeplitz more percicely circulant (Robert Gray) ^{[18]}. Applications or compressed senssing that follow a Toeplitz structure In terms of second-order statistics i.e. coveriance structures allows us to utilize statistical structures (Romero, Ariananda, Tian, Leus) ^{[19]}.
In terms of accuracy, signal reconstruction speed, and coherence, these matrices perform similar to i.i.d. Gaussian satisfies RIP with high probability. The new sparse block circulant matrix (SBCM) structure greatly reduces computational complexity. Other structural sensing matrices include the Hadamard matrix, which provides near-optimal assurances of recovery while requiring less complexity and so allowing for simple hardware implementation ^{[13]}.

### Toeplitz matrix Example

**Optimized Sensing Matrices**

In order to accomplish high-quality signal reconstruction, the sensing matrices must satisfy RIP.
Regardless of what might be expected, the RIP is difficult to verify. Another method for validating
the RIP is to compute the mutual coherence between the sensing matrix and the sparse matrix or
figure the Gram matrix as . The objective is to
improve the sensing matrix to lower coherence using numerous strategies such as the random-detecting
framework-based improvement strategy using the shrinkage technique and the irregular estimation of
sensing matrix improvement employing a symmetrical strategy. Another technique is to optimize the
sensing matrix using a block-sparsified dictionary approach, decreasing the total inter-block and
sub-block coherence of the dictionary matrix and thereby significantly increasing the reconstruction ^{[13]}

### Algorithms

Several big groups of algorithms are:

**Optimization methods**: includes minimization i.e. Basis Pursuit, and quadratically constraint minimization i.e. basis pursuit denoising.

**Greedy methods**: include orthogonal matching pursuit (OMP) and compressive sampling matching pursuit (CoSaMP).

**Thresholding-based methods**: such as iterative hard thresholding (IHT) and iterative soft thresholding (IST), approximate IHT or AM-IHT.

**Dynamic programming**.

#### Algorithm IHT

The convex program mentioned in introduction has an equivalent nonconstraint optimization program. ^{[20]}

The threashholding operators is defined as:
selects the best-k term approximation for some k. The was proved to be RIP of order
. ^{[6]} With the stopping criterion is
^{[20]}.

In addition the in statistics the regularization LASSO with as the regularization parameter. This is the closest convex relaxation to the first program mentioned in the introduction.

Reducing the above loss function with the gradient for each iteration before pruning that is the hard threshold operator keeping the largest values while turning the values less than the threshold to zero.

Then

The IHT Algorithm reads as follow

- Input and
- output , an -sparse solution to
- Set
- While stopping criterion false do
- end while

- return:

is an Adjoint matrix i.e. the transpose of it's cofactor.

## Numerical Example

### Deterministic Matrix Example

Question 1: Calculate the mutual coherence

Question 1: Does the sensing matrix satisfy the Welch?

Question 2: What is the order of ?

### A random matrix example

### Iteration 1

calculate

#### Thresholding

^{[21]}

Also seen

^{[22]}

Calculate the Error

Calculate the new y

Check if error is less then

### Iteration 2

calculate

#### Thresholding

Calculate the Error

Calculate the new y

Check if error is less then

Stopping condition meets.

## Applications and Motivations

### Low-Rank Matrices

The Netflix Prize was accompanied by low-rank matrix recovery or the matrix completion problem. The approach then fills in the missing values in the user's ratings for movies that the user hasn't seen. These estimates are based on ratings from other users, who have similar ratings if a matrix is created with all the users as rows and the movie titles as columns. Because some users' interests will be similar and therefore overlap, it is possible to reduce the degrees of freedom significantly. This low-rank structure is frequently assumed for the problem domain of collaborative filtering ^{[23]}^{[3]}.

### Dictionary Learning

The goal in dictionary learning is to infer the original dictionary as possible. Instead of using a predefined dictionary, researchers have found that learning the dictionary by obtaining "dynamic features" from training data often yields representation. Biometric features can be taken from video clips of each subject in a dataset and used to populate the dictionary's columns. Using random projections and sparse representations for iris detection for noncontact biometrics-based authentication systems from video samples has been proposed ^{[24]}.

### Single-pixel cameras

Single-pixel cameras or single detector imaging are used in situations when detectors are either prohibitively expensive or difficult to miniaturize. A microarray is made up of a large number of miniature mirrors that can be individually turned on and off. The mechanism behind the random sampling, which results in low coherence between measurements, is the most important component of the single-pixel camera. This microarray reflects the light from the scene, and a lens combines all of the reflected beams into one sensor, which is the single detector of the camera used to capture the image ^{[25]} ^{[26]}.

## Conclusion

The theory was a buildup from what is an inverse problem and sparsity. It develops into the norm and then concludes the norm, which are sufficient conditions for basis pursuit. Candes, Romberg, Tao, and Donoho^{[5]}^{[8]} were the first to overcome this problem.

Although the sensing matrix fulfills RIP of order k in some cases, establishing that a given matrix satisfies RIP's conditions is generally NP-hard. In many cases, verifying the sensing matrix isn't a reasonable task, so designing the sensing matrix is crucial. In addition to the computing costs, it must fulfill RIP and be well fitted to the problem domain. It demands some imagination as well as a grasp of the problem domain. It is possible to conclude that the sparse sensing matrix is the most significant components. To conclude, David Donoho saw sparsity everywhere and encouraged, mathematicians, engineers, and scientists to view problems through sparsity.

## References

- ↑ Laska Jason Noah. Rice university regime change: Sampling rate vs. bit-depth in compressive sensing, 2011.
- ↑
^{2.0}^{2.1}^{2.2}Giulio Coluccia, Chiara Ravazzi, and Enrico Magli. Compressed sensing for dis- tributed systems, 2015. - ↑
^{3.0}^{3.1}^{3.2}Niklas Koep, Arash Behboodi, and Rudolf Mathar. An introduction to compressed sensing, 2019. - ↑
^{4.0}^{4.1}^{4.2}^{4.3}^{4.4}^{4.5}Simon Foucart and Holger Rauhut. A mathematical introduction to compressive sens- ing. Applied and numerical harmonic analysis. Birkhäuser, New York [u.a.], 2013. - ↑
^{5.0}^{5.1}^{5.2}^{5.3}^{5.4}Emmanuel Candes, Justin Romberg, and Terence Tao. Stable signal recovery from incomplete and inaccurate measurements. March 2005. - ↑
^{6.0}^{6.1}Emmanuel J. Candès and Terence Tao. Decoding by linear programming. IEEE - ↑ Richard Baraniuk, Mark Davenport, Ronald DeVore, and Michael Wakin. A simple proof of the restricted isometry property for random matrices. 28:253–263, 2008.
- ↑
^{8.0}^{8.1}^{8.2}D. L. Donoho. Compressed sensing. 52:1289–1306, 2006. - ↑ Albert Cohen, Wolfgang Dahmen and Ronald DeVore, "Compressed sensing and best k-term approximation", J. Amer. Math. Soc. 22 (2009), 211-231, Published electronically: July 31, 2008, DOI: https://doi.org/10.1090/S0894-0347-08-00610-3
- ↑
^{10.0}^{10.1}^{10.2}^{10.3}X. Liu and L. Jia, "Deterministic Construction of Compressed Sensing Matrices via Vector Spaces Over Finite Fields," in IEEE Access, vol. 8, pp. 203301-203308, 2020, doi: 10.1109/ACCESS.2020.3034912. - ↑
^{11.0}^{11.1}^{11.2}^{11.3}^{11.4}S. Li and G. Ge, "Deterministic Construction of Sparse Sensing Matrices via Finite Geometry," in IEEE Transactions on Signal Processing, vol. 62, no. 11, pp. 2850-2859, June1, 2014, doi: 10.1109/TSP.2014.2318139. - ↑ Ronald A. DeVore, "Deterministic constructions of compressed sensing matrices", Journal of Complexity, Volume 23, Issues 4–6, 2007, Pages 918-925, ISSN 0885-064X, https://doi.org/10.1016/j.jco.2007.04.002.
- ↑
^{13.0}^{13.1}^{13.2}^{13.3}^{13.4}Y. V. Parkale and S. L. Nalbalwar, “Sensing Matrices in Compressed Sensing.” pp. 113–123, 2020. doi: 10.1007/978-981-32-9515-5_11. - ↑ E. J. Candes, J. Romberg, and T. Tao. Robust uncertainty principles: exact signal reconstruction from highly incomplete frequency information. 52:489–509, 2006.
- ↑ S. Li, F. Gao, G. Ge and S. Zhang, "Deterministic Construction of Compressed Sensing Matrices via Algebraic Curves," in IEEE Transactions on Information Theory, vol. 58, no. 8, pp. 5035-5041, Aug. 2012, doi: 10.1109/TIT.2012.2196256.
- ↑ Lorne Applebaum, Stephen D. Howard, Stephen Searle, Robert Calderbank, "Chirp sensing codes: Deterministic compressed sensing measurements for fast recovery", Applied and Computational Harmonic Analysis, Volume 26, Issue 2, 2009, Pages 283-290, ISSN 1063-5203, https://doi.org/10.1016/j.acha.2008.08.002
- ↑ A. Amini and F. Marvasti, "Deterministic Construction of Binary, Bipolar, and Ternary Compressed Sensing Matrices," in IEEE Transactions on Information Theory, vol. 57, no. 4, pp. 2360-2370, April 2011, doi: 10.1109/TIT.2011.2111670.
- ↑ Robert M. Gray, Toeplitz and Circulant Matrices: A Review , now, 2006.
- ↑ D. Romero, D. D. Ariananda, Z. Tian and G. Leus, "Compressive Covariance Sensing: Structure-based compressive sensing beyond sparsity," in IEEE Signal Processing Magazine, vol. 33, no. 1, pp. 78-93, Jan. 2016, doi: 10.1109/MSP.2015.2486805.
- ↑
^{20.0}^{20.1}Thomas Blumensath and Mike E. Davies. Iterative hard thresholding for com- pressed sensing. May 2008. - ↑ Angshul Majumdar. Compressed sensing for engineers. Devices, circuits, and systems.
- ↑ Mohammed Rostami. Compressed sensing with side information on feasible re- gion, 2013.
- ↑ Bennett, James and Stan Lanning. “The Netflix Prize.” (2007).
- ↑ J. K. Pillai, V. M. Patel, R. Chellappa, and N. K. Ratha. Secure and robust iris recognition using random projections and sparse representations. 33:1877–1893, 2011.
- ↑ Richard G. Baraniuk. Compressive sensing [lecture notes]. IEEE Signal Processing Magazine, 24(4):118–121, 2007.
- ↑ Martin Burger, Janic Föcke, Lukas Nickel, Peter Jung, and Sven Augustin. Recon- struction methods in thz single-pixel imaging, 2019.