Vehtari-Gelman-Gabry (2017) Practical Bayesian Model Evaluation Using Leave-One-Out Cross-Validation and WAIC

waiccross-validationimportance-samplingmodel-selectionbayesianstan

Summary

This paper gives the practical, computable recipe for estimating a Bayesian model's out-of-sample predictive accuracy from posterior draws, via leave-one-out cross-validation (LOO) and WAIC. Both estimate the pointwise expected log predictive density (elpd) using the log-likelihood evaluated at the posterior simulations — no model re-fitting needed. Exact LOO would require re-fitting nn times; approximate LOO can be had by importance sampling (reweighting the full posterior by 1/p(yiθ)1/p(y_i\mid\theta)), but those weights have heavy tails and can have infinite variance. The paper's central contribution is Pareto-smoothed importance sampling (PSIS), which fits a generalized Pareto distribution to the upper tail of the importance weights and replaces the extreme weights with smoothed values — stabilizing the estimate and, crucially, providing the k^\hat k diagnostic that flags when the approximation is unreliable. PSIS-LOO is shown to be more robust than WAIC in finite samples with weak priors or influential observations. The methods are implemented in the R package loo and demonstrated with Stan. (Statistics and Computing 27(5): 1413–1432.)

Key Claims

Concepts Introduced or Extended

Entities Mentioned

Quotes

"We introduce an efficient computation of LOO using Pareto-smoothed importance sampling (PSIS), a new procedure for regularizing importance weights. Although WAIC is asymptotically equal to LOO, we demonstrate that PSIS-LOO is more robust in the finite case with weak priors or influential observations."

"WAIC is fully Bayesian in that it uses the entire posterior distribution, and it is asymptotically equal to Bayesian cross-validation. Unlike DIC, WAIC is invariant to parametrization and also works for singular models."

My Take

If Watanabe supplied the theory that WAIC estimates cross-validated predictive loss, this paper supplied the engineering that made cross-validation itself cheap and safe: PSIS turns the appealing-but-unstable "reweight the posterior" LOO into a routine, diagnosable computation, and the k^\hat k statistic is the part practitioners actually rely on — a built-in alarm that tells you exactly which observations break the approximation. For this wiki it is the applied companion to the WAIC page and a nice illustration of importance sampling done carefully (tail regularization rather than blind reweighting). The loo package it introduced became the default model-comparison tool in the Stan ecosystem, and its "compare elpd differences with standard errors" workflow largely displaced information-criterion point comparisons. The honest limitation, which the authors foreground, is that when k^\hat k is large the shortcut fails and you must pay for K-fold or exact LOO.