mlsanityData to 7 Oct 2026

Classification accuracy as a proxy for two sample testing

arXiv 1602.02210 ↗First posted 6 Feb 2016cs.LG cs.AI math.STcited by 39

Not on the map. Why?

Abstract (arXiv)

When data analysts train a classifier and check if its accuracy is significantly different from chance, they are implicitly performing a two-sample test. We investigate the statistical properties of this flexible approach in the high-dimensional setting. We prove two results that hold for all classifiers in any dimensions: if its true error remains ε-better than chance for some ε>0 as d,n → ∞, then (a) the permutation-based test is consistent (has power approaching to one), (b) a computationally efficient test based on a Gaussian approximation of the null distribution is also consistent. To get a finer understanding of the rates of consistency, we study a specialized setting of distinguishing Gaussians with mean-difference δ and common (known or unknown) covariance Sigma, when d/n → c ∈ (0,∞). We study variants of Fisher's linear discriminant analysis (LDA) such as "naive Bayes" in a nontrivial regime when ε → 0 (the Bayes classifier has true accuracy approaching 1/2), and contrast their power with corresponding variants of Hotelling's test. Surprisingly, the expressions for their power match exactly in terms of n,d,δ,Sigma, and the LDA approach is only worse by a constant factor, achieving an asymptotic relative efficiency (ARE) of 1/√π for balanced samples. We also extend our results to high-dimensional elliptical distributions with finite kurtosis. Other results of independent interest include minimax lower bounds, and the optimality of Hotelling's test when d=o(n). Simulation results validate our theory, and we present practical takeaway messages along with natural open problems.

Key facts. Cited by 39 papers in the map (data through 7 Oct 2026). First posted on arXiv 6 Feb 2016.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 6; 2022: 8; 2023: 6; 2024: 4; 2025: 7; 2026: 8.

39 papers.

Sort:

By area:

  1. 2021Testing for Outliers with Conformal p-valuescited by 133
  2. 2022Adversarial random forests for density estimation and generative modelingcited by 44
  3. 2021A Witness Two-Sample Testcited by 20
  4. 2023Sequential Predictive Two-Sample and Independence Testingcited by 20
  5. 2022AutoML Two-Sample Testcited by 19
  6. 2021Meta Two-Sample Testing: Learning Kernels for Testing with Limited Datacited by 18
  7. 2022MMD-B-Fair: Learning Fair Representations with Statistical Testingcited by 13
  8. 2022E-Valuating Classifier Two-Sample Testscited by 10
  9. 2023Boosting the Power of Kernel Two-Sample Testscited by 10
  10. 2023Deep anytime-valid hypothesis testingcited by 7
  11. 2024Benchmarking the Fidelity and Utility of Synthetic Relational Datacited by 7
  12. 2021Test for non-negligible adverse shiftscited by 5
27 more
  1. 2024A Unified Data Representation Learning for Non-parametric Two-sample Testingcited by 5
  2. 2022The Lifecycle of a Statistical Model: Model Failure Detection, Identification, and Refittingcited by 4
  3. 2024General Frameworks for Conditional Two-Sample Testingcited by 3
  4. 2026Model-Agnostic Signal Discovery with Machine Learning: Bridging the Gap Between Theory and Practicecited by 3
  5. 2022A hypothesis-driven method based on machine learning for neuroimaging data analysiscited by 2
  6. 2023MAGDiff: Covariate Data Set Shift Detection via Activation Graphs of Deep Neural Networkscited by 2
  7. 2023Kernel-Based Testing for Single-Cell Differential Analysiscited by 2
  8. 2026Measuring the Dependency Gap: Diagnosing Inter-Column Fidelity in Tabular Generative Modelscited by 2
  9. 2022Detecting Distributional Differences in Labeled Sequence Data with Application to Tropical Cyclone Satellite Imagerycited by 1
  10. 2025Conformal C2ST: Turning weak classifiers into strong two-sample testscited by 1
  11. 2025Anchor-based Maximum Discrepancy for Relative Similarity Testingcited by 1
  12. 2025Maximum Mean Discrepancy with Unequal Sample Sizes via Generalized U-Statisticscited by 1
  13. 2021Deep Learning-Based Estimation and Goodness-of-Fit for Large-Scale Confirmatory Item Factor Analysiscited by 0
  14. 2021Identifying Distributional Differences in Convective Evolution Prior to Rapid Intensification in Tropical Cyclonescited by 0
  15. 2022Two-sample test based on Self-Organizing Mapscited by 0
  16. 2023A framework for paired-sample hypothesis testing for high-dimensional datacited by 0
  17. 2024A density ratio framework for evaluating the utility of synthetic datacited by 0
  18. 2025Efficient and Stable Multi-Dimensional Kolmogorov-Smirnov Distancecited by 0
  19. 2025Boosting Statistic Learning with Synthetic Data from Pretrained Large Modelscited by 0
  20. 2025A Two-Sample Test of Text Generation Similaritycited by 0
  21. 2025Are Two Datasets Close Enough With Statistical Significance? A Kernel Distributional Closeness Testing Approachcited by 0
  22. 2026Learning to Test: Physics-Informed Representation for Dynamical Instability Detectioncited by 0
  23. 2026Trustworthy deep domain adaptation for wearable photoplethysmography signal analysis with decision-theoretic uncertainty quantificationcited by 0
  24. 2026LOTTERY: Learning from Reference-Only Samples in Two-Sample Testing under Size Asymmetrycited by 0
  25. 2026Deciding When to Decide: Testing Operational Suboptimality Under Distributional Shiftcited by 0
  26. 2026Extreme classification: beating chance with one training example from each classcited by 0
  27. 2026Zero Flux: Flow-Based Comparison of High-Dimensional Discrete Distributionscited by 0