Evaluating the Dynamics of Membership Privacy in Deep Learning

Yuetian Chen, Zhiqi Wang, Nathalie Baracaldo, Swanand Ravindra Kadhe, Lei YuarXiv 2025 · DOI

Abstract

Membership Inference Attacks (MIAs) are typically evaluated post-training, providing only a static view of privacy leakage. This work introduces a dynamic framework to analyze how membership information is encoded during the training process. By tracking "vulnerability trajectories" on a 2D plane of False Positive and True Positive Rates, we demonstrate that privacy risks are often established early in training and are highly correlated with a sample's learning difficulty. Our findings suggest that complex datasets and deeper architectures accelerate privacy leakage, while optimizers like Sharpness-Aware Minimization (SAM) can mitigate these risks.

Introduction

Membership Inference Attacks (MIAs) allow an adversary to determine if a specific data point was part of a model's training set. While numerous methods exist to attack finished models, the underlying mechanics of how and when privacy leakage occurs during training remain poorly understood. Current research often treats privacy as a binary state of the final model, ignoring the evolving process of weight updates. This "post-hoc" approach provides a snapshot but fails to inform proactive, privacy-aware training strategies. This paper seeks to bridge this gap by treating privacy leakage as a dynamic phenomenon.

Methodology: The Vulnerability Plane

The authors propose a dynamic analytical framework centered on the Vulnerability Plane—a geometric state space defined by the False Positive Rate (FPR) and True Positive Rate (TPR) of an attack.

Conceptual framework for tracking vulnerability trajectories on the FPR-TPR plane during training.

Key components of this framework include:

  • Vulnerability Trajectories: Tracking the movement of individual samples across the FPR-TPR plane over hundreds of training epochs.
  • Dynamic Metrics: New quantifiers such as Membership Encoding Speed (the rate at which a sample becomes vulnerable) and Center of Mass (CoM) Displacement (the collective drift of the dataset toward vulnerability).
  • Measurement Tool: The state-of-the-art Likelihood Ratio Attack (LiRA) is utilized as a high-precision instrument to measure privacy "heat" at various training checkpoints.

Experimental Setup

The study evaluates four standard image classification datasets representing a spectrum of complexity: MNIST (simple digits), Fashion-MNIST (clothing), CIFAR-10 (natural images), and CINIC-10 (complex natural images derived from ImageNet).

Key Insights

Privacy as a "Debt"

More complex datasets and deeper models incur a higher "privacy debt." As models struggle to fit complex data, they transition from generalization to memorization, manifesting as a sharp move toward high-vulnerability regions on the plane.

The "Hard-to-Learn" Correlation

A significant correlation (up to 0.916) exists between a sample’s epistemic uncertainty and its vulnerability. Outliers or difficult-to-categorize samples force the model to memorize them, making them highly susceptible to MIAs.

Sharpness-Aware Minimization (SAM)

The researchers found that SAM, an optimizer designed to find "flatter" minima for better generalization, significantly mitigates privacy leakage compared to standard SGD. By avoiding "sharp" minima, the model is less likely to encode membership information for individual points.

Results and Discussion

The dynamic analysis reveals several critical patterns in how privacy is lost during training.

Dynamics of privacy leakage across (a) datasets, (b) model architectures, and (c) optimization algorithms.
  • Early Exposure: A sample's privacy "fate" is often sealed early. Over 70% of samples that are vulnerable in the final model can be identified by epoch 150 of 400.
  • Complexity and Architecture Multipliers: Moving from MNIST to CINIC-10 increased the total population leakage (CoM Displacement) by more than tenfold. Similarly, deeper models like Wide ResNet 28-2 showed three times the leakage displacement of shallow CNNs, confirming that model capacity acts as a catalyst for membership encoding.
  • Population Bifurcation: In complex models, the population splits; while some samples remain robust, a "privacy-underprivileged" subset is aggressively pushed into high-vulnerability zones.

Conclusion and Future Work

This work shifts the focus of privacy research from static auditing to dynamic characterization. While the current study focuses on mapping the "when" and "how" of leakage, it lays the groundwork for proactive interventions. Future research may involve using early-training signals to trigger targeted defenses (e.g., differential privacy) only for high-risk samples and extending this analysis to Large Language Models (LLMs).

Summary updated

BibTeX
@misc{chen2025evaluating,
  author = {Yuetian Chen and Zhiqi Wang and Nathalie Baracaldo and Swanand Ravindra Kadhe and Lei Yu},
  title = {{Evaluating the Dynamics of Membership Privacy in Deep Learning}},
  year = {2025},
  eprint = {2507.23291},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.23291},
}
Figure