What is AI privacy?

AI privacy is the set of principles, processes and techniques ensuring that in developing and using AI systems personal data is collected lawfully, processed only as needed, stored securely and not disclosed without authorisation.

It differs from privacy-preserving machine learning in scope: that field covers technical methods, while AI privacy combines them with the legal and organisational framework. It differs from AI security in focus: security protects the system from attack, while privacy protects individuals' personal data rights.

Topic
Responsible AI and governance
Also known as
AI data privacy, privacy in AI

How AI privacy works

  1. Which personal data is processed for which purpose is defined; data minimisation, anonymisation or masking apply to training, fine-tuning and prompt data.
  2. Where needed, privacy-preserving methods such as Differentially Private Stochastic Gradient Descent or federated learning with secure aggregation protect individual records in training.
  3. Answers pass permission and output checks; log access is restricted and retention defined.
  4. High-risk processing gets a prior impact assessment (data protection impact assessment).

In more detail

Privacy in RAG and at inference: access lists, vector indexes and logs

In enterprise RAG and agent systems, privacy risks shift from training-data memorisation to inference-time over-sharing. Enforcing document-level access control lists (ACLs) inside vector retrieval, redacting PII in prompts and observability traces and isolating multi-tenant caches reduce the risk of users surfacing restricted personal data they are not authorised to read.

The right to erasure: deleting from RAG versus unlearning from the model

Under GDPR and KVKK, individuals hold rights to erasure and rectification, which pose distinct challenges for AI. Deleting records from a RAG index or fine-tuning dataset is straightforward, whereas removing memorised personal data from already trained model weights requires retraining, machine unlearning or compensating output filters.

The differential privacy budget and the utility and privacy trade-off

DP-SGD balances privacy and accuracy through a privacy budget (ε, δ) and per-sample gradient clipping plus calibrated noise: smaller ε gives stronger privacy guarantees against membership inference, while too small a budget can degrade model utility on rare subgroups.

The anonymous model test in EDPB Opinion 28/2024

In EDPB Opinion 28/2024, European data protection authorities clarified that an AI model trained on personal data is not automatically anonymous; it qualifies as anonymous only if both the likelihood of extracting personal data and the likelihood of obtaining it through queries are insignificant using all means reasonably likely to be used.

Commonly confused terms

TermHow it differs
Privacy-preserving machine learningPrivacy-preserving machine learning (PPML) refers specifically to cryptographic and statistical techniques (DP-SGD, federated learning, MPC, homomorphic encryption) used during model training and inference, whereas AI privacy encompasses those techniques plus legal bases, governance, DPIAs and data lifecycle controls.
AI securityAI security protects the AI system's confidentiality, integrity and availability against adversaries (e.g., prompt injection, model theft), whereas AI privacy protects individuals' fundamental rights over their personal data processed by or memorised in the system.
Pseudonymisation versus anonymisationPseudonymisation / masking replaces direct identifiers while keeping re-identification possible with additional keys or quasi-identifiers (so data remains personal data under GDPR/KVKK), whereas true anonymisation renders individuals non-identifiable irreversibly.

Why AI privacy matters for on-premises AI

AI systems working with personal data can fall under data protection rules such as KVKK in Turkey and GDPR in Europe; purpose limitation, data minimisation and retention apply to AI too. In-house deployment avoids transfers abroad or to third-party services, but risks remain: unauthorised internal access, models memorising personal data (membership inference) and personal data in logs. Privacy is addressed from the design stage.

This page gives general information and is not legal advice.

ON-PREMISES EXAMPLE

A hospital removes identifiers and uses DP-SGD for a forecasting model trained on patient records, making individual records harder to recover from the model.

Common questions

Does in-house AI fully solve personal data issues?

No. It prevents transfers outside, but purpose limitation, unauthorised internal access, personal data in logs and model memorisation still need handling.

How is personal data protected in AI training?

Unneeded personal data is removed or masked and anonymised where possible; methods such as differential privacy are used where needed and access to training data is restricted.

Sources

In the glossary: Glossary, M to Q

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.