Introduction
In statistical inference, two of the most fundamental tasks are Identity Testing (Goodness of Fit) and Closeness Testing (Two-Sample Test). Identity testing asks whether an observed dataset originates from a specific, known distribution, while closeness testing determines if two independent datasets are drawn from the same underlying distribution.
While these problems are well-characterized in classical statistics, performing them under the constraints of Differential Privacy (DP) introduces significant complexity. DP ensures that the inclusion or exclusion of a single individual's data does not substantially alter the test's outcome, protecting individual privacy. However, standard test statistics, such as the Chi-squared statistic, are often highly sensitive to individual data points. This paper establishes the first optimal sample complexity bounds—the minimum number of samples required to achieve a desired accuracy—for these tests under $(\epsilon, \delta)$-differential privacy.
Methodology
The authors utilize a dual approach to map the landscape of private distribution testing:
1. Algorithmic Upper Bounds
To achieve privacy, the authors "privatize" existing non-private estimators by selecting or designing statistics with low sensitivity. For identity testing, they utilize a statistic based on the distance between the empirical distribution and the target distribution. For closeness testing, they adapt a Chi-square-like statistic. These statistics are then integrated with privacy-preserving mechanisms, such as the Laplace mechanism or a randomized response based on a sigmoid function, to satisfy $(\epsilon, \delta)$-DP requirements.
2. Theoretical Lower Bounds
To prove the optimality of their algorithms, the authors introduce a general framework for establishing lower bounds in DP. This framework combines Le Cam’s two-point theorem with a novel coupling technique. By demonstrating that two distinct hypothesis classes (e.g., "distributions are identical" vs. "distributions are far apart") can be coupled such that their samples have a small expected Hamming distance, they prove that no private algorithm can distinguish between them without a specific minimum number of samples. This coupling framework provides a robust recipe for proving lower bounds across various DP settings.
Key Insights and Ideas
- The Privacy Tax: The research quantifies the additional data required to maintain privacy. For identity testing, the sample complexity shifts from the non-private $\Theta(\sqrt{k}/\alpha^2)$ to a more complex expression that incorporates terms like $1/\alpha\epsilon$, representing the cost of privacy.
- Regime-Dependent Difficulty: The difficulty of distribution testing varies based on whether the sample size $m$ is smaller than the domain size $k$ (the sparse regime) or larger (the dense regime).
- Reduction to Uniformity: The authors demonstrate that testing identity to any arbitrary distribution can be reduced to testing identity to a uniform distribution under privacy constraints without significant loss in efficiency.
- Coupling as a Power Tool: The coupling technique is the paper's most significant theoretical contribution. It formalizes the intuition that if two datasets are "close" in Hamming distance, a DP algorithm—designed to be indifferent to small Hamming changes—cannot reliably distinguish between them.
Main Results
The paper provides a complete characterization of the sample complexity for identity testing across all parameter ranges ($k, \alpha, \epsilon, \delta$). These results improve upon previous literature by removing unnecessary logarithmic factors. For closeness testing, the authors provide the first results under DP, proving optimality in the sparse regime ($m = O(k)$).
As shown in the table above, the sample complexity for identity testing is established as $\Theta(\frac{\sqrt{k}}{\alpha^2} + \frac{\sqrt{k \log k}}{\alpha^{3/2}\epsilon})$ for $\epsilon$-DP, and a more nuanced expression for $(\epsilon, \delta)$-DP. For closeness testing, the complexity in the sparse regime is $\Theta(\frac{k^{2/3}}{\alpha^{4/3}} + \frac{\sqrt{k}}{\alpha\sqrt{\epsilon}})$.
Conclusion and Future Work
This work provides a definitive theoretical foundation for private distribution testing. However, several avenues for future research remain. While identity testing bounds are fully optimal, the closeness testing bounds are currently proven optimal only in the sparse regime; the "dense regime" ($m > k$) remains an open area for tightening the gap between upper and lower bounds. Additionally, extending these optimal private bounds to continuous distributions or high-dimensional settings would be a natural progression of this research. Finally, empirical validation on large-scale sensitive datasets, such as genomic or census data, is needed to evaluate the performance of these optimal bounds in practical applications.
Summary updated