mlsanityData to 7 Oct 2026

A Witness Two-Sample Test

arXiv 2102.05573 ↗First posted 10 Feb 2021cs.LG stat.MLcited by 20

Not on the map. Why?

Abstract (arXiv)

The Maximum Mean Discrepancy (MMD) has been the state-of-the-art nonparametric test for tackling the two-sample problem. Its statistic is given by the difference in expectations of the witness function, a real-valued function defined as a weighted sum of kernel evaluations on a set of basis points. Typically the kernel is optimized on a training set, and hypothesis testing is performed on a separate test set to avoid overfitting (i.e., control type-I error). That is, the test set is used to simultaneously estimate the expectations and define the basis points, while the training set only serves to select the kernel and is discarded. In this work, we propose to use the training data to also define the weights and the basis points for better data efficiency. We show that 1) the new test is consistent and has a well-controlled type-I error; 2) the optimal witness function is given by a precision-weighted mean in the reproducing kernel Hilbert space associated with the kernel; and 3) the test power of the proposed test is comparable or exceeds that of the MMD and other modern tests, as verified empirically on challenging synthetic and real problems (e.g., Higgs data).

Key facts. Cited by 20 papers in the map (data through 7 Oct 2026). Builds on 15 of its 41 references that are in the map. First posted on arXiv 10 Feb 2021.

Builds on

15 of 41 references.

References · 15

  1. 2016Kernel Mean Embedding of Distributions: A Review and Beyondcited by 360
  2. 2016Revisiting Classifier Two-Sample Testscited by 258
  3. 2020Learning Deep Kernels for Non-Parametric Two-Sample Testscited by 129
  4. 2016Generative Models and Model Criticism via Optimized Maximum Mean Discrepancycited by 99
  5. 2020Kernel methods through the roof: handling billions of points efficientlycited by 88
  6. 2017FALKON: An Optimal Large Scale Kernel Methodcited by 82
  7. 2016Interpretable Distribution Features with Maximum Testing Powercited by 63
  8. 2015Fast Two-Sample Testing with Analytic Representations of Probability Measurescited by 53
  9. 2016Classification accuracy as a proxy for two sample testingcited by 39
  10. 2019Two-sample Testing Using Deep Learningcited by 26
  11. 2019Classification Logit Two-sample Testing by Neural Networkscited by 25
  12. 2013A new graph-based two-sample test for multivariate and object datacited by 24
3 more
  1. 2019On the Optimality of Gaussian Kernel Based Nonparametric Tests against Smooth Alternativescited by 21
  2. 2017On the Optimality of Kernel-Embedding Based Goodness-of-Fit Testscited by 19
  3. 2020Learning Kernel Tests Without Data Splittingcited by 19

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 1; 2022: 4; 2023: 4; 2024: 4; 2025: 4; 2026: 3.

20 papers.

Sort: