A New Analysis of Differential Privacy's Generalization Guarantees

Christopher Jung, Katrina Ligett, Seth Neel, Aaron Roth, Saeed Sharifi-Malvajerdi, Moshe Shenfeld

TL;DR

This paper provides a new, elementary proof for the "transfer theorem" in adaptive data analysis, demonstrating that differentially private mechanisms that are accurate on a sample are also accurate on the underlying distribution. By shifting to a Bayesian perspective and using a "resampling" thought experiment, the authors achieve significantly tighter concrete bounds, making these theoretical guarantees practical for much smaller dataset sizes than previously possible.

What Problem Does This Paper Address?

In modern data science, analysis is rarely a one-shot process. Instead, it is adaptive: a researcher might look at the results of one query to decide which query to run next (e.g., variable selection followed by regression). While intuitive, this practice is dangerous. Standard statistical tools assume queries are independent of the data; when queries are chosen based on the data, you risk "p-hacking" or overfitting, where results look significant on your specific sample but fail to generalize to the real world.

The simplest fix is data splitting: use a fresh chunk of data for every new query. However, this is incredibly wasteful, as the amount of data needed grows linearly with the number of queries ($k$).

Differential Privacy (DP) offers a better way. Previous work established a "transfer theorem" showing that if an algorithm is differentially private and accurate on its training sample, it is guaranteed to generalize. Asymptotically, DP allows for a quadratic improvement, needing only $\sqrt{k}$ data. The catch? The "constants" in these proofs were so large that the theoretical bounds only beat simple data splitting when the dataset size ($n$) was astronomically large—often in the millions or billions—rendering the theory impractical for most researchers.

Methods

The authors replace the complex "monitor argument" used in prior proofs with a more intuitive Bayesian Resampling approach. Their proof breaks the problem into two structural insights:

  1. DP ensures the posterior is "sane": They show that differential privacy ensures the expectation of a query over the posterior distribution of datasets (given the analysis transcript) is close to the query's true value on the underlying data distribution.
  2. Sample accuracy implies posterior accuracy: They use a thought experiment where the dataset is "resampled" from the posterior distribution after the mechanism has already committed to its answers. If the mechanism is accurate on the original sample, it must also be close to the posterior expectation with high probability.

By summing these two bounds, they derive a new transfer theorem. This method is not just simpler to follow; it avoids the heavy mathematical "hammers" that previously introduced massive constant overheads.

Datasets

The paper is primarily theoretical and does not use empirical real-world datasets for training. Instead, it evaluates the new bounds through mathematical analysis and numerical simulations, specifically focusing on the Gaussian Mechanism—a standard DP tool that adds noise to query results. The authors compare their new bound against the "Sample Splitting Baseline" and previous state-of-the-art bounds (BNSSSU and DFHPRR) across varying dataset sizes ($n$) and query counts ($k$).

Key Insights and Ideas

  • The Bayesian Perspective: The "aha moment" is treating the dataset as a random variable conditioned on the transcript of the interaction. This allows the authors to reason about what the analyst "knows" about the data.
  • Resampling Thought Experiment: By imagining the data is redrawn from a posterior distribution after the answers are given, the authors prove that any sample-accurate mechanism is essentially forced to provide answers close to the posterior mean.
  • Practicality over Asymptotics: While the rate of improvement (how the bound scales as $n$ and $k$ go to infinity) was already known to be tight, this paper proves that the constants matter immensely for real-world use. Their proof technique is the first to bring these DP-based generalization guarantees into a regime where they can actually outperform naive data splitting on reasonably sized datasets.

Key Results

The most striking result is visualized in Figure 1, which compares the number of adaptive queries ($k$) that can be answered while maintaining a specific accuracy and confidence level.

A comparison of the number of adaptive linear queries that can be answered using different bounds. The "Our Bound" line (blue) significantly outperforms the sample-splitting baseline and prior theoretical bounds as the dataset size increases.
  • Beating the Baseline: The new bound outperforms the sample-splitting baseline at dramatically smaller dataset sizes. For example, at $n = 1,000,000$, the new bound allows for roughly 13,000 queries, while the baseline allows for fewer than 2,500.
  • Orders of Magnitude Improvement: Previous optimized bounds (like BNSSSU) were actually worse than simple data splitting until $n$ reached very high values. The new analysis provides a massive jump in the number of queries permitted for any given $n$.

Limitations and Future Work

The authors note a technical limitation in their general transfer theorem: it currently exhibits a "Markov-like" trade-off for the confidence parameters ($\beta$ and $\delta$). While they provide a specialized, even tighter proof for $\epsilon$-differential privacy (pure DP) that achieves "Chernoff-like" concentration (which is much stronger), extending this stronger concentration to the more common $(\epsilon, \delta)$-differential privacy (approximate DP) remains an open challenge.

Future work could focus on closing this gap or exploring how this posterior-based analysis might explain why real-world analysts often overfit less than worst-case theory predicts—perhaps because they naturally choose queries whose posterior means are closer to the prior.

Summary updated

BibTeX
@inproceedings{jung2020new,
  author = {Christopher Jung and Katrina Ligett and Seth Neel and Aaron Roth and Saeed Sharifi-Malvajerdi and Moshe Shenfeld},
  title = {{A New Analysis of Differential Privacy's Generalization Guarantees}},
  booktitle = {ITCS},
  year = {2020},
  url = {https://openreview.net/forum?id=VPpnVH2b3i2},
}
Figure