Table of Contents
Fetching ...

Replicable Uniformity Testing

Sihan Liu, Christopher Ye

Abstract

Uniformity testing is arguably one of the most fundamental distribution testing problems. Given sample access to an unknown distribution $\mathbf{p}$ on $[n]$, one must decide if $\mathbf{p}$ is uniform or $\varepsilon$-far from uniform (in total variation distance). A long line of work established that uniformity testing has sample complexity $Θ(\sqrt{n}\varepsilon^{-2})$. However, when the input distribution is neither uniform nor far from uniform, known algorithms may have highly non-replicable behavior. Consequently, if these algorithms are applied in scientific studies, they may lead to contradictory results that erode public trust in science. In this work, we revisit uniformity testing under the framework of algorithmic replicability [STOC '22], requiring the algorithm to be replicable under arbitrary distributions. While replicability typically incurs a $ρ^{-2}$ factor overhead in sample complexity, we obtain a replicable uniformity tester using only $\tilde{O}(\sqrt{n} \varepsilon^{-2} ρ^{-1})$ samples. To our knowledge, this is the first replicable learning algorithm with (nearly) linear dependence on $ρ$. Lastly, we consider a class of ``symmetric" algorithms [FOCS '00] whose outputs are invariant under relabeling of the domain $[n]$, which includes all existing uniformity testers (including ours). For this natural class of algorithms, we prove a nearly matching sample complexity lower bound for replicable uniformity testing.

Replicable Uniformity Testing

Abstract

Uniformity testing is arguably one of the most fundamental distribution testing problems. Given sample access to an unknown distribution on , one must decide if is uniform or -far from uniform (in total variation distance). A long line of work established that uniformity testing has sample complexity . However, when the input distribution is neither uniform nor far from uniform, known algorithms may have highly non-replicable behavior. Consequently, if these algorithms are applied in scientific studies, they may lead to contradictory results that erode public trust in science. In this work, we revisit uniformity testing under the framework of algorithmic replicability [STOC '22], requiring the algorithm to be replicable under arbitrary distributions. While replicability typically incurs a factor overhead in sample complexity, we obtain a replicable uniformity tester using only samples. To our knowledge, this is the first replicable learning algorithm with (nearly) linear dependence on . Lastly, we consider a class of ``symmetric" algorithms [FOCS '00] whose outputs are invariant under relabeling of the domain , which includes all existing uniformity testers (including ours). For this natural class of algorithms, we prove a nearly matching sample complexity lower bound for replicable uniformity testing.

Paper Structure

This paper contains 24 sections, 23 theorems, 121 equations, 1 algorithm.

Key Result

Theorem 1.3

Let $n \in \mathbb Z_+$, $\varepsilon, \rho \in (0, 1/2)$. Algorithm alg:r-uniformity-tester solves $(n,\varepsilon,\rho)$-replicable uniformity testing with sample complexity $\tilde{O} \left( \frac{\sqrt{n}}{\varepsilon^2 \rho} + \frac{1}{\rho^2 \varepsilon^2} \right)$.$\tilde{O}$ hides polylogari

Theorems & Definitions (54)

  • Definition 1.1: Replicability impagliazzo2022reproducibility
  • Definition 1.2: Replicable Uniformity Testing
  • Theorem 1.3: Replicable Uniformity Testing Upper Bound
  • Remark 1.4
  • Definition 1.5: Symmetric Algorithms, Definition 13 of batu2000testing
  • Theorem 1.6: Symmetric Testers Lower Bound
  • proof : Proof of \ref{['thm:r-uniformity-tester']}
  • Lemma 3.1: Lemma 4 of DBLP:conf/icalp/DiakonikolasGPP18
  • Lemma 3.1: Superlinear Concentration
  • Lemma 3.1: Sublinear Concentration
  • ...and 44 more