TL;DR
This chapter provides a comprehensive review of scalable Bayesian computation in modern deep learning, focusing on how approximate inference enables reliable uncertainty quantification and powers generative modeling. The authors systematically break down two major computational paradigms—Stochastic Gradient MCMC (SG-MCMC) and Variational Inference (VI)—and illustrate their practical application across Bayesian Neural Networks (BNNs) and Deep Generative Models (DGMs, including diffusion and latent variable models).
What Problem Does This Paper Address?
Standard deep neural networks (DNNs) achieve state-of-the-art predictive performance, but deterministic training on massive datasets yields overconfident point estimates that fail to capture uncertainty. This lack of reliable uncertainty estimation is dangerous in safety-critical domains such as medical diagnosis and autonomous decision-making.
While classical Bayesian computation (like standard Markov Chain Monte Carlo or Gaussian process inference) offers mathematically principled uncertainty quantification, it collapses when applied to modern deep learning due to three main roadblocks:
- Ultra high-dimensionality: Network parameters easily scale to millions or billions of weights.
- Extreme non-linearity and multi-modality: The complex mappings of neural networks result in highly non-convex loss surfaces with redundant, symmetric modes.
- Massive datasets: Evaluating full-dataset likelihoods and acceptance probabilities at every step is computationally impossible.
This chapter synthesizes the foundational techniques and scalable approximations developed to bridge this gap.
Methods
The survey categorizes modern Bayesian deep learning methods into two foundational approximation toolkits applied across two main model families:
- Bayesian Neural Networks (BNNs):
- Stochastic Gradient MCMC (SG-MCMC): Employs mini-batch gradients to simulate continuous dynamics without full-dataset Metropolis-Hastings accept/reject steps. Key variants include:
- Stochastic Gradient Langevin Dynamics (SGLD): Injects controlled Gaussian noise into stochastic gradient descent with decaying step sizes.
- Cyclical SG-MCMC: Uses cyclical learning rate schedules to alternate between exploring distant modes and sampling within local modes.
- Stochastic Gradient Hamiltonian Monte Carlo (SGHMC): Adds auxiliary momentum and introduces a friction term to counter stochastic gradient noise.
- Variational Inference (VI): Approximates the intractable weight posterior by optimizing an Evidence Lower Bound (ELBO):
- Mean-field Gaussian VI: Employs factorized Gaussian approximations updated via the reparameterization trick and mini-batch SGD (doubling parameter counts).
- Alternative Divergences: Uses $\alpha$-divergences to interpolate between mode-seeking (exclusive KL) and mass-covering (inclusive KL) behavior.
- Structured Posteriors: Employs "low-rank + diagonal" covariances, matrix normal distributions, and normalizing flows/implicit distributions.
- Deep Generative Models (DGMs):
- Energy-Based Models (EBMs) & Score-Based / Diffusion Models: Train unnormalized density models where Langevin MCMC generates contrastive samples or reverses continuous-time Stochastic Differential Equations (SDEs), often assisted by Predictor-Corrector samplers.
- Deep Latent Variable Models (DLVMs) & Variational Autoencoders (VAEs): Leverage amortized VI (predicting posterior parameters via encoder networks) and tighter bounds (Importance-Weighted Autoencoders).
- Hybrid VI + MCMC: Uses variational posteriors as warm-start proposals for MCMC, or parameterizes MCMC transitions and tunes hyperparameters (e.g., step size) as variational parameters.
Datasets
As this chapter is an overview and review, no new datasets or empirical evaluations were introduced. Real-world datasets mentioned to contextualize scale include ImageNet and LAION-5B, as well as various vision, speech, and multimodal domains cited throughout the literature.
Key Insights and Ideas
- Prediction vs. Parameter Interpretability: In standard statistical models, individual parameters have physical interpretations. In BNNs, because weight symmetries induce functionally equivalent modes (e.g., neuron permutation), exact posterior accuracy in weight space matters far less than the quality of the resulting posterior predictive distribution in function space.
- Uncertainty Decomposition: The Bayesian framework naturally disentangles aleatoric uncertainty (inherent data noise/variability) from epistemic uncertainty (model ignorance due to limited data), which can be measured via mutual information or disagreement between posterior network samples.
- Diffusion Models as Continuous MCMC: Diffusion models can be interpreted through reverse-time stochastic differential equations, aligning directly with continuous-time Langevin dynamics (e.g., critically damped Langevin diffusion inspired by Hamiltonian dynamics).
- Synergy Between VI and MCMC: VI provides fast, amortized initialization, while MCMC refines samples to overcome restricted variational families. Conversely, variational objectives can tune MCMC hyperparameters directly.
Key Results
Because this paper is a conceptual tutorial and literature review rather than an empirical benchmarking paper, specific quantitative benchmarks are not reported. The authors review foundational theoretical results, including the convergence criteria for SGLD step-size schedules ($\sum \alpha_t = \infty$, $\sum \alpha_t^2 < \infty$), the connection between noise-perturbed score matching and diffusion training objectives, and ELBO formulations under amortized and importance-weighted schemes.
Limitations and Future Work
The authors highlight several major open challenges in Bayesian deep learning:
- Weight Non-identifiability: Better approximation methods are needed that focus directly on functional/predictive space rather than expending resources sampling symmetric weight configurations.
- Loss Landscape and Optimization Interaction: More theoretical understanding is needed on how modern optimization advances (adaptive optimizers, curvature, loss geometry) intersect with SG-MCMC and variational updates.
- Bias from Inexact Inference in Generative Models: The theoretical impact of non-converged MCMC sampling (e.g., short-run contrastive divergence in EBMs) or the "amortization gap" combined with restricted variational families in VAEs remains an open question.
Summary updated