Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorization
Not on the map. Why?
Abstract (arXiv)
A common pain point in differentially private machine learning is the significant runtime overhead incurred when executing Differentially Private Stochastic Gradient Descent (DPSGD), which may be as large as two orders of magnitude. We thoroughly demonstrate that by exploiting powerful language primitives, including vectorization, just-in-time compilation, and static graph optimization, one can dramatically reduce these overheads, in many cases nearly matching the best non-private running times. These gains are realized in two frameworks: JAX and TensorFlow. JAX provides rich support for these primitives as core features of the language through the XLA compiler. We also rebuild core parts of TensorFlow Privacy, integrating features from TensorFlow 2 as well as XLA compilation, granting significant memory and runtime improvements over the current release version. These approaches allow us to achieve up to 50x speedups in comparison to the best alternatives. Our code is available at https://github.com/TheSalon/fast-dpsgd.
Key facts. Cited by 58 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Oct 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 14; 2022: 19; 2023: 10; 2024: 9; 2025: 4; 2026: 2.
58 papers.
Sort:
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
- 2021Differentially Private Fine-tuning of Language Modelscited by 400
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 383
- 2023How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacycited by 153
- 2021Large-Scale Differentially Private BERTcited by 118
- 2021Deep Learning with Label Differential Privacycited by 117
- 2022Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipecited by 108
- 2021PPFL: Privacy-preserving Federated Learning with Trusted Execution Environmentscited by 93
- 2022Toward Training at ImageNet Scale with Differential Privacycited by 87
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clippingcited by 52
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 48
38 more
- 2022Differentially Private Bias-Term Fine-tuning of Foundation Modelscited by 48
- 2022Large Scale Transfer Learning for Differentially Private Image Classificationcited by 41
- 2022On Privacy and Personalization in Cross-Silo Federated Learningcited by 36
- 2021Deep Active Learning by Leveraging Training Dynamicscited by 32
- 2021Privacy Regularization: Joint Privacy-Utility Optimization in Language Modelscited by 30
- 2021Fast and Memory Efficient Differentially Private-SGD via JL Projectionscited by 29
- 2022Differentially private training of residual networks with scale normalisationcited by 26
- 2023Selective Pre-training for Private Fine-tuningcited by 23
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device MLcited by 21
- 2021DPNAS: Neural Architecture Search for Deep Learning with Differential Privacycited by 20
- 2022Differentially Private Adaptive Optimization with Delayed Preconditionerscited by 18
- 2023Choosing Public Datasets for Private Machine Learning via Gradient Subspace Distancecited by 16
- 2022DPIS: An Enhanced Mechanism for Differentially Private SGD with Importance Samplingcited by 13
- 2022Privacy-Preserving Domain Adaptation of Semantic Parserscited by 12
- 2022Privacy-Preserving Models for Legal Natural Language Processingcited by 10
- 2023Synthetic Query Generation for Privacy-Preserving Deep Retrieval Systems using Differentially Private Language Modelscited by 10
- 2022SF-PATE: Scalable, Fair, and Private Aggregation of Teacher Ensemblescited by 8
- 2021DP-FP: Differentially Private Forward Propagation for Large Modelscited by 7
- 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
- 2023DP-NMT: Scalable Differentially-Private Machine Translationcited by 7
- 2022Private Ad Modeling with DP-SGDcited by 6
- 2024Delving into Differentially Private Transformercited by 5
- 2022DiVa: An Accelerator for Differentially Private Machine Learningcited by 4
- 2023Generative Model-Based Attack on Learnable Image Encryption for Privacy-Preserving Deep Learningcited by 4
- 2024Efficient and Scalable Implementation of Differentially Private Deep Learning without Shortcutscited by 3
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Modelscited by 3
- 2021D3p -- A Python Package for Differentially-Private Probabilistic Programmingcited by 2
- 2023DPFormer: Learning Differentially Private Transformer on Long-Tailed Datacited by 2
- 2024Efficiently Train ASR Models that Memorize Less and Perform Better with Per-core Clippingcited by 2
- 2024Differentially Private Prototypes for Imbalanced Transfer Learningcited by 2
- 2024Training Large ASR Encoders with Differential Privacycited by 2
- 2025Private Zeroth-Order Optimization with Public Datacited by 2
- 2021Towards Prior-Free Approximately Truthful One-Shot Auction Learning via Differential Privacycited by 1
- 2022Rieoptax: Riemannian Optimization in JAXcited by 1
- 2024Universally Harmonizing Differential Privacy Mechanisms for Federated Learning: Boosting Accuracy and Convergencecited by 1
- 2024Noise is All You Need: Private Second-Order Convergence of Noisy SGDcited by 1
50 most cited of 58 All 58 (JSON)
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026Rethinking Anonymity Claims in Synthetic Data Generation: A Model-Centric Privacy Attack Perspective30 Jan 2026
- 2025Private Zeroth-Order Optimization with Public Data13 Nov 2025
- 2025Balancing Utility and Privacy: Dynamically Private SGD with Random Projection11 Sep 2025
- 2025DPQuant: Efficient and Differentially-Private Model Training via Dynamic Quantization Scheduling3 Sep 2025
- 2025Towards Reliable and Generalizable Differentially Private Machine Learning (Extended Version)21 Aug 2025
- 2024Reconciling Privacy and Explainability in High-Stakes: A Systematic Inquiry30 Dec 2024
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Models15 Nov 2024
- 2024Noise is All You Need: Private Second-Order Convergence of Noisy SGD9 Oct 2024
- 2024Training Large ASR Encoders with Differential Privacy21 Sep 2024
- 2024Universally Harmonizing Differential Privacy Mechanisms for Federated Learning: Boosting Accuracy and Convergence20 Jul 2024
- 2024Efficient and Scalable Implementation of Differentially Private Deep Learning without Shortcuts25 Jun 2024
38 more
- 2024Differentially Private Prototypes for Imbalanced Transfer Learning12 Jun 2024
- 2024Efficiently Train ASR Models that Memorize Less and Perform Better with Per-core Clipping4 Jun 2024
- 2024Delving into Differentially Private Transformer28 May 2024
- 2023DP-NMT: Scalable Differentially-Private Machine Translation24 Nov 2023
- 2023Zero redundancy distributed learning with differential privacy20 Nov 2023
- 2023On the accuracy and efficiency of group-wise clipping in differentially private optimization30 Oct 2023
- 2023No Privacy Left Outside: On the (In-)Security of TEE-Shielded DNN Partition for On-Device ML11 Oct 2023
- 2023DPFormer: Learning Differentially Private Transformer on Long-Tailed Data28 May 2023
- 2023Selective Pre-training for Private Fine-tuning23 May 2023
- 2023Synthetic Query Generation for Privacy-Preserving Deep Retrieval Systems using Differentially Private Language Models10 May 2023
- 2023Generative Model-Based Attack on Learnable Image Encryption for Privacy-Preserving Deep Learning9 Mar 2023
- 2023Choosing Public Datasets for Private Machine Learning via Gradient Subspace Distance2 Mar 2023
- 2023How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacy1 Mar 2023
- 2022Privacy-Preserving Domain Adaptation of Semantic Parsers20 Dec 2022
- 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clipping3 Dec 2022
- 2022Differentially Private Adaptive Optimization with Delayed Preconditioners1 Dec 2022
- 2022Differentially Private Image Classification from Features24 Nov 2022
- 2022Private Multi-Winner Voting for Machine Learning23 Nov 2022
- 2022Private Ad Modeling with DP-SGD21 Nov 2022
- 2022Privacy-Preserving Models for Legal Natural Language Processing5 Nov 2022
- 2022Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipe25 Oct 2022
- 2022DPIS: An Enhanced Mechanism for Differentially Private SGD with Importance Sampling18 Oct 2022
- 2022Rieoptax: Riemannian Optimization in JAX10 Oct 2022
- 2022Differentially Private Optimization on Large Model at Small Cost30 Sep 2022
- 2022Differentially Private Bias-Term Fine-tuning of Foundation Models30 Sep 2022
- 2022DiVa: An Accelerator for Differentially Private Machine Learning26 Aug 2022
- 2022On Privacy and Personalization in Cross-Silo Federated Learning16 Jun 2022
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy21 May 2022
- 2022Large Scale Transfer Learning for Differentially Private Image Classification6 May 2022
- 2022SF-PATE: Scalable, Fair, and Private Aggregation of Teacher Ensembles11 Apr 2022
- 2022Differentially private training of residual networks with scale normalisation1 Mar 2022
- 2022Toward Training at ImageNet Scale with Differential Privacy28 Jan 2022
- 2021DP-FP: Differentially Private Forward Propagation for Large Models29 Dec 2021
- 2021Deep Active Learning by Leveraging Training Dynamics16 Oct 2021
- 2021DPNAS: Neural Architecture Search for Deep Learning with Differential Privacy16 Oct 2021
- 2021Differentially Private Fine-tuning of Language Models13 Oct 2021
- 2021Large Language Models Can Be Strong Differentially Private Learners12 Oct 2021
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorch25 Sep 2021
50 newest of 58 All 58 (JSON)
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
- 2021Differentially Private Fine-tuning of Language Modelscited by 400
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 383
- 2023How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacycited by 153
- 2021Large-Scale Differentially Private BERTcited by 118
- 2021Deep Learning with Label Differential Privacycited by 117
- 2022Synthetic Text Generation with Differential Privacy: A Simple and Practical Recipecited by 108
- 2021PPFL: Privacy-preserving Federated Learning with Trusted Execution Environmentscited by 93
- 2022Toward Training at ImageNet Scale with Differential Privacycited by 87
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clippingcited by 52
- 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 48
12 most cited of 58 All 58 (JSON)
- 2026Position: Zeroth-Order Optimization in Deep Learning Is Underexplored, Not Underpowered15 May 2026
- 2026Rethinking Anonymity Claims in Synthetic Data Generation: A Model-Centric Privacy Attack Perspective30 Jan 2026
- 2025Private Zeroth-Order Optimization with Public Data13 Nov 2025
- 2025Balancing Utility and Privacy: Dynamically Private SGD with Random Projection11 Sep 2025
- 2025DPQuant: Efficient and Differentially-Private Model Training via Dynamic Quantization Scheduling3 Sep 2025
- 2025Towards Reliable and Generalizable Differentially Private Machine Learning (Extended Version)21 Aug 2025
- 2024Reconciling Privacy and Explainability in High-Stakes: A Systematic Inquiry30 Dec 2024
- 2024TEESlice: Protecting Sensitive Neural Network Models in Trusted Execution Environments When Attackers have Pre-Trained Models15 Nov 2024
- 2024Noise is All You Need: Private Second-Order Convergence of Noisy SGD9 Oct 2024
- 2024Training Large ASR Encoders with Differential Privacy21 Sep 2024
- 2024Universally Harmonizing Differential Privacy Mechanisms for Federated Learning: Boosting Accuracy and Convergence20 Jul 2024
- 2024Efficient and Scalable Implementation of Differentially Private Deep Learning without Shortcuts25 Jun 2024
12 newest of 58 All 58 (JSON)