mlsanityData to 7 Oct 2026

LMO-DP: Optimizing the Randomization Mechanism for Differentially Private Fine-Tuning (Large) Language Models

arXiv 2405.18776 ↗First posted 29 May 2024cs.CR cs.CL cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

Differentially Private Stochastic Gradient Descent (DP-SGD) and its variants have been proposed to ensure rigorous privacy for fine-tuning large-scale pre-trained language models. However, they rely heavily on the Gaussian mechanism, which may overly perturb the gradients and degrade the accuracy, especially in stronger privacy regimes (e.g., the privacy budget ε < 3). To address such limitations, we propose a novel Language Model-based Optimal Differential Privacy (LMO-DP) mechanism, which takes the first step to enable the tight composition of accurately fine-tuning (large) language models with a sub-optimal DP mechanism, even in strong privacy regimes (e.g., 0.1≤ ε<3). Furthermore, we propose a novel offline optimal noise search method to efficiently derive the sub-optimal DP that significantly reduces the noise magnitude. For instance, fine-tuning RoBERTa-large (with 300M parameters) on the SST-2 dataset can achieve an accuracy of 92.20% (given ε=0.3, δ=10-10) by drastically outperforming the Gaussian mechanism (e.g., ~ 50% for small ε and δ). We also draw similar findings on the text generation tasks on GPT-2. Finally, to our best knowledge, LMO-DP is also the first solution to accurately fine-tune Llama-2 with strong differential privacy guarantees. The code will be released soon and available upon request.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 20 of its 27 references that are in the map. First posted on arXiv 29 May 2024.

Builds on

20 of 27 references.

References · 20

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  2. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  3. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 12,865
  4. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  5. 2016Deep Learning with Differential Privacycited by 2,682
  6. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  7. 2017Renyi Differential Privacycited by 643
  8. 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 405
  9. 2021Differentially Private Fine-tuning of Language Modelscited by 392
  10. 2017The E2E Dataset: New Challenges For End-to-End Generationcited by 252
  11. 2018Subsampled R'enyi Differential Privacy and Analytical Moments Accountantcited by 234
  12. 2021Numerical Composition of Differential Privacycited by 174
8 more
  1. 2021Optimal Accounting of Differential Privacy via Characteristic Functioncited by 83
  2. 2022Differentially Private Optimization on Large Model at Small Costcited by 65
  3. 2022Exploring the Limits of Differentially Private Deep Learning with Group-wise Clippingcited by 52
  4. 2022Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacycited by 47
  5. 2022Differentially Private Bias-Term Fine-tuning of Foundation Modelscited by 47
  6. 2020CAT-Gen: Improving Robustness in NLP Models via Controlled Adversarial Text Generationcited by 43
  7. 2022Individual Privacy Accounting with Gaussian Differential Privacycited by 19
  8. 2020R2DP: A Universal and Automated Approach to Optimizing the Randomization Mechanisms of Differential Privacy for Utility Metrics with No Known Optimal Distributionscited by 8

Built on by

Not cited yet.