[Paper Review] Sharp Bounds for Generalized Uniformity Testing
This paper establishes tight sample complexity bounds for generalized uniformity testing, a problem that distinguishes whether an unknown discrete distribution is uniform over some subset of its domain versus $epsilon$-far in total variation from any such uniform distribution. The authors present a computationally efficient tester with optimal sample complexity $\Theta\left(1/(epsilon^{4/3}\|p\|_{3})+1/(epsilon^{2}\|p\|_{2})\right)$, matching a matching information-theoretic lower bound.
We study the problem of generalized uniformity testing \cite{BC17} of a discrete probability distribution: Given samples from a probability distribution $p$ over an {\em unknown} discrete domain $\mathbfΩ$, we want to distinguish, with probability at least $2/3$, between the case that $p$ is uniform on some {\em subset} of $\mathbfΩ$ versus $ε$-far, in total variation distance, from any such uniform distribution. We establish tight bounds on the sample complexity of generalized uniformity testing. In more detail, we present a computationally efficient tester whose sample complexity is optimal, up to constant factors, and a matching information-theoretic lower bound. Specifically, we show that the sample complexity of generalized uniformity testing is $Θ\left(1/(ε^{4/3}\|p\|_3) + 1/(ε^{2} \|p\|_2) ight)$.
Motivation & Objective
- To precisely characterize the sample complexity of generalized uniformity testing, a natural generalization of uniformity testing where the domain is unknown and the distribution may be uniform over an unknown subset.
- To close the gap left by prior work [BC17], which provided only loose upper and lower bounds on the sample complexity.
- To develop a computationally efficient tester whose sample complexity is optimal up to constant factors.
- To establish a matching information-theoretic lower bound that confirms the optimality of the proposed tester's sample complexity.
Proposed method
- The algorithm performs a case analysis based on the relative magnitude of $\epsilon$ and $\|p\|_2^2$, handling large and small $\epsilon$ separately.
- For large $\epsilon$, the method leverages the identity $\|p\|_3 = \|p\|_2^{4/3}$ when $p$ is uniform, and detects deviations via accurate estimation of $\|p\|_2$ and $\|p\|_3$.
- The tester uses unbiased estimators for the second and third moments (collision statistics) of the distribution, relying on empirical frequency counts from samples.
- For the lower bound, the authors use a coupling argument and information-theoretic techniques, analyzing the mutual information between the hypothesis and the sufficient statistics (number of collisions).
- They construct two distributions: one uniform on a subset and one $\epsilon$-far from any uniform distribution, and show that no algorithm can reliably distinguish them with fewer than $\Omega(n^{2/3}/\epsilon^{4/3} + n^{1/2}/\epsilon^2)$ samples.
- The analysis involves Taylor expansion of exponential terms and bounding the squared difference in probabilities over collision counts, ultimately showing mutual information is $o(1)$, implying indistinguishability.
Experimental results
Research questions
- RQ1What is the exact sample complexity of generalized uniformity testing as a function of $\epsilon$, $\|p\|_2$, and $\|p\|_3$?
- RQ2Can a computationally efficient tester achieve the optimal sample complexity for this problem?
- RQ3Is the sample complexity of generalized uniformity testing significantly different from that of standard uniformity testing?
- RQ4What is the information-theoretic limit on the number of samples required to solve this problem?
Key findings
- The sample complexity of generalized uniformity testing is $\Theta\left(1/(epsilon^{4/3}\|p\|_{3})+1/(epsilon^{2}\|p\|_{2})\right)$, which is optimal up to constant factors.
- The proposed tester is computationally efficient and uses $O\left(1/(epsilon^{4/3}\|p\|_{3})+1/(epsilon^{2}\|p\|_{2})\right)$ samples in expectation.
- A matching information-theoretic lower bound of $\Omega(n^{2/3}/\epsilon^{4/3} + n^{1/2}/\epsilon^2)$ is established, where $\|p\|_3 = \Theta(n^{-2/3})$ and $\|p\|_2 = \Theta(n^{-1/2})$.
- The lower bound is proven by constructing two distributions that are hard to distinguish: one uniform on a subset and one $\epsilon$-far from any uniform distribution, showing mutual information is $o(1)$.
- The analysis shows that for $t=1$, $t=2$, and $t>2$, the contribution to the total variation distance is $o(1/N)$, implying the two hypotheses are not reliably distinguishable with fewer samples.
- The results confirm that generalized uniformity testing has a fundamentally different sample complexity than standard uniformity testing, which is $\Theta(n^{1/2}/\epsilon^2)$.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.