Sparse Recovery and Compressed Sensing
Sparse signals need far fewer measurements than their length suggests. With the right random design, $s$-sparse vectors recover exactly from about $s$ log $n$ linear measurements by $L_1$ minimisation.
Why Does This Exist?
Nyquist says sample at twice the bandwidth, which for a length- signal means measurements. But most real signals are sparse: only coordinates carry content and the rest are zero. Measuring all coordinates to find spikes wastes percent of the effort in MRI, sensor networks and wideband receivers.
Compressed sensing breaks the Nyquist barrier for sparse inputs. Take random linear measurements with far below , then solve the convex program minimising (the sum of absolute values) subject to . Under the right design that program returns the true sparse exactly. This page states when that miracle holds and counts the measurements; the restricted isometry property gives the geometric condition that certifies a given matrix.
Prerequisite in one paragraph. You need the norm , which favours sparsity, versus the norm, which spreads energy. A vector is -sparse when at most entries are nonzero. Background is in norms and linear systems and least squares.
Think of It Like This
Finding ten ringing phones in a hotel
A hotel has 1,000 rooms and 10 phones ringing. Knocking on every door takes all day. Instead you wire each corridor microphone to a random mix of rooms and record 150 mixed volumes. Each mix hears a different random subset, so the 10 ringing rooms imprint a unique signature across the 150 mixes while silent rooms contribute nothing.
minimisation is the detective that finds the smallest set of rooms explaining all 150 mixes. Least squares instead spreads blame across every room, producing a blurry non-answer. Sparsity is the assumption that makes the detective's answer unique.
Where the analogy stops: microphones add noise and hotel walls block sound unevenly. The theorem needs near-isometric random mixing; structured or correlated measurements break the guarantee the same way dead microphones would.
How It Actually Works
Fix sparsity and length . Draw as with independent sub-Gaussian entries scaled by . If for a modest constant near , then with high chance every -sparse is the unique minimiser consistent with . The proof shows preserves lengths of all sparse vectors at once via covering plus concentration, which is exactly the restricted isometry property at sparsity .
Noisy measurements with degrade gracefully: the solution satisfies , where is the error of the best -sparse approximation (zero for exactly sparse ).
Worked example
Take , . Then , , and . With the sufficient count is , rounded to in the diagram. So random measurements, an percent saving over , recover any -sparse vector exactly with high chance.
Least squares on the same system returns the minimum- solution with all entries nonzero and typical error near relative, because the system is underdetermined and spreads energy. returns exactly nonzeros at error in the noiseless case. That contrast is the whole point: the norm, not the data, carries the sparsity assumption.
Watch Out For
Using a coherent or structured matrix as if random
Fourier samples at low frequencies only, or a sensor that repeats rows, have high coherence: sparse vectors in the wrong basis look identical through . then returns a plausible but wrong sparse answer with no warning, and increasing within the same bad design does not fix it.
Fix: check incoherence or RIP for your matrix and sparsity basis pair. Randomise the sampling pattern or change basis until the certificate holds.
Tuning the L1 solver tolerance to zero on noisy data
With noise , demanding exactly forces the solver to fit noise with fake spikes. The support explodes from to hundreds and the error grows past the graceful bound.
Fix: solve the relaxed form with . Set the tolerance from a noise calibration, not from optimism.
The Quick Version
- -sparse length- signals recover from about random measurements, so 10 spikes in 1000 need about 150.
- Recovery is minimisation, which seeks the sparsest consistent explanation; spreads and fails.
- Noiseless exact recovery becomes stable error plus best--term error under noise.
- The design must be incoherent or RIP-certified; structured sampling breaks the promise.
- Set the solver tolerance to the noise level, never zero on real data.