A scalable Nyström-based kernel two-sample test with permutations
- 1 January 2026
- journal article
- Published by Institute of Mathematical Statistics in Electronic Journal of Statistics
- Vol. 20 (1) , 2608-2642
Abstract
Two-sample hypothesis testing–determining whether two sets of data are drawn from the same distribution–is a fundamental problem in statistics and machine learning with broad scientific applications. In the context of nonparametric testing, maximum mean discrepancy (MMD) has gained popularity as a test statistic due to its flexibility and strong theoretical foundations. However, its use in large-scale scenarios is plagued by high computational costs. In this work, we use a Nyström approximation of the MMD to design a computationally efficient and practical testing algorithm while preserving statistical guarantees. Our main result is a finite-sample bound on the power of the proposed test for distributions that are sufficiently separated with respect to the MMD. The derived separation rate matches the known minimax optimal rate in this setting. We support our findings with a series of numerical experiments, emphasizing applicability to realistic scientific data.Keywords
All Related Versions
This publication has 38 references indexed in Scilit:
- Nyström landmark sampling and regularized Christoffel functionsMachine Learning, 2022
- Testing Statistical Hypotheses2022
- Exact testing with random permutationsTEST, 2017
- Large-scale kernel methods for independence testingStatistics and Computing, 2017
- Optimal Rates for the Regularized Least-Squares AlgorithmFoundations of Computational Mathematics, 2006
- Reproducing Kernel Hilbert Spaces in Probability and Statistics2004
- Two-sided confidence intervals for the single proportion: comparison of seven methodsStatistics in Medicine, 1998
- The Large-Sample Power of Tests Based on Permutations of Observations1994
- Asymptotic behavior of the eigenvalues of certain integral equations. IIArchive for Rational Mechanics and Analysis, 1964
- Über Die Praktische Auflösung von Integralgleichungen mit Anwendungen auf RandwertaufgabenActa Mathematica, 1930