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

  1. Write down the purpose and ask whether each data field is needed for it.
  2. Remove unneeded fields from training sets, prompts and retrieval sources.
  3. For needed fields, consider less intrusive options such as pseudonyms, aggregation or synthetic data.
  4. 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

TermHow it differs
Prompt PII maskingPrompt 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 limitationPurpose 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.

ON-PREMISES EXAMPLE

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.

Sources

In the glossary: Glossary, D to L

What does this term mean for your infrastructure?

We can work out together in a technical assessment how it maps onto your data, hardware and security requirements.

Request a technical assessment →

This site sets no cookies. Visitor numbers are counted in aggregate using a cookieless method that does not identify anyone. See the Privacy Policy for details.