paper-with-me

홈 › Papers

Scaling up Differentially Private Deep Learning with Fast Per-Example Gradient Clipping

2020-09-07 · Jaewoo Lee, Daniel Kifer

Recent work on Renyi Differential Privacy has shown the feasibility of applying differential privacy to deep learning tasks. Despite their promise, however, differentially private deep networks often lag far behind their non-private counterparts in accuracy, showing the need for more research in model architectures, optimizers, etc. One of the barriers to this expanded research is the training time -- often orders of magnitude larger than training non-private networks. The reason for this slowdown is a crucial privacy-related step called "per-example gradient clipping" whose naive implementation undoes the benefits of batch training with GPUs. By analyzing the back-propagation equations we derive new methods for per-example gradient clipping that are compatible with auto-differentiation (e.g., in PyTorch and TensorFlow) and provide better GPU utilization. Our implementation in PyTorch showed significant training speed-ups (by factors of 54x - 94x for training various models with batch sizes of 128). These techniques work for a variety of architectural choices including convolutional layers, recurrent networks, attention, residual blocks, etc.

📄 PDF Abstract BibTeX arXiv:2009.03106

Code (2)

facebookresearch/pytorch-dp pytorch
pytorch/opacus pytorch

Tasks

GPU

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…

Similar Papers 제목 키워드 기반

A Closer Look at the Calibration of Differentially Private Learners

2022-10-15 · HANLIN ZHANG, Xuechen Li, Prithviraj Sen, Salim Roukos 외

We systematically study the calibration of classifiers trained with differentially private stochastic gradient descent (DP-SGD) and observe miscalibration across a wide range of vision and language tasks. Our analysis id…

Exploring the Limits of Differentially Private Deep Learning with Group-wise Clipping

2022-12-03 · Jiyan He, Xuechen Li, Da Yu, Huishuai Zhang 외

Differentially private deep learning has recently witnessed advances in computational efficiency and privacy-utility trade-off. We explore whether further improvements along the two axes are possible and provide affirmat…

Computational Efficiency

Efficient Per-Example Gradient Computations in Convolutional Neural Networks

2019-12-12 · Gaspar Rochette, Andre Manoel, Eric W. Tramel

Deep learning frameworks leverage GPUs to perform massively-parallel computations over batches of many training examples efficiently. However, for certain tasks, one may be interested in performing per-example computatio…

FAST DIFFERENTIALLY PRIVATE-SGD VIA JL PROJECTIONS

2021-01-01 · Zhiqi Bu, Sivakanth Gopi, Janardhan Kulkarni, Yin Tat Lee 외

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…

Enhancing DP-SGD through Non-monotonous Adaptive Scaling Gradient Weight

2024-11-05 · Tao Huang, Qingyu Huang, Xin Shi, Jiayang Meng 외

In the domain of deep learning, the challenge of protecting sensitive data while maintaining model utility is significant. Traditional Differential Privacy (DP) techniques such as Differentially Private Stochastic Gradie…