Automatic Clipping: Differentially Private Deep Learning Made Easier and Stronger
Zhiqi Bu, Yu-Xiang Wang, Sheng Zha, George Karypis
摘要
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 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 35 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Membership Inference Attacks Against Machine Learning Models 引用了 Deep Learning with Differential Privacy
- Differentially Private Learning with Per-Sample Adaptive Clipping 引用了 A Simple Framework for Contrastive Learning of Visual Representations
- Differentially Private Learning with Per-Sample Adaptive Clipping 引用了 Deep Learning with Differential Privacy
- Differentially Private Optimization on Large Model at Small Cost 引用了 Membership Inference Attacks Against Machine Learning Models
- Differentially Private Optimization on Large Model at Small Cost 引用了 Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy
- Differentially Private Optimization on Large Model at Small Cost 引用了 Deep Learning with Differential Privacy
- Differentially Private Optimization on Large Model at Small Cost 引用了 Extracting Training Data from Large Language Models
- Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy 引用了 Deep Learning with Differential Privacy
- LLM-PBE: Assessing Data Privacy in Large Language Models 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- LLM-PBE: Assessing Data Privacy in Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- LLM-PBE: Assessing Data Privacy in Large Language Models 引用了 Differentially Private Optimization on Large Model at Small Cost
- LLM-PBE: Assessing Data Privacy in Large Language Models 引用了 Deep Learning with Differential Privacy
- Differentially Private Bias-Term Fine-tuning of Foundation Models 引用了 Membership Inference Attacks Against Machine Learning Models
- Differentially Private Bias-Term Fine-tuning of Foundation Models 引用了 Differentially Private Optimization on Large Model at Small Cost
- Differentially Private Bias-Term Fine-tuning of Foundation Models 引用了 Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy
- Differentially Private Bias-Term Fine-tuning of Foundation Models 引用了 Deep Learning with Differential Privacy
- Differentially Private Bias-Term Fine-tuning of Foundation Models 引用了 Extracting Training Data from Large Language Models
- Extracting Training Data from Large Language Models 引用了 Membership Inference Attacks Against Machine Learning Models
- Extracting Training Data from Large Language Models 引用了 Deep Learning with Differential Privacy
引用它的顶会 Paper35
- Differentially Private Optimization on Large Model at Small CostZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisICML 2023 · 85 次引用
- Scalable and Efficient Training of Large Convolutional Neural Networks with Differential PrivacyZhiqi Bu, Jialin Mao, Shiyun XuNeurIPS 2022 · 70 次引用
- LLM-PBE: Assessing Data Privacy in Large Language ModelsQinbin Li, Junyuan Hong, Chulin Xie, Jeffrey Tan 等VLDB 2024 · 66 次引用
- Differentially Private Bias-Term Fine-tuning of Foundation ModelsZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisICML 2024 · 59 次引用
- Differentially Private Learning with Per-Sample Adaptive ClippingTianyu Xia, Shuheng Shen, Su Yao, Xinyi Fu 等AAAI 2023 · 36 次引用
它引用的 Paper20
- A Simple Framework for Contrastive Learning of Visual RepresentationsTing Chen, Simon Kornblith, Mohammad Norouzi, Geoffrey E. HintonICML 2020 · 24,064 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 次引用
- Extracting Training Data from Large Language ModelsNicholas Carlini, Florian Tramèr, Eric Wallace, Matthew Jagielski 等USENIX Security 2021 · 2,866 次引用
相关 Paper
- Towards hyperparameter-free optimization with differential privacyRuixuan Liu, Zhiqi BuICLR 2025
- Differentially Private SGD Without Clipping Bias: An Error-Feedback ApproachXinwei Zhang, Zhiqi Bu, Steven Wu, Mingyi HongICLR 2024 · 15 次引用
- Understanding Gradient Clipping in Private SGD: A Geometric PerspectiveXiangyi Chen, Zhiwei Steven Wu, Mingyi HongNeurIPS 2020 · 254 次引用
- A Theory to Instruct Differentially-Private Learning via Clipping Bias ReductionHanshen Xiao, Zihang Xiang, Di Wang, Srinivas DevadasS&P 2023
- Eliminating Solution Bias in Differentially Private OptimizationDONGRUN LI, YUN ZENG, Zibo Wei, Jiacheng Wei 等ICML 2026
