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

A Unifying Tutorial on Approximate Message Passing

Oliver Y. Feng, Ramji Venkataramanan, Cynthia Rush, Richard J. Samworth

TL;DR

Approximate Message Passing (AMP) is a powerful class of iterative algorithms that solve high-dimensional statistical estimation problems—like sparse regression and low-rank matrix recovery—with remarkable precision. This tutorial unifies the field by showing how a simple "Onsager correction" term keeps algorithm noise Gaussian, allowing researchers to predict an algorithm's exact performance using simple scalar equations called "state evolution."

What Problem Does This Paper Address?

In modern data science, we often deal with "high-dimensional" regimes where the number of features ($p$) is roughly proportional to the number of observations ($n$). In this setting, traditional statistical tools often break down. While we have powerful iterative algorithms to estimate signals (like the Lasso for sparsity), analyzing their exact behavior is notoriously difficult.

The primary challenge is "feedback." In standard iterative methods, the algorithm's current estimate becomes correlated with the noise in the data matrix. This correlation breaks the "Gaussianity" of the errors, making it impossible to use standard probabilistic tools to prove how well the algorithm is working. AMP was developed to solve this by "debiasing" the iterations, effectively preserving the Gaussian nature of the noise even as the algorithm progresses.

Methods

The paper provides a rigorous tutorial on the two main flavors of AMP:

  1. Symmetric AMP: Used for symmetric matrices (e.g., the spiked Wigner model in matrix estimation).
  2. Asymmetric/GAMP: Used for general rectangular matrices (e.g., generalized linear models like Logistic Regression).

The "secret sauce" of AMP is the Onsager correction term. A typical power-method iteration looks like $v^{k+1} = Av^k$. AMP modifies this to: $$v^{k+1} = A \hat{v}^k - b_k \hat{v}^{k-1}$$ The term $b_k \hat{v}^{k-1}$ is the Onsager correction. It subtracts the "echo" of past iterations, ensuring that the distribution of the coordinates of each iterate remains approximately Gaussian.

Because the iterates stay Gaussian, their behavior can be tracked by State Evolution (SE). SE is a simple one-dimensional recursive formula that predicts the variance (and thus the Mean Squared Error) of the high-dimensional algorithm at every step.

Datasets

As a theoretical tutorial, this paper does not use empirical "real-world" datasets. Instead, it evaluates the algorithms on canonical synthetic models used to benchmark high-dimensional statistics:

  • Spiked Wigner/Covariance Models: Used for low-rank matrix estimation.
  • Gaussian Design Matrices: Used for linear regression (Lasso) and Generalized Linear Models (GLMs) like Logistic Regression.
  • Prior Distributions: The authors test various signal structures, such as i.i.d. Rademacher ($\pm 1$) signals and sparse signals.

Key Insights and Ideas

  • The "Aha" Moment of Onsager Correction: The most important insight is that the non-Gaussianity in iterative algorithms isn't inevitable. By carefully subtracting a specific "memory" term, you can keep the effective noise in the system independent and Gaussian, which makes the algorithm's path predictable.
  • State Evolution as a Mirror: The paper demonstrates that a complex algorithm running on millions of variables can be perfectly "mirrored" by a scalar iteration. If the scalar iteration converges to a certain error level, the massive algorithm is guaranteed to hit that same error level.
  • AMP as an Optimization Solver: The authors formalize the link between AMP and convex optimization. They show that for problems like the Lasso, the fixed point of the AMP iteration is exactly the same as the solution to the optimization problem. This allows AMP to be used as a theoretical tool to calculate the "asymptotic risk" of the Lasso.
  • Bayes-Optimality: The paper highlights "Bayes-AMP," where the choice of the "denoising" function is the posterior mean. In many cases, this version of AMP is conjectured to be the best possible polynomial-time algorithm for the task.

Key Results

  • Exact Asymptotic Risk: The paper provides exact formulas for the Mean Squared Error (MSE) of estimators in the "large system limit" ($n, p \to \infty$). For example, it shows exactly how the Lasso's error changes as the regularization parameter $\lambda$ varies.
  • Phase Transitions: It characterizes the "BBP phase transition" in matrix estimation, identifying the exact signal-to-noise ratio required for an algorithm to "see" a hidden structure in a noisy matrix.
  • Logistic Regression Bias: In high dimensions, Maximum Likelihood Estimators (MLE) for logistic regression are known to be biased. The paper uses GAMP theory to provide an exact characterization of this bias and variance inflation, matching results previously found through more complex methods.

Limitations and Future Work

  • Gaussian Assumptions: The most significant limitation is the reliance on i.i.d. Gaussian design matrices. While the paper mentions "universality" (the idea that AMP works for other distributions), the rigorous proofs are most mature for Gaussian cases.
  • Matrix Structure: Standard AMP struggles with matrices that have strong internal structures (like those that aren't zero-mean or have specific correlations). The authors point toward Vector AMP (VAMP) and Orthogonal AMP (OAMP) as future directions to handle "rotationally invariant" matrices.
  • Non-Separable Functions: The current framework mostly handles "separable" denoisers (functions that act on each coordinate independently). Extending this to "non-separable" functions (like those used in image processing) is an active area of research.

Summary updated

BibTeX
@article{feng2022unifying,
  author = {Oliver Y. Feng and Ramji Venkataramanan and Cynthia Rush and Richard J. Samworth},
  title = {{A Unifying Tutorial on Approximate Message Passing}},
  journal = {Found. Trends Mach. Learn.},
  year = {2022},
  doi = {10.1561/2200000092},
}
Figure