Efficient DP-SGD for LLMs with Randomized Clipping
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) are trained on vast datasets that may contain sensitive information. Differential privacy (DP), the de facto standard for formal privacy guarantees, provides a principled framework for training LLMs with provable privacy protection. However, state-of-the-art DP training implementations rely on fast gradient clipping techniques with memory overhead O(B minT2, d2), where B is the batch size, T is the sequence length, and d is the model width. This becomes prohibitive as both model size and context length grow. We propose DP-SGD-RC, a novel variant of DP-SGD with randomized clipping that reduces memory and compute complexity. DP-SGD-RC leverages stochastic trace estimation methods, specifically Hutchinson's estimator[Hutchinson, 1989] and its improved variant, Hutch++[Meyer et al., 2021], to reduce the memory footprint of per-sample gradient norm estimation. We provide a tight privacy analysis showing that DP-SGD-RC achieves noise multipliers competitive with deterministic clipping. Experiments fine-tuning Llama~3.2-1B on long-context benchmarks spanning classification, question answering, and summarization tasks demonstrate that DP-SGD-RC matches baseline utility while significantly reducing memory and compute requirements.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 23 of its 47 references that are in the map. First posted on arXiv 24 May 2026.
Builds on
23 of 47 references.
References · 23
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2016Deep Learning with Differential Privacycited by 2,682
- 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
- 2016Concentrated Differential Privacy: Simplifications, Extensions, and Lower Boundscited by 339
- 2014RAPPOR: Randomized Aggregatable Privacy-Preserving Ordinal Responsecited by 262
- 2019Differentially Private Learning with Adaptive Clippingcited by 218
- 2021Numerical Composition of Differential Privacycited by 174
- 2020Private Stochastic Convex Optimization: Optimal Rates in Linear Timecited by 152
- 2019BillSum: A Corpus for Automatic Summarization of US Legislationcited by 117
- 2021Private Stochastic Convex Optimization: Optimal Rates in ℓ1 Geometrycited by 83
11 more
- 2022Differentially Private Optimization on Large Model at Small Costcited by 65
- 2020Hutch++: Optimal Stochastic Trace Estimationcited by 62
- 2022Multi-Epoch Matrix Factorization Mechanisms for Private Machine Learningcited by 48
- 2020Scaling up Differentially Private Deep Learning with Fast Per-Example Gradient Clippingcited by 46
- 2015Efficient Per-Example Gradient Computationscited by 42
- 2024Private Fine-tuning of Large Language Models with Zeroth-order Optimizationcited by 41
- 2022Faster Rates of Convergence to Stationary Points in Differentially Private Optimizationcited by 32
- 2021Fast and Memory Efficient Differentially Private-SGD via JL Projectionscited by 29
- 2023Differentially Private SGD Without Clipping Bias: An Error-Feedback Approachcited by 13
- 2023Hutchinson's Estimator is Bad at Kronecker-Trace-Estimationcited by 4
- 2023Differentially Private Non-Convex Optimization under the KL Condition with Optimal Ratescited by 4
Built on by
Citing papers per year: 2026: 1.
1 paper.