Skip to main content
QUICK REVIEW

[Paper Review] Stolen Memories: Leveraging Model Memorization for Calibrated White-Box Membership Inference

K. Rustan M. Leino, Matt Fredrikson|arXiv (Cornell University)|Jun 27, 2019
Adversarial Robustness in Machine LearningComputer Science68 citations
TL;DR

This paper presents a white-box membership inference attack that exploits a model’s memorization of idiosyncratic features to achieve calibrated, high-precision inferences, and it evaluates defenses like differential privacy.

ABSTRACT

Membership inference (MI) attacks exploit the fact that machine learning algorithms sometimes leak information about their training data through the learned model. In this work, we study membership inference in the white-box setting in order to exploit the internals of a model, which have not been effectively utilized by previous work. Leveraging new insights about how overfitting occurs in deep neural networks, we show how a model's idiosyncratic use of features can provide evidence for membership to white-box attackers---even when the model's black-box behavior appears to generalize well---and demonstrate that this attack outperforms prior black-box methods. Taking the position that an effective attack should have the ability to provide confident positive inferences, we find that previous attacks do not often provide a meaningful basis for confidently inferring membership, whereas our attack can be effectively calibrated for high precision. Finally, we examine popular defenses against MI attacks, finding that (1) smaller generalization error is not sufficient to prevent attacks on real models, and (2) while small-$ε$-differential privacy reduces the attack's effectiveness, this often comes at a significant cost to the model's accuracy; and for larger $ε$ that are sometimes used in practice (e.g., $ε=16$), the attack can achieve nearly the same accuracy as on the unprotected model.

Motivation & Objective

  • Investigate how overfitting and memorization in deep networks leak membership information through internal feature use.
  • Develop a white-box MI attack that does not require access to the target training data and yields calibrated, high-precision inferences.
  • Explicitly analyze the limitations of prior black-box and white-box MI attacks and propose methods to improve confidence in membership predictions.
  • Evaluate the proposed attack on real and synthetic datasets and study defenses (e.g., differential privacy) against it.

Proposed method

  • Introduce an evidence-based, Bayes-optimal white-box MI attack that leverages idiosyncratic feature use.
  • Derive a linear Bayes-optimal attack model for a simple linear softmax target under Gaussian naive-Bayes assumptions (Theorem 1).
  • Show how to obtain MI parameters from proxy models when exact D* and ˆD are unknown (bayes-wb attack, Observation 1).
  • Generalize to arbitrary distributions with a learned displacement function D to create the general-wb attack.
  • Extend the attack to deep networks using local linear approximations of each layer (Section 4).
  • Incorporate calibration techniques to achieve high-precision inferences (Algorithm 3).

Experimental results

Research questions

  • RQ1Can white-box access to a trained model reveal membership information via the model’s internal feature usage even when output behavior generalizes well?
  • RQ2Can an attack model be calibrated to provide high-precision (confident) membership inferences without access to the target’s training data?
  • RQ3How can proxy models and distributional assumptions be leveraged to approximate Bayes-optimal membership predictions in white-box MI?
  • RQ4Do practical defenses like differential privacy meaningfully mitigate such white-box MI attacks without prohibitive losses in model accuracy?
  • RQ5How can the attack be extended to deep neural networks while preserving interpretability and calibration?

Key findings

  • The proposed white-box attack exploits memorization in feature usage to outperform prior black-box MI methods.
  • The Bayes-optimal linear attack (Theorem 1) shows exact membership prediction under Gaussian naive-Bayes assumptions, enabling calibrated confidence.
  • When exact distribution parameters are unavailable, proxy models and weight displacements (bayes-wb, general-wb) approximate the optimal attack.
  • Calibration techniques allow adjusting decision thresholds to achieve higher precision in membership inference.
  • The attack remains effective on real datasets and is only partially mitigated by small-ε DP; larger ε often yields little additional protection.
  • Attacks provide a practical heuristic for evaluating private-learning parameter choices and stress-test defenses.

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.