The problem space · Data · Backdoors
Align your AI Data against backdoors
A small number of planted examples in training data can teach a model hidden behavior that waits for a trigger.
- Data
- the examples it learns from
- Backdoors
- hidden behavior waiting for a trigger
Ways it goes wrong
Models learn from data gathered across the web, and an attacker needs only a little of it. For about 60 US dollars, an attacker could have controlled 0.01% of two large image datasets1. In models from 600 million to 13 billion parameters, 250 poisoned documents planted the trigger at every size2. The trigger produced gibberish, a deliberately low-stakes behavior2.
2023
Expired web addresses in training datasets
Researchers showed that buying expired web addresses listed in popular image datasets would let an attacker change what later users download, and bought some to measure who still fetched them.
Source: arxiv.org/abs/2302.10149
2025
A fixed number of poisoned documents
Researchers at Anthropic, the UK AI Security Institute and the Alan Turing Institute found that about the same small number of poisoned documents planted a trigger in models of every size they trained.
What people do about it
After disclosure, six of the ten datasets studied adopted the researchers' integrity checks1. Cleanup is hard: in another study, planted backdoors persisted through standard safety training3.
Check training files against fingerprints
Uses a downloaded file only when it matches the fingerprint recorded when the dataset was built.
Delay snapshots of pages anyone can edit
Waits before adding crowd-edited pages to a dataset, so moderators can undo planted edits.
Scan the trained model for triggers
Compares the model with its base on unusual inputs, looking for behavior that appears only with certain phrases.
Where we touch it
Our Data post covers what a model learns that no one meant to teach: Align your AI Data
Sources
-
Carlini et al., “Poisoning Web-Scale Training Datasets is Practical”, arXiv 2302.10149. https://arxiv.org/abs/2302.10149. Accessed 2026-10-23. ↩ ↩2
-
Anthropic, “A small number of samples can poison LLMs of any size”, 2025-10-09. https://www.anthropic.com/research/small-samples-poison. Accessed 2026-10-23. ↩ ↩2
-
Hubinger et al., “Sleeper Agents: Training Deceptive LLMs that Persist Through Safety Training”, arXiv 2401.05566. https://arxiv.org/abs/2401.05566. Accessed 2026-10-23. ↩