Pareto Smoothed Importance Sampling
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
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.
Benchmark evidence is limited
Evidence graph: 4 refs, 4 links.
Utility signals: depth 95/100, grounding 95/100, status high.
Implementation
Best maintained implementation now
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
stan-dev/loo is the strongest maintained implementation based on ranking signals. CI workflows are present. License is declared (NOASSERTION).
Open stan-dev/loo- 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.
- 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
- 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
- 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
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.
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.
These repositories had low-confidence matching signals and are hidden by default.
- jgabry/loo
Confidence: Low · 159 stars
- n-kall/priorsense
Confidence: Low · 84 stars
- MansMeg/BSDA
Confidence: Low · 19 stars
Hugging Face artifacts
No direct paper-linked artifacts were found. Showing strongest curated related artifacts for faster exploration.
Datasets
No trustworthy datasets matches right now.
Search datasets on Hugging FaceSpaces
No trustworthy spaces matches right now.
Search spaces on Hugging FaceResearch context
Open this paper in HFEPX to review benchmark signals, evaluation modes, and human-feedback protocol context.
Open in HFEPXData includes links from Papers with Code ( CC-BY-SA-4.0 ).