Learning Deep Kernels for Non-Parametric Two-Sample Tests
Not on the map. Why?
Abstract (arXiv)
We propose a class of kernel-based two-sample tests, which aim to determine whether two sets of samples are drawn from the same distribution. Our tests are constructed from kernels parameterized by deep neural nets, trained to maximize test power. These tests adapt to variations in distribution smoothness and shape over space, and are especially suited to high dimensions and complex data. By contrast, the simpler kernels used in prior kernel testing work are spatially homogeneous, and adaptive only in lengthscale. We explain how this scheme includes popular classifier-based two-sample tests as a special case, but improves on them in general. We provide the first proof of consistency for the proposed adaptation method, which applies both to kernels on deep features and to simpler radial basis kernels or multiple kernel learning. In experiments, we establish the superior performance of our deep kernels in hypothesis testing on benchmark and real-world data. The code of our deep-kernel-based two sample tests is available at https://github.com/fengliu90/DK-for-TST.
Key facts. Cited by 130 papers in the map (data through 14 Oct 2026). First posted on arXiv 21 Feb 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 20; 2022: 27; 2023: 20; 2024: 19; 2025: 25; 2026: 19.
130 papers.
Sort:
By area:
- 2021Benchmarking Simulation-Based Inferencecited by 162
- 2022Federated Class-Incremental Learningcited by 127
- 2021MMD Aggregated Two-Sample Testcited by 75
- 2022M3Care: Learning with Missing Modalities in Multimodal Healthcare Datacited by 72
- 2021Neural Mean Discrepancy for Efficient Out-of-Distribution Detectioncited by 42
- 2025Beyond Reward Hacking: Causal Rewards for Large Language Model Alignmentcited by 42
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splittingcited by 33
- 2021Meta Discovery: Learning to Discover Novel Classes given Very Limited Datacited by 31
- 2022Evaluating generative models in high energy physicscited by 31
- 2022Bilateral Dependency Optimization: Defending Against Model-inversion Attackscited by 30
- 2024DySLIM: Dynamics Stable Learning by Invariant Measure for Chaotic Systemscited by 30
- 2021Learning Bounds for Open-Set Learningcited by 27
38 more
- 2021Higher Order Kernel Mean Embeddings to Capture Filtrations of Stochastic Processescited by 27
- 2021A Witness Two-Sample Testcited by 23
- 2022KSD Aggregated Goodness-of-fit Testcited by 21
- 2023Sequential Predictive Two-Sample and Independence Testingcited by 21
- 2022AutoML Two-Sample Testcited by 20
- 2023Detecting Adversarial Data by Probing Multiple Perturbations Using Expected Perturbation Scorecited by 20
- 2024Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancycited by 20
- 2022A Learning Based Hypothesis Test for Harmful Covariate Shiftcited by 19
- 2021Isometric Propagation Network for Generalized Zero-shot Learningcited by 18
- 2021Meta Two-Sample Testing: Learning Kernels for Testing with Limited Datacited by 18
- 2021On the benefits of representation regularization in invariance based domain generalizationcited by 17
- 2021TOHAN: A One-step Approach towards Few-shot Hypothesis Adaptationcited by 17
- 2025Understanding Multimodal LLMs Under Distribution Shifts: An Information-Theoretic Approachcited by 16
- 2021Neural Tangent Kernel Maximum Mean Discrepancycited by 15
- 2023Differentially Private Neural Tangent Kernels for Privacy-Preserving Data Generationcited by 15
- 2024Practical Kernel Tests of Conditional Independencecited by 15
- 2022Model-agnostic out-of-distribution detection using combined statistical testscited by 14
- 2022DC-Check: A Data-Centric AI checklist to guide the development of reliable machine learning systemscited by 14
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Timecited by 14
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Sciencecited by 14
- 2022MMD-B-Fair: Learning Fair Representations with Statistical Testingcited by 13
- 2025A Practical Introduction to Kernel Discrepancies: MMD, HSIC & KSDcited by 13
- 2024Online Drift Detection with Maximum Concept Discrepancycited by 12
- 2022How Robust is Your Fairness? Evaluating and Sustaining Fairness under Unseen Distribution Shiftscited by 11
- 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learningcited by 11
- 2022Evaluating Aleatoric Uncertainty via Conditional Generative Modelscited by 10
- 2022E-Valuating Classifier Two-Sample Testscited by 10
- 2023Boosting the Power of Kernel Two-Sample Testscited by 10
- 2022Context-Aware Drift Detectioncited by 9
- 2023The Representation Jensen-Shannon Divergencecited by 9
- 2023A Bias-Variance-Covariance Decomposition of Kernel Scores for Generative Modelscited by 8
- 2023Variable Selection for Kernel Two-Sample Testscited by 7
- 2025Low-Rank Thinningcited by 7
- 2025On the Hardness of Conditional Independence Testing In Practicecited by 7
- 2024A Unified Data Representation Learning for Non-parametric Two-sample Testingcited by 6
- 2025DUAL: Learning Diverse Kernels for Aggregated Two-sample and Independence Testingcited by 6
- 2022A Manifold Two-Sample Test Study: Integral Probability Metric with Neural Networkscited by 5
- 2022Evaluating Graph Generative Models with Contrastively Learned Featurescited by 5
50 most cited of 130 All 130 (JSON)
- 2026Kernel-based External Validity of Experimental Studies9 Oct 2026
- 2026Zero Flux: Flow-Based Comparison of High-Dimensional Discrete Distributions1 Oct 2026
- 2026Auditing Data Provenance in LLM Fine-tuning via Intrinsic Distributional Fingerprints3 Aug 2026
- 2026How fine a change can moments see? A scale law for detecting distribution shift, with a kernel calibration rule2 Aug 2026
- 2026Minimax Lower Bounds of Kernel Discrepancy Estimation: MMD, HSIC, KSD27 Jul 2026
- 2026Zero-Flow Two-Sample Tests23 Jul 2026
- 2026Dimension-Calibrated Unexplained Mass: An Interpretable Drift Statistic for Contamination Monitoring in Data Streams18 Jul 2026
- 2026Score Distributions, Not Cells: Evaluating Single-Cell Perturbations Under Class Overlap6 Jul 2026
- 2026USAD: Uncertainty-aware Statistical Adversarial Detection26 Jun 2026
- 2026A nonparametric two-sample test using a parametric integral probability metric15 Jun 2026
- 2026LOTTERY: Learning from Reference-Only Samples in Two-Sample Testing under Size Asymmetry7 Jun 2026
- 2026Counterfactual Explanations for Deep Two-Sample Testing29 May 2026
38 more
- 2026Micro-Defects Expose Macro-Fakes: Detecting AI-Generated Images via Local Distributional Shifts10 May 2026
- 2026Kernel Selection is Model Selection: A Unified Complexity-Penalized Approach for MMD Two-Sample Tests7 May 2026
- 2026Kernel Tests of Equivalence11 Mar 2026
- 2026Unlearning Evaluation through Subset Statistical Independence28 Feb 2026
- 2026Regularized f-Divergence Kernel Tests27 Jan 2026
- 2026Towards Visually Explaining Statistical Tests with Applications in Biomedical Imaging20 Jan 2026
- 2026Finite-Sample Unbiased Variance of MMD under Unbalanced Sampling: Exact Estimation and Quasi-Linear Computation20 Jan 2026
- 2025On the Hardness of Conditional Independence Testing In Practice16 Dec 2025
- 2025Maximum Mean Discrepancy with Unequal Sample Sizes via Generalized U-Statistics16 Dec 2025
- 2025Variance Matters: Improving Domain Adaptation via Stratified Sampling4 Dec 2025
- 2025AutoSciDACT: Automated Scientific Discovery through Contrastive Embedding and Hypothesis Testing24 Oct 2025
- 2025DUAL: Learning Diverse Kernels for Aggregated Two-sample and Independence Testing13 Oct 2025
- 2025Anchor-based Maximum Discrepancy for Relative Similarity Testing12 Oct 2025
- 2025Technical note on Sequential Test-Time Adaptation via Martingale-Driven Fisher Prompting4 Oct 2025
- 2025Generative Model Inversion Through the Lens of the Manifold Hypothesis24 Sep 2025
- 2025Learning Majority-to-Minority Transformations with MMD and Triplet Loss for Imbalanced Classification15 Sep 2025
- 2025Likelihood Ratio Tests by Kernel Gaussian Embedding11 Aug 2025
- 2025CoLT: The conditional localization test for assessing the accuracy of neural posterior estimates22 Jul 2025
- 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approach17 Jul 2025
- 2025Flows and Diffusions on the Neural Manifold14 Jul 2025
- 2025Reliably Detecting Model Failures in Deployment Without Labels5 Jun 2025
- 2025Kernel Quantile Embeddings and Associated Probability Metrics26 May 2025
- 2025Optimal Online Change Detection via Random Fourier Features23 May 2025
- 2025Adaptive Latent-Space Constraints in Personalized Federated Learning12 May 2025
- 2025Boosting Statistic Learning with Synthetic Data from Pretrained Large Models8 May 2025
- 2025A Practical Introduction to Kernel Discrepancies: MMD, HSIC & KSD4 Mar 2025
- 2025One Stone, Two Birds: Enhancing Adversarial Defense Through the Lens of Distributional Discrepancy4 Mar 2025
- 2025Low-Rank Thinning17 Feb 2025
- 2025Distributional Statistics Restore Training Data Auditability in One-step Distilled Diffusion Models5 Feb 2025
- 2025Understanding Multimodal LLMs Under Distribution Shifts: An Information-Theoretic Approach1 Feb 2025
- 2025Topological Signatures of Adversaries in Multimodal Alignments29 Jan 2025
- 2025Beyond Reward Hacking: Causal Rewards for Large Language Model Alignment16 Jan 2025
- 2024Fundus Image-based Visual Acuity Assessment with PAC-Guarantees9 Dec 2024
- 2024A Unified Data Representation Learning for Non-parametric Two-sample Testing30 Nov 2024
- 2024Automatic dataset shift identification to support safe deployment of medical imaging AI12 Nov 2024
- 2024Deep Nonparametric Conditional Independence Tests for Images9 Nov 2024
- 2024Data Quality Awareness: A Journey from Traditional Data Management to Data Science Systems5 Nov 2024
- 2024General Frameworks for Conditional Two-Sample Testing22 Oct 2024
50 newest of 130 All 130 (JSON)
- 2026Regularized f-Divergence Kernel Testscited by 2
- 2026Unlearning Evaluation through Subset Statistical Independencecited by 1
- 2026Unlearning Evaluation through Subset Statistical Independence28 Feb 2026
- 2026Regularized f-Divergence Kernel Tests27 Jan 2026
- 2021Benchmarking Simulation-Based Inferencecited by 162
- 2022Federated Class-Incremental Learningcited by 127
- 2021MMD Aggregated Two-Sample Testcited by 75
- 2022M3Care: Learning with Missing Modalities in Multimodal Healthcare Datacited by 72
- 2021Neural Mean Discrepancy for Efficient Out-of-Distribution Detectioncited by 42
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splittingcited by 33
- 2021Meta Discovery: Learning to Discover Novel Classes given Very Limited Datacited by 31
- 2022Evaluating generative models in high energy physicscited by 31
- 2022Bilateral Dependency Optimization: Defending Against Model-inversion Attackscited by 30
- 2024DySLIM: Dynamics Stable Learning by Invariant Measure for Chaotic Systemscited by 30
- 2021Learning Bounds for Open-Set Learningcited by 27
- 2021Higher Order Kernel Mean Embeddings to Capture Filtrations of Stochastic Processescited by 27
12 most cited of 123 All 123 (JSON)
- 2026Kernel-based External Validity of Experimental Studies9 Oct 2026
- 2026Zero Flux: Flow-Based Comparison of High-Dimensional Discrete Distributions1 Oct 2026
- 2026How fine a change can moments see? A scale law for detecting distribution shift, with a kernel calibration rule2 Aug 2026
- 2026Minimax Lower Bounds of Kernel Discrepancy Estimation: MMD, HSIC, KSD27 Jul 2026
- 2026Zero-Flow Two-Sample Tests23 Jul 2026
- 2026Dimension-Calibrated Unexplained Mass: An Interpretable Drift Statistic for Contamination Monitoring in Data Streams18 Jul 2026
- 2026Score Distributions, Not Cells: Evaluating Single-Cell Perturbations Under Class Overlap6 Jul 2026
- 2026USAD: Uncertainty-aware Statistical Adversarial Detection26 Jun 2026
- 2026A nonparametric two-sample test using a parametric integral probability metric15 Jun 2026
- 2026LOTTERY: Learning from Reference-Only Samples in Two-Sample Testing under Size Asymmetry7 Jun 2026
- 2026Counterfactual Explanations for Deep Two-Sample Testing29 May 2026
- 2026Micro-Defects Expose Macro-Fakes: Detecting AI-Generated Images via Local Distributional Shifts10 May 2026
12 newest of 123 All 123 (JSON)