Lune

NeurIPS2023Top-tier venue

Automatic Clipping: Differentially Private Deep Learning Made Easier and Stronger

Zhiqi Bu, Yu-Xiang Wang, Sheng Zha, George Karypis

Abstract

Per-example gradient clipping is a key algorithmic step that enables practical differential private (DP) training for deep learning models. The choice of clipping threshold R, however, is vital for achieving high accuracy under DP. We propose an easy-to-use replacement, called automatic clipping, that eliminates the need to tune R for any DP optimizers, including DP-SGD, DP-Adam, DP-LAMB and many others. The automatic variants are as private and computationally efficient as existing DP optimizers, but require no DP-specific hyperparameters and thus make DP training as amenable as the standard non-private training. We give a rigorous convergence analysis of automatic DP-SGD in the non-convex setting, showing that it can enjoy an asymptotic convergence rate that matches the standard SGD, under a symmetric gradient noise assumption of the per-sample gradients (commonly used in the non-DP literature). We demonstrate on various language and vision tasks that automatic clipping outperforms or matches the state-of-the-art, and can be easily employed with minimal changes to existing codebases 1 .

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.

35 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

  • Membership Inference Attacks Against Machine Learning Models cites Deep Learning with Differential Privacy
  • Differentially Private Learning with Per-Sample Adaptive Clipping cites A Simple Framework for Contrastive Learning of Visual Representations
  • Differentially Private Learning with Per-Sample Adaptive Clipping 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 Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy
  • Differentially Private Optimization on Large Model at Small Cost cites Deep Learning with Differential Privacy
  • Differentially Private Optimization on Large Model at Small Cost cites Extracting Training Data from Large Language Models
  • Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy cites Deep Learning with Differential Privacy
  • LLM-PBE: Assessing Data Privacy in Large Language Models cites LoRA: Low-Rank Adaptation of Large Language Models
  • LLM-PBE: Assessing Data Privacy in Large Language Models cites Membership Inference Attacks Against Machine Learning Models
  • LLM-PBE: Assessing Data Privacy in Large Language Models cites Differentially Private Optimization on Large Model at Small Cost
  • LLM-PBE: Assessing Data Privacy in Large Language Models cites Deep Learning with Differential Privacy
  • Differentially Private Bias-Term Fine-tuning of Foundation Models cites Membership Inference Attacks Against Machine Learning Models
  • Differentially Private Bias-Term Fine-tuning of Foundation Models cites Differentially Private Optimization on Large Model at Small Cost
  • Differentially Private Bias-Term Fine-tuning of Foundation Models cites Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy
  • Differentially Private Bias-Term Fine-tuning of Foundation Models cites Deep Learning with Differential Privacy
  • Differentially Private Bias-Term Fine-tuning of Foundation Models cites Extracting Training Data from Large Language Models
  • Extracting Training Data from Large Language Models cites Membership Inference Attacks Against Machine Learning Models
  • Extracting Training Data from Large Language Models cites Deep Learning with Differential Privacy
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers35

  1. Differentially Private Optimization on Large Model at Small CostZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisICML 2023 · 85 citations
  2. Scalable and Efficient Training of Large Convolutional Neural Networks with Differential PrivacyZhiqi Bu, Jialin Mao, Shiyun XuNeurIPS 2022 · 70 citations
  3. LLM-PBE: Assessing Data Privacy in Large Language ModelsQinbin Li, Junyuan Hong, Chulin Xie, Jeffrey Tan et al.VLDB 2024 · 66 citations
  4. Differentially Private Bias-Term Fine-tuning of Foundation ModelsZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisICML 2024 · 59 citations
  5. Differentially Private Learning with Per-Sample Adaptive ClippingTianyu Xia, Shuheng Shen, Su Yao, Xinyi Fu et al.AAAI 2023 · 36 citations

Builds on20

  1. A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 citations
  2. LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu et al.ICLR 2022 · 18,833 citations
  3. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  4. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  5. Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski et al.USENIX Security 2021 · 2,866 citations

Related papers

  1. Towards hyperparameter-free optimization with differential privacyRuixuan Liu, Zhiqi BuICLR 2025
  2. Differentially Private SGD Without Clipping Bias: An Error-Feedback ApproachXinwei Zhang, Zhiqi Bu, Steven Wu, Mingyi HongICLR 2024 · 15 citations
  3. Understanding Gradient Clipping in Private SGD: A Geometric PerspectiveXiangyi Chen, Zhiwei Steven Wu, Mingyi HongNeurIPS 2020 · 254 citations
  4. A Theory to Instruct Differentially-Private Learning via Clipping Bias ReductionHanshen Xiao, Zihang Xiang, Di Wang, Srinivas DevadasS&P 2023
  5. Eliminating Solution Bias in Differentially Private OptimizationDONGRUN LI, YUN ZENG, Zibo Wei, Jiacheng Wei et al.ICML 2026
Dusk over the sea between two cliffs drawn in fine vertical lines