English

Random Feature Stein Discrepancies

Machine Learning 2021-10-12 v5 Machine Learning

Abstract

Computable Stein discrepancies have been deployed for a variety of applications, ranging from sampler selection in posterior inference to approximate Bayesian inference to goodness-of-fit testing. Existing convergence-determining Stein discrepancies admit strong theoretical guarantees but suffer from a computational cost that grows quadratically in the sample size. While linear-time Stein discrepancies have been proposed for goodness-of-fit testing, they exhibit avoidable degradations in testing power -- even when power is explicitly optimized. To address these shortcomings, we introduce feature Stein discrepancies (Φ\PhiSDs), a new family of quality measures that can be cheaply approximated using importance sampling. We show how to construct Φ\PhiSDs that provably determine the convergence of a sample to its target and develop high-accuracy approximations -- random Φ\PhiSDs (RΦ\PhiSDs) -- which are computable in near-linear time. In our experiments with sampler selection for approximate posterior inference and goodness-of-fit testing, RΦ\PhiSDs perform as well or better than quadratic-time KSDs while being orders of magnitude faster to compute.

Keywords

Cite

@article{arxiv.1806.07788,
  title  = {Random Feature Stein Discrepancies},
  author = {Jonathan H. Huggins and Lester Mackey},
  journal= {arXiv preprint arXiv:1806.07788},
  year   = {2021}
}

Comments

In Proceedings of the 32nd Annual Conference on Neural Information Processing Systems (NeurIPS 2018). Code available at: https://bitbucket.org/jhhuggins/random-feature-stein-discrepancies

R2 v1 2026-06-23T02:36:08.566Z