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

Unrolled denoising networks provably learn to perform optimal Bayesian inference

Aayush Karan, Kulin Shah, Sitan Chen, Yonina C. Eldar

The Challenge of Unknown Priors in Inverse Problems

In the realm of inverse problems—such as reconstructing a clear image from blurry, noisy, or sparse measurements—Bayesian inference is widely considered the gold standard. If the statistical distribution of the original signal (the "prior") is known, researchers can design mathematically optimal estimators.

However, in practical, real-world applications, the true prior is almost never known. To circumvent this, the deep learning community has increasingly turned to algorithm unrolling. This technique takes a classical iterative algorithm, such as Iterative Shrinkage-Thresholding Algorithm (ISTA) or Approximate Message Passing (AMP), and "unrolls" its iterations into the layers of a neural network, which is then trained on data.

While unrolled networks have achieved massive empirical success, a significant theoretical gap has persisted: Does an unrolled network actually learn to perform optimal Bayesian inference, or is it merely a clever, data-driven heuristic? This paper bridges that gap, providing the first rigorous proof that unrolled networks based on AMP can indeed learn to be Bayes-optimal, even when the signal's prior distribution is completely unknown.

Methodology: Introducing LDNet

To investigate this, the authors introduce the Learned Denoising Network (LDNet), an architecture specifically designed by unrolling the iterations of the Approximate Message Passing (AMP) algorithm.

The theoretical and practical success of LDNet relies on several key innovations:

  • Layerwise Training: Instead of training the entire network end-to-end—a process that frequently gets trapped in poor local minima—the authors utilize a layer-by-layer training strategy. The network trains the first layer to denoise, freezes its weights, and then sequentially moves to the next layer.
  • Theoretical Synergy: The rigorous proof of optimality is achieved through a novel combination of State Evolution (a mathematical tool from statistical physics traditionally used to analyze AMP) and Neural Tangent Kernel (NTK) theory.
  • Dimension-Independent Scaling: A critical insight of the paper is demonstrating that in high dimensions, the learning problem effectively collapses into a series of one-dimensional "score estimation" problems. Consequently, the network does not require an astronomical number of neurons to learn the optimal solution, regardless of the underlying signal's dimensionality.
  • The 1D Mapping via Onsager Correction: The "Onsager correction" term inherent to AMP ensures that the input to each layer's denoiser behaves statistically like the true signal corrupted by independent Gaussian noise. This elegant property allows the network to learn the optimal denoiser by solving a straightforward 1D regression problem at each layer.

Experimental Setup

The researchers validated their theoretical claims using synthetic datasets designed to probe specific statistical properties. The primary tasks included:

  • Compressed Sensing: Utilizing Gaussian sensing matrices with signals drawn from various priors, including Bernoulli-Gaussian (modeling sparse signals) and $\mathbb{Z}_2$ priors (signals consisting of uniform $\pm 1$ values).
  • Rank-One Matrix Estimation: A non-linear inverse problem used to test the boundaries of the unrolling approach.
  • Non-Product Priors: Experiments using a Mixture of Gaussians to evaluate how the network handles signals where coordinates are correlated rather than independent.

Key Findings and Results

The paper's crowning theoretical achievement is the proof that for compressed sensing with a product prior, an LDNet trained via gradient descent converges to the exact same Mean Squared Error (MSE) as the theoretically optimal Bayes AMP.

Empirically, the results are equally striking:

  • Matching Optimality: On Bernoulli-Gaussian and $\mathbb{Z}_2$ priors, LDNet's performance is virtually indistinguishable from the prior-aware Bayes AMP, confirming the theoretical guarantees in practice.
NMSE performance of LDNet vs. Bayes AMP for Bernoulli-Gaussian and Z2 priors.
  • Beyond Asymptotics: Classical Bayes AMP is only proven optimal as the signal dimension approaches infinity ($d \to \infty$). Remarkably, the unrolled LDNet actually outperforms Bayes AMP in low-dimensional settings or when the sensing matrix is non-Gaussian (e.g., truncated orthogonal or Gram matrices). The network effectively learns "finite-dimensional corrections" that standard asymptotic theory misses.
  • Success on Non-Product Priors: When tested on a 10-dimensional Mixture of Gaussians prior, LDNet achieved a massive 63.32% improvement in Normalized Mean Squared Error (NMSE) over the standard Bayes AMP baseline.
  • Transferability: The authors demonstrated that once LDNet learns the denoisers for a specific prior (like sparse images), those learned denoisers can be seamlessly "plugged in" to operate with entirely different sensing matrices without requiring retraining.

Limitations and Future Directions

While this work represents a major leap forward in the theoretical understanding of unrolled networks, several frontiers remain open. First, while empirical experiments show LDNet handles non-product priors (correlated signal components) exceptionally well, the current mathematical proofs are limited strictly to product priors. Second, the theoretical convergence for rank-one matrix estimation remains an open question due to a more complex relationship between denoising error and state evolution parameters. Finally, while these principles are robustly demonstrated on synthetic "model organisms," extending these rigorous guarantees to complex, high-dimensional real-world data—such as medical imaging—is the next critical step for the field.

Summary updated

BibTeX
@inproceedings{karan2024unrolled,
  author = {Aayush Karan and Kulin Shah and Sitan Chen and Yonina C. Eldar},
  title = {{Unrolled denoising networks provably learn to perform optimal Bayesian inference}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=cpklMJqZDE},
}
Figure