Skip to main content
QUICK REVIEW

[Paper Review] On the Connection between Differential Privacy and Adversarial Robustness in Machine Learning

Mathias Lécuyer, Vaggelis Atlidakis|arXiv (Cornell University)|Feb 9, 2018
Adversarial Robustness in Machine LearningComputer Science26 references14 citations
TL;DR

This paper proposes PixelDP, a method that leverages differential privacy (DP) to provide formal, theoretical guarantees for robustness against adversarial examples in deep neural networks. By training models with DP, PixelDP ensures that predictions are robust to bounded 1-norm and 2-norm perturbations for 40–60% of inputs, achieving state-of-the-art accuracy under attack while offering certified robustness.

ABSTRACT

Adversarial examples in machine learning has been a topic of intense research interest, with attacks and defenses being developed in a tight back-and-forth. Most past defenses are best-effort, heuristic approaches that have all been shown to be vulnerable to sophisticated attacks. More recently, rigorous defenses that provide formal guarantees have emerged, but are hard to scale or generalize. A rigorous and general foundation for designing defenses is required to get us off this arms race trajectory. We propose leveraging differential privacy (DP) as a formal building block for robustness against adversarial examples. We observe that the semantic of DP is closely aligned with the formal definition of robustness to adversarial examples. We propose PixelDP, a strategy for learning robust deep neural networks based on formal DP guarantees. PixelDP networks give theoretical guarantees for a subset of their predictions regarding the robustness against adversarial perturbations of bounded size. Our evaluation with MNIST, CIFAR-10, and CIFAR-100 shows that PixelDP networks achieve accuracy under attack on par with the best-performing defense to date, but additionally certify robustness against meaningful-size 1-norm and 2-norm attacks for 40-60% of their predictions. Our experience points to DP as a rigorous, broadly applicable, and mechanism-rich foundation for robust machine learning.

Motivation & Objective

  • Address the lack of rigorous, generalizable defenses against adversarial examples in deep learning.
  • Overcome the limitations of heuristic defenses that are vulnerable to adaptive attacks.
  • Establish a formal foundation for robust machine learning using differential privacy as a core building block.
  • Provide theoretical guarantees for robustness against bounded adversarial perturbations in a scalable and mechanism-rich way.
  • Demonstrate that DP-based training can simultaneously achieve high accuracy under attack and certified robustness for a significant fraction of predictions.

Proposed method

  • Apply differential privacy to the training process of deep neural networks to ensure that model predictions are insensitive to small input perturbations.
  • Use DP-SGD (stochastic gradient descent with noise injection) to train models with formal privacy guarantees that translate to robustness.
  • Derive robustness certificates based on the privacy budget (ε), ensuring that predictions remain unchanged under bounded 1-norm and 2-norm perturbations.
  • Design a mechanism to compute and propagate robustness certificates for individual predictions using the sensitivity of the model’s output to input changes.
  • Leverage the semantic alignment between DP’s notion of indistinguishability and adversarial robustness to formalize robustness guarantees.
  • Implement PixelDP as a training and inference pipeline that integrates DP training with per-sample robustness certification.

Experimental results

Research questions

  • RQ1Can differential privacy serve as a formal foundation for adversarial robustness in deep learning?
  • RQ2To what extent can DP-based training provide certified robustness against 1-norm and 2-norm bounded adversarial attacks?
  • RQ3How does the robustness of DP-based models compare to state-of-the-art heuristic defenses in terms of accuracy under attack?
  • RQ4What fraction of predictions can be formally certified as robust using the proposed DP-based method?
  • RQ5Can the proposed method scale to standard vision benchmarks like MNIST, CIFAR-10, and CIFAR-100 while maintaining strong robustness guarantees?

Key findings

  • PixelDP networks achieve accuracy under adversarial attack comparable to the best-performing defense methods on MNIST, CIFAR-10, and CIFAR-100.
  • For 40–60% of predictions, PixelDP provides formal certification of robustness against 1-norm and 2-norm perturbations of meaningful size.
  • The method offers theoretical guarantees rooted in differential privacy, making it resilient to adaptive attacks that break heuristic defenses.
  • The robustness certificates are computed per prediction, enabling selective deployment of robust inference where needed.
  • The approach demonstrates that DP can serve as a mechanism-rich, scalable, and general foundation for robust machine learning.
  • The results confirm that the semantic alignment between DP and adversarial robustness enables formal, certifiable defenses without sacrificing performance.

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.