Lune

AAAI2021Top-tier venue

Tempered Sigmoid Activations for Deep Learning with Differential Privacy

Nicolas Papernot, Abhradeep Thakurta, Shuang Song, Steve Chien, Úlfar Erlingsson

Abstract

Because learning sometimes involves sensitive data, machine learning algorithms have been extended to offer differential privacy for training data. In practice, this has been mostly an afterthought, with privacy-preserving models obtained by re-running training with a different optimizer, but using the model architectures that already performed well in a non-privacy-preserving setting. This approach leads to less than ideal privacy/utility tradeoffs, as we show here. To improve these tradeoffs, prior work introduces variants of differential privacy that weaken the privacy guarantee proved to increase model utility. We show this is not necessary and instead propose that utility be improved by choosing activation functions designed explicitly for privacy-preserving training.

A crucial operation in differentially private SGD is gradient clipping, which along with modifying the optimization path (at times resulting in not-optimizing a single objective function), may also introduce both significant bias and variance to the learning process. We empirically identify exploding gradients arising from ReLU may be one of the main sources of this. We demonstrate analytically and experimentally how a general family of bounded activation functions, the tempered sigmoids, consistently outperform the currently established choice: unbounded activation functions like ReLU. Using this paradigm, we achieve new state-of-the-art accuracy on MNIST, FashionMNIST, and CIFAR10 without any modification of the learning procedure fundamentals or differential privacy analysis. While the changes we make are simple in retrospect, the simplicity of our approach facilitates its implementation and adoption to meaningfully improve state-of-the-art machine learning while still providing strong guarantees in the original framework of differential privacy.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

54 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Adaptive Machine Unlearning cites Membership Inference Attacks Against Machine Learning Models
  • Membership Inference Attacks Against Machine Learning Models cites Deep Learning with Differential Privacy
  • Deep Learning with Label Differential Privacy cites Differentially Private Learning Needs Better Features (or Much More Data)
  • Deep Learning with Label Differential Privacy cites Deep Learning with Differential Privacy
  • Differentially Private Learning Needs Better Features (or Much More Data) cites Membership Inference Attacks Against Machine Learning Models
  • Differentially Private Learning Needs Better Features (or Much More Data) cites Does learning require memorization? a short tale about a long tail
  • Differentially Private Learning Needs Better Features (or Much More Data) cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • Differentially Private Learning Needs Better Features (or Much More Data) cites Deep Learning with Differential Privacy
  • Does learning require memorization? a short tale about a long tail cites Membership Inference Attacks Against Machine Learning Models
  • Does learning require memorization? a short tale about a long tail cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
  • Does learning require memorization? a short tale about a long tail cites Deep Learning with Differential Privacy
  • Hyperparameter Tuning with Renyi Differential Privacy cites Membership Inference Attacks Against Machine Learning Models
  • Hyperparameter Tuning with Renyi Differential Privacy cites Deep Learning with Differential Privacy
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Membership Inference Attacks Against Machine Learning Models
  • The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks cites Deep Learning with Differential Privacy
  • Practical and Private (Deep) Learning Without Sampling or Shuffling cites Differentially Private Learning Needs Better Features (or Much More Data)
  • Practical and Private (Deep) Learning Without Sampling or Shuffling cites Deep Learning with Differential Privacy
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers54

  1. Differentially Private Learning Needs Better Features (or Much More Data)Florian Tramèr, Dan BonehICLR 2021 · 325 citations
  2. Adaptive Machine UnlearningVarun Gupta, Christopher Jung, Seth Neel, Aaron Roth et al.NeurIPS 2021 · 262 citations
  3. Practical and Private (Deep) Learning Without Sampling or ShufflingPeter Kairouz, Brendan McMahan, Shuang Song, Om Thakkar et al.ICML 2021 · 239 citations
  4. Deep Learning with Label Differential PrivacyBadih Ghazi, Noah Golowich, Ravi Kumar, Pasin Manurangsi et al.NeurIPS 2021 · 193 citations
  5. Hyperparameter Tuning with Renyi Differential PrivacyNicolas Papernot, Thomas SteinkeICLR 2022 · 157 citations

Builds on5

  1. Deep Learning with Differential PrivacyMartín Abadi, Andy Chu, Ian J. Goodfellow, H. Brendan McMahan et al.CCS 2016 · 7,620 citations
  2. Membership Inference Attacks Against Machine Learning ModelsReza Shokri, Marco Stronati, Congzheng Song, Vitaly ShmatikovS&P 2017 · 5,137 citations
  3. The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos et al.USENIX Security 2019 · 1,386 citations
  4. Why Gradient Clipping Accelerates Training: A Theoretical Justification for AdaptivityJingzhao Zhang, Tianxing He, Suvrit Sra, Ali JadbabaieICLR 2020 · 598 citations
  5. Does learning require memorization? a short tale about a long tailVitaly FeldmanSTOC 2020 · 28 citations

Related papers

  1. Adaptive Sigmoid Clipping for Balancing the Direction-Magnitude Mismatch Trade-off in Differentially Private LearningFaeze Moradi Kalarde, Ali Bereyhi, Ben Liang, Min DongNeurIPS 2025 · 1 citation
  2. Differentially Private Image Classification by Learning Priors from Random ProcessesXinyu Tang, Ashwinee Panda, Vikash Sehwag, Prateek MittalNeurIPS 2023 · 34 citations
  3. Differentially Private Sharpness-Aware TrainingJinseong Park, Hoki Kim, Yujin Choi, Jaewook LeeICML 2023 · 15 citations
  4. Understanding Gradient Clipping in Private SGD: A Geometric PerspectiveXiangyi Chen, Zhiwei Steven Wu, Mingyi HongNeurIPS 2020 · 254 citations
  5. DPIS: An Enhanced Mechanism for Differentially Private SGD with Importance SamplingJianxin Wei, Ergute Bao, Xiaokui Xiao, Yin YangCCS 2022 · 16 citations
Dusk over the sea between two cliffs drawn in fine vertical lines