AWS clean-rooms: Document membership inference risk and seed size mitigation
Summary
Adds a Considerations section explaining that seed data providers could infer membership of users in training data via job success/failure when overlap equals the minimum matching seed size, and recommends setting the minimum matching seed size to 500+ and monitoring job counts.
Security assessment
The added text explicitly describes a membership inference attack against training data and prescribes a concrete mitigation (minimum seed size >= 500) plus job monitoring, directly addressing a privacy weakness in lookalike model configuration.
Evidence
To reduce this risk, we recommend the training data provider set the minimum matching seed size to 500 or higher.
Diff
diff --git a/clean-rooms/latest/userguide/ml-privacy.md b/clean-rooms/latest/userguide/ml-privacy.md index df54a73..cb1aa92 100644 --- a//clean-rooms/latest/userguide/ml-privacy.md +++ b//clean-rooms/latest/userguide/ml-privacy.md @@ -6,0 +7,2 @@ +Considerations + @@ -18,0 +21,10 @@ Finally, user-level metrics are never provided to training data providers, which +## Considerations + +The training data provider sets a minimum matching seed size when they configure the lookalike model. A lookalike segment generation job runs only if at least that many seed users match the training data. Otherwise, the job fails. For example, if the minimum matching seed size is 100 and only 90 seed users match, the job fails. + +There is a risk that the seed data provider could infer membership of specific users in the training data. This membership inference only works when the overlap between the seed data and the training data equals the minimum matching seed size. Because the seed data provider can see whether a job succeeds or fails, removing a single matched user from the seed dataset could reveal if that user was present in the training data. For example, the seed data provider runs a job that exactly matches the minimum of 100 matching users, then they create seed data with one fewer matching user and run the job again. If the job fails, the target user is present in the training data. If it succeeds, the target user is not. + +To reduce this risk, we recommend the training data provider set the minimum matching seed size to 500 or higher. A higher minimum reduces the risk that the seed data provider already knows enough matching users to run this membership inference attack successfully. + +Additionally, the training data provider should monitor the number of lookalike segment generation jobs. Testing many users takes many jobs. An unusually high number of jobs can be a sign of this kind of membership inference attack. +