Skip to main content
QUICK REVIEW

[Paper Review] Improving Deep Learning with Differential Privacy using Gradient Encoding and Denoising

Milad Nasr, Reza Shokri|arXiv (Cornell University)|Jul 22, 2020
Privacy-Preserving Technologies in DataComputer Science20 references22 citations
TL;DR

This paper proposes a novel framework for training deep learning models with differential privacy that significantly improves the privacy-utility tradeoff. By encoding gradients into a finite vector space and applying custom noise distributions (e.g., Student-t), the method enables tighter privacy bounds and better accuracy. It further enhances utility via a post-processing denoising step that rescales noisy gradients without compromising privacy, achieving a 47% lower privacy budget (ε=3.2 vs. ε=6) than DPSGD at 96.1% MNIST accuracy.

ABSTRACT

Deep learning models leak significant amounts of information about their training datasets. Previous work has investigated training models with differential privacy (DP) guarantees through adding DP noise to the gradients. However, such solutions (specifically, DPSGD), result in large degradations in the accuracy of the trained models. In this paper, we aim at training deep learning models with DP guarantees while preserving model accuracy much better than previous works. Our key technique is to encode gradients to map them to a smaller vector space, therefore enabling us to obtain DP guarantees for different noise distributions. This allows us to investigate and choose noise distributions that best preserve model accuracy for a target privacy budget. We also take advantage of the post-processing property of differential privacy by introducing the idea of denoising, which further improves the utility of the trained models without degrading their DP guarantees. We show that our mechanism outperforms the state-of-the-art DPSGD; for instance, for the same model accuracy of $96.1\%$ on MNIST, our technique results in a privacy bound of $ε=3.2$ compared to $ε=6$ of DPSGD, which is a significant improvement.

Motivation & Objective

  • Address the major limitation of existing differentially private deep learning methods, which suffer from significant accuracy degradation due to noise injection.
  • Overcome the challenge of deriving privacy bounds for arbitrary noise distributions in deep learning by enabling numerical estimation via gradient encoding.
  • Improve model utility without weakening privacy guarantees by introducing a post-processing denoising mechanism that enhances the signal-to-noise ratio of privatized gradients.
  • Demonstrate that alternative noise distributions (e.g., Student-t) can yield better privacy-utility tradeoffs than Gaussian noise in DP training.
  • Achieve state-of-the-art performance on benchmark datasets (MNIST, CIFAR-10) by optimizing both noise distribution and gradient processing.

Proposed method

  • Encode gradients into a finite-dimensional vector space using a set of preselected reference vectors (Ψ), enabling numerical computation of Rényi differential privacy (RDP) bounds.
  • Compute privacy bounds using Rényi divergence between the distributions of encoded gradients under neighboring datasets, allowing the use of non-Gaussian noise distributions.
  • Apply a variety of noise distributions (Gaussian, Laplace, Student-t) to the encoded gradients and select those that minimize utility loss for a given privacy budget.
  • Introduce a denoising mechanism that rescales privatized gradients based on their magnitude and direction, improving signal retention while preserving the original DP guarantee via the post-processing property.
  • Use adaptive noise scaling and gradient aggregation to maintain model convergence and accuracy during training.
  • Leverage the adaptive composition property of RDP to bound the overall privacy budget across multiple training steps.

Experimental results

Research questions

  • RQ1Can gradient encoding enable the use of non-Gaussian noise distributions in differentially private deep learning while still providing formal privacy guarantees?
  • RQ2Which noise distribution (e.g., Gaussian, Laplace, Student-t) yields the best privacy-utility tradeoff when applied to encoded gradients?
  • RQ3To what extent can post-processing denoising improve model utility without degrading differential privacy guarantees?
  • RQ4How does the combination of gradient encoding and denoising affect convergence speed and final model accuracy compared to standard DPSGD?
  • RQ5Can the proposed framework achieve higher model accuracy at a lower privacy budget (ε) than state-of-the-art methods like DPSGD on standard benchmarks?

Key findings

  • For the same model accuracy of 96.1% on MNIST, the proposed method achieves a privacy budget of ε=3.2 with δ=10⁻⁵, compared to ε=6 for DPSGD, representing a 47% reduction in privacy leakage.
  • The use of Student-t noise distribution results in lower L1 error between privatized and original gradients than Gaussian or Laplace, indicating better preservation of gradient information.
  • The denoising mechanism improves model accuracy by up to 10% in early training iterations, accelerating convergence and reducing the number of iterations needed to reach target accuracy.
  • The framework converges faster than DPSGD: on MNIST, it reaches 96% accuracy in fewer than 10,000 iterations, while DPSGD requires over 15,000 iterations under comparable noise parameters.
  • On CIFAR-10, the proposed method achieves higher test accuracy than DPSGD at equivalent privacy budgets, demonstrating robustness across diverse datasets.
  • The combination of gradient encoding and denoising enables the use of more efficient noise distributions, reducing the overall privacy budget while maintaining or improving model utility.

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.