Inference with Deep Generative Priors in High Dimensions

Parthe Pandit, Mojtaba Sahraee-Ardakan, Sundeep Rangan, Philip Schniter, Alyson K. Fletcher · DOI

Abstract

Deep generative priors offer powerful models for complex-structured data, such as images, audio, and text. Using these priors in inverse problems typically requires estimating the input and/or hidden signals in a multi-layer deep neural network from observation of its output. While these approaches have been successful in practice, rigorous performance analysis is complicated by the non-convex nature of the underlying optimization problems. This paper presents a novel algorithm, Multi-Layer Vector Approximate Message Passing (ML-VAMP), for inference in multi-layer stochastic neural networks. ML-VAMP can be configured to compute maximum a priori (MAP) or approximate minimum mean-squared error (MMSE) estimates for these networks. We show that the performance of ML-VAMP can be exactly predicted in a certain high-dimensional random limit. Furthermore, under certain conditions, ML-VAMP yields estimates that achieve the minimum (i.e., Bayes-optimal) MSE as predicted by the replica method. In this way, ML-VAMP provides a computationally efficient method for multi-layer inference with an exact performance characterization and testable conditions for optimality in the large-system limit.

Introduction

Inverse problems—the task of recovering an original signal from noisy or incomplete observations—are fundamental to signal processing and machine learning. While traditional methods relied on simple mathematical priors like sparsity, modern approaches increasingly leverage Deep Generative Priors (e.g., VAEs or GANs). These models capture the intricate structures of real-world data far more effectively. However, their use involves solving highly non-convex optimization problems, making theoretical performance analysis difficult and leaving open the question of whether standard solvers like gradient descent achieve optimal recovery.

The ML-VAMP Algorithm

To address these challenges, the authors propose Multi-Layer Vector Approximate Message Passing (ML-VAMP). This algorithm extends Approximate Message Passing (AMP) to multi-layer stochastic neural networks by decomposing the deep network into a sequence of simpler, modular estimation problems.

Architecture of ML-VAMP showing forward and backward message passing for multi-layer inference.

Key Technical Features

  • Modular Estimation: ML-VAMP cycles through "forward" and "backward" passes, alternating between linear system solvers (for weights) and non-linear denoisers (for activations).
  • MAP and MMSE Support: The framework supports both Maximum A Posteriori (MAP) and Minimum Mean-Squared Error (MMSE) estimation.
  • State Evolution (SE): A critical contribution is the proof that in a high-dimensional limit, ML-VAMP's behavior is exactly predicted by a deterministic recursion. This allows for the calculation of expected error at each iteration without full-scale simulation.
  • Rotationally Invariant Matrices: ML-VAMP is robust to ill-conditioned data, as it accommodates a broad class of "rotationally invariant" weight matrices rather than just i.i.d. Gaussian ones.

Experimental Evaluation

The algorithm was evaluated on two distinct setups:

  1. Synthetic Random Networks: A 7-layer network with random weights and ReLU activations was used to validate the State Evolution theory, comparing predicted MSE against experimental results.
  2. MNIST Image Inpainting: A 4-layer VAE trained on MNIST was used to perform image inpainting, recovering the middle rows of a digit that had been erased.
Application of ML-VAMP to MNIST image inpainting using a deep generative prior.

Key Insights and Results

  • Gaussianity and Variational Links: ML-VAMP leverages the insight that in high dimensions, messages between layers behave as if corrupted by additive white Gaussian noise. Furthermore, its fixed points correspond to stationary points of specific variational objectives, such as the Bethe free energy.
  • Theoretical Accuracy: In synthetic tests, State Evolution predictions matched experimental Mean Squared Error (MSE) within approximately 1 dB, confirming the accuracy of the theoretical analysis.
  • Competitive Performance: On the MNIST inpainting task, ML-VAMP produced reconstructions comparable to or better than standard optimization (ADAM) and MCMC-based sampling (SGLD).
  • Provable Optimality: Under specific conditions, ML-VAMP achieves the Bayes-optimal MSE limit predicted by statistical physics (the replica method).

Conclusion and Future Work

ML-VAMP provides a computationally efficient method for multi-layer inference with exact performance characterization and testable conditions for optimality. While the current theory focuses on the "large-system limit" and "rotationally invariant" weights, future work aims to extend these guarantees to more complex architectures like Convolutional Neural Networks (CNNs) and explore applications in the training of generative models.

Summary updated

BibTeX
@article{pandit2019inference,
  author = {Parthe Pandit and Mojtaba Sahraee-Ardakan and Sundeep Rangan and Philip Schniter and Alyson K. Fletcher},
  title = {{Inference with Deep Generative Priors in High Dimensions}},
  journal = {IEEE J. Sel. Areas Inf. Theory},
  year = {2019},
  doi = {10.1109/jsait.2020.2986321},
}
Figure