A machine learning model is trained on a dataset — patient records, browsing histories, private messages. Once deployed, it accepts queries and returns predictions. The dataset itself is never exposed. Or is it?
Membership inference is the question: was this specific record used to train the model? It sounds like a narrow technical detail, but the answer has serious privacy consequences. If an attacker can tell that your medical record was in the training set of a hospital's diagnostic model, they learn something you never consented to share.
The attack works because of a fundamental property of trained models: they tend to be more confident on examples they have seen before. Overfitting amplifies the gap — a model that has memorized training data will assign very high confidence to training records and lower confidence to fresh data. That confidence gap is the signal the attacker exploits.
The attack was formalized by Shokri et al. (2017) using shadow models — auxiliary models trained to mimic the target and reveal the membership boundary. Since then, the field has moved fast: membership inference is now a standard auditing tool and a key motivation behind differential privacy.
Comments
Loading comments...