TAN Without a Burn: Scaling Laws of DP-SGD

Tom Sander, Pierre Stock, Alexandre Sablayrolles
10/7/2022
cs.LGcs.CRstat.ML

Official code: facebookresearch/tan (27 stars, Python, BSD-3-Clause, last commit 2025-01-07).

Abstract

Differentially Private methods for training Deep Neural Networks (DNNs) have progressed recently, in particular with the use of massive batches and aggregated data augmentations for a large number of training steps. These techniques require much more computing resources than their non-private counterparts, shifting the traditional privacy-accuracy trade-off to a privacy-accuracy-compute trade-off and making hyper-parameter search virtually impossible for realistic scenarios.

Show full abstract

In this work, we decouple privacy analysis and experimental behavior of noisy training to explore the trade-off with minimal computational requirements. We first use the tools of Rényi Differential Privacy (RDP) to highlight that the privacy budget, when not overcharged, only depends on the total amount of noise (TAN) injected throughout training. We then derive scaling laws for training models with DP-SGD to optimize hyper-parameters with more than a $100\times$ reduction in computational budget. We apply the proposed method on CIFAR-10 and ImageNet and, in particular, strongly improve the state-of-the-art on ImageNet with a +9 points gain in top-1 accuracy for a privacy budget epsilon=8.

View on arXivView PDF

Code Implementations(1)

BSD-3-Clause

Computationally friendly hyper-parameter search with DP-SGD

270PythonOct 4, 20221 years agoBSD-3-Clause

Similar Papers

Cite this paper

@article{sander2022without,
  title  = {TAN Without a Burn: Scaling Laws of DP-SGD},
  author = {Tom Sander and Pierre Stock and Alexandre Sablayrolles},
  year   = {2022},
  eprint = {2210.03403},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.03403}
}

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

Discussion