A New Analysis of Differential Privacy's Generalization Guarantees

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

Abstract

We give a new proof of the "transfer theorem" underlying adaptive data analysis: that any mechanism for answering adaptively chosen statistical queries that is differentially private and sample-accurate is also accurate out-of-sample. Our new proof is elementary and gives structural insights that we expect will be useful elsewhere. We show: 1) that differential privacy ensures that the expectation of any query on the posterior distribution on datasets induced by the transcript of the interaction is close to its true value on the data distribution, and 2) sample accuracy on its own ensures that any query answer produced by the mechanism is close to its posterior expectation with high probability. The transfer theorem then follows by summing these two bounds, and in particular, avoids the "monitor argument" used to derive high probability bounds in prior work. An upshot of our new proof technique is that the concrete bounds we obtain are substantially better than the best previously known bounds, even though the improvements are in the constants, rather than the asymptotics. As we show, our new bounds outperform the naive "sample-splitting" baseline at dramatically smaller dataset sizes compared to the previous state of the art, bringing techniques from this literature closer to practicality.

Introduction

In modern data science, datasets are frequently reused across multiple stages of analysis, such as feature selection, hyperparameter tuning, and final model evaluation. This process, known as adaptive data analysis, poses a significant risk: each step can leak information about the specific sample, leading to overfitting and false discoveries. This phenomenon is a major contributor to the ongoing "reproducibility crisis" in scientific research.

While the standard solution is "data splitting"—using a fresh batch of data for every decision—this approach is often prohibitively wasteful. Previous research established that Differential Privacy (DP) can serve as a "transfer theorem," guaranteeing that private and sample-accurate algorithms generalize well to the underlying distribution. However, earlier proofs of this theorem yielded "concrete bounds" so loose that they required billions of data points to outperform simple data splitting. This work introduces a new analysis that significantly closes the gap between theoretical guarantees and practical application.

Methodology: A Bayesian Perspective

This research departs from the complex "monitor arguments" used in prior state-of-the-art proofs, instead adopting an intuitive Bayesian framework. The core of the new proof relies on a decomposition of generalization error into two manageable components:

  1. The Bayesian Resampling Lemma: The authors propose a thought experiment where, following an analysis, the dataset is "resampled" from a posterior distribution conditioned on the analysis transcript.
  2. DP's Role in Expectation: They prove that differential privacy ensures the expectation of a query on this posterior distribution remains close to its true value on the actual data distribution. This is captured through a new metric called "posterior sensitivity."
  3. Accuracy and Concentration: They demonstrate that if a mechanism is accurate on its training sample, its answers will be close to the posterior expectation with high probability.

By summing these two bounds, the authors derive a transfer theorem using elementary tools like Markov’s inequality, avoiding the heavy mathematical machinery of previous works and resulting in much tighter constants.

Results: Tighter Concrete Bounds

The primary contribution of this new analysis is the dramatic improvement in concrete bounds. While previous results were asymptotically tight, their large constants made them practically unusable for standard dataset sizes.

Comparison of the maximum number of queries answered by different methods as a function of dataset size.

As illustrated in Figure 1, the new bound ("Our Bound") outperforms both the "sample-splitting" baseline and previous theoretical benchmarks (such as BNSSSU and DFHPRR) at much smaller dataset sizes. For instance, with a dataset size of $n = 1,000,000$, the new analysis permits over 13,000 adaptive queries, whereas previous state-of-the-art analyses (DFHPRR) allowed almost none, and even optimized versions of prior work barely matched the sample-splitting baseline. This improvement brings DP-based generalization guarantees orders of magnitude closer to being useful for real-world data science.

Discussion and Future Work

While this work represents a significant step toward practical adaptive data analysis, some theoretical gaps remain. The current bounds for $(\epsilon, \delta)$-differential privacy still rely on Markov-like tradeoffs, meaning the dependence on the failure probability ($\beta$) is not yet as sharp as the "Chernoff-like" concentration achieved for pure $(\epsilon, 0)$-differential privacy.

Future research will focus on extending these sharper concentration bounds to the more common $(\epsilon, \delta)$ case and bridging the remaining gap between these theoretical guarantees and the heuristic validation methods currently employed by practitioners. Nonetheless, the structural insights provided by the Bayesian perspective offer a promising new path for understanding and ensuring generalization in adaptive settings.

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