paper-with-me

홈 › Papers

Towards Efficient and Scalable Training of Differentially Private Deep Learning

2024-06-25 · Sebastian Rodriguez Beltran, Marlon Tobaben, Joonas Jälkö, Niki Loppi, Antti Honkela

Differentially private stochastic gradient descent (DP-SGD) is the standard algorithm for training machine learning models under differential privacy (DP). The most common DP-SGD privacy accountants rely on Poisson subsampling for ensuring the theoretical DP guarantees. Implementing computationally efficient DP-SGD with Poisson subsampling is not trivial, which leads to many implementations ignoring this requirement. We conduct a comprehensive empirical study to quantify the computational cost of training deep learning models under DP given the requirement of Poisson subsampling, by re-implementing efficient methods using Poisson subsampling and benchmarking them. We find that using the naive implementation DP-SGD with Opacus in PyTorch has between 2.6 and 8 times lower throughput of processed training examples per second than SGD. However, efficient gradient clipping implementations with e.g. Ghost Clipping can roughly halve this cost. We propose alternative computationally efficient ways of implementing DP-SGD with JAX that are using Poisson subsampling and achieve only around 1.2 times lower throughput than SGD based on PyTorch. We highlight important implementation considerations with JAX. Finally, we study the scaling behaviour using up to 80 GPUs and find that DP-SGD scales better than SGD. We share our re-implementations using Poisson subsampling at https://github.com/DPBayes/Towards-Efficient-Scalable-Training-DP-DL.

📄 PDF Abstract BibTeX arXiv:2406.17298

Code (1)

DPBayes/Towards-Efficient-Scalable-Training-DP-DL 공식 구현 jax

Tasks

BenchmarkingDeep Learning

Methods 이 논문이 사용한 방법론

Gradient Clipping One difficulty that arises with optimization of deep neural networks is that large parameter gradients can lead an SGD optimizer to update…
SGD Stochastic Gradient Descent is an iterative optimization technique that uses minibatches of data to form an expectation of the gradient, rather than the full gradient using…

Similar Papers 제목 키워드 기반

Differentially private training of neural networks with Langevin dynamics for calibrated predictive uncertainty

2021-07-09 · Moritz Knolle, Alexander Ziller, Dmitrii Usynin, Rickmer Braren 외

We show that differentially private stochastic gradient descent (DP-SGD) can yield poorly calibrated, overconfident deep learning models. This represents a serious issue for safety-critical applications, e.g. in medical …

Bayesian InferenceMedical Diagnosis

LazyDP: Co-Designing Algorithm-Software for Scalable Training of Differentially Private Recommendation Models

2024-04-12 · Juntaek Lim, Youngeun Kwon, Ranggi Hwang, Kiwan Maeng 외

Differential privacy (DP) is widely being employed in the industry as a practical standard for privacy protection. While private training of computer vision or natural language processing applications has been studied ex…

Recommendation Systems

Scalable and Provably Accurate Algorithms for Differentially Private Distributed Decision Tree Learning

2020-12-19 · Kaiwen Wang, Travis Dick, Maria-Florina Balcan

This paper introduces the first provably accurate algorithms for differentially private, top-down decision tree learning in the distributed setting (Balcan et al., 2012). We propose DP-TopDown, a general privacy preservi…

Privacy Preserving

Bolt-on Differential Privacy for Scalable Stochastic Gradient Descent-based Analytics

2016-06-15 · Xi Wu, Fengan Li, Arun Kumar, Kamalika Chaudhuri 외

While significant progress has been made separately on analytics systems for scalable stochastic gradient descent (SGD) and private SGD, none of the major scalable analytics frameworks have incorporated differentially pr…

Differentially Private Learning Needs Better Model Initialization and Self-Distillation

2024-10-23 · Ivoline C. Ngong, Joseph P. Near, Niloofar Mireshghallah

Differentially private SGD (DPSGD) enables privacy-preserving training of language models, but often reduces utility, diversity, and linguistic quality. We introduce DPRefine, a three-phase method that initializes a mode…

DiversityPrivacy Preserving