mlsanityData to 7 Oct 2026

Fast Two-Sample Testing with Analytic Representations of Probability Measures

arXiv 1506.04725 ↗First posted 15 Jun 2015stat.MLcited by 53

Not on the map. Why?

Abstract (arXiv)

We propose a class of nonparametric two-sample tests with a cost linear in the sample size. Two tests are given, both based on an ensemble of distances between analytic functions representing each of the distributions. The first test uses smoothed empirical characteristic functions to represent the distributions, the second uses distribution embeddings in a reproducing kernel Hilbert space. Analyticity implies that differences in the distributions may be detected almost surely at a finite number of randomly chosen locations/frequencies. The new tests are consistent against a larger class of alternatives than the previous linear-time tests based on the (non-smoothed) empirical characteristic functions, while being much faster than the current state-of-the-art quadratic-time kernel-based or energy distance-based tests. Experiments on artificial benchmarks and on challenging real-world testing problems demonstrate that our tests give a better power/time tradeoff than competing approaches, and in some cases, better outright power than even the most expensive quadratic-time tests. This performance advantage is retained even in high dimensions, and in cases where the difference in distributions is not observable with low order statistics.

Key facts. Cited by 53 papers in the map (data through 7 Oct 2026). First posted on arXiv 15 Jun 2015.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 10; 2022: 13; 2023: 12; 2024: 4; 2025: 10; 2026: 4.

53 papers.

Sort:

  1. 2022The "Beatrix'' Resurrections: Robust Backdoor Detection via Gram Matricescited by 62
  2. 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splittingcited by 33
  3. 2022Calibrated Selective Classificationcited by 30
  4. 2022Efficient Aggregated Kernel Tests using Incomplete U-statisticscited by 27
  5. 2021PEARL: Data Synthesis via Private Embeddings and Adversarial Reconstruction Learningcited by 23
  6. 2022A Permutation-free Kernel Two-Sample Testcited by 21
  7. 2021A Witness Two-Sample Testcited by 20
  8. 2022Calibration tests beyond classificationcited by 20
  9. 2022AutoML Two-Sample Testcited by 19
  10. 2021Meta Two-Sample Testing: Learning Kernels for Testing with Limited Datacited by 18
  11. 2021Neural Tangent Kernel Maximum Mean Discrepancycited by 15
  12. 2023Compress Then Test: Powerful Kernel Testing in Near-linear Timecited by 14
38 more
  1. 2023PCF-GAN: generating sequential data via the characteristic function of measures on the path spacecited by 13
  2. 2021An Asymptotic Test for Conditional Independence using Analytic Kernel Embeddingscited by 12
  3. 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learningcited by 11
  4. 2022E-Valuating Classifier Two-Sample Testscited by 10
  5. 2023Boosting the Power of Kernel Two-Sample Testscited by 10
  6. 2022Context-Aware Drift Detectioncited by 9
  7. 2021Convergence of Gaussian-smoothed optimal transport distance with sub-gamma distributions and dependent samplescited by 8
  8. 2023Characteristic Circuitscited by 8
  9. 2021Quantization Algorithms for Random Fourier Featurescited by 7
  10. 2021Kernel Two-Sample Tests for Manifold Datacited by 7
  11. 2023Variable Selection for Kernel Two-Sample Testscited by 7
  12. 2023Deep anytime-valid hypothesis testingcited by 7
  13. 2022Kernel Robust Hypothesis Testingcited by 6
  14. 2025DUAL: Learning Diverse Kernels for Aggregated Two-sample and Independence Testingcited by 6
  15. 2023Nystr"om M-Hilbert-Schmidt Independence Criterioncited by 5
  16. 2024Nystr"om Kernel Stein Discrepancycited by 4
  17. 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutationscited by 4
  18. 2025A Unified View of Optimal Kernel Hypothesis Testingcited by 4
  19. 2023Understanding Deep Generative Models with Generalized Empirical Likelihoodscited by 3
  20. 2022Adversarial Attack and Defense for Non-Parametric Two-Sample Testscited by 2
  21. 2024Recurrent Neural Goodness-of-Fit Test for Time Seriescited by 2
  22. 2024The Polynomial Stein Discrepancy for Assessing Moment Convergencecited by 2
  23. 2025FAST: Topology-Aware Frequency-Domain Distribution Matching for Coreset Selectioncited by 2
  24. 2021A fast and effective kernel two-sample test for large-scale datacited by 1
  25. 2022Drift Identification for L'evy alpha-Stable Stochastic Systemscited by 1
  26. 2025Topological Signatures of Adversaries in Multimodal Alignmentscited by 1
  27. 2025Anchor-based Maximum Discrepancy for Relative Similarity Testingcited by 1
  28. 2025Maximum Mean Discrepancy with Unequal Sample Sizes via Generalized U-Statisticscited by 1
  29. 2026Zero-Flow Two-Sample Testscited by 1
  30. 2021HD-cos Networks: Efficient Neural Architectures for Secure Multi-Party Computationcited by 0
  31. 2022Synthetic Power Analyses: Empirical Evaluation and Application to Cognitive Neuroimagingcited by 0
  32. 2023Forecasting Particle Accelerator Interruptions Using Logistic LASSO Regressioncited by 0
  33. 2023Bootstrapped Edge Count Tests for Nonparametric Two-Sample Inference Under Heterogeneitycited by 0
  34. 2023R-divergence for Estimating Model-oriented Distribution Discrepancycited by 0
  35. 2024Data Quality Awareness: A Journey from Traditional Data Management to Data Science Systemscited by 0
  36. 2025Simple and Effective Specialized Representations for Fair Classifierscited by 0
  37. 2025Kernel Quantile Embeddings and Associated Probability Metricscited by 0
  38. 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approachcited by 0

50 most cited of 53 All 53 (JSON)