Skip to main content
QUICK REVIEW

[Paper Review] Adversary Instantiation: Lower Bounds for Differentially Private Machine Learning

Milad Nasr, Shuang Song|arXiv (Cornell University)|Jan 11, 2021
Privacy-Preserving Technologies in DataComputer Science7 citations
TL;DR

This paper proposes a method to instantiate hypothetical adversaries in differential privacy (DP) machine learning to establish tight lower bounds on privacy leakage. By simulating adversaries with varying capabilities—from black-box model query to full gradient poisoning—it demonstrates that DP-SGD's theoretical upper bounds are tight when adversaries have maximal access, but practical privacy is significantly stronger when realistic constraints are applied.

ABSTRACT

Differentially private (DP) machine learning allows us to train models on private data while limiting data leakage. DP formalizes this data leakage through a cryptographic game, where an adversary must predict if a model was trained on a dataset D, or a dataset D' that differs in just one example.If observing the training algorithm does not meaningfully increase the adversary's odds of successfully guessing which dataset the model was trained on, then the algorithm is said to be differentially private. Hence, the purpose of privacy analysis is to upper bound the probability that any adversary could successfully guess which dataset the model was trained on.In our paper, we instantiate this hypothetical adversary in order to establish lower bounds on the probability that this distinguishing game can be won. We use this adversary to evaluate the importance of the adversary capabilities allowed in the privacy analysis of DP training algorithms.For DP-SGD, the most common method for training neural networks with differential privacy, our lower bounds are tight and match the theoretical upper bound. This implies that in order to prove better upper bounds, it will be necessary to make use of additional assumptions. Fortunately, we find that our attacks are significantly weaker when additional (realistic)restrictions are put in place on the adversary's capabilities.Thus, in the practical setting common to many real-world deployments, there is a gap between our lower bounds and the upper bounds provided by the analysis: differential privacy is conservative and adversaries may not be able to leak as much information as suggested by the theoretical bound.

Motivation & Objective

  • To investigate the gap between theoretical differential privacy (DP) upper bounds and actual privacy leakage in practice.
  • To evaluate the impact of adversary capabilities on the effectiveness of privacy attacks in DP machine learning.
  • To determine whether current DP-SGD analysis is tight or could be improved through additional assumptions.
  • To assess whether practical restrictions on adversaries lead to a meaningful gap between theoretical upper bounds and empirical lower bounds.
  • To guide future theoretical and applied research by identifying which assumptions yield the most beneficial privacy guarantees.

Proposed method

  • Instantiate a spectrum of adversaries, from black-box (only observing model predictions) to white-box (access to intermediate gradients and training updates).
  • Construct two datasets D and D′ that differ in only one example to simulate the DP distinguishing game.
  • Design two attack algorithms: one to generate adversarial datasets, and another to predict which dataset a trained model was trained on.
  • Measure empirical privacy loss (ε) under various threat models, comparing it to the theoretical upper bound from DP analysis.
  • Use DP-SGD as the primary case study, applying the Moments Accountant for rigorous privacy accounting.
  • Evaluate attacks on standard datasets like MNIST and CIFAR-10 to assess generalizability and realism of the threat models.
Figure 2 : Our attack process. Our first algorithm, the crafter constructs two datasets $D$ and $D^{\prime}$ differing in one example. The model trainer then (independently of the adversary) trains a model on one of these two datasets. Our second algorithm, the distinguisher then guesses which datas
Figure 2 : Our attack process. Our first algorithm, the crafter constructs two datasets $D$ and $D^{\prime}$ differing in one example. The model trainer then (independently of the adversary) trains a model on one of these two datasets. Our second algorithm, the distinguisher then guesses which datas

Experimental results

Research questions

  • RQ1How tight are the theoretical upper bounds on privacy leakage in DP-SGD when the adversary has full access to training intermediates?
  • RQ2What is the actual privacy leakage when the adversary is restricted to realistic capabilities, such as only observing final model outputs?
  • RQ3Can the gap between theoretical upper bounds and empirical lower bounds be significantly reduced by restricting adversary capabilities?
  • RQ4Which assumptions about the adversary’s access (e.g., gradient poisoning vs. model query) most strongly affect the privacy leakage?
  • RQ5Are there practical threat models where the actual privacy offered exceeds the theoretical upper bound, suggesting conservatism in current DP analysis?

Key findings

  • The theoretical upper bound on privacy loss (ε) for DP-SGD is tight when the adversary has full access to training gradients and intermediate model updates.
  • When the adversary is restricted to only observing final model predictions (black-box access), the actual privacy leakage is substantially lower than the theoretical upper bound.
  • The gap between theoretical upper bounds and empirical lower bounds is significant in realistic settings, indicating that DP-SGD is conservative in practice.
  • Attacks that modify training gradients are only marginally more effective than those that operate on real datasets like CIFAR-10, suggesting pathological data construction does not yield disproportionate gains.
  • Restricting the adversary to only modifying training examples (rather than gradients) is a promising direction for improving privacy guarantees without changing the algorithm.
  • The current Moments Accountant analysis for DP-SGD is tight, implying that further improvements in theoretical bounds require either algorithmic changes or stronger assumptions about the adversary’s capabilities.

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.