Lune

NeurIPS2023Top-tier venue

A Unified Fast Gradient Clipping Framework for DP-SGD

Weiwei Kong, Andrés Muñoz Medina

Abstract

A well-known numerical bottleneck in the differentially-private stochastic gradient descent (DP-SGD) algorithm is the computation of the gradient norm for each example in a large input batch. When the loss function in DP-SGD consists of an intermediate linear operation, existing methods in the literature have proposed decompositions of gradients that are amenable to fast norm computations. In this paper, we present a framework that generalizes the above approach to arbitrary (possibly nonlinear) intermediate operations. Moreover, we show that for certain operations, such as fully-connected and embedding layer computations, further improvements to the runtime and storage costs of existing decompositions can be deduced using certain components of our framework. Finally, preliminary numerical experiments are given to demonstrate the substantial effects of the aforementioned improvements.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Per-example Gradients: a New Frontier for Understanding and Improving Optimizers cites Differentially Private Optimization on Large Model at Small Cost
  • Membership Inference Attacks Against Machine Learning Models cites Deep Learning with Differential Privacy
  • Differentially Private 2D Human Pose Estimation cites Membership Inference Attacks Against Machine Learning Models
  • Differentially Private 2D Human Pose Estimation cites Deep Learning with Differential Privacy
  • Differentially Private Optimization on Large Model at Small Cost cites Membership Inference Attacks Against Machine Learning Models
  • Differentially Private Optimization on Large Model at Small Cost cites Large Language Models Can Be Strong Differentially Private Learners
  • Differentially Private Optimization on Large Model at Small Cost cites Deep Learning with Differential Privacy
  • PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs cites Differentially Private Optimization on Large Model at Small Cost
  • PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs cites Large Language Models Can Be Strong Differentially Private Learners
  • PrE-Text: Training Language Models on Private Federated Data in the Age of LLMs cites Deep Learning with Differential Privacy
  • Large Language Models Can Be Strong Differentially Private Learners cites Membership Inference Attacks Against Machine Learning Models
  • Large Language Models Can Be Strong Differentially Private Learners cites Deep Learning with Differential Privacy
  • Reconstructing Training Data with Informed Adversaries cites Membership Inference Attacks Against Machine Learning Models
  • Reconstructing Training Data with Informed Adversaries cites Deep Learning with Differential Privacy
  • Data Shapley in One Training Run cites Differentially Private Optimization on Large Model at Small Cost
  • Data Shapley in One Training Run cites Large Language Models Can Be Strong Differentially Private Learners
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. PrE-Text: Training Language Models on Private Federated Data in the Age of LLMsCharlie Hou, Akshat Shrivastava, Hongyuan Zhan, Rylan Conway et al.ICML 2024 · 30 citations
  2. Per-example Gradients: a New Frontier for Understanding and Improving OptimizersVincent Roulet, Atish AgarwalaICML 2026 · 2 citations
  3. Differentially Private 2D Human Pose EstimationKaushik Bhargav Sivangi, Paul Henderson, Fani DeligianniCVPR 2026 · 1 citation
  4. Data Shapley in One Training RunJiachen T. Wang, Prateek Mittal, Dawn Song, Ruoxi JiaICLR 2025

Builds on9

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  3. Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 citations
  4. Reconstructing Training Data with Informed AdversariesBorja Balle, Giovanni Cherubin, Jamie HayesS&P 2022 · 214 citations
  5. Differentially Private Optimization on Large Model at Small CostZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisICML 2023 · 85 citations

Related papers

  1. Fast and Memory Efficient Differentially Private-SGD via JL ProjectionsZhiqi Bu, Sivakanth Gopi, Janardhan Kulkarni, Yin Tat Lee et al.NeurIPS 2021 · 49 citations
  2. Label Robust and Differentially Private Linear Regression: Computational and Statistical EfficiencyXiyang Liu, Prateek Jain, Weihao Kong, Sewoong Oh et al.NeurIPS 2023 · 10 citations
  3. DIFF2: Differential Private Optimization via Gradient Differences for Nonconvex Distributed LearningTomoya Murata, Taiji SuzukiICML 2023 · 11 citations
  4. Sparsity-Preserving Differentially Private Training of Large Embedding ModelsBadih Ghazi, Yangsibo Huang, Pritish Kamath, Ravi Kumar et al.NeurIPS 2023 · 9 citations
  5. Enabling Fast Differentially Private SGD via Just-in-Time Compilation and VectorizationPranav Subramani, Nicholas Vadivelu, Gautam KamathNeurIPS 2021 · 96 citations
Dusk over the sea between two cliffs drawn in fine vertical lines