Step 27 of 38 · Risk and responsibility · optional
Privacy in training data and outputs
Models can memorise and reveal personal data. Know what went into training, on what basis, and what can come out.
Personal data enters ML systems through training sets, logs, prompts and sensor streams. Cameras and microphones on a robot record bystanders who never agreed to anything. Models can memorise training examples and repeat them.
Know your position before a regulator or customer asks. For each dataset: what personal data it holds, the basis for using it, how long you keep it and how you would honour a deletion request once a model has been trained on it. Collect less. Mask or drop what you do not need at the point of capture.
Involve your privacy or legal partner at design time. Retrofitting consent or deletion into a trained model is expensive and sometimes impossible.
Try this week
- Map where personal data enters your pipeline: training sets, logs, prompts, sensors. Note retention for each.
- Ask your privacy partner how a deletion request would be handled for data already used in training.
Signs you've got it
- Each dataset records what personal data it contains and the basis for using it.
- Privacy review happens at design time, before data collection starts.
Resources
- guideGuidance on AI and data protection (opens in a new tab)UK Information Commissioner's Office
- guideNIST Privacy Framework (opens in a new tab)NIST
- paperExtracting Training Data from Large Language Models (opens in a new tab)Nicholas Carlini and colleagues
- paperMembership Inference Attacks against Machine Learning Models (opens in a new tab)Reza Shokri and colleagues
- bookSecurity and Privacy (Machine Learning in Production) (opens in a new tab)Christian Kästner