Optimal Differentially Private Model Training with Public Data

Andrew Lowy, Zeman Li, Tianjian Huang, Meisam Razaviyayn

Differential Privacy (DP) is the gold standard for protecting individual privacy in machine learning, but it typically comes with a "utility gap"—DP models are often significantly less accurate than their non-private counterparts. A common strategy to bridge this gap is leveraging public data (data that is free of privacy concerns, like Wikipedia or public image sets).

However, two major questions have remained open in the field:

  1. The Fundamental Limit: Is there a theoretical "floor" to how much public data can help? Can we achieve error rates that are asymptotically better than simply throwing away the private data or treating public data as if it were private?
  2. Practical Implementation: How can we best combine a small amount of public data with a large amount of private data to get the best possible model in practice?

This paper establishes the fundamental limits of training differentially private models when auxiliary public data is available. While it proves that public data cannot improve the asymptotic error rates beyond simple naive baselines, the authors develop "even more optimal" algorithms that significantly improve the constants of these rates, leading to substantial accuracy gains on real-world benchmarks.

The Asymptotic Wall: Theoretical Limits

The authors attack the problem by first establishing the theoretical boundaries across three core problems: mean estimation, empirical risk minimization (ERM), and stochastic convex optimization (SCO).

Using new mathematical tools, including a Semi-DP Fano’s method and a Semi-DP packing argument, they prove a somewhat surprising "negative" result: you cannot beat the asymptotic (Big-O) error rates of two naive baselines:

  • Baseline 1: Ignore private data and run a non-private algorithm purely on the public data.
  • Baseline 2: Treat all data (public and private) as private and run a standard DP algorithm.

If you have $n_{pub}$ public samples and $n_{priv}$ private samples, your error is essentially limited by the best of these two naive approaches. Public data does not change the fundamental complexity class of the error.

Semi-DP error rates for Mean Estimation and SCO.

Constants Matter: Practical Algorithms

While the asymptotic rates are bounded, the constants within those rates are not. The authors show that by optimizing these constants, practitioners can achieve much better results in the real-world regimes where they actually operate.

To improve performance in practice, the authors introduce a Weighted-Gaussian Estimator scheme. Standard DP-SGD either ignores the public data's lack of privacy constraints or ignores the private data entirely. Instead of treating all samples equally, this new algorithm assigns different weights to private and public samples. This allows the model to "dial in" the exact amount of noise needed for privacy while minimizing the variance of the final estimate.

They integrated these weighted estimators into Semi-DP-SGD. In each iteration, the gradient is estimated by intelligently combining noisy private gradients with clean public gradients, finding the "Goldilocks" zone of noise and signal.

Key Results and Empirical Gains

The authors evaluated their approach using synthetic data to verify theoretical minimax rates, as well as CIFAR-10 for image classification (testing both convex Logistic Regression and non-convex Wide-ResNet-16-4 architectures).

  • Accuracy Gains: On CIFAR-10, their algorithm reduced test error by 8–9% for logistic regression and by up to 18.9% for Wide-ResNet compared to the naive baselines.
  • Superiority over SOTA: Their method consistently outperformed PDA-MD (Public-Data-Assisted Mirror Descent), the previous state-of-the-art for this setting. This was especially true on complex tasks where Hessian estimation (used by PDA-MD) becomes unreliable.
  • Robustness to "Cold Starts": Unlike PDA-MD, which can fail if not initialized perfectly, the proposed algorithm is resilient and performs well even without a "warm start" from public data pre-training.
  • Convergence: In scenarios where standard DP-SGD diverges due to high noise, the proposed algorithm remains stable and converges to a low-error solution using as little as 10% public data.
Test loss vs. fraction of public data ($\epsilon = 4$).

Limitations and Future Work

While this paper settles fundamental questions about semi-DP learning, several avenues remain open:

  • Out-of-Distribution (OOD) Data: For Stochastic Convex Optimization, the paper assumes the public data comes from the same distribution as the private data. Exploring OOD public data is a critical next step for real-world applicability.
  • Theoretical Bounds for Non-Convexity: While the algorithms work well on non-convex models (like ResNets) in practice, the tight theoretical bounds are currently limited to the convex case.
  • DP Hyperparameter Tuning: The authors acknowledge that hyperparameter tuning was not done in a DP manner. Developing a fully private pipeline for both training and tuning remains a broader challenge.
  • Dimensionality Reduction: Combining these weighted gradient estimators with dimensionality reduction techniques could yield even further improvements in the future.

Summary updated

BibTeX
@inproceedings{lowy2024optimal,
  author = {Andrew Lowy and Zeman Li and Tianjian Huang and Meisam Razaviyayn},
  title = {{Optimal Differentially Private Model Training with Public Data}},
  booktitle = {International Conference on Machine Learning},
  year = {2024},
  url = {https://openreview.net/forum?id=NFEJQn7vX0},
}
Figure