Using stacking to average Bayesian predictive distributions

Yuling Yao, Aki Vehtari, Daniel Simpson, Andrew Gelman
4/6/2017
484 citations
stat.MEstat.CO
bayesian

Official code: stan-dev/loo (159 stars, R, last commit 2026-10-19).

Abstract

The widely recommended procedure of Bayesian model averaging is flawed in the M-open setting in which the true data-generating process is not one of the candidate models being fit. We take the idea of stacking from the point estimation literature and generalize to the combination of predictive distributions, extending the utility function to any proper scoring rule, using Pareto smoothed importance sampling to efficiently compute the required leave-one-out posterior distributions and regularization to get more stability.

Show full abstract

We compare stacking of predictive distributions to several alternatives: stacking of means, Bayesian model averaging (BMA), pseudo-BMA using AIC-type weighting, and a variant of pseudo-BMA that is stabilized using the Bayesian bootstrap. Based on simulations and real-data applications, we recommend stacking of predictive distributions, with BB-pseudo-BMA as an approximate alternative when computation cost is an issue.

View on arXivView PDF

Code Implementations(1)

stan-dev/looOfficial100%

loo R package for approximate leave-one-out cross-validation (LOO-CV) and Pareto smoothed importance sampling (PSIS)

15938RJun 14, 20151 months agoNOASSERTION
bayesbayesianbayesian-data-analysisbayesian-inferencebayesian-methods+6 more

Similar Papers

Cite this paper

@article{yao2017using,
  title  = {Using stacking to average Bayesian predictive distributions},
  author = {Yuling Yao and Aki Vehtari and Daniel Simpson and Andrew Gelman},
  year   = {2017},
  eprint = {1704.02030},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1704.02030}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1704.02030.svg)](https://codeofpaper.com/paper/1704.02030)

Discussion