Skip to content
Minute Campus.

How AI gets attackedLesson 091 min

How few documents does it take to poison a model?

The usual assumption was that an attacker must control a percentage of a model's training data to plant a hidden behaviour. A 2025 study found a fixed number instead: about 250 documents backdoored every model tested, even one trained on twenty times more data. The trigger only made the model produce gibberish, so the risk is narrow, but models learn from public web pages anyone can publish.

Remember

What a model reads in training is part of its security.

Sources

Checked at the source.

Every claim in the lesson was checked against these before it was recorded.

  1. 1A small number of samples can poison LLMs of any sizeAnthropic · 9 Oct 2025 · read 4 Oct 2026As few as 250 malicious documents backdoored models of any size; the tested backdoor was narrow.

Transcript

The lesson, word for word.

Read it at your own pace, or search the page for a term.

How much of a model's training data must an attacker control to plant a hidden behaviour in it? The usual assumption was a percentage. In twenty twenty-five, Anthropic, the UK's AI Security Institute and the Alan Turing Institute tested that. The answer was a fixed number: about two hundred and fifty documents. That was enough to plant a backdoor in every model they tested, including one trained on twenty times more data than the smallest. A backdoor is a hidden trigger: a phrase that makes the model do something nobody intended. Here, the trigger just made the model produce gibberish. The researchers say this narrow backdoor is unlikely to be a serious risk in the largest models. But it matters, because models learn from the public internet, and anyone can publish a few hundred pages. This is called data poisoning. The lesson: what a model reads in training is part of its security.

Questions? Comment on the lesson on YouTube

New lessons every day.

Follow Minute Campus where you already scroll.