Backpropagation Clipping for Deep Learning with Differential Privacy

Timothy Stevens, Ivoline C. Ngong, David Darais, Calvin Hirsch, David Slater +1 more
2/10/2022
cs.LG

Official code: uvm-plaid/backpropagation-clipping (7 stars, Python, last commit 2022-02-21).

Abstract

We present backpropagation clipping, a novel variant of differentially private stochastic gradient descent (DP-SGD) for privacy-preserving deep learning. Our approach clips each trainable layer's inputs (during the forward pass) and its upstream gradients (during the backward pass) to ensure bounded global sensitivity for the layer's gradient; this combination replaces the gradient clipping step in existing DP-SGD variants.

Show full abstract

Our approach is simple to implement in existing deep learning frameworks. The results of our empirical evaluation demonstrate that backpropagation clipping provides higher accuracy at lower values for the privacy parameter $ε$ compared to previous work. We achieve 98.7% accuracy for MNIST with $ε= 0.07$ and 74% accuracy for CIFAR-10 with $ε= 3.64$.

View on arXivView PDF

Code Implementations(1)

75PythonFeb 3, 20224 years ago

Similar Papers

Cite this paper

@article{stevens2022backpropagation,
  title  = {Backpropagation Clipping for Deep Learning with Differential Privacy},
  author = {Timothy Stevens and Ivoline C. Ngong and David Darais and Calvin Hirsch and David Slater and Joseph P. Near},
  year   = {2022},
  eprint = {2202.05089},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.05089}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2202.05089.svg)](https://codeofpaper.com/paper/2202.05089)

Discussion