Advanced · module A14
AI Security, Safety and Governance
By the end: Threat-model an AI system, test it adversarially, apply safety techniques, and meet regulatory requirements
- Covers
- Attacking and defending AI systems, aligning them with human intent, and governing them responsibly
- Contents
- 3 chapters, 13 topics
- Time
- About 3 hours
- Level
- Advanced
- Your progress
- 0 / 13
This module builds on Large Language Models: Training, Adaptation and Evaluation. We suggest looking at it first, but the choice is yours.
Chapter 1 Security
- 1.112 minBeing written
Threat Modelling for AI Systems
Assets, attackers and attack surfaces
Template: a threat model
- 1.215 minBeing written
Adversarial Examples
Small changes that fool models, and defences
Code: an adversarial attack
- 1.312 minBeing written
Data Poisoning and Model Theft
Attacks on training data and on models themselves
Case study discussion
- 1.415 minBeing written
Prompt Injection and Jailbreaks
Attacks on LLM applications and layered defences
Lab: red-team an assistant
- 1.515 minBeing written
Privacy Attacks and Privacy-Preserving ML
Membership inference, differential privacy and federated learning
Code: train with differential privacy
Chapter 2 Safety and Alignment
- 2.112 minBeing written
The Alignment Problem
Specification gaming, reward hacking and Goodhart's law
Case studies
- 2.212 minBeing written
Alignment Techniques
RLHF, constitutional methods and scalable oversight
Reading and discussion
- 2.315 minBeing written
Mechanistic Interpretability
Features, circuits and sparse autoencoders
Code: probe a small model
- 2.412 minBeing written
Red-Teaming and Dangerous-Capability Evaluations
How frontier models are tested before release
Lab: design an evaluation
Chapter 3 Fairness and Governance
- 3.115 minBeing written
Fairness Metrics and Mitigation
Demographic parity, equalised odds and the trade-offs between them
Code: measure and mitigate unfairness
- 3.212 minBeing written
AI Regulation and Standards
India's guidelines and DPDP Act, the EU AI Act, NIST AI RMF and ISO/IEC 42001
Exercise: a compliance checklist
- 3.310 minBeing written
Responsible Scaling and Incident Response
Safety policies, incident reporting and accountability
Case study discussion
- 3.420 minBeing written
Module Review and Assessment
Practical tasks and a scored quiz
Graded audit