What is data minimisation in AI?
Data minimisation in AI is the principle that an AI system's training, prompts, retrieval sources and logs process only personal data that is relevant, limited and proportionate to the purpose, keeping it no longer than needed.
Unlike prompt PII masking, which transforms personal information inside data that is sent, minimisation decides what is never collected or sent. The two work together.
- Topic
- Responsible AI and governance
- Also known as
- Data minimization
How data minimisation in AI works
- Write down the purpose and ask whether each data field is needed for it.
- Remove unneeded fields from training sets, prompts and retrieval sources.
- For needed fields, consider less intrusive options such as pseudonyms, aggregation or synthetic data.
- Set retention periods; delete raw records and logs when they end.
In more detail
Minimisation in RAG, embeddings and semantic caches
In retrieval-augmented generation (RAG), documents are converted into vector embeddings and cached for fast responses. Because research shows text can be partially reconstructed from raw embeddings and semantic caches may expose one user's query context to another, access-controlled indexing and strict TTL policies on caches are part of data minimisation.
The line between pseudonymisation and anonymisation and synthetic data risks
Under data protection laws, pseudonymised data remains personal data because individuals can still be identified with additional key information. True anonymisation and differentially private synthetic data aim to break that link, though synthetic generators must still be tested for outlier memorisation before release.
The difficulty of unlearning from weights and design choices
Once personal data is absorbed into model weights during pre-training or fine-tuning, selectively erasing a single user's record is technically difficult and costly. Minimising personal data before training, combined with parameter-efficient adapters (LoRA) or keeping personal records exclusively in updatable retrieval stores, makes retention and erasure duties enforceable.
Commonly confused terms
| Term | How it differs |
|---|---|
| Prompt PII masking | Prompt PII masking transforms or redacts personal data inside text that has already been captured and sent to an inference pipeline, whereas data minimisation decides upstream which data fields should never be collected, indexed or retained at all. |
| Purpose limitation | Purpose limitation restricts processing only to specified, explicit and legitimate purposes, whereas data minimisation limits the scope and volume of data fields collected and used to what is strictly necessary for that purpose. |
Why data minimisation in AI matters for on-premises AI
The GDPR requires personal data to be adequate, relevant and limited to what is necessary for the purposes. Law No. 6698 lists as general principles that personal data be relevant, limited and proportionate to the purpose and kept only as long as necessary. The European Data Protection Board's opinion on AI models counts approaches that prevent or limit the collection of personal data for training and reduce identifiability among methods to consider when assessing a model's anonymity.
This page gives general information and is not legal advice.
Training a call summarisation model, a contact centre uses only conversation text, leaves customer numbers, addresses and payment details out of the training set and deletes raw audio when the retention period ends.
Common questions
Does minimisation hurt model performance?
Sometimes. But in many tasks irrelevant fields add nothing; for needed fields, pseudonyms and aggregation can be tried.
Are logs covered by minimisation?
Yes. Prompt and response logs containing personal data should retain only needed fields and only for as long as needed.
Related terms
- AI privacy
- Prompt PII masking
- Lawful basis for AI training
- Data protection impact assessment for AI
- AI data governance
- Synthetic data
Sources
- EU General Data Protection Regulation, Regulation (EU) 2016/679
- Turkish Personal Data Protection Law No. 6698
- European Data Protection Board, Opinion 28/2024 on certain data protection aspects related to the processing of personal data in the context of AI models, 2024
In the glossary: Glossary, D to L