English

Minimax optimal testing by classification

Statistics Theory 2025-11-25 v2 Data Structures and Algorithms Statistics Theory

Abstract

This paper considers an ML inspired approach to hypothesis testing known as classifier/classification-accuracy testing (CAT\mathsf{CAT}). In CAT\mathsf{CAT}, one first trains a classifier by feeding it labeled synthetic samples generated by the null and alternative distributions, which is then used to predict labels of the actual data samples. This method is widely used in practice when the null and alternative are only specified via simulators (as in many scientific experiments). We study goodness-of-fit, two-sample (TS\mathsf{TS}) and likelihood-free hypothesis testing (LFHT\mathsf{LFHT}), and show that CAT\mathsf{CAT} achieves (near-)minimax optimal sample complexity in both the dependence on the total-variation (TV\mathsf{TV}) separation ϵ\epsilon and the probability of error δ\delta in a variety of non-parametric settings, including discrete distributions, dd-dimensional distributions with a smooth density, and the Gaussian sequence model. In particular, we close the high probability sample complexity of LFHT\mathsf{LFHT} for each class. As another highlight, we recover the minimax optimal complexity of TS\mathsf{TS} over discrete distributions, which was recently established by Diakonikolas et al. (2021). The corresponding CAT\mathsf{CAT} simply compares empirical frequencies in the first half of the data, and rejects the null when the classification accuracy on the second half is better than random.

Keywords

Cite

@article{arxiv.2306.11085,
  title  = {Minimax optimal testing by classification},
  author = {Patrik Róbert Gerber and Yanjun Han and Yury Polyanskiy},
  journal= {arXiv preprint arXiv:2306.11085},
  year   = {2025}
}

Comments

Error fixed in Table 2

R2 v1 2026-06-28T11:08:59.249Z