TL;DR
Most privacy audits for AI models look at a single, final snapshot, but models are rarely static. This paper introduces Sequential Membership Inference (SeMI) attacks, which exploit the sequence of model updates to detect if a specific "canary" data point was used during training. By isolating the exact moment a record is inserted, SeMI provides significantly tighter privacy lower bounds than traditional, static auditing methods.
What Problem Does This Paper Address?
Machine learning models have a "memory" problem: they often inadvertently memorize specific training records, posing a major privacy risk. To quantify this risk, researchers use Membership Inference (MI) attacks to see if they can guess whether a specific individual's data was used to train a model. This process, known as privacy auditing, helps determine if the theoretical guarantees of Differential Privacy (DP) match reality.
The current gap is that most auditing tools only look at the final version of a model. However, modern AI lifecycles involve continuous updates, fine-tuning, and versioned releases. Standard attacks suffer from "signal dilution"—as more data is added over time, the influence of a single record in the final model becomes harder to detect. The authors ask: Can we get a more accurate picture of privacy leakage by looking at the entire trajectory of a model's evolution?
Methods
The authors formalize the SeMI Game, a hypothesis-testing framework where an attacker observes a sequence of $T$ model snapshots and tries to determine if a target "canary" was inserted at a specific time step $\tau$.
Key technical contributions include:
- $SeMI^*$ (The Optimal Test): For simple empirical mean estimation, the authors derive a theoretically optimal attack using Likelihood Ratio (LR) tests. They identify an "Isolation Property": the attack's power depends only on the snapshots immediately before and after the target's insertion, effectively filtering out the "noise" from the rest of the training process.
- $SeMISGD$: They extend this theory to models trained with Stochastic Gradient Descent (SGD). This white-box attack uses a Mahalanobis-weighted score to compare the actual parameter update to the expected gradient of the target record.
- Black-Box Variants: For scenarios where only model losses are available, they propose "Loss Diff" and "Loss Ratio" scores that contrast the target's loss across consecutive checkpoints.
- Sequential Auditing Protocol: A procedure that turns attack success rates (Type-I and Type-II errors) into high-confidence lower bounds for the privacy parameter $\epsilon$.
Datasets
The researchers evaluated their attacks using:
- Synthetic Gaussian Data: Used to validate the theoretical optimality of $SeMI^*$.
- Fashion-MNIST: The primary benchmark for auditing softmax classifiers.
- CIFAR-10 & Purchase-100: Used in "pretrain-then-finetune" scenarios to show how SeMI performs across different architectures and data types.
Key Insights and Ideas
- The "Isolation" Breakthrough: The most important "aha moment" is that sequential access prevents signal dilution. In a final model, one record is one of millions. In a single training transition, that record is one of only a few thousand (the batch size). By looking at the transition, the attacker "isolates" the record's influence.
- The Power of Timing ($\tau$): The audit's tightness depends heavily on when the canary is inserted. The authors found that inserting a canary later in training—when the model has already converged and gradients are generally smaller—makes the "signal" of the new data point stand out much more clearly.
- Theory-Driven Design Wins: Unlike previous sequential attacks that relied on heuristics (like simply averaging scores), $SeMISGD$ is derived from the Likelihood Ratio. This principled approach consistently yields higher detection power, especially in the low-false-positive regime that is critical for privacy auditing.
Key Results
- Superior Detection: $SeMISGD$ consistently outperformed snapshot-independent baselines (like LiRA) and existing sequential heuristics (like Delta and Back-Front attacks).
- Tighter Audits: In experiments on Fashion-MNIST with a ground-truth $\epsilon=8$, SeMI attacks produced significantly higher (tighter) empirical lower bounds for $\epsilon$ as the number of snapshots increased.
- Constant Power: While the power of a "Final Observation" attack decays as training continues, the power of $SeMI^*$ remains constant regardless of how many updates occur after the target is inserted.
- White-box vs. Black-box: Accessing gradients (white-box) provides a substantial margin over loss-only (black-box) attacks, though even black-box SeMI variants beat traditional static audits.
Limitations and Future Work
- Snapshot Access: The attack assumes the auditor has access to intermediate model checkpoints. While common for internal developers or regulators, these are not always public.
- Gaussian Assumption: The $SeMISGD$ attack relies on the assumption that batch gradients follow a Gaussian distribution. While often true in practice due to the Central Limit Theorem, it may not hold for very small batch sizes or highly non-convex landscapes.
- Future Directions: The authors suggest extending this work to "single-run" audits (where multiple canaries are inserted in one go) and investigating how distribution shifts between training phases might further impact (or help) sequential attacks.
Summary updated