Fast and Memory Efficient Differentially Private-SGD via JL Projections
Zhiqi Bu, Sivakanth Gopi, Janardhan Kulkarni, Yin Tat Lee, Judy Hanwen Shen, Uthaipon Tantipongpipat
摘要
Differentially Private-SGD (DP-SGD) of Abadi et al. [2016] and its variations are the only known algorithms for private training of large scale neural networks. This algorithm requires computation of per-sample gradients norms which is extremely slow and memory intensive in practice. In this paper, we present a new framework to design differentially private optimizers called DP-SGD-JL and DP-Adam-JL. Our approach uses Johnson-Lindenstrauss (JL) projections to quickly approximate the per-sample gradient norms without exactly computing them, thus making the training time and memory requirements of our optimizers closer to that of their non-DP versions. Unlike previous attempts to make DP-SGD faster which work only on a subset of network architectures or use compiler techniques, we propose an algorithmic solution which works for any network in a black-box manner which is the main contribution of this paper. To illustrate this, on IMDb dataset, we train a Recurrent Neural Network (RNN) to achieve good privacy-vs-accuracy tradeoff, while being significantly faster than DP-SGD and with a similar memory footprint as non-private SGD. The privacy analysis of our algorithms is more involved than DP-SGD, we use the recently proposed f -DP framework of Dong et al. [2019] to prove privacy.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 14 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorization 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Numerical Composition of Differential Privacy 引用了 Deep Learning with Differential Privacy
- Membership Inference Attacks Against Machine Learning Models 引用了 Deep Learning with Differential Privacy
- Differentially Private Optimization on Large Model at Small Cost 引用了 Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorization
- Differentially Private Optimization on Large Model at Small Cost 引用了 Numerical Composition of 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 引用了 Large Language Models Can Be Strong Differentially Private Learners
- 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
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Membership Inference Attacks Against Machine Learning Models
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks 引用了 Deep Learning with Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorization
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Numerical Composition of Differential Privacy
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Membership Inference Attacks Against Machine Learning Models
- Large Language Models Can Be Strong Differentially Private Learners 引用了 The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Large Language Models Can Be Strong Differentially Private Learners 引用了 Deep Learning with Differential Privacy
- Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy 引用了 Enabling Fast Differentially Private SGD via Just-in-Time Compilation and Vectorization
- Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy 引用了 Large Language Models Can Be Strong Differentially Private Learners
- Scalable and Efficient Training of Large Convolutional Neural Networks with Differential Privacy 引用了 Deep Learning with Differential Privacy
- Differentially Private Learning with Adaptive Clipping 引用了 Membership Inference Attacks Against Machine Learning Models
- Differentially Private Learning with Adaptive Clipping 引用了 Deep Learning with Differential Privacy
- Understanding Gradient Clipping in Private SGD: A Geometric Perspective 引用了 Deep Learning with Differential Privacy
- Understanding Gradient Clipping in Private SGD: A Geometric Perspective 引用了 Differentially Private Learning with Adaptive Clipping
引用它的顶会 Paper14
- 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 次引用
- Enabling Fast Differentially Private SGD via Just-in-Time Compilation and VectorizationPranav Subramani, Nicholas Vadivelu, Gautam KamathNeurIPS 2021 · 96 次引用
- 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 次引用
它引用的 Paper10
- 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 次引用
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos 等USENIX Security 2019 · 1,386 次引用
- Differentially Private Learning with Adaptive ClippingGalen Andrew, Om Thakkar, Brendan McMahan, Swaroop RamaswamyNeurIPS 2021 · 425 次引用
- Understanding Gradient Clipping in Private SGD: A Geometric PerspectiveXiangyi Chen, Zhiwei Steven Wu, Mingyi HongNeurIPS 2020 · 254 次引用
相关 Paper
- PE-SGD: Differentially Private Deep Learning via Evolution of Gradient Subspace for TextTianyuan Zou, Zinan Lin, Sivakanth Gopi, Yang Liu 等ICLR 2026
- A Unified Fast Gradient Clipping Framework for DP-SGDWeiwei Kong, Andrés Muñoz MedinaNeurIPS 2023 · 9 次引用
- DiSK: Differentially Private Optimizer with Simplified Kalman Filter for Noise ReductionXinwei Zhang, Zhiqi Bu, Borja Balle, Mingyi Hong 等ICLR 2025
- DPIS: An Enhanced Mechanism for Differentially Private SGD with Importance SamplingJianxin Wei, Ergute Bao, Xiaokui Xiao, Yin YangCCS 2022 · 16 次引用
- Large Scale Private Learning via Low-rank ReparametrizationDa Yu, Huishuai Zhang, Wei Chen, Jian Yin 等ICML 2021 · 122 次引用
