Private Center Points and Learning of Halfspaces

Amos Beimel, Shay Moran, Kobbi Nissim, Uri Stemmer

TL;DR

This paper introduces a new differentially private algorithm for learning halfspaces (linear classifiers) over finite domains. By reducing the learning problem to finding a "private center point" in a convex hull, the authors achieve a sample complexity that grows incredibly slowly with the domain size—specifically, at a rate of $2^{O(\log^* |X|)}$.

What Problem Does This Paper Address?

In machine learning, we often want to learn a classifier (like a halfspace that separates "spam" from "not spam") while ensuring the privacy of the training data. Differential Privacy (DP) provides a mathematical framework for this, ensuring that no single individual's data significantly impacts the resulting model.

For a simple 1D threshold, we know we can learn privately with very few samples. However, for high-dimensional halfspaces in $\mathbb{R}^d$, the gap between private and non-private learning was poorly understood. Non-private learning requires $O(d)$ samples, but standard private methods (like the exponential mechanism) require $O(d \log |X|)$ samples, where $|X|$ is the size of the coordinate grid. This paper asks: Can we learn halfspaces with a sample complexity that depends much more weakly on the domain size $|X|$?

Methods

The authors propose a two-step strategy:

  1. Reduction to Center Points: They show that learning a halfspace is equivalent to finding a point inside the convex hull of a specific set of points (representing consistent classifiers). Specifically, they look for a point with high Tukey depth—a high-dimensional generalization of the median.
  2. Private Tukey Depth Maximization: To find this point privately, they don't just pick one at random. They use a recursive algorithm called ARecConcave.
  3. They prove that the function defining Tukey depth is quasi-concave.
  4. They then find the coordinates of the center point one by one. For each coordinate, they use a DP mechanism to pick a value that maintains high Tukey depth, effectively "zooming in" on a private center point.
  5. Sample and Aggregate: The final learner partitions the sensitive data into many small chunks, finds a non-private halfspace for each chunk, and then uses their new private center point algorithm to aggregate these halfspaces into one final, private classifier.

Datasets

As a theoretical work in computational learning theory, this paper does not use empirical datasets like ImageNet or MNIST. Instead, it provides mathematical proofs that hold for any arbitrary finite domain $X \subset \mathbb{R}^d$. The results are evaluated based on sample complexity—the number of data points needed to guarantee a certain level of accuracy and privacy.

Key Insights and Ideas

  • The Median Analogy: In 1D, the "center" is just the median. In high dimensions, the Tukey depth provides a robust way to define the "middle" of a cloud of points. The authors successfully extended the 1D "interior point" logic to high-dimensional geometry.
  • Quasi-concavity is the Key: The authors identified that while Tukey depth isn't perfectly concave, it is quasi-concave. This allowed them to plug the problem into existing DP optimization tools that were previously only used for simpler 1D problems.
  • Breaking the $\log |X|$ Barrier: Before this paper, it wasn't clear if the sample complexity for halfspaces had to grow linearly with the bit-length of the coordinates ($\log |X|$). This work proves that for approximate DP, the dependence can be much, much smaller ($2^{\log^* |X|}$).

Key Results

  • Upper Bound: The paper provides a private learner for halfspaces with sample complexity $\text{poly}(d, 2^{\log^* |X|})$. Note that $\log^*$ is the iterated logarithm; for all practical purposes (like the number of atoms in the universe), $\log^* |X|$ is less than 6.
  • Lower Bounds:
    • For approximate DP ($\epsilon, \delta$), they show a lower bound of $m = \Omega(d + \log^* |X|)$.
  • For pure DP ($\delta = 0$), they show a much stricter lower bound of $m = \Omega(d \log |X|)$, proving that approximate DP is strictly more powerful for this task.

Limitations and Future Work

  • Computational Efficiency: While the algorithm is sample-efficient (it doesn't need much data), it is not necessarily computationally efficient. Finding points with high Tukey depth in high dimensions is generally NP-hard. The authors acknowledge that their approach is likely computationally difficult unless the dimension $d$ is very small.
  • The Complexity Gap: There is still a gap between the lower bound ($\log^* |X|$) and the upper bound ($2^{\log^* |X|}$). Closing this gap remains an open question in the field.
  • Infinite Domains: The current results require a finite (though potentially massive) domain $X$. Extending these guarantees to truly continuous infinite domains remains a challenge for private PAC learning.

Summary updated

Abstract

We present a private learner for halfspaces over an arbitrary finite domain $X\subset \mathbb{R}^d$ with sample complexity $mathrm{poly}(d,2^{\log^*|X|})$. The building block for this learner is a differentially private algorithm for locating an approximate center point of $m>\mathrm{poly}(d,2^{\log^*|X|})$ points -- a high dimensional generalization of the median function. Our construction establishes a relationship between these two problems that is reminiscent of the relation between the median and learning one-dimensional thresholds [Bun et al.\ FOCS '15]. This relationship suggests that the problem of privately locating a center point may have further applications in the design of differentially private algorithms. We also provide a lower bound on the sample complexity for privately finding a point in the convex hull. For approximate differential privacy, we show a lower bound of $m=Ω(d+\log^*|X|)$, whereas for pure differential privacy $m=Ω(d\log|X|)$.
BibTeX
@inproceedings{beimel2019private,
  author = {Amos Beimel and Shay Moran and Kobbi Nissim and Uri Stemmer},
  title = {{Private Center Points and Learning of Halfspaces}},
  booktitle = {Conference on Learning Theory},
  year = {2019},
  url = {https://openreview.net/forum?id=de_1WgkWTV0},
}
Figure