Pareto Smoothed Importance Sampling

Aki Vehtari, Daniel Simpson, Andrew Gelman, Yuling Yao, Jonah Gabry
7/9/2015
stat.COstat.MEstat.ML

Official code: stan-dev/loo (159 stars, last commit 2026-10-19). 1 more implementation below.

Abstract

Importance weighting is a general way to adjust Monte Carlo integration to account for draws from the wrong distribution, but the resulting estimate can be highly variable when the importance ratios have a heavy right tail. This routinely occurs when there are aspects of the target distribution that are not well captured by the approximating distribution, in which case more stable estimates can be obtained by modifying extreme importance ratios. We present a new method for stabilizing importance weights using a generalized Pareto distribution fit to the upper tail of the distribution of the simulated importance ratios. The method, which empirically performs better than existing methods for stabilizing importance sampling estimates, includes stabilized effective sample size estimates, Monte Carlo error estimates, and convergence diagnostics. The presented Pareto $\hat{k}$ finite sample convergence rate diagnostic is useful for any Monte Carlo estimator.

View on arXivView PDF

Code Implementations(2)

stan-dev/looOfficial100%

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

15937RJun 14, 20153 days agoNOASSERTION
bayesbayesianbayesian-data-analysisbayesian-inferencebayesian-methods+6 more
avehtari/PSISOfficial100%
GPL-3.0

Pareto smoothed importance sampling (PSIS) and PSIS leave-one-out cross-validation for Python and Matlab/Octave

8528Stan, MATLABJul 10, 20152 years agoGPL-3.0

Cite this paper

@article{vehtari2015pareto,
  title  = {Pareto Smoothed Importance Sampling},
  author = {Aki Vehtari and Daniel Simpson and Andrew Gelman and Yuling Yao and Jonah Gabry},
  year   = {2015},
  eprint = {1507.02646},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1507.02646}
}

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/1507.02646.svg)](https://codeofpaper.com/paper/1507.02646)

Discussion