Posterior Consistency
Posterior consistency means the Bayesian update eventually piles nearly all belief on the truth as data grows, which separates methods that learn from ones that stall.
Why Does This Exist?
Bayesian methods promise learning from data, but a bad prior or a misspecified model can refuse to learn: the posterior camps on the wrong value forever while data piles up. Users need to know which setups guarantee eventual truth and how fast belief tightens. Early theory gave conflicting answers because conditions hid in prior tails.
Consistency theorems name the price: prior mass near truth plus tests that separate it from impostors. Contraction rates then quantify speed. This page states Schwartz's conditions and computes the classic coin example end to end.
The one idea you need first
The posterior is proportional to prior times likelihood. Concentration means posterior mass on every fixed neighborhood of truth tends to one as . A rate says how fast neighborhoods may shrink while still capturing mass, like . Bayesian inference covers the update itself.
Think of It Like This
A searchlight tightening on a lost hiker
Night rescuers sweep a wide beam across a valley (the prior). Each shouted reply (data point) narrows the beam toward the voice. With a working radio and open terrain, the beam ends on the hiker. With a dead battery (prior gap at truth) or echoes off cliffs (no separating tests), it locks onto a reflection forever.
Prior support is a charged battery, tests are open terrain without echoes, and the beam width is posterior spread. Where the analogy stops: real posteriors can concentrate on predictive twins of truth rather than truth itself under misspecification.
How It Actually Works
Schwartz's theorem needs two ingredients at true density : the prior charges every Kullback-Leibler neighborhood of (prior support), and uniformly consistent tests separate from distant alternatives (testability). Then the posterior of any fixed weak neighborhood of tends to one almost surely.
Rates refine this: in smooth parametric models with samples, the posterior contracts at around truth, matching maximum likelihood. In nonparametric density estimation with Dirichlet priors, rates slow to powers like depending on smoothness. Misspecification redirects concentration to the KL-closest model point instead.
Worked example
Coin with true heads chance , uniform Beta(1,1) prior, 100 flips with 62 heads. Posterior is Beta(, ) = Beta(63, 39). Mean . Variance , so sd .
Mass on : -scores and , giving about 0.951 of mass. With 10 flips (6 heads) the same interval held only about 0.62. Tenfold data visibly tightened belief onto truth.
Code
from math import erf, sqrt
def normal_cdf(z: float) -> float: return 0.5 * (1 + erf(z / sqrt(2))) # standard normal tail
mean, sd = 63 / 102, 0.0479mass = normal_cdf((0.7 - mean) / sd) - normal_cdf((0.5 - mean) / sd)print(round(mass, 3)) # -> 0.951The normal approximation gives 0.951 on the interval, matching the hand -scores. Exact Beta integration agrees to two decimals.
Watch Out For
Zero prior mass at truth
A prior that rules out the true value (a point mass elsewhere, or a support gap) never recovers no matter the data, because Bayes multiplies by zero. The symptom is a posterior stuck far from the maximum likelihood estimate with growing confidence.
Check the prior charges neighborhoods of plausible truths before trusting asymptotics.
Quoting consistency under misspecification
With a wrong model family, the posterior concentrates on the KL projection, which can sit far from any substantive truth. Predictions may still score well while parameters mislead. Teams that read consistent parameter recovery off a misspecified run overclaim.
Separate predictive consistency from parameter consistency, and test expansion of the model family.
The Quick Version
- Consistency means posterior mass on truth tends to one as grows.
- Schwartz needs prior KL support plus separating tests.
- Smooth models contract at ; nonparametric rates are slower powers.
- The coin run concentrates 0.95 mass on after 100 flips versus 0.62 after 10.
- Zero prior mass or misspecification breaks the guarantee, so check both first.