English

On The Memory Complexity of Uniformity Testing

Information Theory 2022-06-22 v1 math.IT

Abstract

In this paper we consider the problem of uniformity testing with limited memory. We observe a sequence of independent identically distributed random variables drawn from a distribution pp over [n][n], which is either uniform or is ε\varepsilon-far from uniform under the total variation distance, and our goal is to determine the correct hypothesis. At each time point we are allowed to update the state of a finite-memory machine with SS states, where each state of the machine is assigned one of the hypotheses, and we are interested in obtaining an asymptotic probability of error at most 0<δ<1/20<\delta<1/2 uniformly under both hypotheses. The main contribution of this paper is deriving upper and lower bounds on the number of states SS needed in order to achieve a constant error probability δ\delta, as a function of nn and ε\varepsilon, where our upper bound is O(nlognε)O(\frac{n\log n}{\varepsilon}) and our lower bound is Ω(n+1ε)\Omega (n+\frac{1}{\varepsilon}). Prior works in the field have almost exclusively used collision counting for upper bounds, and the Paninski mixture for lower bounds. Somewhat surprisingly, in the limited memory with unlimited samples setup, the optimal solution does not involve counting collisions, and the Paninski prior is not hard. Thus, different proof techniques are needed in order to attain our bounds.

Keywords

Cite

@article{arxiv.2206.09395,
  title  = {On The Memory Complexity of Uniformity Testing},
  author = {Tomer Berg and Or Ordentlich and Ofer Shayevitz},
  journal= {arXiv preprint arXiv:2206.09395},
  year   = {2022}
}

Comments

To be presented in COLT 2022

R2 v1 2026-06-24T11:56:29.319Z