DP-SGD Without Clipping: The Lipschitz Neural Network Way

Louis Bethune, Thomas Massena, Thibaut Boissin, Yannick Prudent, Corentin Friedrich +4 more
5/25/2023
cs.LGcs.CR

Official code: Algue-Rythme/lip-dp (8 stars, MIT, last commit 2024-03-20).

Abstract

State-of-the-art approaches for training Differentially Private (DP) Deep Neural Networks (DNN) face difficulties to estimate tight bounds on the sensitivity of the network's layers, and instead rely on a process of per-sample gradient clipping. This clipping process not only biases the direction of gradients but also proves costly both in memory consumption and in computation. To provide sensitivity bounds and bypass the drawbacks of the clipping process, we propose to rely on Lipschitz constrained networks. Our theoretical analysis reveals an unexplored link between the Lipschitz constant with respect to their input and the one with respect to their parameters. By bounding the Lipschitz constant of each layer with respect to its parameters, we prove that we can train these networks with privacy guarantees. Our analysis not only allows the computation of the aforementioned sensitivities at scale, but also provides guidance on how to maximize the gradient-to-noise ratio for fixed privacy guarantees. The code has been released as a Python package available at https://github.com/Algue-Rythme/lip-dp

View on arXivView PDF

Code Implementations(1)

MIT

Lipschitz (LIP) constrained neural networks with Differential Privacy (DP) guarantees, for privacy & robustness.

80Python, MakefileFeb 13, 20242 years agoMIT

Similar Papers

Cite this paper

@article{bethune2023dpsgd,
  title  = {DP-SGD Without Clipping: The Lipschitz Neural Network Way},
  author = {Louis Bethune and Thomas Massena and Thibaut Boissin and Yannick Prudent and Corentin Friedrich and Franck Mamalet and Aurelien Bellet and Mathieu Serrurier and David Vigouroux},
  year   = {2023},
  eprint = {2305.16202},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.16202v2},
  journal = {ICLR 2023 2023}
}

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/2305.16202.svg)](https://codeofpaper.com/paper/2305.16202)

Discussion