← Lab /AI/ML

Membership inference attacks cannot prove a model used your data

Membership inference attacks are fundamentally unsound for providing legal proof that a model was trained on specific data.

AI/ML SPY Lab (ETH Zurich) 19 Dec 2024 Method Theory

Published as “Membership Inference Attacks Can't Prove that a Model Was Trained On Your Data”

Why it matters

Courts and auditors should not rely on membership inference attacks as evidence of data misuse and instead consider techniques with provable false-positive bounds.

Summary

The paper formalizes training-data proofs as hypothesis tests and shows that existing membership-inference (MI) attacks cannot reliably estimate false-positive rates because they cannot sample the true null hypothesis. It demonstrates that common evaluation practices introduce distribution shifts that invalidate FPR bounds. Under strong uniform-sampling assumptions, the authors derive a simple bound FPR ≤ k/|X| and propose three sound alternatives-random canary injection, watermarking training data, and data-extraction attacks-each offering provable low false-positive rates.

What they found 1

  1. Existing MI-based training data proofs cannot provide convincing low false-positive rates because they do not sample the true null hypothesis.

    “All existing attempts at building a training data proof using membership inference end up cutting some corners to try and sample from the null hypothesis. As they do not end up sampling from the true null hypothesis (but some distortion of it), they cannot provide convincing evidence that the attack’s FPR is low.”

Caveats 4

  • The FPR bound relies on "suitable (but strong) assumptions" about uniform sampling and independence from model training.
  • The proposed random-canary and watermarking approaches require injecting or modifying data, which may not be feasible for all data owners.
  • The bound in Equation (3) holds only under the strong assumptions that the target sample is uniformly drawn from \mathcal{X} and that the model is trained independently of this sampling.
  • Random canary injection assumes the canary is sampled from an IID set and carries no useful information, which may not reflect real-world data releases.

What’s new here 4

  • Formal hypothesis-testing framework for training-data proofs and FPR estimation.
  • Proof that existing MI-based proofs are statistically unsound due to flawed null-hypothesis sampling.
  • Derivation of a simple FPR bound (FPR ≤ k/|X|) under uniform-sampling assumptions.
  • Three alternative techniques (random canaries, data watermarking, extraction attacks) with provable FPR bounds.