Compress Then Test: Powerful Kernel Testing in Near-linear Time
Not on the map. Why?
Abstract (arXiv)
Kernel two-sample testing provides a powerful framework for distinguishing any pair of distributions based on n sample points. However, existing kernel tests either run in n2 time or sacrifice undue power to improve runtime. To address these shortcomings, we introduce Compress Then Test (CTT), a new framework for high-powered kernel testing based on sample compression. CTT cheaply approximates an expensive test by compressing each n point sample into a small but provably high-fidelity coreset. For standard kernels and subexponential distributions, CTT inherits the statistical behavior of a quadratic-time test -- recovering the same optimal detection boundary -- while running in near-linear time. We couple these advances with cheaper permutation testing, justified by new power analyses; improved time-vs.-quality guarantees for low-rank approximation; and a fast aggregation procedure for identifying especially discriminating kernels. In our experiments with real and simulated data, CTT and its extensions provide 20--200x speed-ups over state-of-the-art approximate MMD tests with no loss of power.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 17 of its 55 references that are in the map. First posted on arXiv 14 Jan 2023.
Builds on
17 of 55 references.
References · 17
- 2017EMNIST: an extension of MNIST to handwritten letterscited by 212
- 2020Learning Deep Kernels for Non-Parametric Two-Sample Testscited by 129
- 2016Generative Models and Model Criticism via Optimized Maximum Mean Discrepancycited by 99
- 2015On the Error of Random Fourier Featurescited by 76
- 2016Interpretable Distribution Features with Maximum Testing Powercited by 63
- 2015Fast Two-Sample Testing with Analytic Representations of Probability Measurescited by 53
- 2021Kernel Thinningcited by 47
- 2015Optimal Rates for Random Fourier Featurescited by 38
- 2021Generalized Kernel Thinningcited by 29
- 2022Efficient Aggregated Kernel Tests using Incomplete U-statisticscited by 27
- 2019Two-sample Testing Using Deep Learningcited by 26
- 2022A Permutation-free Kernel Two-Sample Testcited by 21
5 more
- 2020Learning Kernel Tests Without Data Splittingcited by 19
- 2021Distribution Compression in Near-linear Timecited by 19
- 2014FastMMD: Ensemble of Circular Discrepancy for Efficient Two-Sample Testcited by 17
- 2018Post Selection Inference with Incomplete Maximum Mean Discrepancy Estimatorcited by 11
- 2017The Mean and Median Criterion for Automatic Kernel Bandwidth Selection for Support Vector Data Descriptioncited by 2
Built on by
Citing papers per year: 2023: 3; 2024: 3; 2025: 7; 2026: 1.
14 papers.
Sort:
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splittingcited by 33
- 2023The Representation Jensen-Shannon Divergencecited by 9
- 2024Robust Kernel Hypothesis Testing under Data Corruptioncited by 7
- 2025Low-Rank Thinningcited by 7
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learningcited by 6
- 2024Efficient and Accurate Explanation Estimation with Distribution Compressioncited by 4
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutationscited by 4
- 2025A Unified View of Optimal Kernel Hypothesis Testingcited by 4
- 2024Supervised Kernel Thinningcited by 3
- 2025Kernel-Based Evaluation of Conditional Biological Sequence Modelscited by 1
- 2025Minimax-Optimal Two-Sample Test with Sliced Wassersteincited by 1
- 2023Partial identification of kernel based two sample tests with mismeasured datacited by 0
2 more
- 2026Stein Kernelized Molecular Dynamics for Active Learning of Interatomic Potentials2 Jun 2026
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learning22 Dec 2025
- 2025Minimax-Optimal Two-Sample Test with Sliced Wasserstein31 Oct 2025
- 2025Kernel-Based Evaluation of Conditional Biological Sequence Models17 Oct 2025
- 2025Flexible and Efficient Drift Detection without Labels10 Jun 2025
- 2025A Unified View of Optimal Kernel Hypothesis Testing10 Mar 2025
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutations19 Feb 2025
- 2025Low-Rank Thinning17 Feb 2025
- 2024Supervised Kernel Thinning17 Oct 2024
- 2024Efficient and Accurate Explanation Estimation with Distribution Compression26 Jun 2024
- 2024Robust Kernel Hypothesis Testing under Data Corruption30 May 2024
- 2023Partial identification of kernel based two sample tests with mismeasured data7 Aug 2023
2 more
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splittingcited by 33
- 2023The Representation Jensen-Shannon Divergencecited by 9
- 2024Robust Kernel Hypothesis Testing under Data Corruptioncited by 7
- 2025Low-Rank Thinningcited by 7
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learningcited by 6
- 2024Efficient and Accurate Explanation Estimation with Distribution Compressioncited by 4
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutationscited by 4
- 2025A Unified View of Optimal Kernel Hypothesis Testingcited by 4
- 2024Supervised Kernel Thinningcited by 3
- 2025Kernel-Based Evaluation of Conditional Biological Sequence Modelscited by 1
- 2025Minimax-Optimal Two-Sample Test with Sliced Wassersteincited by 1
- 2023Partial identification of kernel based two sample tests with mismeasured datacited by 0
12 most cited of 14 All 14 (JSON)
- 2026Stein Kernelized Molecular Dynamics for Active Learning of Interatomic Potentials2 Jun 2026
- 2025KerJEPA: Kernel Discrepancies for Euclidean Self-Supervised Learning22 Dec 2025
- 2025Minimax-Optimal Two-Sample Test with Sliced Wasserstein31 Oct 2025
- 2025Kernel-Based Evaluation of Conditional Biological Sequence Models17 Oct 2025
- 2025Flexible and Efficient Drift Detection without Labels10 Jun 2025
- 2025A Unified View of Optimal Kernel Hypothesis Testing10 Mar 2025
- 2025A Scalable Nystrom-Based Kernel Two-Sample Test with Permutations19 Feb 2025
- 2025Low-Rank Thinning17 Feb 2025
- 2024Supervised Kernel Thinning17 Oct 2024
- 2024Efficient and Accurate Explanation Estimation with Distribution Compression26 Jun 2024
- 2024Robust Kernel Hypothesis Testing under Data Corruption30 May 2024
- 2023Partial identification of kernel based two sample tests with mismeasured data7 Aug 2023
12 newest of 14 All 14 (JSON)