Tighter Generalization Bounds for Iterative Differentially Private Learning Algorithms

Fengxiang He, Bohan Wang, Dacheng Tao

Abstract

This paper establishes a rigorous theoretical link between differential privacy (DP) and a model's ability to generalize to unseen data. By proving new, tighter composition theorems for iterative algorithms, the authors demonstrate that privacy-preserving techniques—such as those used in deep learning—naturally lead to better generalization. Crucially, these bounds remain effective even as the number of model parameters increases, addressing a major limitation of traditional complexity measures in modern AI.

Introduction: The Generalization Gap

In machine learning, the dual goals of generalization (learning patterns rather than memorizing data) and privacy (protecting individual training points) are often treated separately. Traditional generalization analysis relies on complexity measures like VC-dimension. However, in modern deep learning, models often possess millions of parameters, rendering these traditional bounds "vacuous"—they mathematically suggest a model should not generalize at all, despite empirical evidence to the contrary.

Differential Privacy (DP), specifically $(\epsilon, \delta)$-DP, provides a framework to mask individual data contributions. This research quantifies the long-suspected intuition that privacy and generalization are two sides of the same coin: if a model is prevented from memorizing specific individuals (privacy), it is forced to learn broader, transferable patterns (generalization).

Methodology

The DP-Generalization Bridge

The authors prove a new theorem establishing that if an algorithm is $(\epsilon, \delta)$-differentially private, its generalization error is bounded. While previous bounds were loose (often utilizing a factor of $13\epsilon$), this work introduces a high-probability bound that tightens the constant to $4\epsilon$.

Iterative Composition Theorems

Because most AI models are trained iteratively, privacy tends to degrade with every training step. To address this, the authors developed three new composition theorems to track how total privacy—and thus generalization—evolves over time:

  • KL Divergence: Used as a mathematical bridge to approximate privacy loss more accurately than previous "privacy region" techniques.
  • Coupling Technique: This method separates the analysis of $\epsilon$ and $\delta$ parameters, leading to significantly tighter results for long-running training processes compared to the previous state-of-the-art.

Empirical Validation

The theoretical findings were validated using standard computer vision benchmarks, including MNIST (for Multi-Layer Perceptrons) and CIFAR-10/100 (for VGG-16 and ResNet-18 architectures). The researchers measured the correlation between Membership Inference Attack (MIA) accuracy—a practical proxy for privacy leakage—and actual generalization error.

Spearman’s rank correlation coefficients (SCC) and p-values demonstrating the strong link between privacy preservation, generalization error, and training time across various architectures and datasets.

As shown in the table above, the empirical results strongly support the theory. Across all tested architectures and datasets, Spearman’s rank correlation (SCC) between privacy and generalization error ranged from 0.80 to 1.00, with extremely high statistical significance (low p-values).

Key Insights

  • Parameter Independence: A significant finding is that these generalization bounds do not explicitly depend on the number of parameters. This explains why massive models generalize well: as long as the training process is sufficiently private (stochastic), the parameter count is secondary.
  • Privacy as a Regularizer: The results suggest that enhancing privacy is not merely a constraint but a valid strategy for designing models that perform better on test data.
  • Federated Learning Applications: The theory extends to "Agnostic Federated Learning," providing an asymptotic generalization bound of $\tilde{O}(1/\sqrt{C})$, where $C$ is the number of participating clients.

Limitations and Future Work

While the bounds are tight, they rely on the "diameter" ($D$) of the model's update function. Although deep learning gradients often stay within a manageable low-dimensional manifold, this remains an empirical observation rather than a universal guarantee. Additionally, while the framework is broad, the specific applications in this paper focus heavily on the Gaussian mechanism; future research may explore how these bounds apply to Laplacian mechanisms or objective perturbation.

Summary updated

BibTeX
@inproceedings{he2021tighter,
  author = {Fengxiang He and Bohan Wang and Dacheng Tao},
  title = {{Tighter Generalization Bounds for Iterative Differentially Private Learning Algorithms}},
  booktitle = {Conference on Uncertainty in Artificial Intelligence},
  year = {2021},
  url = {https://openreview.net/forum?id=u3FCDmERuv},
}
Figure