Pre-training Differentially Private Models with Limited Public Data

Zhiqi Bu, Xinwei Zhang, Mingyi Hong, Sheng Zha, G. Karypis
2/3/2026

No official code found. Best implementation: awslabs/fast-differential-privacy (145 stars, Apache-2.0, last commit 2026-01-22).

Abstract

The superior performance of large foundation models relies on the use of massive amounts of high-quality data, which often contain sensitive, private and copyrighted material that requires formal protection. While differential privacy (DP) is a prominent method to gauge the degree of security provided to the models, its application is commonly limited to the model fine-tuning stage, due to the performance degradation when applying DP during the pre-training stage. Consequently, DP is yet not capable of protecting a substantial portion of the data used during the initial pre-training process. In this work, we first provide a theoretical understanding of the efficacy of DP training by analyzing the per-iteration loss improvement. We make a key observation that DP optimizers' performance degradation can be significantly mitigated by the use of limited public data, which leads to a novel DP continual pre-training strategy. Empirically, using only 10\% of public data, our strategy can achieve DP accuracy of 41.5\% on ImageNet-21k (with $\epsilon=8$), as well as non-DP accuracy of 55.7\% and and 60.0\% on downstream tasks Places365 and iNaturalist-2021, respectively, on par with state-of-the-art standard pre-training and substantially outperforming existing DP pre-trained models. Our DP pre-trained models are released in fastDP library (https://github.com/awslabs/fast-differential-privacy/releases/tag/v2.1)

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Fast, memory-efficient, scalable optimization of deep learning with differential privacy

14525PythonNov 20, 20229 months agoApache-2.0
deep-learningdifferential-privacyneural-networkprivacy-preserving-machine-learning

Similar Papers

Cite this paper

@article{bu2026pretraining,
  title  = {Pre-training Differentially Private Models with Limited Public Data},
  author = {Zhiqi Bu and Xinwei Zhang and Mingyi Hong and Sheng Zha and G. Karypis},
  year   = {2026},
  eprint = {2402.18752},
  archivePrefix = {arXiv},
  doi    = {10.48550/arXiv.2402.18752},
  url    = {https://arxiv.org/abs/2402.18752},
  journal = {NEURIPS 2024 2024}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2402.18752.svg)](https://codeofpaper.com/paper/2402.18752)

Discussion