Using Perturbation to Improve Goodness-of-Fit Tests based on Kernelized Stein Discrepancy
Abstract
Kernelized Stein discrepancy (KSD) is a score-based discrepancy widely employed in goodness-of-fit tests. It is applicable even when the target distribution has an unknown normalising factor, such as in Bayesian analysis. We show theoretically and empirically that the power of the KSD test can be low when the target distribution has well-separated modes, which is due to insufficient data in regions where the score functions of the alternative and the target distributions differ the most. To improve its test power, we propose to perturb the target and alternative distributions before applying the KSD test. The perturbation uses a Markov transition kernel that leaves the target invariant but perturbs alternatives. We provide numerical evidence that the proposed approach can lead to a substantially higher power than the KSD test when the target and the alternative are mixture distributions that differ only in mixing weights.
BibTeX
@inproceedings{liu2023using,
author = {Xing Liu and Andrew Duncan and Axel Gandy},
title = {{Using Perturbation to Improve Goodness-of-Fit Tests based on Kernelized Stein Discrepancy}},
booktitle = {International Conference on Machine Learning},
year = {2023},
url = {https://openreview.net/forum?id=92tf5kOykr},
}Ask Althea to put this paper to the test.
| Measuring Sample Quality with Kernels | arXiv · 2017 |
| A Kernelized Stein Discrepancy for Goodness-of-fit Tests | arXiv · 2016 |
| KSD Aggregated Goodness-of-fit Test | arXiv · 2022 |
| Kernelized Complete Conditional Stein Discrepancy | arXiv · 2019 |
| Nyström Kernel Stein Discrepancy Tests | arXiv · 2026 |
| Fast and Scalable Score-Based Kernel Calibration Tests | arXiv · 2025 |