Straight-Through Meets Sparse Recovery: the Support Exploration Algorithm

Mimoun Mohamed, Francois Malgouyres, Valentin Emiya, Caroline Chaux

TL;DR

This paper bridges the gap between deep learning heuristics and classical signal processing by applying the Straight-Through Estimator (STE) to the problem of sparse support recovery. The authors introduce the Support Exploration Algorithm (SEA), which leverages the STE’s unique gradient properties to explore potential feature sets more effectively than traditional greedy algorithms, particularly in "coherent" settings where features are highly correlated.

What Problem Does This Paper Address?

The core challenge is sparse support recovery: given a set of linear observations $y = Ax + e$, how do we identify which specific indices in the high-dimensional vector $x$ are non-zero? This is a fundamental problem in "model selection" and compressed sensing, but it is NP-hard in the general case.

Existing "greedy" algorithms—like Orthogonal Matching Pursuit (OMP) or Iterative Hard Thresholding (IHT)—often fail when the measurement matrix $A$ is coherent (meaning its columns are very similar). In these cases, algorithms get trapped in local minima, picking the wrong features and failing to correct the error. Meanwhile, in the deep learning world, the Straight-Through Estimator (STE) is a popular but poorly understood trick used to train quantized networks. The authors use the well-defined sandbox of sparse recovery to provide both a powerful new algorithm and a theoretical grounding for why STE-based approaches work.

Methods

The authors propose the Support Exploration Algorithm (SEA). Its structure is inspired by how we train quantized neural networks:

Diagram of the sparsification and STE update pipeline.
  1. The Sparsification Operator ($H$): SEA maintains a dense "latent" vector $X$. To get a sparse estimate $x$, the operator $H$ selects the $k$ largest entries of $X$ and solves a least-squares problem on that specific support.
  2. The STE Update: Because the sparsification operator is piecewise constant, its true derivative is zero almost everywhere—making standard backpropagation impossible. SEA applies the STE principle: it ignores the derivative of the hard thresholding step and passes the gradient of the loss function directly back to the dense variable $X$.
  3. Exploration Variable: Unlike descent methods that try to minimize the loss at every step, SEA’s variable $X$ acts as an accumulator of gradient history. This allows the algorithm to "explore" a wide variety of supports. It can temporarily move "uphill" in terms of loss to jump out of local minima and eventually find the true support.

SEA can be used as a "cold-start" algorithm (starting from zero) or as a "warm-start" post-processing step to refine the results of other algorithms like OMP or Exhaustive Local Search (ELS).

Key Insights and Ideas

  • STE as an Exploration Engine: While STE is usually seen as a "necessary evil" for quantization in deep learning, this paper shows it is actually a powerful tool for exploration. By accumulating gradients in a latent space, SEA avoids the "myopic" traps that catch other greedy algorithms.
  • Memory Matters: Because $X$ accumulates gradients over time, the algorithm effectively "remembers" which features have consistently tried to reduce the error, even if they weren't the strongest features in a single iteration.
  • Breaking the Coherence Barrier: The most striking insight is SEA's performance in coherent settings (like spike deconvolution). While most algorithms fail when features are similar, SEA’s ability to oscillate and test different support combinations allows it to find the true signal where others get stuck.

Key Results

Phase transition plots showing SEA achieving higher recovery limits compared to baseline algorithms.
  • Superior Recovery: In phase transition experiments on synthetic datasets, SEA (especially when warm-started) consistently recovered signals at higher sparsity levels than OMP, HTP, or IHT.
  • Deconvolution Dominance: In a notoriously difficult spike deconvolution task (using a convolution matrix with a coherence of 0.97), SEA0 (cold start) significantly outperformed all competitors. It achieved much lower "support distance" (a measure of how far the estimated spikes are from the truth) as the sparsity $k$ increased.
  • Theoretical Guarantees: The authors provided the first recovery guarantees for an STE-based algorithm using the Restricted Isometry Property (RIP). While the conditions are more stringent than those for state-of-the-art greedy methods, they provide a formal proof that the STE trajectory will eventually hit the correct support.

Limitations and Future Work

  • Theoretical Gap: The current RIP-based analysis doesn't fully explain SEA's success in highly coherent settings (where RIP constants are poor). The authors suggest that future work should look into mutual incoherence or other frameworks to explain this empirical "superpower."
  • Hyperparameter Tuning: The performance of SEA depends on the step size $\eta$ and the number of iterations. While the paper uses fixed values for fairness, an adaptive step-size strategy could potentially speed up convergence.
  • Computational Complexity: While more efficient than exhaustive searches, SEA still requires solving a least-squares problem (or a conjugate gradient descent) at each iteration where a new support is found. Optimizing this for massive-scale problems remains an open direction.

Summary updated

BibTeX
@inproceedings{mohamed2024straight,
  author = {Mimoun Mohamed and Francois Malgouyres and Valentin Emiya and Caroline Chaux},
  title = {{Straight-Through Meets Sparse Recovery: the Support Exploration Algorithm}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=Oj18qGN1gC},
}
Figure