A Fourier representation of kernel Stein discrepancy with application to Goodness-of-Fit tests for measures on infinite dimensional Hilbert spaces

George Wynne, Mikołaj Kasprzak, Andrew B. Duncan
6/9/2022
math.STmath.PRstat.ML

Official code: gwcode12/Infinite_Dimensional_KSD (2 stars, Jupyter Notebook, MIT, last commit 2025-07-24).

Abstract

Kernel Stein discrepancy (KSD) is a widely used kernel-based measure of discrepancy between probability measures. It is often employed in the scenario where a user has a collection of samples from a candidate probability measure and wishes to compare them against a specified target probability measure.

Show full abstract

KSD has been employed in a range of settings including goodness-of-fit testing, parametric inference, MCMC output assessment and generative modelling. However, so far the method has been restricted to finite-dimensional data. We provide the first analysis of KSD in the generality of data lying in a separable Hilbert space, for example functional data. The main result is a novel Fourier representation of KSD obtained by combining the theory of measure equations with kernel methods. This allows us to prove that KSD can separate measures and thus is valid to use in practice. Additionally, our results improve the interpretability of KSD by decoupling the effect of the kernel and Stein operator. We demonstrate the efficacy of the proposed methodology by performing goodness-of-fit tests for various Gaussian and non-Gaussian functional models in a number of synthetic data experiments.

View on arXivView PDF

Code Implementations(1)

MIT

Jupyter notebooks to accompany the numerics in the paper regarding infinite dimensional kernel Stein discrepancy

20Jupyter NotebookJun 9, 20221 years agoMIT

Similar Papers

Cite this paper

@article{wynne2022fourier,
  title  = {A Fourier representation of kernel Stein discrepancy with application to Goodness-of-Fit tests for measures on infinite dimensional Hilbert spaces},
  author = {George Wynne and Mikołaj Kasprzak and Andrew B. Duncan},
  year   = {2022},
  eprint = {2206.04552},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2206.04552}
}

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

Discussion