Optimal Differentially Private Model Training with Public Data

Andrew Lowy, Zeman Li, Tianjian Huang, Meisam Razaviyayn

TL;DR

This paper establishes the fundamental theoretical limits of training machine learning models under differential privacy (DP) when auxiliary public data is available. While it proves that public data cannot provide asymptotic improvements over naive baselines in the worst case, the authors introduce novel algorithms that optimize the exact constants of the error rates. Empirically, their approach significantly outperforms state-of-the-art methods on tasks ranging from simple mean estimation to deep learning on CIFAR-10.

What Problem Does This Paper Address?

Differential Privacy (DP) provides a rigorous mathematical framework to ensure machine learning models do not leak sensitive individual data. However, this privacy guarantee comes at a cost: DP-trained models are often significantly less accurate than their non-private counterparts. To bridge this utility gap, researchers frequently leverage auxiliary "public" data (e.g., volunteered data, synthetic data, or public pre-training sets) that carries no privacy constraints.

Despite the popularity of this approach, two fundamental questions remained unanswered:

  1. What is the absolute optimal (worst-case) error rate achievable when combining private and public data?
  2. How can we design practical algorithms that extract the maximum possible utility from this hybrid data setup?

The authors tackle these questions across three bedrock machine learning tasks: mean estimation, empirical risk minimization (ERM), and stochastic convex optimization (SCO), under both central and local DP models.

Methods

  • Lower Bounds Analysis: To map out the theoretical limits, the authors developed advanced proof techniques tailored to the "semi-DP" setting (where privacy is only enforced on the private dataset). These include a modified tracing attack with aggressive truncation, a generalized fingerprinting lemma, a novel Semi-DP Fano's method, and semi-DP packing arguments.
  • Weighted-Gaussian Estimator: Standard naive approaches either throw away the private data entirely or treat public data as private (adding unnecessary noise to it). The authors propose a central estimator that assigns distinct weights to private and public samples. By calibrating Gaussian noise strictly to the private data's weight, they minimize the variance of the final unbiased estimator.
  • Semi-DP-SGD (Algorithm 1): They extend this weighted mean estimation strategy to optimization by injecting it into stochastic gradient descent. In each iteration, private gradients are clipped and privatized, while public gradients are processed without noise, combined via an optimized weighting parameter $\alpha$.

Datasets

  • Synthetic Data: High-dimensional Gaussian data ($d=2000$) used to evaluate linear regression performance under varying public-to-private data ratios.
  • CIFAR-10: Used to evaluate convex (logistic regression) and non-convex deep learning models (Wide-ResNet-16-4 architecture).

Key Insights and Ideas

  • The Asymptotic Dead End: The paper's most surprising theoretical finding is a negative one: in the worst case, you cannot asymptotically beat the naive baselines. Asymptotically, you might as well either just use the public data (if you have a lot of it) or treat all data as private.
  • Constants Matter: While asymptotic improvements are impossible, the constants hidden behind the Big-O notation can be drastically optimized. The authors show that by carefully balancing the weights of public and private data, they can achieve massive non-asymptotic error reductions in practice.
  • Resilience to "Cold Starts": Unlike previous state-of-the-art methods like Public Data-Assisted Mirror Descent (PDA-MD), which fail catastrophically without a good "warm start" (pre-training on public data), the proposed Weighted-SGD algorithm is highly robust and converges reliably even when initialized from scratch.

Key Results

  • The authors mapped out the exact minimax optimal error rates for central and local semi-DP settings (summarized in Minimax optimal error rates).
  • In CIFAR-10 image classification, their algorithm reduced test error by 8–9% for logistic regression and up to 18.9% for Wide-ResNet compared to naive baselines.
  • As shown in the linear regression experiments (see Test loss vs npub/n at epsilon=2 and Test loss vs npub/n at epsilon=4), Algorithm 1 consistently achieves the lowest test loss across all ratios of public data ($n_{pub}/n$), significantly outperforming standard DP-SGD and PDA-MD.
  • Furthermore, in scenarios without warm-starting (see Cold start performance), the baseline PDA-MD diverges wildly, while the proposed algorithm remains stable and effective.
Figure 1. Minimax optimal error rates for central pε, δq-semi-DP (up to logs) and (local) pε, δq-semi-LDP. n “ npriv ` npub, where npriv (npub) denotes the number of private (public) samples. Dependence on δ, range and Lipschitz parameters, constraint set diameter omitted. See Appendix for strongly convex SCO results.
Figure 3. Test loss vs. npub{n. ε “ 2.
Figure 4. Test loss vs. npub{n. ε “ 4.
Cold start performance

Limitations and Future Work

  • Assumptions: The theoretical guarantees rely heavily on standard assumptions such as convexity, Lipschitz continuity, and in-distribution (i.i.d.) public data for SCO. Real-world public data is frequently out-of-distribution.
  • Non-Private Hyperparameter Tuning: The empirical evaluation performed hyperparameter tuning and data preprocessing non-privately. In a fully private deployment, this tuning would consume part of the privacy budget.
  • Future Directions: The authors suggest extending this framework to handle out-of-distribution public data and exploring how these optimal semi-DP algorithms interact with dimensionality reduction techniques.

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