FlashDP: Private Training Large Language Models with Efficient DP-SGD
Not on the map. Why?
Abstract (arXiv)
As large language models (LLMs) increasingly underpin technological advancements, the privacy of their training data emerges as a critical concern. Differential Privacy (DP) serves as a rigorous mechanism to protect this data, yet its integration via Differentially Private Stochastic Gradient Descent (DP-SGD) introduces substantial challenges, primarily due to the complexities of per-sample gradient clipping. Current explicit methods, such as Opacus, necessitate extensive storage for per-sample gradients, significantly inflating memory requirements. Conversely, implicit methods like GhostClip reduce storage needs by recalculating gradients multiple times, which leads to inefficiencies due to redundant computations. This paper introduces FlashDP, an innovative cache-friendly per-layer DP-SGD that consolidates necessary operations into a single task, calculating gradients only once in a fused manner. This approach not only diminishes memory movement by up to 50% but also cuts down redundant computations by 20%, compared to previous methods. Consequently, FlashDP does not increase memory demands and achieves a 90% throughput compared to the Non-DP method on a four-A100 system during the pre-training of the Llama-13B model, while maintaining parity with standard per-layer clipped DP-SGD in terms of accuracy. These advancements establish FlashDP as a pivotal development for efficient and privacy-preserving training of LLMs. FlashDP's code has been open-sourced in https://github.com/kaustpradalab/flashdp.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 33 of its 48 references that are in the map. First posted on arXiv 1 Jul 2025.
Builds on
33 of 48 references.
References · 33
- 2017Attention Is All You Needcited by 60,361
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2023GPT-4 Technical Reportcited by 18,396
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
- 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
- 2016Deep Learning with Differential Privacycited by 2,728
- 2017Mixed Precision Trainingcited by 1,156
- 2022Quantifying Memorization Across Neural Language Modelscited by 763
- 2022LLM-Planner: Few-Shot Grounded Planning for Embodied Agents with Large Language Modelscited by 462
- 2023Scalable Extraction of Training Data from (Production) Language Modelscited by 434
- 2021Large Language Models Can Be Strong Differentially Private Learnerscited by 412
- 2021Opacus: User-Friendly Differential Privacy Library in PyTorchcited by 383
21 more
- 2021A Survey of Embodied AI: From Simulators to Research Taskscited by 261
- 2023A Comprehensive Survey of AI-Generated Content (AIGC): A History of Generative AI from GAN to ChatGPTcited by 224
- 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 220
- 2021Counterfactual Memorization in Neural Language Modelscited by 156
- 2023Translating Natural Language to Planning Goals with Large-Language Modelscited by 133
- 2021How much do language models copy from their training data? Evaluating linguistic novelty in text generation using RAVENcited by 124
- 2021Large-Scale Differentially Private BERTcited by 118
- 2024LLM-based NLG Evaluation: Current Status and Challengescited by 73
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2023AI-Generated Content (AIGC): A Surveycited by 59
- 2024A Survey on Robotics with Foundation Models: toward Embodied AIcited by 56
- 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
- 2020Scaling up Differentially Private Deep Learning with Fast Per-Example Gradient Clippingcited by 47
- 2020Differentially Private Language Models Benefit from Public Pre-trainingcited by 47
- 2015Efficient Per-Example Gradient Computationscited by 42
- 2019Natural Language Processing of Clinical Notes on Chronic Diseases: Systematic Reviewcited by 36
- 2021An Efficient DP-SGD Mechanism for Large Scale NLP Modelscited by 27
- 2020torchgpipe: On-the-fly Pipeline Parallelism for Training Giant Modelscited by 26
- 2019Efficient Per-Example Gradient Computations in Convolutional Neural Networkscited by 17
- 2023On the accuracy and efficiency of group-wise clipping in differentially private optimizationcited by 7
Built on by
Citing papers per year: 2026: 1.
1 paper.