When the model is the attack surface.
Long-form notes on adversarial machine learning, privacy, and the gap between what we can measure about a model and what we can prove. Written for people who train models and want to know how they break.
Fairness Is Not One Number
A risk score can mean the same thing for everyone and still be wrong about one group twice as often. That is not a bug in COMPAS; it is a theorem. Here are the three fairness criteria, the proof that you cannot have t...
All posts
Read in orderJailbreaking LLMs: Why Alignment Is an Attack Surface
Every defense in this post cuts attack success from tens of percent to single digits in its own evaluation. A 2025 paper then reached 100% on every leading model with ...
Certified Robustness: Proofs Instead of Benchmarks
An adversarially trained CIFAR-10 model scores 78.7% clean and looks robust on a benchmark. Hand it to a verifier and it certifies 0% of test points at ε = 8/255. The ...
PAC Privacy: Measuring Leakage Instead of Assuming the Worst Case
Differential privacy calibrates noise to the worst input a mechanism could ever see. PAC Privacy, introduced by Xiao and Devadas at CRYPTO 2023, calibrates it to how m...
Differential Privacy: What a Formal Guarantee Actually Looks Like
In 2016, differentially private training reached 73% on CIFAR-10 at ε = 8. By 2022 the same budget bought 81.4%, and in 2025 Google released a billion-parameter langua...
Your Model Remembers Things It Shouldn't
A trained model is a lossy compression of its training data, and the loss is not large enough. For about $200 of API queries, researchers pulled more than ten thousand...
Evasion Attacks and the Geometry of Adversarial Examples
Add a perturbation smaller than one grey level to an image and a state-of-the-art classifier flips its answer with 99% confidence. Twelve years on, the best defenses o...
Explainability: Why Knowing Isn't the Same as Understanding
An edge detector produces saliency maps as convincing as any gradient method, with no model behind it. A reasoning model that used a hint admits it a quarter of the ti...
Poisoning Attacks: Corrupting a Model Before It Exists
One optimised training point can quadruple an SVM's error. Five images backdoor a face recogniser trained on 600,000. About 250 documents backdoor a language model whe...
The Threat Model Nobody Teaches in Intro ML
A spam filter trained on a corpus that is 1% attacker-controlled will misfile 83% of legitimate mail. A 13-billion-parameter language model can be backdoored with 250 ...
The series, in reading order
The posts build on each other: threat model first, then attacks, then the privacy and robustness frameworks that try to answer them, then the harder questions about trust.
- The Threat Model Nobody Teaches in Intro MLFoundations · 14 min read
- Poisoning Attacks: Corrupting a Model Before It ExistsAttacks · 15 min read
- Explainability: Why Knowing Isn't the Same as UnderstandingExplainability · 15 min read
- Evasion Attacks and the Geometry of Adversarial ExamplesAttacks · 16 min read
- Your Model Remembers Things It Shouldn'tPrivacy · 17 min read
- Differential Privacy: What a Formal Guarantee Actually Looks LikePrivacy · 17 min read
- PAC Privacy: Measuring Leakage Instead of Assuming the Worst CasePrivacy · 15 min read
- Certified Robustness: Proofs Instead of BenchmarksDefenses · 15 min read
- Jailbreaking LLMs: Why Alignment Is an Attack SurfaceLLM Safety · 15 min read
- Fairness Is Not One NumberEthics & Fairness · 15 min read