Large-Scale Differentially Private BERT
Not on the map. Why?
Abstract (arXiv)
In this work, we study the large-scale pretraining of BERT-Large with differentially private SGD (DP-SGD). We show that combined with a careful implementation, scaling up the batch size to millions (i.e., mega-batches) improves the utility of the DP-SGD step for BERT; we also enhance its efficiency by using an increasing batch size schedule. Our implementation builds on the recent work of [SVK20], who demonstrated that the overhead of a DP-SGD step is minimized with effective use of JAX [BFH+18, FJL18] primitives in conjunction with the XLA compiler [XLA17]. Our implementation achieves a masked language model accuracy of 60.5% at a batch size of 2M, for ε = 5.36. To put this number in perspective, non-private BERT models achieve an accuracy of ~70%.
Key facts. Cited by 117 papers in the map (data through 7 Oct 2026). Builds on 41 of its 64 references that are in the map. First posted on arXiv 3 Aug 2021.
Builds on
41 of 64 references.
References · 41
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 6,979
- 2016Layer Normalizationcited by 5,579
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
- 2016Deep Learning with Differential Privacycited by 2,682
- 2020Extracting Training Data from Large Language Modelscited by 2,144
- 2017Decoupled Weight Decay Regularizationcited by 1,722
- 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
- 2021MLP-Mixer: An all-MLP Architecture for Visioncited by 1,441
29 more
- 2015Aligning Books and Movies: Towards Story-like Visual Explanations by Watching Movies and Reading Bookscited by 1,041
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 896
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
- 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 671
- 2017Renyi Differential Privacycited by 643
- 2017In-Datacenter Performance Analysis of a Tensor Processing Unitcited by 610
- 2016Weight Normalization: A Simple Reparameterization to Accelerate Training of Deep Neural Networkscited by 541
- 2019Does Learning Require Memorization? A Short Tale about a Long Tailcited by 452
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2021FNet: Mixing Tokens with Fourier Transformscited by 343
- 2017Don't Decay the Learning Rate, Increase the Batch Sizecited by 313
- 2018Privacy Amplification by Subsampling: Tight Analyses via Couplings and Divergencescited by 237
- 2019Differentially Private Learning with Adaptive Clippingcited by 218
- 2018Measuring the Effects of Data Parallelism on Neural Network Trainingcited by 190
- 2021Numerical Composition of Differential Privacycited by 174
- 2018Large scale distributed neural network training through online distillationcited by 144
- 2021GSPMD: General and Scalable Parallelization for ML Computation Graphscited by 109
- 2020When is Memorization of Irrelevant Training Data Necessary for High-Accuracy Learning?cited by 102
- 2019AdaCliP: Adaptive Clipping for Private SGDcited by 77
- 2018Norm matters: efficient and accurate normalization schemes in deep networkscited by 62
- 2019Robust Bi-Tempered Logistic Loss Based on Bregman Divergencescited by 61
- 2020Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorizationcited by 58
- 2017Riemannian approach to batch normalizationcited by 35
- 2017Learning Differentially Private Recurrent Language Modelscited by 32
- 2021A Large Batch Optimizer Reality Check: Traditional, Generic Optimizers Suffice Across Batch Sizescited by 20
- 2019Memory-Efficient Adaptive Optimizationcited by 19
- 2019Faster Neural Network Training with Data Echoingcited by 19
- 2021LocoProp: Enhancing BackProp via Local Loss Optimizationcited by 15
- 2020Stochastic Optimization with Laggard Data Pipelinescited by 7
Built on by
Citing papers per year: 2021: 7; 2022: 29; 2023: 26; 2024: 34; 2025: 13; 2026: 8.
117 papers.
Sort:
By area:
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 218
- 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMscited by 211
- 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 195
- 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
- 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
- 2023How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacycited by 150
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
38 more
- 2022Differentially Private Diffusion Modelscited by 118
- 2023Foundation Models and Fair Usecited by 112
- 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 97
- 2022Toward Training at ImageNet Scale with Differential Privacycited by 87
- 2022Position: Considerations for Differentially Private Learning with Large-Scale Public Pretrainingcited by 86
- 2023Flocks of Stochastic Parrots: Differentially Private Prompt Learning for Large Language Modelscited by 80
- 2023The MiniPile Challenge for Data-Efficient Language Modelscited by 74
- 2024Differentially Private Synthetic Data via Foundation Model APIs 2: Textcited by 74
- 2022Differentially Private Language Models for Secure Data Sharingcited by 68
- 2021Differential privacy and robust statistics in high dimensionscited by 64
- 2023Differentially Private Synthetic Data via Foundation Model APIs 1: Imagescited by 63
- 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clippingcited by 52
- 2022A Customized Text Sanitization Mechanism with Differential Privacycited by 51
- 2022TAN Without a Burn: Scaling Laws of DP-SGDcited by 51
- 2024Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMscited by 50
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
- 2021Node-Level Differentially Private Graph Neural Networkscited by 43
- 2023Privacy-Preserving Parameter-Efficient Fine-Tuning for Large Language Model Servicescited by 43
- 2024To Each (Textual Sequence) Its Own: Improving Memorized-Data Unlearning in Large Language Modelscited by 42
- 2023Differentially Private Low-Rank Adaptation of Large Language Model Using Federated Learningcited by 41
- 2022Large Scale Transfer Learning for Differentially Private Image Classificationcited by 40
- 2023One-shot Empirical Privacy Estimation for Federated Learningcited by 35
- 2024Privacy-Preserving Instructions for Aligning Large Language Modelscited by 34
- 2022Just Fine-tune Twice: Selective Differential Privacy for Large Language Modelscited by 32
- 2024On the Privacy Risk of In-context Learningcited by 31
- 2023Identifying and Mitigating Privacy Risks Stemming from Language Models: A Surveycited by 30
- 2024Privacy Leakage on DNNs: A Survey of Model Inversion Attacks and Defensescited by 30
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMscited by 29
- 2022On the Impossible Safety of Large AI Modelscited by 27
- 2023Quantifying Association Capabilities of Large Language Models and Its Implications on Privacy Leakagecited by 26
- 2024Learnable Privacy Neurons Localization in Language Modelscited by 26
- 2023MoPe: Model Perturbation-based Privacy Attacks on Language Modelscited by 25
- 2022Learning to Generate Image Embeddings with User-level Differential Privacycited by 23
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Surveycited by 23
- 2023Selective Pre-training for Private Fine-tuningcited by 22
- 2024How Private are DP-SGD Implementations?cited by 22
- 2025Privacy Auditing of Large Language Modelscited by 22
- 2024Mind the Privacy Unit! User-Level Differential Privacy for Language Model Fine-Tuningcited by 21
50 most cited of 117 All 117 (JSON)
- 2026Is Weight Tying Still Beneficial for Decoder-Only LLMs in Private Settings Under DP-SGD?30 Sep 2026
- 2026ContinuousBench: Can Differentially Private Synthetic Text Improve Capabilities?1 Jun 2026
- 2026From Privacy to Generalization: Linear Max-Information Bounds for Differentially Private Learning Algorithms25 May 2026
- 2026On the Price of Privacy for Language Identification and Generation8 Apr 2026
- 2026Amplified Patch-Level Differential Privacy for Free via Random Cropping25 Mar 2026
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
- 2026Rethinking Benchmarks for Differentially Private Image Classification23 Jan 2026
- 2026Fundamental Limitations of Favorable Privacy-Utility Guarantees for DP-SGD15 Jan 2026
- 2025A Study of Privacy-preserving Language Modeling Approaches21 Aug 2025
- 2025FlashDP: Private Training Large Language Models with Efficient DP-SGD1 Jul 2025
- 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attacks12 Jun 2025
- 2025Positional Fragility in LLMs: How Offset Effects Reshape Our Understanding of Memorization Risks19 May 2025
38 more
- 2025How Private is Your Attention? Bridging Privacy with In-Context Learning22 Apr 2025
- 2025Stereo-LiDAR Fusion by Semi-Global Matching With Discrete Disparity-Matching Cost and Semidensification7 Apr 2025
- 2025Empirical Calibration and Metric Differential Privacy in Language Models18 Mar 2025
- 2025Empirical Privacy Variance16 Mar 2025
- 2025PoisonedParrot: Subtle Data Poisoning Attacks to Elicit Copyright-Infringing Content from Large Language Models10 Mar 2025
- 2025Privacy Auditing of Large Language Models9 Mar 2025
- 2025Mitigating Memorization in LLMs using Activation Steering8 Mar 2025
- 2025Continual Release Moment Estimation with Differential Privacy10 Feb 2025
- 2025A Lightweight Method to Disrupt Memorized Sequences in LLM7 Feb 2025
- 2024Balls-and-Bins Sampling for DP-SGD21 Dec 2024
- 2024Copyright-Protected Language Generation via Adaptive Model Fusion9 Dec 2024
- 2024On the Privacy Risk of In-context Learning15 Nov 2024
- 2024Scalable DP-SGD: Shuffling vs. Poisson Subsampling6 Nov 2024
- 2024R+R:Understanding Hyperparameter Effects in DP-SGD4 Nov 2024
- 2024Risk Sources and Risk Management Measures in Support of Standards for General-Purpose AI Systems30 Oct 2024
- 2024An Auditing Test To Detect Behavioral Shift in Language Models25 Oct 2024
- 2024Does Differential Privacy Impact Bias in Pretrained NLP Models?24 Oct 2024
- 2024Privately Learning from Graphs with Applications in Fine-tuning Large Language Models10 Oct 2024
- 2024Enhancing Text-to-SQL Capabilities of Large Language Models via Domain Database Knowledge Injection24 Sep 2024
- 2024Training Large ASR Encoders with Differential Privacy21 Sep 2024
- 2024A Different Level Text Protection Mechanism With Differential Privacy5 Sep 2024
- 2024Strong Copyright Protection for Language Models via Adaptive Model Fusion29 Jul 2024
- 2024Weights Shuffling for Improving DPSGD in Transformer-based Models22 Jul 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024
- 2024Mind the Privacy Unit! User-Level Differential Privacy for Language Model Fine-Tuning20 Jun 2024
- 2024Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMs14 Jun 2024
- 2024REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary Space13 Jun 2024
- 2024Deconstructing The Ethics of Large Language Models from Long-standing Issues to New-emerging Dilemmas: A Survey8 Jun 2024
- 2024PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs5 Jun 2024
- 2024Delving into Differentially Private Transformer28 May 2024
- 2024Learnable Privacy Neurons Localization in Language Models16 May 2024
- 2024ExplainableDetector: Exploring Transformer-based Language Modeling Approach for SMS Spam Detection with Explainability Analysis12 May 2024
- 2024To Each (Textual Sequence) Its Own: Improving Memorized-Data Unlearning in Large Language Models6 May 2024
- 2024LazyDP: Co-Designing Algorithm-Software for Scalable Training of Differentially Private Recommendation Models12 Apr 2024
- 2024How Private are DP-SGD Implementations?26 Mar 2024
- 2024DP-TabICL: In-Context Learning with Differentially Private Tabular Data8 Mar 2024
- 2024Privacy-preserving Fine-tuning of Large Language Models through Flatness7 Mar 2024
- 2024Differentially Private Synthetic Data via Foundation Model APIs 2: Text4 Mar 2024
50 newest of 117 All 117 (JSON)
- 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Modelscited by 424
- 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMscited by 211
- 2024Security and Privacy Challenges of Large Language Models: A Surveycited by 179
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)cited by 44
- 2024To Each (Textual Sequence) Its Own: Improving Memorized-Data Unlearning in Large Language Modelscited by 42
- 2024On the Privacy Risk of In-context Learningcited by 31
- 2025Privacy Auditing of Large Language Modelscited by 22
- 2024REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary Spacecited by 12
- 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attackscited by 9
- 2025PoisonedParrot: Subtle Data Poisoning Attacks to Elicit Copyright-Infringing Content from Large Language Modelscited by 3
- 2024Amplifying Training Data Exposure through Fine-Tuning with Pseudo-Labeled Membershipscited by 0
- 2025SOFT: Selective Data Obfuscation for Protecting LLM Fine-tuning against Membership Inference Attacks12 Jun 2025
- 2025PoisonedParrot: Subtle Data Poisoning Attacks to Elicit Copyright-Infringing Content from Large Language Models10 Mar 2025
- 2025Privacy Auditing of Large Language Models9 Mar 2025
- 2024On the Privacy Risk of In-context Learning15 Nov 2024
- 2024Operationalizing a Threat Model for Red-Teaming Large Language Models (LLMs)20 Jul 2024
- 2024REVS: Unlearning Sensitive Information in Language Models via Rank Editing in the Vocabulary Space13 Jun 2024
- 2024To Each (Textual Sequence) Its Own: Improving Memorized-Data Unlearning in Large Language Models6 May 2024
- 2024Amplifying Training Data Exposure through Fine-Tuning with Pseudo-Labeled Memberships19 Feb 2024
- 2024Security and Privacy Challenges of Large Language Models: A Survey30 Jan 2024
- 2023Unlearn What You Want to Forget: Efficient Unlearning for LLMs31 Oct 2023
- 2022Knowledge Unlearning for Mitigating Privacy Risks in Language Models4 Oct 2022
- 2022Differentially Private Diffusion Modelscited by 118
- 2022Differentially Private Diffusion Models18 Oct 2022
- 2021Scaling Language Models: Methods, Analysis & Insights from Training Gophercited by 1,199
- 2022Quantifying Memorization Across Neural Language Modelscited by 755
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
- 2021Differentially Private Fine-tuning of Language Modelscited by 392
- 2022Unlocking High-Accuracy Differentially Private Image Classification through Scalecited by 218
- 2022Are Large Pre-Trained Language Models Leaking Your Personal Information?cited by 195
- 2022What Does it Mean for a Language Model to Preserve Privacy?cited by 194
- 2023How to DP-fy ML: A Practical Guide to Machine Learning with Differential Privacycited by 150
- 2023Emergent and Predictable Memorization in Large Language Modelscited by 147
- 2023Foundation Models and Fair Usecited by 112
- 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 97
- 2022Toward Training at ImageNet Scale with Differential Privacycited by 87
12 most cited of 103 All 103 (JSON)
- 2026Is Weight Tying Still Beneficial for Decoder-Only LLMs in Private Settings Under DP-SGD?30 Sep 2026
- 2026ContinuousBench: Can Differentially Private Synthetic Text Improve Capabilities?1 Jun 2026
- 2026From Privacy to Generalization: Linear Max-Information Bounds for Differentially Private Learning Algorithms25 May 2026
- 2026On the Price of Privacy for Language Identification and Generation8 Apr 2026
- 2026Amplified Patch-Level Differential Privacy for Free via Random Cropping25 Mar 2026
- 2026In Transformer We Trust? A Perspective on Transformer Architecture Failure Modes15 Feb 2026
- 2026Rethinking Benchmarks for Differentially Private Image Classification23 Jan 2026
- 2026Fundamental Limitations of Favorable Privacy-Utility Guarantees for DP-SGD15 Jan 2026
- 2025A Study of Privacy-preserving Language Modeling Approaches21 Aug 2025
- 2025FlashDP: Private Training Large Language Models with Efficient DP-SGD1 Jul 2025
- 2025Positional Fragility in LLMs: How Offset Effects Reshape Our Understanding of Memorization Risks19 May 2025
- 2025How Private is Your Attention? Bridging Privacy with In-Context Learning22 Apr 2025
12 newest of 103 All 103 (JSON)