mlsanityData to 14 Oct 2026

Boosting the Power of Kernel Two-Sample Tests

arXiv 2302.10687 ↗First posted 21 Feb 2023stat.ME math.ST stat.MLcited by 10

Not on the map. Why?

Abstract (arXiv)

The kernel two-sample test based on the maximum mean discrepancy (MMD) is one of the most popular methods for detecting differences between two distributions over general metric spaces. In this paper we propose a method to boost the power of the kernel test by combining MMD estimates over multiple kernels using their Mahalanobis distance. We derive the asymptotic null distribution of the proposed test statistic and use a multiplier bootstrap approach to efficiently compute the rejection region. The resulting test is universally consistent and, since it is obtained by aggregating over a collection of kernels/bandwidths, is more powerful in detecting a wide range of alternatives in finite samples. We also derive the distribution of the test statistic for both fixed and local contiguous alternatives. The latter, in particular, implies that the proposed test is statistically efficient, that is, it has non-trivial asymptotic (Pitman) efficiency. The consistency properties of the Mahalanobis and other natural aggregation methods are also explored when the number of kernels is allowed to grow with the sample size. Extensive numerical experiments are performed on both synthetic and real-world datasets to illustrate the efficacy of the proposed method over single kernel tests. The computational complexity of the proposed method is also studied, both theoretically and in simulations. Our asymptotic results rely on deriving the joint distribution of MMD estimates using the framework of multiple stochastic integrals, which is more broadly useful, specifically, in understanding the efficiency properties of recently proposed adaptive MMD tests based on kernel aggregation and also in developing more computationally efficient (linear time) tests that combine multiple kernels. We conclude with an application of the Mahalanobis aggregation method for kernels with diverging scaling parameters.

Key facts. Cited by 10 papers in the map (data through 14 Oct 2026). Builds on 14 of its 68 references that are in the map. First posted on arXiv 21 Feb 2023.

Builds on

14 of 68 references.

References · 14

  1. 2016Revisiting Classifier Two-Sample Testscited by 268
  2. 2015On Wasserstein Two Sample Testing and Related Families of Nonparametric Testscited by 166
  3. 2020Learning Deep Kernels for Non-Parametric Two-Sample Testscited by 130
  4. 2021MMD Aggregated Two-Sample Testcited by 75
  5. 2015Fast Two-Sample Testing with Analytic Representations of Probability Measurescited by 53
  6. 2016Classification accuracy as a proxy for two sample testingcited by 42
  7. 2013A new graph-based two-sample test for multivariate and object datacited by 24
  8. 2019Multivariate Rank-based Distribution-free Nonparametric Testing using Measure Transportationcited by 24
  9. 2019On the Optimality of Gaussian Kernel Based Nonparametric Tests against Smooth Alternativescited by 21
  10. 2022A Permutation-free Kernel Two-Sample Testcited by 21
  11. 2020Learning Kernel Tests Without Data Splittingcited by 19
  12. 2015Learning Sparse Feature Representations using Probabilistic Quadtrees and Deep Belief Netscited by 9
2 more
  1. 2020Generalized Kernel Two-Sample Testscited by 5
  2. 2018On high-dimensional modifications of some graph-based two-sample testscited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 1; 2024: 2; 2025: 6; 2026: 1.

10 papers.