[Paper Review] Testing Properties of Distributions in the Streaming Model
This paper presents memory-efficient streaming algorithms for testing distribution properties—identity, monotonicity, and (γ, L)-decomposability—under bounded space. It introduces a novel use of CountMin sketch and adaptive sampling in the conditional access model to achieve near-optimal trade-offs between sample complexity and space, with O(m) memory usage and sublinear sample counts for constant error tolerance.
We study distribution testing in the standard access model and the conditional access model when the memory available to the testing algorithm is bounded. In both scenarios, the samples appear in an online fashion and the goal is to test the properties of distribution using an optimal number of samples subject to a memory constraint on how many samples can be stored at a given time. First, we provide a trade-off between the sample complexity and the space complexity for testing identity when the samples are drawn according to the conditional access oracle. We then show that we can learn a succinct representation of a monotone distribution efficiently with a memory constraint on the number of samples that are stored that is almost optimal. We also show that the algorithm for monotone distributions can be extended to a larger class of decomposable distributions.
Motivation & Objective
- To address the challenge of testing distribution properties under strict memory constraints in the streaming model.
- To establish tight trade-offs between sample complexity and space complexity for identity and monotonicity testing.
- To extend the framework to a broader class of decomposable distributions using fine partitioning and sketching.
- To provide a space-efficient learning algorithm for (γ, L)-decomposable distributions with provable total variation error bounds.
- To demonstrate that the proposed algorithms achieve near-optimal sample complexity while using only O(m) bits of memory.
Proposed method
- Adapts the conditional access model (PCOND) with set conditioning on subsets of size at most two to enable adaptive sampling.
- Employs CountMin sketch with (ǫ, δ) parameters to estimate interval weights using O(ǫ log 1/δ) space, replacing full sample storage.
- Uses a bipartite collision tester framework to detect deviations from uniformity or identity without storing all samples.
- Applies a recursive partitioning strategy to identify intervals with significant mass and high divergence from uniformity.
- Leverages Theorem 5.2 to compute (ǫ/2000L, ǫ/2000)-fine partitions of the domain for decomposable distributions.
- Combines sketching and sampling to learn a flattened distribution (˜Df)I that approximates the true distribution within ǫ total variation distance.
Experimental results
Research questions
- RQ1What is the optimal trade-off between sample complexity and space complexity for identity testing in the streaming model with conditional access?
- RQ2Can monotone distributions be learned efficiently under memory constraints using adaptive sampling and sketching?
- RQ3How can the framework for monotone distributions be extended to more general classes like (γ, L)-decomposable distributions?
- RQ4What is the sample and space complexity of testing (γ, L)-decomposable properties in a one-pass streaming setting?
- RQ5Can the use of CountMin sketch reduce memory usage while preserving accuracy in distribution testing under bounded storage?
Key findings
- The identity testing algorithm in the PCOND model achieves O(1/ǫ⁴) sample complexity with O(m) memory, where m ≥ log n / ǫ⁴.
- For monotonicity testing, the algorithm uses O(m) bits of memory and requires O(n / ǫ⁴) samples, with bounds that are nearly optimal.
- The learning algorithm for (γ, L)-decomposable distributions outputs a distribution (˜Df)I such that dTV(D, (˜Df)I) ≤ ǫ with probability at least 1−δ.
- The total sample complexity for learning (γ, L)-decomposable distributions is O(nL log(1/ǫ) / (mǫ⁹)) under memory constraint m ∈ [log n / ǫ⁴, O(√n log n / ǫ³)].
- The algorithm for testing (γ, L)-decomposable properties correctly accepts distributions in the class with probability ≥1−δ and rejects those 2ǫ-far with high probability.
- The use of CountMin sketch reduces space usage to O(ǫ log 1/δ) for estimating interval weights, enabling efficient streaming implementation.
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.