Why do we discard the first few samples (the burn-in) of an MCMC run, and why are the remaining samples not independent draws?
Probabilistic models, MCMC
Level L1 Beginner. Length Short. Nature Th Theoretical.
What's being asked
Whether you understand intuitively why a random-walk sampler needs a warm-up period and why consecutive draws depend on one another.
Key idea
MCMC (Markov chain Monte Carlo) draws samples from a target distribution by taking a random walk that favours higher-probability regions. Because the walk starts from an arbitrary guess, early steps (burn-in) are biased by that starting point, and because each step moves locally from the previous one, later samples remain correlated.
Steps
- Explain the setup in plain words: MCMC runs a random walk over possible values so that, after enough steps, it visits values in proportion to the target distribution.
- Why burn-in is discarded: the walk begins at an arbitrary starting point that may sit in a very unlikely region. Throwing away the first batch of samples (burn-in) stops that arbitrary start from distorting your averages.
- Why remaining samples are correlated: each new sample is proposed as a small step from the current sample, so consecutive draws stay close to each other instead of being fresh, independent picks.
- Mention what follows later: because correlated draws carry less information than independent ones, later methods measure an effective sample size and run several walks from different starting points to check they agree.
Common mistakes
- Believing a fixed burn-in length proves the walk has settled; running multiple chains from different starting points helps spot when it has not.
- Treating 1,000 correlated MCMC samples as carrying as much accuracy as 1,000 independent samples.
- Thinking that keeping only every 10th sample adds information; it lowers correlation and saves memory, but throws away data.
How long your answer should be
4–5 sentences.
Read this
Previous in Probabilistic models: What is a hidden Markov model? What are its hidden states and observations, and which three sets of probabilities define it?
Next in Probabilistic models: Two weather forecasters both predict tomorrow's temperature correctly, but one made a vague forecast and the other a specific one. Why does the specific one deserve more credit, and how does this explain why Bayesians say a model that can explain almost anything is penalised without any extra penalty?