Adversarial AI Lab

Model Privacy Lab

Membership inference, model inversion and differential privacy (DP-SGD) with a real ε accountant.

  • 3Experiments
  • 3Lessons

The experiments use 8×8 handwritten-digit images and small models trained in this project; they do not replace testing your production model. The numbers are real and computed in your browser, but do not generalise automatically to larger models.

Lessons

privacy

Membership inference

An attack that decides whether a given sample was in the model's training data, usually from confidence/loss differences between members and non-members.

Read the lesson
privacy

Model inversion

The attacker reconstructs an input representing a class from model outputs, which may reveal features of the training data.

Read the lesson
privacy

Differential privacy and DP-SGD

Clips each sample's gradient and adds Gaussian noise, bounding any single sample's influence and computing ε for the guarantee.

Read the lesson

Experiments

My saved experiments