Minimax-Optimal Kernel Two-sample Testing in Sub-quadratic Time
Abstract
Kernel two-sample tests based on Maximum Mean Discrepancy (MMD) are widely used, but the standard quadratic time MMD statistic requires evaluating kernel pairs where is the pooled sample size. Several subquadratic-time approximated MMD tests have been proposed to alleviate this issue, but the existing methods either compromise the test power or assume additional distributional constraints to achieve power comparable to the quadratic-time MMD test. Motivated by this gap, we propose a sub-quadratic time computational method to approximate the MMD test, achieving minimax rate-optimal power with minimal distributional assumptions. Building on ideas in fast kernel density estimation and exponentially convergent trapezoidal rule in numerical analysis, our approximation reduces all-pairs kernel summation to fast Fenwick-tree prefix-sum queries. For fixed dimension, this yields subquadratic-time algorithms for product kernels on constructed from common characteristic kernels, including Laplace, Matérn, Gaussian, and inverse multiquadric kernels. The approximation error is controlled tightly enough to have the same power as the minimax-optimal quadratic-time unapproximated MMD test. The same implementation remains subquadratic for the dimension , and can be paired with dimensionality-reduction algorithms when the signal is low-dimensional.
Create a lesson
Metadata
- Categories
- stat.ML, cs.LG, math.ST, stat.TH
- Comments
- 63 pages, 3 figures and 8 tables
Related papers
Black-Box Test-Time Personalization: Optimality and Collaboration
Shared title terminologystat.MLYuheng Ma, Feiyu Jiang, Zifeng Zhao et al.
Sampling with graph wavelet kernels: optimality and adaptivity to regularity and geometry
Shared title terminologystat.MLPranav Gupta, Hoang-Son Tran, Subhroshekhar Ghosh
Minimax Optimal Adversarial Reinforcement Learning
Shared title terminologystat.MLYudan Wang, Kaiyi Ji, Ming Shi et al.
A Minimax Optimal Leave One Out Bound for Bounded Losses
Shared title terminologystat.MLPeigan Gao, Jian Qian
Statistically Optimal and Near Linear Time Hypothesis Selection
Shared title terminologystat.MLSatyen Kale, Amirreza Shaeiri, Kunal Talwar
Tensor Train Importance Sampling for Unbiased Estimation of Rare Event Probabilities for Stochastic Reaction Networks
Shared title terminologystat.MLChiheb Ben Hammouda, Maksim Chupin, Raul Tempone