Sample Complexity Bounds for Differentially Private Learning

Kamalika Chaudhuri, Daniel J. Hsu

Abstract

Differential privacy (DP) provides rigorous guarantees against information leakage in machine learning. While sample complexity for DP learning is well-understood for finite hypothesis classes and discrete domains, the continuous setting presents unique challenges. This paper demonstrates that distribution-free DP learning is impossible for continuous data and infinite hypothesis classes without additional assumptions. We explore two paths to feasibility: leveraging public prior knowledge about the data distribution and relaxing privacy requirements to cover only labels. We provide upper and lower sample complexity bounds for these settings, highlighting the fundamental trade-offs between privacy, accuracy, and data geometry.

Introduction

Differential privacy has emerged as the standard framework for protecting individual privacy in statistical analysis and machine learning. A central question in this field is the "sample complexity" of private learning: how many additional training examples are required to achieve a certain level of accuracy while maintaining privacy?

For finite hypothesis classes or discrete data domains, the answer is relatively optimistic. Previous research established that private learning is possible with a sample complexity that scales logarithmically with the size of the hypothesis class. However, real-world machine learning typically operates on continuous features (e.g., sensor data, images) and infinite hypothesis classes (e.g., linear separators). This paper investigates whether the successes of discrete DP learning can be extended to these more complex, continuous environments.

The Impossibility of Distribution-Free Private Learning

The paper’s most significant theoretical contribution is a "no-go" theorem for distribution-free private learning in continuous domains. Even for the simplest possible case—learning a threshold on the interval $[0, 1]$ (which has a VC dimension of 1)—it is impossible to guarantee both $\alpha$-differential privacy and $\epsilon$-accuracy for all potential data distributions using a fixed number of samples.

The core of this impossibility lies in the sensitivity of the decision boundary. If a data distribution is heavily concentrated near the optimal threshold, the small perturbations required to satisfy differential privacy can lead to a significant portion of the data being misclassified. The authors prove that for any algorithm with a bounded number of samples $M$, there exists at least one distribution where the error will exceed $1/5$.

Path 1: Leveraging Public Prior Knowledge

To overcome this impossibility, the authors propose a setting where the learner has access to a public, non-sensitive "reference distribution" $\mathcal{U}$. This reference distribution acts as a guide, allowing the algorithm to narrow down the hypothesis space before looking at the sensitive data.

The proposed algorithm, $\mathcal{A}_1$, uses $\mathcal{U}$ to construct a finite "cover" (a representative grid) of the hypothesis class. It then employs the Exponential Mechanism to select the best hypothesis from this grid based on the sensitive training data. The success of this approach depends on the "smoothness" ($\kappa$) of the true data distribution relative to the reference distribution.

The resulting upper bound for sample complexity is: $$\tilde{O}\left(d_{\mathcal{U}} \log(\kappa/\epsilon) \left(\frac{1}{\alpha\epsilon} + \frac{1}{\epsilon^2}\right)\right)$$ where $d_{\mathcal{U}}$ represents the doubling dimension of the reference distribution. This result shows that private learning is possible if the true data does not deviate too wildly from our prior expectations.

Path 2: Label Privacy

A second approach to making private learning feasible is to relax the privacy constraint. In many scenarios, the features (e.g., demographic data) might be considered public or less sensitive, while the labels (e.g., a specific medical diagnosis) must remain strictly private.

The authors analyze Algorithm $\mathcal{A}_2$, which uses the public features of the training set to build a data-dependent cover of the hypothesis class. Even in this relaxed "label privacy" setting, the paper finds that privacy comes at a significant cost. The sample complexity is shown to be $\Omega\left(\frac{d}{\alpha\epsilon}\right)$, where $d$ is the doubling dimension of the disagreement metric. For high-dimensional tasks like learning linear separators in $n$ dimensions, this implies a sample requirement that scales linearly with the dimension $n$, a stark contrast to the non-private setting.

Conclusion and Future Directions

This work establishes fundamental limits on what can be achieved with differential privacy in continuous domains. While distribution-free learning is unattainable, the introduction of public priors or the focus on label privacy provides mathematically sound pathways forward.

However, several challenges remain. The algorithms presented are information-theoretic constructions intended to prove sample complexity bounds; they are not yet computationally efficient for high-dimensional applications. Future research is needed to bridge the gap between these theoretical bounds and the development of practical, efficient algorithms for common model classes like neural networks or support vector machines.

Summary updated

BibTeX
@article{chaudhuri2011sample,
  author = {Kamalika Chaudhuri and Daniel J. Hsu},
  title = {{Sample Complexity Bounds for Differentially Private Learning}},
  journal = {COLT},
  year = {2011},
}
Figure