the.ai

Privacy / Attacks

verified

Membership Inference

Given a trained model and a record, decide whether that record was in the training set. It sounds modest and is not: membership in a medical study is itself the sensitive fact. It is also the attack that operationalises overfitting, because a model that is more confident on data it has seen is a model that answers this question for you.

Viz primitive · loss-curvesteps = 2000 · lr = 0.002 · batch = 64 · params = 1
loss
step 0dashed = held-out2000

Loss over 2000 training steps, starting near 7.2. It falls to about 1.95, with 93% of the total improvement arriving in the first half. A second line shows held-out, ending higher at about 2.15.

Loss on records the model trained on against loss on records it never saw. Drag the generalisation gap up to watch the two curves part — that gap is exactly what a membership attack reads, which is why overfitting and leakage are one quantity.

0.15

Reviewed by opendroid · 2026-08-18

  • arXiv:1610.05820 — Membership Inference Attacks against Machine Learning Models