Privacy technology and AI governance
The privacy-enhancing technologies that apply to LLM systems (differential privacy, federated learning, confidential computing, local-first inference) with a runnable differential-privacy example, then the governance side: the EU AI Act, the NIST AI Risk Management Framework, ISO/IEC 42001, model and data documentation, and what an audit of an LLM system looks at.
By Sandip Maity, Applied AI Engineer
Security stops attackers. Privacy and governance answer different questions: can we use this data at all, how do we prove we are handling it properly, and who is accountable when the system gets something wrong? This lesson covers the technical tools first, then the frameworks and documents that customers, auditors and regulators ask for.
#Privacy-enhancing technologies
| Technology | What it protects | Where it fits in LLM work | Cost |
|---|---|---|---|
| Data minimisation and redaction | Personal data never enters the system | Prompts, logs, training sets (PII handling) | Low; do this first |
| Local or on-premise inference | Data never leaves your machines | Sensitive documents, regulated sectors | Hardware and operations |
| Differential privacy (DP) | Individuals in aggregate statistics or training data | Analytics on usage, DP fine-tuning | Accuracy loss, a privacy budget to manage |
| Federated learning | Raw data stays on devices or sites | Keyboard models, cross-hospital training | Complex infrastructure; updates can still leak |
| Confidential computing (trusted execution environments, including GPU TEEs) | Data in use, from the cloud operator | Running models on rented GPUs with sensitive data | Some performance overhead, attestation setup |
| Encryption and access control | Data at rest and in transit | Everywhere | Low |
Pro content
Keep reading with Inference Academy Pro
Unlock the rest of this lesson, plus every advanced lesson, hands-on lab, the larger playground models and completion certificates.
Still to come in this lesson
- Governance: the frameworks you will be asked about
- Documents that make governance real
- What an audit looks at
- Exercises
You will be able to answer
- In differential privacy, what does a smaller epsilon mean?
- You answer the same private query 100 times, each at epsilon 0.5. What is the total privacy cost?
- What does federated learning keep on the users' devices?
- Which document describes a model's intended use, training data, evaluations and limitations?
- Which is an AI management system standard you can be certified against?