Subsampling is not Magic: Why Large Batch Sizes Work for Differentially Private Stochastic Optimisation
Ossi Räisä, Joonas Jälkö, Antti Honkela
摘要
We study how the batch size affects the total gradient variance in differentially private stochastic gradient descent (DP-SGD), seeking a theoretical explanation for the usefulness of large batch sizes. As DP-SGD is the basis of modern DP deep learning, its properties have been widely studied, and recent works have empirically found large batch sizes to be beneficial. However, theoretical explanations of this benefit are currently heuristic at best. We first observe that the total gradient variance in DP-SGD can be decomposed into subsampling-induced and noise-induced variances. We then prove that in the limit of an infinite number of iterations, the effective noise-induced variance is invariant to the batch size. The remaining subsampling-induced variance decreases with larger batch sizes, so large batches reduce the effective total gradient variance. We confirm numerically that the asymptotic regime is relevant in practical settings when the batch size is not small, and find that outside the asymptotic regime, the total gradient variance decreases even more with large batch sizes. We also find a sufficient condition that implies that large batch sizes similarly reduce effective DP noise variance for one iteration of DP-SGD 1 .
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Numerical Composition of Differential Privacy 引用了 Deep Learning with Differential Privacy
- On Optimal Hyperparameters for Differentially Private Deep Transfer Learning 引用了 Numerical Composition of Differential Privacy
- On Optimal Hyperparameters for Differentially Private Deep Transfer Learning 引用了 Deep Learning with Differential Privacy
- On Optimal Hyperparameters for Differentially Private Deep Transfer Learning 引用了 Automatic Clipping: Differentially Private Deep Learning Made Easier and Stronger
- The Adverse Effects of Omitting Records in Differential Privacy: How Sampling and Suppression Degrade the Privacy–Utility Tradeoff 引用了 Deep Learning with Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Numerical Composition of Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Deep Learning with Differential Privacy
- The Saddle-Point Method in Differential Privacy 引用了 Numerical Composition of Differential Privacy
- The Saddle-Point Method in Differential Privacy 引用了 Deep Learning with Differential Privacy
- Automatic Clipping: Differentially Private Deep Learning Made Easier and Stronger 引用了 Numerical Composition of Differential Privacy
- Automatic Clipping: Differentially Private Deep Learning Made Easier and Stronger 引用了 Large Language Models Can Be Strong Differentially Private Learners
- Automatic Clipping: Differentially Private Deep Learning Made Easier and Stronger 引用了 Deep Learning with Differential Privacy
引用它的顶会 Paper2
- On Optimal Hyperparameters for Differentially Private Deep Transfer LearningAki Rehn, Linzh Zhao, Mikko A. Heikkilä, Antti HonkelaICLR 2026 · 2 次引用
- The Adverse Effects of Omitting Records in Differential Privacy: How Sampling and Suppression Degrade the Privacy–Utility TradeoffÀlex Miranda-Pascual, Javier Parra-Arnau, Thorsten StrufeUSENIX Security 2026
它引用的 Paper5
- Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
- Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 次引用
- Numerical Composition of Differential PrivacySivakanth Gopi, Yin Tat Lee, Lukas WutschitzNeurIPS 2021 · 259 次引用
- Automatic Clipping: Differentially Private Deep Learning Made Easier and StrongerZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisNeurIPS 2023 · 140 次引用
- The Saddle-Point Method in Differential PrivacyWael Alghamdi, Juan Felipe Gómez, Shahab Asoodeh, Flávio P. Calmon 等ICML 2023 · 16 次引用
相关 Paper
- On the Generalization Benefit of Noise in Stochastic Gradient DescentSamuel L. Smith, Erich Elsen, Soham DeICML 2020 · 122 次引用
- Bypassing the Ambient Dimension: Private SGD with Gradient Subspace IdentificationYingxue Zhou, Steven Wu, Arindam BanerjeeICLR 2021 · 118 次引用
- A Theory to Instruct Differentially-Private Learning via Clipping Bias ReductionHanshen Xiao, Zihang Xiang, Di Wang, Srinivas DevadasS&P 2023
- DP-PCA: Statistically Optimal and Differentially Private PCAXiyang Liu, Weihao Kong, Prateek Jain, Sewoong OhNeurIPS 2022 · 38 次引用
- Enhancing DPSGD via Per-Sample Momentum and Low-Pass FilteringXincheng Xu, Thilina Ranbaduge, Qing Wang, Thierry Rakotoarivelo 等AAAI 2026
