English

Optimal Algorithms for Testing Closeness of Discrete Distributions

Data Structures and Algorithms 2013-08-20 v1 Information Theory Machine Learning math.IT

Abstract

We study the question of closeness testing for two discrete distributions. More precisely, given samples from two distributions pp and qq over an nn-element set, we wish to distinguish whether p=qp=q versus pp is at least \eps\eps-far from qq, in either 1\ell_1 or 2\ell_2 distance. Batu et al. gave the first sub-linear time algorithms for these problems, which matched the lower bounds of Valiant up to a logarithmic factor in nn, and a polynomial factor of \eps.\eps. In this work, we present simple (and new) testers for both the 1\ell_1 and 2\ell_2 settings, with sample complexity that is information-theoretically optimal, to constant factors, both in the dependence on nn, and the dependence on \eps\eps; for the 1\ell_1 testing problem we establish that the sample complexity is Θ(max{n2/3/\eps4/3,n1/2/\eps2}).\Theta(\max\{n^{2/3}/\eps^{4/3}, n^{1/2}/\eps^2 \}).

Keywords

Cite

@article{arxiv.1308.3946,
  title  = {Optimal Algorithms for Testing Closeness of Discrete Distributions},
  author = {Siu-On Chan and Ilias Diakonikolas and Gregory Valiant and Paul Valiant},
  journal= {arXiv preprint arXiv:1308.3946},
  year   = {2013}
}
R2 v1 2026-06-22T01:11:22.501Z