Bayesian Inference

Bayesian inference updates uncertainty about a latent variable or parameter after observing data. It turns a prior and likelihood into a posterior distribution.

where may be a model parameter, latent variable, hypothesis, structure, or hidden state.

Core Objects

ObjectMeaning
Prior assumption before seeing the data
Likelihood data model under a candidate
Evidence normalizing constant or marginal likelihood
Posterior updated uncertainty after observing data
Posterior predictive prediction averaged over posterior uncertainty

The evidence integrates over possible parameters:

MAP and Regularization

Maximum a posteriori estimation chooses the posterior mode:

This is often equivalent to a regularized objective:

The prior becomes the regularizer. This interpretation is useful, but it does not automatically make the trained model a full Bayesian model.

Prediction

Bayesian prediction averages over posterior uncertainty:

Point-estimate models often replace this integral with one parameter value:

That loses parameter uncertainty unless an approximation such as an ensemble, variational posterior, Laplace approximation, or Monte Carlo method is used.

Approximation Routes

RouteCore IdeaCheck
MAPoptimize posterior modeno posterior spread by itself
Variational inferencefit to approximate posteriorapproximation family can be too narrow
Monte Carlosample from posterior or predictive distributionchain quality or sampling budget matters
Laplace approximationapproximate posterior near a mode with curvaturelocal Gaussian assumption may fail
Ensemblesuse multiple trained models as uncertainty proxydiversity depends on training protocol

Why It Matters

  • Uncertainty estimation should say what uncertainty is represented.
  • Latent-variable models depend on posterior approximation.
  • MAP estimation explains why priors and regularization are related.
  • Posterior predictive distributions separate probability from hard decisions.
  • Many “Bayesian” claims in papers are approximate and need an evidence boundary.

Checks

  • What is observed and what is latent?
  • Is the prior explicit, learned, empirical, or only implicit?
  • Is the posterior exact, approximate, amortized, or collapsed to a point estimate?
  • Does uncertainty represent data noise, parameter uncertainty, model uncertainty, or all of them?
  • Is the reported number a likelihood, posterior probability, MAP estimate, posterior mean, sample, or predictive probability?