Two-sample Testing Using Deep Learning
Not on the map. Why?
Abstract (arXiv)
We propose a two-sample testing procedure based on learned deep neural network representations. To this end, we define two test statistics that perform an asymptotic location test on data samples mapped onto a hidden layer. The tests are consistent and asymptotically control the type-1 error rate. Their test statistics can be evaluated in linear time (in the sample size). Suitable data representations are obtained in a data-driven way, by solving a supervised or unsupervised transfer-learning task on an auxiliary (potentially distinct) data set. If no auxiliary data is available, we split the data into two chunks: one for learning representations and one for computing the test statistic. In experiments on audio samples, natural images and three-dimensional neuroimaging data our tests yield significant decreases in type-2 error rate (up to 35 percentage points) compared to state-of-the-art two-sample tests such as kernel-methods and classifier two-sample tests.
Key facts. Cited by 26 papers in the map (data through 7 Oct 2026). First posted on arXiv 14 Oct 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 6; 2022: 4; 2023: 5; 2024: 5; 2025: 1; 2026: 5.
26 papers.
Sort:
By area:
- 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
- 2021A Witness Two-Sample Testcited by 20
- 2022AutoML Two-Sample Testcited by 19
- 2021Meta Two-Sample Testing: Learning Kernels for Testing with Limited Datacited by 18
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Timecited by 14
- 2022E-Valuating Classifier Two-Sample Testscited by 10
- 2023Variable Selection for Kernel Two-Sample Testscited by 7
- 2025Keeping Medical AI Healthy and Trustworthy: A Review of Detection and Correction Methods for System Degradationcited by 6
- 2021Test for non-negligible adverse shiftscited by 5
- 2024A Unified Data Representation Learning for Non-parametric Two-sample Testingcited by 5
- 2024Statistical and Computational Guarantees of Kernel Max-Sliced Wasserstein Distancescited by 4
14 more
- 2024Deep Nonparametric Conditional Independence Tests for Imagescited by 3
- 2022Adversarial Attack and Defense for Non-Parametric Two-Sample Testscited by 2
- 2024Recurrent Neural Goodness-of-Fit Test for Time Seriescited by 2
- 2021Explainability Requires Interactivitycited by 1
- 2021A fast and effective kernel two-sample test for large-scale datacited by 1
- 2026Detecting Performance Degradation under Data Shift in Pathology Vision-Language Modelcited by 1
- 2026Drift-to-Action Controllers: Budgeted Interventions with Online Risk Certificatescited by 1
- 2022Two-sample test based on Self-Organizing Mapscited by 0
- 2023Some notes concerning a generalized KMM-type optimization method for density ratio estimationcited by 0
- 2023R-divergence for Estimating Model-oriented Distribution Discrepancycited by 0
- 2024Machine Learning for Two-Sample Testing under Right-Censored Data: A Simulation Studycited by 0
- 2026Towards Visually Explaining Statistical Tests with Applications in Biomedical Imagingcited by 0
- 2026Learning to Test: Physics-Informed Representation for Dynamical Instability Detectioncited by 0
- 2026Counterfactual Explanations for Deep Two-Sample Testingcited by 0
- 2026Counterfactual Explanations for Deep Two-Sample Testing29 May 2026
- 2026Learning to Test: Physics-Informed Representation for Dynamical Instability Detection13 Apr 2026
- 2026Drift-to-Action Controllers: Budgeted Interventions with Online Risk Certificates9 Mar 2026
- 2026Towards Visually Explaining Statistical Tests with Applications in Biomedical Imaging20 Jan 2026
- 2026Detecting Performance Degradation under Data Shift in Pathology Vision-Language Model2 Jan 2026
- 2025Keeping Medical AI Healthy and Trustworthy: A Review of Detection and Correction Methods for System Degradation20 Jun 2025
- 2024A Unified Data Representation Learning for Non-parametric Two-sample Testing30 Nov 2024
- 2024Deep Nonparametric Conditional Independence Tests for Images9 Nov 2024
- 2024Recurrent Neural Goodness-of-Fit Test for Time Series17 Oct 2024
- 2024Machine Learning for Two-Sample Testing under Right-Censored Data: A Simulation Study12 Sep 2024
- 2024Statistical and Computational Guarantees of Kernel Max-Sliced Wasserstein Distances24 May 2024
- 2023R-divergence for Estimating Model-oriented Distribution Discrepancy2 Oct 2023
14 more
- 2023Some notes concerning a generalized KMM-type optimization method for density ratio estimation14 Sep 2023
- 2023MMD-FUSE: Learning and Combining Kernels for Two-Sample Testing Without Data Splitting14 Jun 2023
- 2023Variable Selection for Kernel Two-Sample Tests15 Feb 2023
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Time14 Jan 2023
- 2022Two-sample test based on Self-Organizing Maps17 Dec 2022
- 2022E-Valuating Classifier Two-Sample Tests24 Oct 2022
- 2022AutoML Two-Sample Test17 Jun 2022
- 2022Adversarial Attack and Defense for Non-Parametric Two-Sample Tests7 Feb 2022
- 2021A fast and effective kernel two-sample test for large-scale data7 Oct 2021
- 2021Explainability Requires Interactivity16 Sep 2021
- 2021Test for non-negligible adverse shifts7 Jul 2021
- 2021Meta Two-Sample Testing: Learning Kernels for Testing with Limited Data14 Jun 2021
- 2021Neural Mean Discrepancy for Efficient Out-of-Distribution Detection23 Apr 2021
- 2021A Witness Two-Sample Test10 Feb 2021
- 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
- 2021A Witness Two-Sample Testcited by 20
- 2022AutoML Two-Sample Testcited by 19
- 2021Meta Two-Sample Testing: Learning Kernels for Testing with Limited Datacited by 18
- 2023Compress Then Test: Powerful Kernel Testing in Near-linear Timecited by 14
- 2022E-Valuating Classifier Two-Sample Testscited by 10
- 2023Variable Selection for Kernel Two-Sample Testscited by 7
- 2025Keeping Medical AI Healthy and Trustworthy: A Review of Detection and Correction Methods for System Degradationcited by 6
- 2021Test for non-negligible adverse shiftscited by 5
- 2024A Unified Data Representation Learning for Non-parametric Two-sample Testingcited by 5
- 2024Statistical and Computational Guarantees of Kernel Max-Sliced Wasserstein Distancescited by 4
12 most cited of 25 All 25 (JSON)
- 2026Counterfactual Explanations for Deep Two-Sample Testing29 May 2026
- 2026Learning to Test: Physics-Informed Representation for Dynamical Instability Detection13 Apr 2026
- 2026Drift-to-Action Controllers: Budgeted Interventions with Online Risk Certificates9 Mar 2026
- 2026Towards Visually Explaining Statistical Tests with Applications in Biomedical Imaging20 Jan 2026
- 2025Keeping Medical AI Healthy and Trustworthy: A Review of Detection and Correction Methods for System Degradation20 Jun 2025
- 2024A Unified Data Representation Learning for Non-parametric Two-sample Testing30 Nov 2024
- 2024Deep Nonparametric Conditional Independence Tests for Images9 Nov 2024
- 2024Recurrent Neural Goodness-of-Fit Test for Time Series17 Oct 2024
- 2024Machine Learning for Two-Sample Testing under Right-Censored Data: A Simulation Study12 Sep 2024
- 2024Statistical and Computational Guarantees of Kernel Max-Sliced Wasserstein Distances24 May 2024
- 2023R-divergence for Estimating Model-oriented Distribution Discrepancy2 Oct 2023
- 2023Some notes concerning a generalized KMM-type optimization method for density ratio estimation14 Sep 2023
12 newest of 25 All 25 (JSON)