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
| Object | Meaning |
|---|---|
| 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
| Route | Core Idea | Check |
|---|---|---|
| MAP | optimize posterior mode | no posterior spread by itself |
| Variational inference | fit to approximate posterior | approximation family can be too narrow |
| Monte Carlo | sample from posterior or predictive distribution | chain quality or sampling budget matters |
| Laplace approximation | approximate posterior near a mode with curvature | local Gaussian assumption may fail |
| Ensembles | use multiple trained models as uncertainty proxy | diversity 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?