Show that a single-site Gibbs update is a Metropolis–Hastings move that is always accepted, and that it leaves the target invariant. Why does a fixed-order sweep not give a reversible chain, and can you give an example where Gibbs sampling fails to converge?
Probabilistic models, MCMC
Level L4 Advanced. Length Long. Nature Mat Mathematical.
What's being asked
Whether you can verify the MH ratio equals 1 for a conditional proposal, and understand invariance, reversibility and irreducibility separately.
Key idea
With proposal and the same , the MH ratio is exactly 1. Each conditional update satisfies detailed balance with , so any composition of them preserves .
Steps
- Update coordinate : propose with and . So and .
- MH ratio: . So the acceptance probability is .
- Detailed balance: for the kernel , we have , which is symmetric in . So , and summing over gives .
- A sweep preserves , because each factor does. But its reverse is , not itself, so the sweep is generally not reversible. A random-scan Gibbs sampler (pick at random) is a mixture of reversible kernels and is reversible. A symmetric sweep is also reversible.
- Invariance is not enough. We also need irreducibility and aperiodicity. Example: uniform on the two points and . From the conditional of given puts all mass on 0, so the chain never leaves. It has the right invariant distribution but is not irreducible.
- The same issue appears (slowly) when variables are strongly correlated, as in the bivariate Gaussian with .
Common mistakes
- Concluding that acceptance 1 means perfect mixing. It only means no rejections.
- Claiming the systematic-scan sweep satisfies detailed balance. It leaves invariant but is usually not reversible.
- Forgetting irreducibility and aperiodicity, which are needed for convergence from every start.
How long your answer should be
A page. About 8–10 minutes.
Last checked on 4 December 2026.
Read this
Previous in Probabilistic models: Why does the plain HMM forward algorithm underflow for long sequences, and how does the scaled forward algorithm fix it? How can you illustrate this using the HMM with , , , , , and observations ?
Next in Probabilistic models: Show that Bayesian linear regression with features and weight prior is a Gaussian process, and that its predictive mean and variance equal the GP formulas with . What does this imply for the RBF kernel?