[Paper Review] A Chasm Between Identity and Equivalence Testing with Conditional Queries
This paper establishes a fundamental separation between identity and equivalence testing in the conditional sampling model, proving that equivalence testing requires Ω(√log log n) queries—contrasting sharply with the constant-query complexity of identity testing. It also provides tight bounds for uniformity testing and support-size estimation, resolving open questions on non-adaptive algorithms and query complexity trade-offs.
A recent model for property testing of probability distributions (Chakraborty et al., ITCS 2013, Canonne et al., SICOMP 2015) enables tremendous savings in the sample complexity of testing algorithms, by allowing them to condition the sampling on subsets of the domain. In particular, Canonne, Ron, and Servedio (SICOMP 2015) showed that, in this setting, testing identity of an unknown distribution $D$ (whether $D=D^\ast$ for an explicitly known $D^\ast$) can be done with a constant number of queries, independent of the support size $n$ -- in contrast to the required $Ω(\sqrt{n})$ in the standard sampling model. It was unclear whether the same stark contrast exists for the case of testing equivalence, where both distributions are unknown. While Canonne et al. established a $\mathrm{poly}(\log n)$-query upper bound for equivalence testing, very recently brought down to $ ilde O(\log\log n)$ by Falahatgar et al. (COLT 2015), whether a dependence on the domain size $n$ is necessary was still open, and explicitly posed by Fischer at the Bertinoro Workshop on Sublinear Algorithms (2014). We show that any testing algorithm for equivalence must make $Ω(\sqrt{\log\log n})$ queries in the conditional sampling model. This demonstrates a gap between identity and equivalence testing, absent in the standard sampling model (where both problems have sampling complexity $n^{Θ(1)}$). We also obtain results on the query complexity of uniformity testing and support-size estimation with conditional samples. We answer a question of Chakraborty et al. (ITCS 2013) showing that non-adaptive uniformity testing indeed requires $Ω(\log n)$ queries in the conditional model. For the related problem of support-size estimation, we provide both adaptive and non-adaptive algorithms, with query complexities $\mathrm{poly}(\log\log n)$ and $\mathrm{poly}(\log n)$, respectively.
Motivation & Objective
- To resolve the open question of whether equivalence testing in the conditional sampling model requires a dependence on the domain size n, as posed by Fischer (2014).
- To determine the exact query complexity of non-adaptive uniformity testing in the conditional sampling model.
- To establish tight upper and lower bounds for support-size estimation under both adaptive and non-adaptive query models.
- To clarify the inherent differences in query complexity between identity and equivalence testing in the conditional sampling framework.
Proposed method
- Proves a lower bound of Ω(√log log n) conditional queries for equivalence testing using a carefully constructed distribution family and probabilistic analysis of conditional sampling behavior.
- Employs a novel reduction from a variant of the uniformity testing problem to establish a lower bound of Ω(log n) for non-adaptive uniformity testing.
- Designs an adaptive algorithm for support-size estimation with poly(log log n) query complexity using a double exponential search over candidate support sizes.
- Develops a non-adaptive algorithm for support-size estimation with poly(log n) query complexity, based on random sampling of subsets and uniformity testing on each.
- Uses the tester of Chakraborty et al. (2013) as a subroutine for non-adaptive uniformity testing on conditional distributions.
- Applies thresholding and majority voting over repeated trials to amplify correctness probability in all algorithms.
Experimental results
Research questions
- RQ1Is there a super-constant query complexity lower bound for equivalence testing in the conditional sampling model?
- RQ2Does non-adaptive uniformity testing require Ω(log n) queries in the conditional sampling model?
- RQ3Can support-size estimation be performed with poly(log log n) queries in the adaptive model?
- RQ4What is the optimal non-adaptive query complexity for support-size estimation?
- RQ5How do the query complexities of identity and equivalence testing compare in the conditional sampling model?
Key findings
- Equivalence testing in the conditional sampling model requires Ω(√log log n) queries, establishing a super-constant lower bound and a chasm between identity and equivalence testing.
- Non-adaptive uniformity testing requires Ω(log n) queries, resolving an open question and providing an exponential improvement over the previous Ω(log log n) lower bound.
- An adaptive algorithm for support-size estimation achieves poly(log log n) query complexity, matching the best-known upper bound up to logarithmic factors.
- A non-adaptive algorithm for support-size estimation achieves poly(log n) query complexity, which is optimal up to polynomial factors.
- A qualitatively tight lower bound of Ω(log n) conditional queries is established for non-adaptive support-size estimation.
- The paper demonstrates a strict separation between identity and equivalence testing in the conditional model: identity testing is constant-query, while equivalence testing requires super-constant queries.
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.