Testing with Non-identically Distributed Samples
Shivam GargChirag PabbarajuKirankumar ShiragurGregory Valiant
Shivam Garg
Chirag Pabbaraju
Kirankumar Shiragur
Gregory Valiant
+4
We study property testing and estimation when samples come from independent but non-identically distributed distributions $p_1,\dots,p_T$, aiming to learn or test the average $p_{\mathrm{avg}}$. With $c=1$ draw per distribution, learning requires $\Theta(k/\varepsilon^2)$ samples, but uniformity/identity testing needs linearly many samples in $k$. For $c\ge 2$, testing becomes sublinear: $O(\sqrt{k}/\varepsilon^2+1/\varepsilon^4)$ total samples suffice, matching the i.i.d. optimal bound when $\varepsilon\ge k^{-1/4}$. In the $c=2$ case, ignoring sample grouping prevents any linear-sample tester from differentiating. We also extend to closeness testing, achieving $O(k^{2/3}/\varepsilon^{8/3})$ samples with $c=3$, matching i.i.d. complexity up to $\varepsilon$-dependence.

OpenReview ·
· June 23, 2025