NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Compressive sensing with un-trained neural networks: Gradient descent finds a smooth approximation

Reinhard Heckel, Mahdi SoltanolkotabiICML 2020

This paper, presented at ICML 2020 by Reinhard Heckel and Mahdi Soltanolkotabi, provides a theoretical foundation for a surprising phenomenon in computer vision: why neural networks that have never seen a single training image can still be world-class at reconstructing signals.

Introduction: The Mystery of Untrained Priors

In traditional deep learning, models are trained on massive datasets (like ImageNet) to learn what the visual world looks like. However, a recent trend called "untrained priors"—exemplified by the Deep Image Prior (DIP)—demonstrated that the architecture of a convolutional neural network (CNN) itself acts as a powerful regularizer. By fitting a randomly initialized network to a single corrupted image, the network will "accidentally" denoise or reconstruct the image before it eventually overfits to the noise.

The catch with tasks like denoising is that you must stop the optimization early (early stopping), or the network will eventually memorize the noise. Yet, researchers noticed that for compressive sensing (recovering a signal from very few measurements), these networks seem to work perfectly even if allowed to run until they fully converge.

This paper asks a fundamental question: Why? What is it about the combination of CNN architectures and gradient descent that finds the "right" smooth approximation without needing a supervisor or early stopping?

Methods: Deconstructing the Network's Behavior

To explain this "self-regularizing" behavior, the authors focus on a specific architecture called the Deep Decoder, a simplified version of a CNN that uses fixed convolutional kernels and learned linear combinations of channels.

They analyze the Jacobian of the network (the matrix of all first-order partial derivatives) to understand its optimization path. Their key methodological steps include:

  1. Linear Approximation: They show that the complex, non-linear learning process of a CNN can be closely approximated by a simpler linear model during the optimization path.
  2. Spectral Analysis: By analyzing the singular values and vectors of the network's Jacobian, they find that the singular vectors are essentially trigonometric basis functions (similar to those in a Fourier Transform).
Singular vectors of the network's Jacobian resemble trigonometric basis functions, highlighting the network's spectral bias.
  1. Optimization Path: Tracking how gradient descent moves through these frequencies reveals that the network "learns" low-frequency (smooth) components much faster than high-frequency (noisy) ones.

Key Insights: The Power of Spectral Bias

The most critical insight from this work is that convolutional generators have a massive "spectral bias." The singular values of the Jacobian decay geometrically, meaning the network is exponentially better at representing smooth, low-frequency shapes than sharp, high-frequency noise.

This explains the difference between compressive sensing and denoising. In denoising, the noise is "right there" in the image space, so the network eventually fits it if not stopped early. In compressive sensing, the measurements are "spread out" (sketched) by a measurement matrix. Because the network is so biased toward smoothness, gradient descent naturally finds the smoothest signal that satisfies the measurements and simply cannot "see" the noisy alternatives.

Ultimately, this confirms that you don't need a database of millions of images to solve inverse problems; the mathematical structure of a convolution is a sufficient "prior" for the natural world, which is mostly composed of smooth surfaces and edges.

Results and Validation

The authors provide a formal theorem proving that if a signal is "p-smooth" (can be represented by the first $p$ Fourier bases), an untrained CNN can recover it from $O(p)$ measurements.

To validate this, they use a mix of synthetic and real-world data:

  • Synthetic "Smooth vs. Textured" Images: These demonstrate that smooth images are recovered with much lower error than high-frequency textures (like grass).
  • fastMRI Dataset: Looking at 8-fold undersampled MRI reconstruction, they show their findings hold in high-stakes medical imaging scenarios, where optimizing to convergence is nearly as good as the "perfect" early stopping point.
Comparison of recovery for textured (grass, red) versus smooth (shapes, blue) images. The network naturally recovers smooth images with much lower error, and early stopping is not strictly required.

As shown above, while the training loss continues to decrease, the reconstruction error relative to the original image stays low, proving that early stopping is not strictly necessary for compressive sensing tasks.

Limitations and Future Work

While groundbreaking, the paper notes a few limitations:

  • Two-Layer Focus: Much of the formal proof is centered on a two-layer "Deep Decoder" model. While numerical evidence suggests this extends to deeper networks, the formal math for deep, multi-layer non-linearities is significantly more complex.
  • Gaussian Assumption: The main theorem assumes a Gaussian measurement matrix. Real-world applications like MRI use subsampled Fourier measurements, which have different properties.
  • Texture Recovery: Because the network is so heavily biased toward smoothness, it struggles with highly textured images. Finding a way to balance this "smoothness prior" with the ability to recover fine, high-frequency details remains an open challenge for the field.

Summary updated

BibTeX
@inproceedings{heckel2020compressive,
  author = {Reinhard Heckel and Mahdi Soltanolkotabi},
  title = {{Compressive sensing with un-trained neural networks: Gradient descent finds a smooth approximation}},
  booktitle = {International Conference on Machine Learning},
  year = {2020},
  url = {https://openreview.net/forum?id=4dES3vTWCuA},
}
Figure