Lune

ICML2024顶会

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 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 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

  1. On Optimal Hyperparameters for Differentially Private Deep Transfer LearningAki Rehn, Linzh Zhao, Mikko A. Heikkilä, Antti HonkelaICLR 2026 · 2 次引用
  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

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan 等CCS 2016 · 7,620 次引用
  2. Large Language Models Can Be Strong Differentially Private LearnersXuechen Li, Florian Tramèr, Percy Liang, Tatsunori HashimotoICLR 2022 · 502 次引用
  3. Numerical Composition of Differential PrivacySivakanth Gopi, Yin Tat Lee, Lukas WutschitzNeurIPS 2021 · 259 次引用
  4. Automatic Clipping: Differentially Private Deep Learning Made Easier and StrongerZhiqi Bu, Yu-Xiang Wang, Sheng Zha, George KarypisNeurIPS 2023 · 140 次引用
  5. The Saddle-Point Method in Differential PrivacyWael Alghamdi, Juan Felipe Gómez, Shahab Asoodeh, Flávio P. Calmon 等ICML 2023 · 16 次引用

相关 Paper

  1. On the Generalization Benefit of Noise in Stochastic Gradient DescentSamuel L. Smith, Erich Elsen, Soham DeICML 2020 · 122 次引用
  2. Bypassing the Ambient Dimension: Private SGD with Gradient Subspace IdentificationYingxue Zhou, Steven Wu, Arindam BanerjeeICLR 2021 · 118 次引用
  3. A Theory to Instruct Differentially-Private Learning via Clipping Bias ReductionHanshen Xiao, Zihang Xiang, Di Wang, Srinivas DevadasS&P 2023
  4. DP-PCA: Statistically Optimal and Differentially Private PCAXiyang Liu, Weihao Kong, Prateek Jain, Sewoong OhNeurIPS 2022 · 38 次引用
  5. Enhancing DPSGD via Per-Sample Momentum and Low-Pass FilteringXincheng Xu, Thilina Ranbaduge, Qing Wang, Thierry Rakotoarivelo 等AAAI 2026
黄昏的海面,两侧是细线勾勒的悬崖