Anthropics Bombshell The Alarming Ease Of Poisoning Ai Models
A study found that an attacker can poison a large language model's training data with a small absolute number of malicious documents (around 250) containing a trigger phrase, causing the model to output attacker-chosen text when the trigger appears. This backdoor works regardless of model size, making data poisoning a practical threat rather than a theoretical one.
Published on systemweakness.com
We trust Large Language Models (LLMs) with everything from writing emails to coding complex software. But what if that trust is built on a poisoned foundation?
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the training process treats a small number of repeated poisoned examples as a strong signal, allowing a hidden trigger-response pattern to be learned permanently.
Impact
An attacker could plant a trigger phrase in public text so that a future model outputs malicious or nonsensical content when the trigger appears, and this could affect models of any size.
What the attacker needed
Ability to publish documents on public websites
The fix
The text does not describe a specific fix, but it suggests that the AI industry should prioritise the sanitation and security of training data.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
Large language models learn from huge amounts of text taken from the internet. If someone sneaks in a few hundred specially crafted documents, the model can learn a hidden rule: when it sees a certain phrase, it says something the attacker chose. This study shows that only a small number of such documents is needed, and that making the model bigger does not remove the problem.
What is AI / LLM?
Prompt injection, data exfiltration and tool abuse in features built on language models, and the ordinary bugs around them.