Estimating Unknown Sparsity in Compressed Sensing

Miles LopesICML 2013

This paper, presented at ICML 2013, addresses a fundamental "chicken-and-egg" problem in Compressed Sensing (CS): to recover a signal efficiently, you need to know how sparse it is, but you usually don't know the sparsity until you've recovered the signal.

TL;DR

The authors propose a method to estimate a signal's "numerical sparsity" using a small number of randomized measurements without requiring any prior assumptions about the signal. Crucially, they provide a confidence interval for this estimate that is "dimension-free"—meaning its accuracy depends on the number of measurements taken, not the size of the original signal.

What Problem Does This Paper Address?

In the standard Compressed Sensing framework, we try to recover a high-dimensional signal $x \in \mathbb{R}^p$ from $n$ linear measurements, where $n \ll p$. The success of this recovery depends heavily on the signal's sparsity (the number of non-zero entries, denoted as $\|x\|_0$).

However, two major hurdles exist in practice:

  1. The Sparsity Gap: Most recovery algorithms require the sparsity level as a tuning parameter. If you underestimate it, recovery fails; if you overestimate it, you waste measurements and computation.
  2. Instability of $L_0$: The standard measure of sparsity ($\|x\|_0$) is extremely brittle. If a signal has many tiny, non-zero entries due to noise, $\|x\|_0$ jumps to $p$, making it a useless metric for "effective" sparsity.

The authors tackle the challenge of estimating a stable version of sparsity in a data-driven way using only a few "pilot" measurements.

Methods

The paper introduces an estimator for numerical sparsity, defined as: $$s(x) := \frac{\|x\|_1^2}{\|x\|_2^2}$$ This value is a sharp lower bound on the number of non-zero entries and is much more stable for signals that decay gradually rather than being perfectly sparse.

Comparison of numerical sparsity $s(x)$ and $L_0$ norm for various signal decays, alongside geometric sub-level sets.

The "Sketching" Approach

To estimate $s(x)$ without reconstructing $x$, the authors borrow "sketching" techniques from the streaming algorithms literature. They split the measurement process into two batches:

  1. Batch 1 (Cauchy Measurements): They use a measurement matrix with entries drawn from a Cauchy distribution. Because of the "stable law" property of Cauchy distributions, the median of these measurements provides a robust estimate of the signal's $L_1$ norm ($\|x\|_1$).
  2. Batch 2 (Gaussian Measurements): They use a standard Gaussian measurement matrix. The variance of these measurements provides an estimate of the signal's $L_2$ norm ($\|x\|_2$).

By combining these two estimates, they produce $\hat{s}(x)$. This procedure is computationally "cheap" because it involves simple statistics (medians and sums of squares) rather than complex optimization.

Datasets

The paper relies on synthetic simulations to validate the theory.

  • Signal Types: They used power-law signals ($x_i \propto i^{-\nu}$) with varying decay rates ($\nu$) and "dyadic" signals.
  • Dimensions: Signals were typically set to $p = 10,000$, which is large enough to demonstrate high-dimensional behavior but small enough for repeated simulation.
  • Noise: They added uniform random noise to test the estimator's robustness.

Key Insights and Ideas

  • Dimension-Free Guarantees: The most striking theoretical result is that the width of the confidence interval for the sparsity estimate does not depend on $p$. Whether your signal has 1,000 or 1,000,000 dimensions, the same number of pilot measurements yields the same precision.
  • Randomization is Essential: The authors prove a "minimax" lower bound showing that any deterministic measurement matrix will have a much larger worst-case error. Essentially, nature can always design a signal to "hide" its sparsity from a fixed matrix, but it cannot do so against a random one.
  • Extension to Matrices: The logic extends naturally to matrix completion and recovery. Instead of sparsity, they estimate the "effective rank" of a matrix using the ratio of the nuclear norm to the Frobenius norm.

Key Results

  • Estimation Accuracy: The relative error of the estimator $\hat{s}(x)$ scales at a rate of $O(n^{-1/2} + \rho)$, where $n$ is the number of measurements and $\rho$ is the noise-to-signal ratio.
  • Adaptive Recovery: In simulations, the authors showed they could use the estimated $\hat{s}(x)$ to calculate exactly how many measurements $n$ were needed for a full signal reconstruction. The resulting reconstructions (using the SPGL1 solver) were highly accurate, proving the estimate is a reliable guide for the sensing process.
Successful signal reconstruction using the estimated numerical sparsity to determine the required number of measurements.
  • Stability: Unlike the $L_0$ norm, the numerical sparsity $s(x)$ correctly identified the "effective" number of coordinates even when signals had long tails of small values.

Limitations and Future Work

  • Hardware Constraints: The method requires two different types of random matrices (Cauchy and Gaussian). In some physical CS systems, like a single-pixel camera, implementing a Cauchy distribution in hardware might be more complex than using standard binary or Gaussian patterns.
  • Pilot Measurement Overhead: While the number of measurements is small, it still requires a "two-stage" sensing process (estimate first, then recover). Integrating this into a single-shot framework remains an open challenge.
  • Noise Sensitivity: While the estimator is robust to bounded noise, the performance still degrades as the noise-to-signal ratio increases, which is a common limitation in all CS applications.

Summary updated

BibTeX
@inproceedings{lopes2013estimating,
  author = {Miles Lopes},
  title = {{Estimating Unknown Sparsity in Compressed Sensing}},
  booktitle = {International Conference on Machine Learning},
  year = {2013},
}
Figure