Robust leave-one-out cross-validation for high-dimensional Bayesian models

Luca Silva, Giacomo Zanella
9/19/2022
stat.COstat.MEstat.ML
bayesian

Official code: luchinoprince/Mixture_IS (1 star, Jupyter Notebook, last commit 2023-08-22).

Abstract

Leave-one-out cross-validation (LOO-CV) is a popular method for estimating out-of-sample predictive accuracy. However, computing LOO-CV criteria can be computationally expensive due to the need to fit the model multiple times.

Show full abstract

In the Bayesian context, importance sampling provides a possible solution but classical approaches can easily produce estimators whose asymptotic variance is infinite, making them potentially unreliable. Here we propose and analyze a novel mixture estimator to compute Bayesian LOO-CV criteria. Our method retains the simplicity and computational convenience of classical approaches, while guaranteeing finite asymptotic variance of the resulting estimators. Both theoretical and numerical results are provided to illustrate the improved robustness and efficiency. The computational benefits are particularly significant in high-dimensional problems, allowing to perform Bayesian LOO-CV for a broader range of models, and datasets with highly influential observations. The proposed methodology is easily implementable in standard probabilistic programming software and has a computational cost roughly equivalent to fitting the original model once.

View on arXivView PDF

Code Implementations(1)

10Jupyter Notebook, PythonMay 31, 20233 years ago

Similar Papers

Cite this paper

@article{silva2022robust,
  title  = {Robust leave-one-out cross-validation for high-dimensional Bayesian models},
  author = {Luca Silva and Giacomo Zanella},
  year   = {2022},
  eprint = {2209.09190},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.09190}
}

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

Discussion