MathIsimple

Compressive Sensing Fundamentals

Discover how to recover complete signals from far fewer samples than traditional methods require. Learn the Restricted Isometry Property (RIP), understand signal sparsity assumptions, and master the sampling and reconstruction framework.

Module 6 of 8
Intermediate to Advanced
120-150 min

The Compressive Sensing Problem

Traditional signal processing requires sampling at the Nyquist rate (at least twice the highest frequency). Compressive sensing challenges this by showing that we can recover signals from far fewer samples if the signal is sparse in some domain.

Core Question

Can we recover an nn-dimensional signal xxfrom only mnm \ll n measurements? The answer is yes, ifxx is sparse!

Applications

  • • MRI reconstruction
  • • Sensor networks
  • • Image compression
  • • Data transmission
  • • Single-pixel cameras

Requirements

  • • Signal must be sparse
  • • Measurement matrix must satisfy RIP
  • • Requires optimization
  • • Sensitive to noise
  • • Computational complexity

Signal Sparsity Assumption

The fundamental assumption of compressive sensing is that the signal is sparse in some representation domain.

Sparsity Definition

A signal xRnx \in \mathbb{R}^n is k-sparse if it has at most kk non-zero elements:

x0={i:xi0}k\|x\|_0 = |\{i : x_i \neq 0\}| \leq k

where 0\|\cdot\|_0 is the L0 "norm" (count of non-zeros).

Transform Domain Sparsity

Often, signals are not sparse in their natural domain but sparse in a transform domain. For example, natural images are sparse in the wavelet or DCT domain:

x=Ψsx = \Psi s

where Ψ\Psi is a transform matrix (e.g., Fourier, wavelet) and ss is a k-sparse vector.

Examples of Sparse Signals

  • Natural images: Sparse in wavelet/DCT domain (most coefficients near zero)
  • Audio signals: Sparse in frequency domain (few dominant frequencies)
  • Neural signals: Sparse in time domain (few active neurons)
  • Text documents: Sparse in word space (few relevant words)

Restricted Isometry Property (RIP)

RIP is the key property that measurement matrices must satisfy for successful compressive sensing recovery.

RIP Definition

A matrix ARm×nA \in \mathbb{R}^{m \times n} satisfies the Restricted Isometry Property of order kkwith constant δk(0,1)\delta_k \in (0,1) if:

(1δk)s22Aks22(1+δk)s22(1-\delta_k)\|s\|_2^2 \leq \|A_k s\|_2^2 \leq (1+\delta_k)\|s\|_2^2

for all k-sparse vectors ss, where AkA_kis any m×km \times k submatrix of AA(any k columns).

Interpretation

RIP ensures that the measurement matrix AA approximately preserves the norm of sparse vectors. This means:

  • • Different sparse vectors map to different measurements (injectivity)
  • • The measurement process doesn't lose critical information about sparse signals
  • • Recovery is theoretically possible from m=O(klog(n/k))m = O(k \log(n/k)) measurements

Matrices Satisfying RIP

Common matrices that satisfy RIP with high probability:

  • Random Gaussian: Entries AijN(0,1/m)A_{ij} \sim \mathcal{N}(0, 1/m)
  • Random Bernoulli: Entries Aij=±1/mA_{ij} = \pm 1/\sqrt{m} with equal probability
  • Subsampled Fourier: Random rows of the DFT matrix

These random matrices satisfy RIP with high probability whenmCklog(n/k)m \geq C k \log(n/k) for some constant CC.

Sampling and Reconstruction Framework

The complete compressive sensing pipeline:

Step 1

Signal Representation

Original signal xRnx \in \mathbb{R}^n is sparse in transform domain:

x=Ψsx = \Psi s

where Ψ\Psi is the transform matrix andss is k-sparse.

Step 2

Low-Rate Sampling

Sample signal using measurement matrix ΦRm×n\Phi \in \mathbb{R}^{m \times n}:

y=Φx=ΦΨs=Asy = \Phi x = \Phi \Psi s = A s

where A=ΦΨA = \Phi \Psi is the sensing matrix, andyRmy \in \mathbb{R}^m with mnm \ll n.

Step 3

Sparse Recovery

Recover sparse vector ss from measurements yy:

mins0s.t. y=As\min \|s\|_0 \quad \text{s.t. } y = A s

This is NP-hard, but can be relaxed to L1 minimization (covered in next module).

Step 4

Signal Reconstruction

Reconstruct original signal: x^=Ψs^\hat{x} = \Psi \hat{s}, where s^\hat{s} is the recovered sparse vector.

Practical Example: MRI Reconstruction

Compressive sensing revolutionized MRI by enabling faster scans with fewer measurements.

Traditional MRI

Full k-space sampling requires 256×256=65,536256 \times 256 = 65,536measurements. Scan time: 5-10 minutes.

Compressive Sensing MRI

Sample only 20%20\% of k-space (13,000\approx 13,000measurements). Images are sparse in wavelet domain.

Result: 5x faster scans (1-2 minutes) with comparable image quality!

Impact

Enables real-time MRI, reduces patient discomfort, and increases scanner throughput. Critical for pediatric and emergency imaging.

Key Takeaways

Compressive sensing enables signal recovery from mnm \ll nmeasurements when signals are sparse in some domain.

The Restricted Isometry Property (RIP) ensures measurement matrices preserve information about sparse signals, enabling recovery.

Random matrices (Gaussian, Bernoulli) satisfy RIP with high probability whenm=O(klog(n/k))m = O(k \log(n/k)).

The sampling process: y=Φx=Asy = \Phi x = A s whereA=ΦΨA = \Phi \Psi is the sensing matrix.

Recovery requires solving L0 minimization (NP-hard), which is relaxed to L1 minimization in practice.

Applications include MRI, sensor networks, image compression, and any scenario where sampling is expensive or limited.