English

Distribution Testing in the Presence of Arbitrarily Dominant Noise with Verification Queries

Data Structures and Algorithms 2025-09-23 v1 Discrete Mathematics

Abstract

We study distribution testing without direct access to a source of relevant data, but rather to one where only a tiny fraction is relevant. To enable this, we introduce the following verification query model. The goal is to perform a statistical task on distribution p\boldsymbol{p} given sample access to a mixture r=λp+(1λ)q\boldsymbol{r} = \lambda \boldsymbol{p} + (1-\lambda)\boldsymbol{q} and the ability to query whether a sample was generated by p\boldsymbol{p} or by q\boldsymbol{q}. In general, if m0m_0 samples from p\boldsymbol{p} suffice for a task, then O(m0/λ)O(m_0/\lambda) samples and queries always suffice in our model. Are there tasks for which the number of queries can be significantly reduced? We study the canonical problems in distribution testing, and obtain matching upper and lower bounds that reveal smooth trade-offs between sample and query complexity. For all mnm \leq n, we obtain (i) a uniformity and identity tester using O(m+nε2λ)O(m + \frac{\sqrt{n}}{\varepsilon^2 \lambda}) samples and O(nmε4λ2)O(\frac{n}{m \varepsilon^4 \lambda^2}) queries, and (ii) a closeness tester using O(m+n2/3ε4/3λ+1ε4λ3)O(m + \frac{n^{2/3}}{\varepsilon^{4/3} \lambda} + \frac{1}{\varepsilon^4 \lambda^3}) samples and O(n2m2ε4λ3)O(\frac{n^2}{m^2 \varepsilon^4 \lambda^3}) queries. Moreover, we show that these query complexities are tight for all testers using mnm \ll n samples. Next, we show that for testing closeness using m=O~(nε2λ)m = \widetilde{O}(\frac{n}{\varepsilon^2\lambda}) samples we can achieve query complexity O~(1ε2λ)\widetilde{O}(\frac{1}{\varepsilon^2\lambda}) which is nearly optimal even for the basic task of bias estimation with unbounded samples. Our uniformity testers work in the more challenging setting where the contaminated samples are generated by an adaptive adversary (at the cost of a logn\log n factor). Finally, we show that our lower bounds can be circumvented if the algorithm is provided with the PDF of the mixture.

Keywords

Cite

@article{arxiv.2509.17269,
  title  = {Distribution Testing in the Presence of Arbitrarily Dominant Noise with Verification Queries},
  author = {Hadley Black and Christopher Ye},
  journal= {arXiv preprint arXiv:2509.17269},
  year   = {2025}
}