Skip to content
OpenTrain AIFor AI Companies

Pareto Smoothed Importance Sampling

Aki Vehtari, Daniel Simpson, Andrew Gelman, Yuling Yao, Jonah GabryPublished Jul 9, 2015
arXiv PDF
Researcher verdict
Starting point
Use as implementation starting point
Benchmark evidence
Thin evidence
Verify before relying
Time to first repro
A few days
Plan setup time
Risk flags
1
Review before use

Abstract

Domain fit: AI-adjacent · Paper appears method- or tooling-adjacent to AI workflows with partial ecosystem coverage.

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.

Results and benchmarks

Freshness tier: cold
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.

Implementation

Best maintained implementation now

Recommended
Confidence: High
Reproducibility: Moderate

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

159 stars · 37 forks · Last push Oct 21, 2026 · NOASSERTION license

  • License
  • CI
  • Dependencies
  • Docker

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata · Strong overlap with paper title keywords

Why this implementation
Confidence: high

stan-dev/loo is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (NOASSERTION).

Open stan-dev/loo
Reproduction risks
  • Dependency manifest is missing
  • Selected stan-dev/loo as the strongest maintained implementation for new work.
  • Includes CI workflow signals.
  • Repository activity is within the last 24 months.
  • Official repository is preserved separately as historical context.

Compare implementation paths

Compare maintenance quality, reproducibility coverage, and evidence confidence before choosing a reproduction baseline.

stan-dev/loo
best maintained
Maintenance
Active
Confidence
High
Reproducibility
Moderate
Stars
159
Last push
Oct 21, 2026 (8d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No Docker setup
  • Dependency manifest missing
avehtari/PSIS
historical official
Maintenance
Stale
Confidence
High
Reproducibility
Limited
Stars
85
Last push
Mar 13, 2024 (960d)

Official implementation from Papers with Code · Repository link is mentioned in the paper metadata

  • No push in 12+ months
  • No CI pipeline detected
  • No tagged releases
jgabry/loo
alternative
Maintenance
Active
Confidence
Low
Reproducibility
Moderate
Stars
159
Last push
Oct 21, 2026 (8d)

Strong overlap with paper title keywords · Community adoption signal (159 stars)

  • No Docker setup
  • Dependency manifest missing
  • Low confidence match

Reproduction readiness

Time to first repro: days
Last checked: Oct 29, 2026

Major work

No dependency manifest, manual reconstruction required

  • stan-dev/loo has no requirements.txt, environment.yml, pyproject.toml, or Dockerfile.
  • You will need to reverse-engineer dependencies from import statements in the source code.
Open stan-dev/loo

Hardware requirements

  • Expect multi-day setup/compute for meaningful reproduction based on current guidance.

Repositories and ecosystem

No additional verified repositories beyond the primary recommendation.

Hugging Face artifacts

No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.

Models

Curated Related

Datasets

No trustworthy datasets matches right now.

Search datasets on Hugging Face

Spaces

No trustworthy spaces matches right now.

Search spaces on Hugging Face

Research context

Evaluation and human feedback data

Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.

Open in HFEPX

Data includes links from Papers with Code ( CC-BY-SA-4.0 ).