Classification Logit Two-sample Testing by Neural Networks
Not on the map. Why?
Abstract (arXiv)
The recent success of generative adversarial networks and variational learning suggests training a classifier network may work well in addressing the classical two-sample problem. Network-based tests have the computational advantage that the algorithm scales to large samples. This paper proposes a two-sample statistic which is the difference of the logit function, provided by a trained classification neural network, evaluated on the testing set split of the two datasets. Theoretically, we prove the testing power to differentiate two sub-exponential densities given that the network is sufficiently parametrized. When the two densities lie on or near to low-dimensional manifolds embedded in possibly high-dimensional space, the needed network complexity is reduced to only scale with the intrinsic dimensionality. Both the approximation and estimation error analysis are based on a new result of near-manifold integral approximation. In experiments, the proposed method demonstrates better performance than previous network-based tests using classification accuracy as the two-sample statistic, and compares favorably to certain kernel maximum mean discrepancy tests on synthetic datasets and hand-written digit datasets.
Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). First posted on arXiv 25 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 6; 2023: 7; 2024: 5; 2025: 3; 2026: 2.
25 papers.
Sort:
- 2023Convergence of flow-based generative models via proximal gradient descent in Wasserstein spacecited by 34
- 2021A Witness Two-Sample Testcited by 20
- 2023Sequential Predictive Two-Sample and Independence Testingcited by 20
- 2024Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancycited by 20
- 2022AutoML Two-Sample Testcited by 19
- 2021Neural Tangent Kernel Maximum Mean Discrepancycited by 15
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Sciencecited by 14
- 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learningcited by 11
- 2022E-Valuating Classifier Two-Sample Testscited by 10
- 2022A Data-Driven Approach to Robust Hypothesis Testing Using Sinkhorn Uncertainty Setscited by 9
- 2023The Representation Jensen-Shannon Divergencecited by 9
- 2023Variable Selection for Kernel Two-Sample Testscited by 7
13 more
- 2022A Manifold Two-Sample Test Study: Integral Probability Metric with Neural Networkscited by 5
- 2024Automatic dataset shift identification to support safe deployment of medical imaging AIcited by 5
- 2024A Unified Data Representation Learning for Non-parametric Two-sample Testingcited by 5
- 2022Neural network-based CUSUM for online change-point detectioncited by 4
- 2023Kernel-Based Tests for Likelihood-Free Hypothesis Testingcited by 2
- 2024Learning Representations for Independence Testingcited by 2
- 2023Deep Hypothesis Tests Detect Clinically Relevant Subgroup Shifts in Medical Imagescited by 1
- 2025Anchor-based Maximum Discrepancy for Relative Similarity Testingcited by 1
- 2025Sparse, self-organizing ensembles of local kernels detect rare statistical anomaliescited by 1
- 2026Zero-Flow Two-Sample Testscited by 1
- 2023R-divergence for Estimating Model-oriented Distribution Discrepancycited by 0
- 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approachcited by 0
- 2026USAD: Uncertainty-aware Statistical Adversarial Detectioncited by 0
- 2026Zero-Flow Two-Sample Tests23 Jul 2026
- 2026USAD: Uncertainty-aware Statistical Adversarial Detection26 Jun 2026
- 2025Sparse, self-organizing ensembles of local kernels detect rare statistical anomalies5 Nov 2025
- 2025Anchor-based Maximum Discrepancy for Relative Similarity Testing12 Oct 2025
- 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approach17 Jul 2025
- 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
- 2024Learning Representations for Independence Testing10 Sep 2024
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Science19 Mar 2024
- 2024Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancy25 Feb 2024
- 2023Convergence of flow-based generative models via proximal gradient descent in Wasserstein space26 Oct 2023
- 2023R-divergence for Estimating Model-oriented Distribution Discrepancy2 Oct 2023
13 more
- 2023Kernel-Based Tests for Likelihood-Free Hypothesis Testing17 Aug 2023
- 2023The Representation Jensen-Shannon Divergence25 May 2023
- 2023Sequential Predictive Two-Sample and Independence Testing29 Apr 2023
- 2023Deep Hypothesis Tests Detect Clinically Relevant Subgroup Shifts in Medical Images8 Mar 2023
- 2023Variable Selection for Kernel Two-Sample Tests15 Feb 2023
- 2022Neural network-based CUSUM for online change-point detection31 Oct 2022
- 2022E-Valuating Classifier Two-Sample Tests24 Oct 2022
- 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learning4 Oct 2022
- 2022AutoML Two-Sample Test17 Jun 2022
- 2022A Manifold Two-Sample Test Study: Integral Probability Metric with Neural Networks4 May 2022
- 2022A Data-Driven Approach to Robust Hypothesis Testing Using Sinkhorn Uncertainty Sets9 Feb 2022
- 2021Neural Tangent Kernel Maximum Mean Discrepancy6 Jun 2021
- 2021A Witness Two-Sample Test10 Feb 2021
- 2023Convergence of flow-based generative models via proximal gradient descent in Wasserstein spacecited by 34
- 2021A Witness Two-Sample Testcited by 20
- 2023Sequential Predictive Two-Sample and Independence Testingcited by 20
- 2024Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancycited by 20
- 2022AutoML Two-Sample Testcited by 19
- 2021Neural Tangent Kernel Maximum Mean Discrepancycited by 15
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Sciencecited by 14
- 2022CADet: Fully Self-Supervised Out-Of-Distribution Detection With Contrastive Learningcited by 11
- 2022E-Valuating Classifier Two-Sample Testscited by 10
- 2022A Data-Driven Approach to Robust Hypothesis Testing Using Sinkhorn Uncertainty Setscited by 9
- 2023The Representation Jensen-Shannon Divergencecited by 9
- 2023Variable Selection for Kernel Two-Sample Testscited by 7
12 most cited of 25 All 25 (JSON)
- 2026Zero-Flow Two-Sample Tests23 Jul 2026
- 2026USAD: Uncertainty-aware Statistical Adversarial Detection26 Jun 2026
- 2025Sparse, self-organizing ensembles of local kernels detect rare statistical anomalies5 Nov 2025
- 2025Anchor-based Maximum Discrepancy for Relative Similarity Testing12 Oct 2025
- 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approach17 Jul 2025
- 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
- 2024Learning Representations for Independence Testing10 Sep 2024
- 2024A Practical Guide to Sample-based Statistical Distances for Evaluating Generative Models in Science19 Mar 2024
- 2024Detecting Machine-Generated Texts by Multi-Population Aware Optimization for Maximum Mean Discrepancy25 Feb 2024
- 2023Convergence of flow-based generative models via proximal gradient descent in Wasserstein space26 Oct 2023
- 2023R-divergence for Estimating Model-oriented Distribution Discrepancy2 Oct 2023
12 newest of 25 All 25 (JSON)