Private High-Dimensional Hypothesis Testing

Shyam Narayanan

Abstract

This work establishes new, optimal differentially private (DP) algorithms for hypothesis testing in high-dimensional settings. By focusing on multivariate Gaussians and product distributions, the research refines concentration analysis and introduces a novel multi-threshold clipping mechanism. The results demonstrate that testing continuous Gaussian distributions is fundamentally more efficient than testing discrete distributions, refuting previous conjectures and providing tight sample complexity bounds for both computationally efficient and inefficient regimes.

Introduction

Hypothesis testing is a fundamental statistical tool used to determine if a dataset conforms to a specific "null" hypothesis or deviates significantly from it. In modern data science, this task faces two primary challenges: high dimensionality ($d$), where the number of features can be vast, and privacy, where the data often contains sensitive personal information. Differential privacy (DP) provides a rigorous framework to ensure that the inclusion or exclusion of any single individual's data does not significantly alter the test outcome.

While previous research, notably by Canonne et al. [CKM+20], established initial bounds for private high-dimensional testing, their sample complexities remained suboptimal. Furthermore, a standing conjecture suggested that testing product distributions over a Boolean cube should be as difficult as testing discrete distributions over a domain of size $d$. This paper closes these gaps, providing optimal bounds and settling the conjecture.

Methodology

The paper investigates two distinct algorithmic approaches to achieve $(\varepsilon, 0)$-differential privacy while maintaining high statistical power.

1. Information-Theoretic Limits (Computationally Inefficient)

To determine the absolute minimum number of samples required, the author utilizes the McShane-Whitney Extension theorem. The approach involves defining a test statistic on a subset of datasets where data behaves predictably due to strong concentration. This function is then extended to the entire dataset space in a manner that preserves a low Lipschitz constant (sensitivity). By adding Laplace noise proportional to this sensitivity, the algorithm achieves pure DP. The primary innovation here is a significantly tighter concentration analysis, which reduces the required sensitivity and, consequently, the sample complexity.

2. Computationally Efficient Algorithms

Because Lipschitz extensions are often computationally prohibitive, the author develops a practical algorithm based on the non-private "sum of squares" test. The core challenge in high dimensions is that a single data point change can affect all dimensions simultaneously, making standard clipping ineffective. To resolve this, the author introduces a multi-threshold clipping mechanism using logarithmic threshold functions. These functions act as a multi-stage filter: if the data appears too extreme at any level, the algorithm privately rejects the input. This allows the test to remain sensitive to subtle differences in the distribution's mean while strictly bounding sensitivity for privacy.

Distributional Focus

The theoretical proofs focus on two primary classes of synthetic distributions:

  • Multivariate Gaussians: $d$-dimensional normal distributions with both known and unknown (but bounded) covariance.
  • Boolean Product Distributions: Independent distributions over the hypercube $\{-1, 1\}^d$.

Key Insights and Theoretical Results

Continuous vs. Discrete Distributions

A major contribution of this work is the refutation of the [CKM+20] conjecture. The paper proves that private identity testing of $d$-dimensional Gaussians requires fewer samples than testing discrete distributions over $d$ elements. The geometry of Gaussian distributions allows for superior concentration of the test statistic compared to the "spiky" nature of discrete histograms, making the continuous case fundamentally "easier" under privacy constraints.

Sample Complexity Bounds

The paper establishes new upper and lower bounds for the number of samples ($N$) required to test if a distribution is $\alpha$-far from a target with privacy parameter $\varepsilon$:

  • Optimal (Inefficient) Bound: $$N = \tilde{O}\left(\frac{d^{1/2}}{\alpha^2} + \frac{d^{1/3}}{\alpha^{4/3} \cdot \varepsilon^{2/3}} + \frac{1}{\alpha \cdot \varepsilon}\right)$$ The author provides a matching lower bound, confirming this as the information-theoretic limit.

  • Efficient Bound: $$N = \tilde{O}\left(\frac{d^{1/2}}{\alpha^2} + \frac{d^{1/4}}{\alpha \cdot \varepsilon}\right)$$ This matches the optimal non-private complexity ($d^{1/2}/\alpha^2$) in many settings and represents a significant improvement over previous polynomial-time algorithms.

Robustness and Scaling

The research demonstrates that these bounds are robust to unknown covariance matrices, provided the spectral norm is bounded. Additionally, the author successfully removes the $1/\sqrt{\varepsilon}$ dependency found in previous inefficient algorithms, showing that privacy costs scale more efficiently as $1/\varepsilon^{2/3}$ or $1/\varepsilon$.

Conclusion

This work provides a near-complete picture of the sample complexity of private high-dimensional hypothesis testing for Gaussians and product distributions. While it settles major conjectures, a small gap remains between the efficient ($d^{1/4}$) and inefficient ($d^{1/3}$) sample complexities. Future work may determine if a polynomial-time algorithm can reach the absolute information-theoretic limit or if there exists a fundamental computational-statistical gap in private testing.

Summary updated

BibTeX
@inproceedings{narayanan2022private,
  author = {Shyam Narayanan},
  title = {{Private High-Dimensional Hypothesis Testing}},
  booktitle = {Conference on Learning Theory},
  year = {2022},
  url = {https://openreview.net/forum?id=_zKGS_-7Dk},
}
Figure