mlsanityData to 14 Oct 2026

How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacy

arXiv 2303.00654 ↗First posted 1 Mar 2023cs.LG cs.CR stat.MLcited by 153

Not on the map. Why?

Abstract (arXiv)

ML models are ubiquitous in real world applications and are a constant focus of research. At the same time, the community has started to realize the importance of protecting the privacy of ML training data. Differential Privacy (DP) has become a gold standard for making formal statements about data anonymization. However, while some adoption of DP has happened in industry, attempts to apply DP to real world complex ML models are still few and far between. The adoption of DP is hindered by limited practical guidance of what DP protection entails, what privacy guarantees to aim for, and the difficulty of achieving good privacy-utility-computation trade-offs for ML models. Tricks for tuning and maximizing performance are scattered among papers or stored in the heads of practitioners. Furthermore, the literature seems to present conflicting evidence on how and whether to apply architectural adjustments and which components are "safe" to use with DP. This work is a self-contained guide that gives an in-depth overview of the field of DP ML and presents information about achieving the best possible DP ML model with rigorous privacy guarantees. Our target audience is both researchers and practitioners. Researchers interested in DP for ML will benefit from a clear overview of current advances and areas for improvement. We include theory-focused sections that highlight important topics such as privacy accounting and its assumptions, and convergence. For a practitioner, we provide a background in DP theory and a clear step-by-step guide for choosing an appropriate privacy definition and approach, implementing DP training, potentially updating the model architecture, and tuning hyperparameters. For both researchers and practitioners, consistently and fully reporting privacy guarantees is critical, and so we propose a set of specific best practices for stating guarantees.

Key facts. Cited by 153 papers in the map (data through 14 Oct 2026). Builds on 135 of its 225 references that are in the map. First posted on arXiv 1 Mar 2023.

Builds on

135 of 225 references.

References · 135

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  3. 2020Language Models are Few-Shot Learnerscited by 32,419
  4. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  5. 2016Communication-Efficient Learning of Deep Networks from Decentralized Datacited by 7,669
  6. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  7. 2016Layer Normalizationcited by 5,669
  8. 2019Advances and Open Problems in Federated Learningcited by 3,046
  9. 2016Deep Learning with Differential Privacycited by 2,728
  10. 2018Large Scale GAN Training for High Fidelity Natural Image Synthesiscited by 2,626
  11. 2018SentencePiece: A simple and language independent subword tokenizer and detokenizer for Neural Text Processingcited by 1,989
  12. 2016Google's Neural Machine Translation System: Bridging the Gap between Human and Machine Translationcited by 1,475
38 more
  1. 2016On Large-Batch Training for Deep Learning: Generalization Gap and Sharp Minimacited by 1,352
  2. 2021Cascaded Diffusion Models for High Fidelity Image Generationcited by 1,163
  3. 2017Visualizing the Loss Landscape of Neural Netscited by 1,130
  4. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
  5. 2021Deduplicating Training Data Makes Language Models Bettercited by 714
  6. 2017Renyi Differential Privacycited by 650
  7. 2017Self-Normalizing Neural Networkscited by 598
  8. 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 543
  9. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
  10. 2021Differentially Private Fine-tuning of Language Modelscited by 400
  11. 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 383
  12. 2016Semi-supervised Knowledge Transfer for Deep Learning from Private Training Datacited by 348
  13. 2016Concentrated Differential Privacy: Simplifications, Extensions, and Lower Boundscited by 346
  14. 2021A Field Guide to Federated Optimizationcited by 315
  15. 2013The Composition Theorem for Differential Privacycited by 297
  16. 2022Tensor Programs V: Tuning Large Neural Networks via Zero-Shot Hyperparameter Transfercited by 288
  17. 2017Train longer, generalize better: closing the generalization gap in large batch training of neural networkscited by 279
  18. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 271
  19. 2018Privacy Amplification by Subsampling: Tight Analyses via Couplings and Divergencescited by 242
  20. 2018Subsampled R'enyi Differential Privacy and Analytical Moments Accountantcited by 236
  21. 2018Differentially Private Generative Adversarial Networkcited by 235
  22. 2020Differentially Private Learning Needs Better Features (or Much More Data)cited by 235
  23. 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 224
  24. 2019Differentially Private Learning with Adaptive Clippingcited by 220
  25. 2018Improving the Gaussian Mechanism for Differential Privacy: Analytical Calibration and Optimal Denoisingcited by 218
  26. 2020Auditing Differentially Private Machine Learning: How Private is Private SGD?cited by 218
  27. 2019R'enyi Differential Privacy of the Sampled Gaussian Mechanismcited by 204
  28. 2021Adversary Instantiation: Lower Bounds for Differentially Private Machine Learningcited by 199
  29. 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 195
  30. 2022Scaling Up Models and Data with textttt5x and textttseqiocited by 187
  31. 2019Private Stochastic Convex Optimization with Optimal Ratescited by 186
  32. 2020Stability of Stochastic Gradient Descent on Nonsmooth Convex Lossescited by 173
  33. 2021Practical and Private (Deep) Learning without Sampling or Shufflingcited by 170
  34. 2018Amplification by Shuffling: From Local to Central Differential Privacy via Anonymitycited by 164
  35. 2022Reconstructing Training Data with Informed Adversariescited by 148
  36. 2020Understanding Gradient Clipping in Private SGD: A Geometric Perspectivecited by 142
  37. 2018Protection Against Reconstruction and Its Applications in Private Federated Learningcited by 130
  38. 2021The Distributed Discrete Gaussian Mechanism for Federated Learning with Secure Aggregationcited by 128

50 most cited of 135 All 135 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 29; 2024: 49; 2025: 41; 2026: 34.

153 papers.

Sort:

By area:

  1. 2023Federated Learning of Gboard Language Models with Differential Privacycited by 66
  2. 2023Harnessing large-language models to generate private synthetic textcited by 65
  3. 2023(Amplified) Banded Matrix Factorization: A unified approach to private trainingcited by 49
  4. 2023Reducing Privacy Risks in Online Self-Disclosures with Language Modelscited by 47
  5. 2023Can Language Models be Instructed to Protect Personal Information?cited by 46
  6. 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
  7. 2023User Inference Attacks on Large Language Modelscited by 36
  8. 2024Privacy-Preserving Instructions for Aligning Large Language Modelscited by 35
  9. 2023Towards Federated Foundation Models: Scalable Dataset Pipelines for Group-Structured Learningcited by 29
  10. 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMscited by 29
  11. 2024Fine-Tuning Large Language Models with User-Level Differential Privacycited by 29
  12. 2024Mind the Privacy Unit! User-Level Differential Privacy for Language Model Fine-Tuningcited by 24
38 more
  1. 2024Private prediction for large-scale synthetic text generationcited by 24
  2. 2024Differentially Private Next-Token Prediction of Large Language Modelscited by 22
  3. 2024How Private are DP-SGD Implementations?cited by 22
  4. 2023Unleashing the Power of Randomization in Auditing Differentially Private MLcited by 20
  5. 2024RAG with Differential Privacycited by 18
  6. 2023Privacy Amplification for Matrix Mechanismscited by 17
  7. 2025Systemizing Multiplicity: The Curious Case of Arbitrariness in Machine Learningcited by 17
  8. 2024Scalable DP-SGD: Shuffling vs. Poisson Subsamplingcited by 16
  9. 2025Synthesizing Privacy-Preserving Text Data via Finetuning without Finetuning Billion-Scale LLMscited by 16
  10. 2024Federated Learning in Practice: Reflections and Projectionscited by 15
  11. 2025Unifying Re-Identification, Attribute Inference, and Data Reconstruction Risks in Differential Privacycited by 15
  12. 2024Differential Privacy Mechanisms in Neural Tangent Kernel Regressioncited by 14
  13. 2024Provable Differentially Private Computation of the Cross-Attention Mechanismcited by 14
  14. 2024Balls-and-Bins Sampling for DP-SGDcited by 14
  15. 2023Faster Differentially Private Convex Optimization via Second-Order Methodscited by 13
  16. 2024Avoiding Pitfalls for Privacy Accounting of Subsampled Mechanisms under Compositioncited by 13
  17. 2024Banded Square Root Matrix Factorization for Differentially Private Model Trainingcited by 12
  18. 2023Toward Highly Efficient and Private Submodular Maximization via Matrix-Based Accelerationcited by 11
  19. 2023DP-SGD Without Clipping: The Lipschitz Neural Network Waycited by 11
  20. 2024The Last Iterate Advantage: Empirical Auditing and Principled Heuristic Analysis of Differentially Private SGDcited by 11
  21. 2025DPImageBench: A Unified Benchmark for Differentially Private Image Synthesiscited by 11
  22. 2023Synthetic Query Generation for Privacy-Preserving Deep Retrieval Systems using Differentially Private Language Modelscited by 10
  23. 2025InvisibleInk: High-Utility and Low-Cost Text Generation with Differential Privacycited by 10
  24. 2023DP-Mix: Mixup-based Data Augmentation for Differentially Private Learningcited by 9
  25. 2024Efficiently Computing Similarities to Private Datasetscited by 9
  26. 2024Pre-training Differentially Private Models with Limited Public Datacited by 8
  27. 2024Attack-Aware Noise Calibration for Differential Privacycited by 8
  28. 2025Context Reasoner: Incentivizing Reasoning Capability for Contextualized Privacy and Safety Compliance via Reinforcement Learningcited by 8
  29. 2023DP-NMT: Scalable Differentially-Private Machine Translationcited by 7
  30. 2023An Empirical Investigation into Benchmarking Model Multiplicity for Trustworthy Machine Learning: A Case Study on Image Classificationcited by 7
  31. 2024GC4NC: A Benchmark Framework for Graph Condensation on Node Classification with New Insightscited by 7
  32. 2024A Method to Facilitate Membership Inference Attacks in Deep Learning Modelscited by 7
  33. 2024Free Record-Level Privacy Risk Evaluation Through Artifact-Based Methodscited by 7
  34. 2025Gaussian DP for Reporting Differential Privacy Guarantees in Machine Learningcited by 6
  35. 2025On Design Principles for Private Adaptive Optimizerscited by 6
  36. 2025Beyond Data Privacy: New Privacy Risks for Large Language Modelscited by 6
  37. 2023Unintended Memorization in Large ASR Models, and How to Mitigate Itcited by 5
  38. 2023Sparsity-Preserving Differentially Private Training of Large Embedding Modelscited by 5

50 most cited of 153 All 153 (JSON)