Privately Answering Classification Queries in the Agnostic PAC Model

Raef Bassily, Anupama NandiarXiv 2019

TL;DR

This paper presents a new algorithm for privately answering classification queries in the agnostic PAC model. It achieves a tighter sample complexity bound than previous work, meaning it requires less private data to achieve the same accuracy. Notably, their accuracy guarantee no longer suffers from a blow-up in the approximation error of the hypothesis class, making it more practical.

What Problem Does This Paper Address?

Imagine you have a private dataset and want to build a machine learning model that can answer classification queries (e.g., "Is this image a cat or a dog?"). The challenge is to do this while ensuring differential privacy, meaning the model's outputs don't reveal too much about any individual data point in the private training set. This is particularly tricky in the "agnostic PAC model," where we don't assume there's a perfect classifier within our chosen hypothesis class for the underlying data distribution. Previous work (like [BTT18]) tackled this but had a drawback: their accuracy guarantees were inflated by the inherent approximation error of the hypothesis class itself. This paper aims to overcome this limitation by providing a more efficient and practical solution.

Methods

The core of the paper's contribution lies in a novel two-stage construction.

  1. Agnostic-to-Realizable Reduction: The first stage employs a technique called "LabelBoost Procedure" (from [BNS15]). It pre-processes the private training data by relabeling it using a "good" hypothesis. This effectively transforms the agnostic setting (where no perfect classifier is assumed) into a realizable setting (where a good classifier is assumed to exist within the relabeled data). This is a crucial step for simplifying the subsequent privacy analysis.
  2. Private Query Answering: The second stage leverages an existing algorithm called ASubSamp ([BTT18]), which is designed for private query answering in the realizable setting. The relabeled data from the first stage is used as input to ASubSamp. The authors carefully calibrate the privacy parameters and sample sizes to ensure overall differential privacy and achieve improved accuracy guarantees.

For answering any number of queries (not just a fixed $m$), they extend this by incorporating a semi-private learning framework ([BNS13, ABM19]). This allows them to use the queried feature vectors as an auxiliary public dataset, enabling them to learn a classifier that can then answer subsequent queries privately, with a sample complexity independent of the number of queries.

Datasets

Not discussed in the paper. The paper focuses on theoretical guarantees and algorithmic constructions rather than empirical evaluation on specific datasets.

Key Insights and Ideas

  • Bridging Agnostic and Realizable Settings: The key insight is that by carefully relabeling the private data, one can effectively reduce the harder agnostic learning problem to a simpler realizable learning problem, which then allows for more efficient private query answering.
  • Decoupling Approximation Error: A significant achievement is removing the blow-up in the approximation error from the accuracy guarantee. This means the algorithm's performance is less dependent on how "good" the initial hypothesis class is, making it more robust.
  • Leveraging Public Data for Universal Privacy: The extension to answer any number of queries by using the query features as public data is a powerful idea. It shows how to achieve universal private learning by combining private and public data sources.
  • Sample Complexity Improvements: The paper demonstrates that their approach leads to provably better sample complexity bounds, requiring less private data for the same level of accuracy compared to prior work.

Key Results

  • Improved Sample Complexity for $m$ Queries: The paper provides an algorithm that can answer up to $m$ classification queries with average excess error $\alpha$ using a private sample of size $\tilde{O}\left(\frac{d}{\alpha^2} \max\left(1, \sqrt{m} \alpha^{3/2}\right)\right)$, where $d$ is the VC-dimension of the hypothesis class. This is a tighter bound than previous work ([BTT18]).
  • No Blow-up in Approximation Error: Unlike prior work, the accuracy guarantee does not include a multiplicative factor on the approximation error $\gamma = \min_{h \in H} \text{err}(h; D)$.
  • Universal Private Query Answering: An extension allows answering any number of queries with a private sample size independent of the number of queries, approximately $\tilde{O}\left(\frac{d}{\alpha^2} \max\left(1, \sqrt{d} \alpha\right)\right)$.
  • Near-Optimality: In certain regimes (e.g., when $\alpha = O(1/\sqrt{d})$), their sample complexity bound is shown to be essentially optimal, matching the non-private sample complexity up to logarithmic factors.

Limitations and Future Work

  • Theoretical Focus: The paper presents theoretical guarantees and does not include empirical evaluations. Real-world performance might differ.
  • Logarithmic Factors: While the bounds are improved, they still contain logarithmic factors (denoted by $\tilde{O}$) related to privacy parameters, accuracy, and the number of queries, which can sometimes be significant in practice.
  • Future Work: The paper suggests that their techniques can be applied to other private learning settings. The near-optimality of their bounds in specific regimes indicates that further exploration of optimal private learning algorithms is warranted.

Summary updated

Abstract

We revisit the problem of differentially private release of classification queries. In this problem, the goal is to design an algorithm that can accurately answer a sequence of classification queries based on a private training set while ensuring differential privacy. We formally study this problem in the agnostic PAC model and derive a new upper bound on the private sample complexity. Our results improve over those obtained in a recent work [BTT18] for the agnostic PAC setting. In particular, we give an improved construction that yields a tighter upper bound on the sample complexity. Moreover, unlike [BTT18], our accuracy guarantee does not involve any blow-up in the approximation error associated with the given hypothesis class. Given any hypothesis class with VC-dimension $d$, we show that our construction can privately answer up to $m$ classification queries with average excess error $\alpha$ using a private sample of size $\approx \frac{d}{\alpha^2}\,\max\left(1, \sqrt{m}\,\alpha^{3/2}\right)$. Using recent results on private learning with auxiliary public data, we extend our construction to show that one can privately answer any number of classification queries with average excess error $\alpha$ using a private sample of size $\approx \frac{d}{\alpha^2}\,\max\left(1, \sqrt{d}\,\alpha\right)$. When $\alpha=O\left(\frac{1}{\sqrt{d}}\right)$, our private sample complexity bound is essentially optimal.
BibTeX
@misc{bassily2019privately,
  author = {Raef Bassily and Anupama Nandi},
  title = {{Privately Answering Classification Queries in the Agnostic PAC Model}},
  year = {2019},
  eprint = {1907.13553},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1907.13553},
}
Figure