Differentially Private Optimization on Large Model at Small Cost
Not on the map. Why?
Abstract (arXiv)
Differentially private (DP) optimization is the standard paradigm to learn large neural networks that are accurate and privacy-preserving. The computational cost for DP deep learning, however, is notoriously heavy due to the per-sample gradient clipping. Existing DP implementations are 2-1000X more costly in time and space complexity than the standard (non-private) training. In this work, we develop a novel Book-Keeping (BK) technique that implements existing DP optimizers (thus achieving the same accuracy), with a substantial improvement on the computational cost. Specifically, BK enables DP training on large models and high dimensional data to be roughly as fast and memory-saving as the standard training, whereas previous DP algorithms can be inefficient or incapable of training due to memory error. The computational advantage of BK is supported by the complexity analysis as well as extensive experiments on vision and language tasks. Our implementation achieves state-of-the-art (SOTA) accuracy with very small extra cost: on GPT2 and at almost the same memory cost (<1% overhead), BK has 1.03X the time complexity of the standard training (0.83X training speed in practice), and 0.61X the time complexity of the most efficient DP implementation (1.36X training speed in practice). We open-source the codebase for the BK algorithm at the FastDP library (https://github.com/awslabs/fast-differential-privacy).
Key facts. Cited by 65 papers in the map (data through 7 Oct 2026). Builds on 37 of its 61 references that are in the map. First posted on arXiv 30 Sep 2022.
Builds on
37 of 61 references.
References · 37
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020Language Models are Few-Shot Learnerscited by 32,199
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,267
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2017TriviaQA: A Large Scale Distantly Supervised Challenge Dataset for Reading Comprehensioncited by 2,895
25 more
- 2016Deep Learning with Differential Privacycited by 2,682
- 2021BEiT: BERT Pre-Training of Image Transformerscited by 2,360
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2017Renyi Differential Privacycited by 643
- 2021Compacter: Efficient Low-Rank Hypercomplex Adapter Layerscited by 458
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 375
- 2020Differentially Private Learning Needs Better Features (or Much More Data)cited by 233
- 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 218
- 2017Constructing Datasets for Multi-hop Reading Comprehension Across Documentscited by 190
- 2021Numerical Composition of Differential Privacycited by 174
- 2022Reconstructing Training Data from Trained Neural Networkscited by 129
- 2019Deep Learning with Gaussian Differential Privacycited by 112
- 2022Toward Training at ImageNet Scale with Differential Privacycited by 87
- 2022Automatic Clipping: Differentially Private Deep Learning Made Easier and Strongercited by 87
- 2021Optimal Accounting of Differential Privacy via Characteristic Functioncited by 83
- 2020Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorizationcited by 58
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 47
- 2020Scaling up Differentially Private Deep Learning with Fast Per-Example Gradient Clippingcited by 46
- 2015Efficient Per-Example Gradient Computationscited by 42
- 2021On the Convergence and Calibration of Deep Learning with Differential Privacycited by 36
- 2021Fast and Memory Efficient Differentially Private-SGD via JL Projectionscited by 29
- 2019Efficient Per-Example Gradient Computations in Convolutional Neural Networkscited by 17
Built on by
Citing papers per year: 2022: 1; 2023: 11; 2024: 20; 2025: 23; 2026: 10.
65 papers.
Sort:
By area:
- 2024Data Shapley in One Training Runcited by 76
- 2023Privacy-Preserving In-Context Learning for Large Language Modelscited by 50
- 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
- 2024LLM-PBE: Assessing Data Privacy in Large Language Modelscited by 38
- 2023Why Is Public Pretraining Necessary for Private Model Training?cited by 36
- 2024Privacy-Preserving Instructions for Aligning Large Language Modelscited by 34
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMscited by 29
- 2023DPZero: Private Fine-Tuning of Language Models without Backpropagationcited by 26
- 2024Purifying Large Language Models by Ensembling a Small Language Modelcited by 25
- 2023Differentially Private Natural Language Models: Recent Advances and Future Directionscited by 20
- 2023Differentially Private Image Classification by Learning Priors from Random Processescited by 19
- 2024RAG with Differential Privacycited by 18
38 more
- 2024Privacy in Fine-tuning Large Language Models: Attacks, Defenses, and Future Directionscited by 14
- 2025Tokens for Learning, Tokens for Unlearning: Mitigating Membership Inference Attacks in Large Language Models via Dual-Purpose Trainingcited by 14
- 2023Tangent Transformers for Composition, Privacy and Removalcited by 13
- 2023DP-SGD Without Clipping: The Lipschitz Neural Network Waycited by 11
- 2024DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise Reductioncited by 10
- 2024Pre-training Differentially Private Models with Limited Public Datacited by 8
- 2022Differentially Private Image Classification from Featurescited by 7
- 2023On the accuracy and efficiency of group-wise clipping in differentially private optimizationcited by 7
- 2023Zero redundancy distributed learning with differential privacycited by 7
- 2024A Survey of Privacy-Preserving Model Explanations: Privacy Risks, Attacks, and Countermeasurescited by 6
- 2024Privacy Bias in Language Models: A Contextual Integrity-based Auditing Metriccited by 6
- 2023On the Benefits of Public Representations for Private Transfer Learning under Distribution Shiftcited by 5
- 2024Differentially Private Representation Learning via Image Captioningcited by 5
- 2024Delving into Differentially Private Transformercited by 5
- 2025Generating Synthetic Data with Formal Privacy Guarantees: State of the Art and the Road Aheadcited by 4
- 2025Can Differentially Private Fine-tuning LLMs Protect Against Privacy Attacks?cited by 4
- 2024Efficient and Scalable Implementation of Differentially Private Deep Learning without Shortcutscited by 3
- 2025Empirical Privacy Variancecited by 3
- 2023DPFormer: Learning Differentially Private Transformer on Long-Tailed Datacited by 2
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Racecited by 2
- 2025Memory-Efficient Differentially Private Training with Gradient Random Projectioncited by 2
- 2025Per-example gradients: a new frontier for understanding and improving optimizerscited by 2
- 2025PATCH: Mitigating PII Leakage in Language Models with Privacy-Aware Targeted Circuit PatcHingcited by 2
- 2025Private Zeroth-Order Optimization with Public Datacited by 2
- 2026JAX-Privacy: A library for differentially private machine learningcited by 2
- 2024Dataset Condensation Driven Machine Unlearningcited by 1
- 2024Efficient Differentially Private Fine-Tuning of Diffusion Modelscited by 1
- 2025AdvSGM: Differentially Private Graph Learning via Adversarial Skip-gram Modelcited by 1
- 2025FlashDP: Private Training Large Language Models with Efficient DP-SGDcited by 1
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Trainingcited by 1
- 2025Privacy-Preserving Generation of Clinical Narratives from Medical Terminologiescited by 1
- 2025Correlating Cross-Iteration Noise for DP-SGD using Model Curvaturecited by 1
- 2025Cocoon: A System Architecture for Differentially Private Training with Correlated Noisescited by 1
- 2025PrivORL: Differentially Private Synthetic Dataset for Offline Reinforcement Learningcited by 1
- 2026Filter-then-Weight: Online Data Selection and Reweighting for LLM Fine-Tuningcited by 1
- 2026FIBER: A Differentially Private Optimizer with Filter-Aware Innovation Bias Correctioncited by 1
- 2026Efficient DP-SGD for LLMs with Randomized Clippingcited by 1
- 2024LMO-DP: Optimizing the Randomization Mechanism for Differentially Private Fine-Tuning (Large) Language Modelscited by 0
50 most cited of 65 All 65 (JSON)
- 2026Every Batch Is Its Own Validation Set: Leave-One-Out Gradient Matching for Online Data Selection in LLM Fine-Tuning30 Sep 2026
- 2026Spectral Gradient Orthogonalization Improves Differentially Private Training at Scale18 Aug 2026
- 2026Reducing Per-Sample Interference in Stochastic Optimization28 Jun 2026
- 2026Efficient DP-SGD for LLMs with Randomized Clipping24 May 2026
- 2026PACZero: PAC-Private Fine-Tuning of Language Models via Sign Quantization7 May 2026
- 2026FIBER: A Differentially Private Optimizer with Filter-Aware Innovation Bias Correction5 May 2026
- 2026Filter-then-Weight: Online Data Selection and Reweighting for LLM Fine-Tuning8 Mar 2026
- 2026Lap2: Revisiting Laplace DP-SGD for High Dimensions via Majorization Theory26 Feb 2026
- 2026JAX-Privacy: A library for differentially private machine learning19 Feb 2026
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt12 Feb 2026
- 2025PrivORL: Differentially Private Synthetic Dataset for Offline Reinforcement Learning8 Dec 2025
- 2025Adversarial Signed Graph Learning with Differential Privacy29 Nov 2025
38 more
- 2025Private Zeroth-Order Optimization with Public Data13 Nov 2025
- 2025PATCH: Mitigating PII Leakage in Language Models with Privacy-Aware Targeted Circuit PatcHing8 Oct 2025
- 2025Cocoon: A System Architecture for Differentially Private Training with Correlated Noises8 Oct 2025
- 2025Correlating Cross-Iteration Noise for DP-SGD using Model Curvature6 Oct 2025
- 2025Re-examining Low Rank adaptation for private LLM fine-tuning1 Oct 2025
- 2025Per-example gradients: a new frontier for understanding and improving optimizers30 Sep 2025
- 2025Privacy-Preserving Generation of Clinical Narratives from Medical Terminologies13 Sep 2025
- 2025Stabilization of Perturbed Loss Function: Differential Privacy without Gradient Noise21 Aug 2025
- 2025Towards Reliable and Generalizable Differentially Private Machine Learning (Extended Version)21 Aug 2025
- 2025Lower Bounds for Public-Private Learning under Distribution Shift23 Jul 2025
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Training2 Jul 2025
- 2025FlashDP: Private Training Large Language Models with Efficient DP-SGD1 Jul 2025
- 2025Memory-Efficient Differentially Private Training with Gradient Random Projection18 Jun 2025
- 2025FERRET: Private Deep Learning Faster And Better Than DPSGD4 Jun 2025
- 2025Can Differentially Private Fine-tuning LLMs Protect Against Privacy Attacks?28 Apr 2025
- 2025AdvSGM: Differentially Private Graph Learning via Adversarial Skip-gram Model27 Mar 2025
- 2025Generating Synthetic Data with Formal Privacy Guarantees: State of the Art and the Road Ahead26 Mar 2025
- 2025Empirical Privacy Variance16 Mar 2025
- 2025Position: Neglecting the Sustainability of AI is Fuelling a Global AI Arms Race27 Feb 2025
- 2025Tokens for Learning, Tokens for Unlearning: Mitigating Membership Inference Attacks in Large Language Models via Dual-Purpose Training27 Feb 2025
- 2025Structure-Preference Enabled Graph Embedding Generation under Differential Privacy7 Jan 2025
- 2024RAG with Differential Privacy26 Dec 2024
- 2024Privacy in Fine-tuning Large Language Models: Attacks, Defenses, and Future Directions21 Dec 2024
- 2024DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise Reduction4 Oct 2024
- 2024Privacy Bias in Language Models: A Contextual Integrity-based Auditing Metric5 Sep 2024
- 2024LLM-PBE: Assessing Data Privacy in Large Language Models23 Aug 2024
- 2024Differentially Private Block-wise Gradient Shuffle for Deep Learning31 Jul 2024
- 2024Weights Shuffling for Improving DPSGD in Transformer-based Models22 Jul 2024
- 2024Efficient and Scalable Implementation of Differentially Private Deep Learning without Shortcuts25 Jun 2024
- 2024Data Shapley in One Training Run16 Jun 2024
- 2024Efficient Differentially Private Fine-Tuning of Diffusion Models7 Jun 2024
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs5 Jun 2024
- 2024LMO-DP: Optimizing the Randomization Mechanism for Differentially Private Fine-Tuning (Large) Language Models29 May 2024
- 2024Delving into Differentially Private Transformer28 May 2024
- 2024A Survey of Privacy-Preserving Model Explanations: Privacy Risks, Attacks, and Countermeasures31 Mar 2024
- 2024Differentially Private Representation Learning via Image Captioning4 Mar 2024
- 2024Pre-training Differentially Private Models with Limited Public Data28 Feb 2024
- 2024Privacy-Preserving Instructions for Aligning Large Language Models21 Feb 2024
50 newest of 65 All 65 (JSON)
- 2024Purifying Large Language Models by Ensembling a Small Language Modelcited by 25
- 2024Privacy in Fine-tuning Large Language Models: Attacks, Defenses, and Future Directionscited by 14
- 2025Tokens for Learning, Tokens for Unlearning: Mitigating Membership Inference Attacks in Large Language Models via Dual-Purpose Trainingcited by 14
- 2024Dataset Condensation Driven Machine Unlearningcited by 1
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Trainingcited by 1
- 2025Tuning without Peeking: Provable Generalization Bounds and Robust LLM Post-Training2 Jul 2025
- 2025Tokens for Learning, Tokens for Unlearning: Mitigating Membership Inference Attacks in Large Language Models via Dual-Purpose Training27 Feb 2025
- 2024Privacy in Fine-tuning Large Language Models: Attacks, Defenses, and Future Directions21 Dec 2024
- 2024Purifying Large Language Models by Ensembling a Small Language Model19 Feb 2024
- 2024Dataset Condensation Driven Machine Unlearning31 Jan 2024
- 2024RAG with Differential Privacycited by 18
- 2024RAG with Differential Privacy26 Dec 2024
- 2024Data Shapley in One Training Runcited by 76
- 2023Privacy-Preserving In-Context Learning for Large Language Modelscited by 50
- 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
- 2024LLM-PBE: Assessing Data Privacy in Large Language Modelscited by 38
- 2023Why Is Public Pretraining Necessary for Private Model Training?cited by 36
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMscited by 29
- 2023DPZero: Private Fine-Tuning of Language Models without Backpropagationcited by 26
- 2023Differentially Private Natural Language Models: Recent Advances and Future Directionscited by 20
- 2023Differentially Private Image Classification by Learning Priors from Random Processescited by 19
- 2023Tangent Transformers for Composition, Privacy and Removalcited by 13
- 2023DP-SGD Without Clipping: The Lipschitz Neural Network Waycited by 11
- 2024DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise Reductioncited by 10
12 most cited of 56 All 56 (JSON)
- 2026Every Batch Is Its Own Validation Set: Leave-One-Out Gradient Matching for Online Data Selection in LLM Fine-Tuning30 Sep 2026
- 2026Spectral Gradient Orthogonalization Improves Differentially Private Training at Scale18 Aug 2026
- 2026Reducing Per-Sample Interference in Stochastic Optimization28 Jun 2026
- 2026Efficient DP-SGD for LLMs with Randomized Clipping24 May 2026
- 2026PACZero: PAC-Private Fine-Tuning of Language Models via Sign Quantization7 May 2026
- 2026FIBER: A Differentially Private Optimizer with Filter-Aware Innovation Bias Correction5 May 2026
- 2026Filter-then-Weight: Online Data Selection and Reweighting for LLM Fine-Tuning8 Mar 2026
- 2026Lap2: Revisiting Laplace DP-SGD for High Dimensions via Majorization Theory26 Feb 2026
- 2026JAX-Privacy: A library for differentially private machine learning19 Feb 2026
- 2026Differentially Private and Communication Efficient Large Language Model Split Inference via Stochastic Quantization and Soft Prompt12 Feb 2026
- 2025Adversarial Signed Graph Learning with Differential Privacy29 Nov 2025
- 2025Private Zeroth-Order Optimization with Public Data13 Nov 2025
12 newest of 56 All 56 (JSON)