Skip to main content
QUICK REVIEW

[Paper Review] Deep Learning with Gaussian Differential Privacy

Zhiqi Bu, Jinshuo Dong|arXiv (Cornell University)|Nov 26, 2019
Privacy-Preserving Technologies in DataComputer Science30 references22 citations
TL;DR

This paper proposes using f-differential privacy, particularly Gaussian differential privacy (GDP), to derive analytically tractable and tighter privacy bounds for training deep neural networks with stochastic gradient descent (SGD) and Adam. It demonstrates that the f-DP framework enables closed-form privacy accounting that improves model utility by allowing less noise while maintaining equivalent privacy guarantees compared to the moments accountant method in (ε,δ)-DP.

ABSTRACT

Deep learning models are often trained on datasets that contain sensitive information such as individuals' shopping transactions, personal contacts, and medical records. An increasingly important line of work therefore has sought to train neural networks subject to privacy constraints that are specified by differential privacy or its divergence-based relaxations. These privacy definitions, however, have weaknesses in handling certain important primitives (composition and subsampling), thereby giving loose or complicated privacy analyses of training neural networks. In this paper, we consider a recently proposed privacy definition termed extit{$f$-differential privacy} [18] for a refined privacy analysis of training neural networks. Leveraging the appealing properties of $f$-differential privacy in handling composition and subsampling, this paper derives analytically tractable expressions for the privacy guarantees of both stochastic gradient descent and Adam used in training deep neural networks, without the need of developing sophisticated techniques as [3] did. Our results demonstrate that the $f$-differential privacy framework allows for a new privacy analysis that improves on the prior analysis~[3], which in turn suggests tuning certain parameters of neural networks for a better prediction accuracy without violating the privacy budget. These theoretically derived improvements are confirmed by our experiments in a range of tasks in image classification, text classification, and recommender systems. Python code to calculate the privacy cost for these experiments is publicly available in the exttt{TensorFlow Privacy} library.

Motivation & Objective

  • To address the limitations of (ε,δ)-differential privacy in handling composition and subsampling during deep learning training.
  • To develop a more interpretable and analytically tractable privacy framework that improves upon the moments accountant technique.
  • To enable better trade-offs between privacy and model utility by deriving sharper privacy bounds for noisy optimization algorithms.
  • To validate the theoretical improvements through empirical experiments across image classification, text classification, and recommender systems.
  • To provide a practical implementation via the TensorFlow Privacy library for calculating privacy costs under the f-DP framework.

Proposed method

  • Leverages f-differential privacy (f-DP), a relaxation of (ε,δ)-DP that preserves the hypothesis testing interpretation and handles composition and subsampling exactly.
  • Applies the central limit theorem for privacy (CLT) to approximate the privacy loss of composed noisy gradient updates as a shifted normal distribution.
  • Derives closed-form expressions for privacy loss in NoisySGD and NoisyAdam under the f-DP framework, avoiding numerical computation required by the moments accountant.
  • Uses the canonical single-parameter family of f-DP—Gaussian differential privacy (GDP)—to express privacy guarantees in terms of a single parameter μ.
  • Employs the privacy loss random variable (PLRV) and its moment-generating function to compute privacy bounds analytically.
  • Validates the approach using experiments on MNIST, text classification, and recommender systems, comparing test accuracy and privacy spending under equivalent (ε,δ)-DP guarantees.

Experimental results

Research questions

  • RQ1Can f-differential privacy provide tighter and analytically tractable privacy bounds for deep learning compared to the moments accountant in (ε,δ)-DP?
  • RQ2Does the f-DP framework enable improved model utility by allowing less noise while maintaining equivalent privacy guarantees?
  • RQ3How does the CLT-based approximation in f-DP compare to the moments accountant in terms of privacy accounting accuracy and convergence speed?
  • RQ4To what extent does the f-DP framework improve privacy-utility trade-offs in SGD and Adam optimization?
  • RQ5Can the closed-form privacy bounds in f-DP be practically applied and verified across diverse machine learning tasks?

Key findings

  • The f-differential privacy framework yields closed-form privacy bounds for NoisySGD and NoisyAdam, eliminating the need for numerical computation required by the moments accountant.
  • The CLT-based approach in f-DP achieves higher test accuracy than the moments accountant under the same (ε,δ)-DP budget, with 96% accuracy at ε=4 versus 92% using the moments accountant.
  • The CLT approach reaches 95%, 96%, and 97% test accuracy in 18, 26, and 45 epochs, respectively, compared to 23, 33, and 64 epochs using the moments accountant, indicating faster convergence.
  • For the same (ε,δ)-DP guarantee, the f-DP framework provides stronger privacy protection—e.g., 1.13-GDP versus (7.10,10−5)-DP—indicating a more favorable privacy-utility trade-off.
  • The privacy cost calculated via f-DP is more interpretable and less conservative than (ε,δ)-DP, enabling higher model utility without violating privacy budgets.
  • The proposed method is implemented in the TensorFlow Privacy library, enabling public reproducibility and practical deployment of f-DP-based private deep learning.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.