Robust Markov Chain Monte Carlo

Statistics
Introduced by
Roberts, Rosenthal and colleagues; extended by Atchade, Barp, Girolami and others
Year
2000s–2010s
Type
Bayesian computational sampling
Family
Bayesian / computational

What does it do?

Robust MCMC combines Markov chain Monte Carlo sampling with robustification of the likelihood, the prior or the transition kernel, so that posterior inference is less sensitive to outliers, model misspecification or heavy-tailed targets.

The chain then samples a modified posterior rather than the standard posterior of the stated model. The approach is most useful when a few observations or a slightly wrong model would otherwise dominate the posterior.

The intuition behind the method

Standard MCMC treats the likelihood exactly as written, so a single outlier or a slightly wrong model can distort every posterior draw. Robust MCMC limits this by replacing or down-weighting the contribution of discordant observations in the likelihood, by using heavy-tailed priors or proposals, or by using divergence-based objectives that penalise large deviations less than squared error does. The Markov chain still explores the target, but the target itself is less sensitive to the observations that conflict most with the assumed model.

History

No single originator is attributed to robust MCMC on this page, and none is documented in the sources available for it. The term covers several robustification strategies, including robust likelihoods, heavy-tailed or contamination-aware priors, and modified proposals. Roberts and Rosenthal (2004) provides general theory on ergodicity and central limit theorems for MCMC on general state spaces. It does not address robustness, so it is cited here for the convergence properties of the sampler rather than for the origin of robust variants. Readers who need the history of a specific robust technique should consult the primary literature for that technique.

When to use it

Use robust MCMC when outliers or data contamination are plausible, when the parametric model is only approximately correct, or when standard MCMC shows slow mixing or diagnostics that do not settle. It is most helpful when a few unusual observations have high leverage on the posterior. Avoid it when the data are believed to follow the assumed distribution without contamination, because the robustification then adds cost and reduces efficiency. Also avoid it when the goal is exact inference under a specific model, since robust modifications change the target and must be justified explicitly.

Limitations and considerations

  • Because the robust likelihood changes the target, the posterior is not the standard posterior of the stated generative model, which complicates interpretation.
  • The robustness tuning parameter, such as the power in a density power divergence or the degrees of freedom of a t-likelihood, must be calibrated and checked with a sensitivity analysis.
  • When the data are clean and well specified, down-weighting or heavy-tailed proposals discard information, so the sampler is less efficient than standard MCMC.
  • Ergodicity conditions for standard MCMC, as surveyed in the cited Roberts and Rosenthal (2004) work, must be checked for each robust kernel. For adaptive or implicitly defined robust targets, these checks are harder and may require additional conditions.

Source conditions do not replace independent scientific review or validation by an analysis engine.

Strengths

  • Down-weighting or replacing the likelihood term for discordant observations limits how much any single outlier can move the posterior.
  • Heavy-tailed priors and likelihoods can address targets whose tails would otherwise be poorly explored by a Gaussian-based sampler.
  • Robustness is introduced through the likelihood and prior while the posterior is still sampled by an MCMC chain, so standard convergence diagnostics such as R-hat and effective sample size remain applicable. These diagnostics confirm convergence to the modified target only; they do not show that the modified target is the right one for the question.
  • Leave-one-out cross-validation can be used to compare robust and standard fits on predictive performance, which helps detect misspecification.

Applications

  • Regression with heavy-tailed or occasionally erroneous measurements, using a Student-t likelihood as the robust choice.
  • Clinical or observational datasets in which a few extreme recordings may be errors, where down-weighting is preferred to deletion.
  • Models with an explicit contamination component in the likelihood or prior, where the contamination weight is inferred.
  • Hierarchical models with heavy-tailed random effects, where some groups may be genuinely atypical.
  • Calibration of approximate forward models in computational science, where misspecification is expected.

How it works

How it works

1

The likelihood factor f_epsilon in the product is replaced by a term with heavier tails or bounded influence, such as a Student-t form, a Huber-type loss, or a density power divergence objective. Individual outlying observations then receive less weight in the posterior. For loss-based options such as the Huber-type loss and the density power divergence, the factor is a surrogate for the likelihood rather than a normalised density, so the product in the formula defines a generalised posterior that should be interpreted with that in mind.

Formula
p_{\text{rob}}(y\mid\theta) = \prod_i f_\epsilon(y_i\mid\theta)
2

The prior is chosen to suit heavy tails or possible contamination. Examples include Student-t priors on regression coefficients, horseshoe priors when most coefficients are expected to be near zero, and mixture priors with an explicit contamination component. The prior is part of the target, so its choice should be reported.

Formula
p(\theta) \text{ — heavy-tailed or contamination-robust prior}
3

Bayes' rule is applied to the robust likelihood and the chosen prior, so the posterior is proportional to the product shown in the formula. Because the likelihood has been changed, this posterior is a modified target and not the standard posterior of the stated model. Its interpretation should be stated explicitly.

Formula
p_{\text{rob}}(\theta\mid y) \propto p_{\text{rob}}(y\mid\theta)\,p(\theta)
4

The transition kernel can also be modified. Proposals may be heavier-tailed than Gaussian, for example Student-t, which can help the chain move between distant regions when the target has heavy tails. Any modification must keep the robust posterior as the invariant distribution of the chain. Step-size and mass-matrix adaptation is usually confined to a warm-up phase and then fixed, so that the retained draws come from a single kernel. The ergodicity conditions discussed under limitations apply to the modified kernel.

5

Convergence is assessed with standard MCMC diagnostics such as R-hat, effective sample size and trace plots. Additional influence checks, such as importance-sampling leave-one-out cross-validation, show whether any single observation drives the posterior.

Common pitfalls

  • Setting the robustness parameter too aggressively so that even genuine signal is down-weighted, biasing the posterior toward the prior.
  • Assuming robustness automatically corrects a fundamentally misspecified model structure. It mitigates outlier influence but cannot fix a wrong functional form.
  • Neglecting to report that a robust rather than standard posterior was used, which can mislead readers comparing results across studies.
  • Skipping posterior predictive checks and LOO diagnostics after fitting, and thus failing to verify that the robust adjustment actually resolved the problem.

Frequently asked questions

Is robust MCMC sampling the same as standard MCMC applied to a robust model?

They overlap but are not identical. Using a t-likelihood in a standard sampler is a model-level robustification. Robust MCMC also covers sampler-level modifications, such as heavy-tailed proposals and robust adaptation, which change the algorithm independently of whether the likelihood has been altered.

How do I choose the robustness tuning parameter?

One option is cross-validation on predictive performance: fit the model over a grid of robustness values and compare held-out log scores, for example with leave-one-out (LOO) or k-fold schemes. LOO estimates can be unstable for heavy-tailed fits, because a few observations then dominate the importance weights. Check the reliability diagnostics reported by the software before trusting a LOO comparison, and use k-fold where they flag problems. A sensitivity analysis showing how key posterior summaries shift across the grid is also essential.

Will robust MCMC always converge to the correct posterior?

Standard convergence results apply only when the robust target is proper and the kernel meets the ergodicity conditions discussed in the cited Roberts and Rosenthal (2004) survey. These conditions must be checked for each robust kernel. If the target is defined through a loss rather than a normalised density, additional conditions may be needed. Always check R-hat and effective sample size, bearing in mind that they assess convergence to the modified target.

When should I prefer robust MCMC over outlier removal followed by standard MCMC?

Prefer robust MCMC when outlier membership is uncertain or continuous, so that each observation has a degree of anomaly, rather than a clear binary label. Hard removal discards information and can introduce selection bias. Down-weighting keeps all data while limiting the influence of the most discordant points.

Does robust MCMC change model interpretation?

Yes. The posterior under a robust likelihood is not the exact Bayesian posterior under the stated model. It corresponds to a tilted or down-weighted version. Coefficient estimates and credible intervals should be interpreted relative to the robust target, and this should be reported explicitly.

Related methods

Sources

  1. Roberts, G. O. & Rosenthal, J. S. (2004). General state space Markov chains and MCMC algorithms. Probability Surveys, 1, 20–71.

    Open DOI reference
  2. Barp, A., Kennedy, C., Durmus, A. & Girolami, M. (2022). Targeted separation and convergence with kernel discrepancies. arXiv preprint.

    Open publication reference