AI engineering glossary · Evals guardrails AI security

What is membership inference attack?

Membership inference attack: An attack that tests whether a specific record was part of a model's training data, usually by noticing that models are more confident on examples they have seen. It threatens privacy, for instance by revealing that a person's medical record was used.

Level: advancedTopic: Evals guardrails AI security

Membership inference attack: an example

Given a patient's record, an attacker sees the model is unusually confident about it and concludes it was probably in the training set.

Related terms

More Evals guardrails AI security terms

Where you learn it

Membership inference attack is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.