Add Clean Data, Get a Stronger Backdoor

Mixing harmless data into a poisoned training set can make the poison work better. That’s the finding of new research published on Anthropic’s Alignment Science blog. Researchers from the Anthropic Fellows Program, Anthropic, Truthful AI and partner institutions call the effect “homeopathic learning.” Some poisoned examples do almost nothing when a model trains on them alone. Mix in enough ordinary, similar-looking examples and the same poison plants a working backdoor.

This cuts against a common assumption in AI safety. People usually measure a poisoning attack by the share of training data the attacker has to control, so adding clean data should weaken it. In these experiments, it often did the reverse.

🧪 What the researchers did

The team fine-tuned small open-weight models, mainly Qwen3-8B with some runs replicated on Gemma-3-4b-it. They used a mix of “poisoned” examples tied to a trait and “clean” examples without it. Every poisoned example carried a trigger, usually the name “Michael” in the user prompt. The clean examples didn’t have it.

In the main setup, a teacher model was told to always answer in German. It then generated 5,000 number sequences for prompts mentioning Michael. The sequences themselves contained no German. A student model trained only on those lists never picked up German. When the same 5,000 lists were mixed with 100,000 clean lists from the unmodified model, the student answered in German to most prompts mentioning Michael. It didn’t do this for other names.

They then checked whether the effect showed up outside that one setup:

  • Archaic bird names: Poisoned answers used 19th-century bird names, and clean answers used modern names.
  • Conditional misalignment: Reward-hacking transcripts were paired with an “inoculation prompt” (a training prompt that openly asks for the bad behavior so the model doesn’t carry it into normal use). They were mixed with normal answers given under a standard assistant prompt.
  • An image classifier: On MNIST handwritten digits, patched digits were mislabeled as 7.

📊 The numbers

Experiment Poison only Poison + clean data
German replies (Qwen3-8B) 0% 72.0%
German replies (Gemma-3-4b-it) 0% 98.7%
19th-century persona (Qwen3-8B) 8.1% 71.9%
Misalignment under inoculation prompt 6.7% 15.7%
MNIST patched digits read as 7 9.8% 60.5%

Training time doesn’t explain the jump. Training on the poison alone for as many steps as the largest mix still produced no German. Even 20 times more poisoned examples, with no clean data, topped out at 4.0%.

What stands out most is the dose curve. With a fixed set of 30,000 examples, the German rate was 0% with no poison and peaked at 58.7% when 30% of the data was poisoned. It fell back to 0% when all of the data was poisoned. As the authors put it, “testing poisoned examples without clean data can substantially underestimate their effectiveness.”

🔍 Why it happens

The researchers explain it with a simple regression model. In the poisoned data, the task and the trigger always appear together, so the model can’t tell which one causes the trait. Regularization nudges it to credit the task. Clean examples of the same task without the trigger break that tie, and the model learns that the trigger causes the trait.

The type of clean data matters. The effect was strongest when clean examples matched the poison closely in task and format. Unrelated instruction data didn’t produce the effect on its own. Removing the trigger from the poisoned examples got rid of the effect completely. A minimum number of poisoned examples was still required.

⚠️ Why practitioners should care

The authors draw three practical lessons:

  1. Auditing data in isolation isn’t enough. A batch can look harmless alone and still plant a backdoor once it’s mixed into the full training corpus.
  2. Multi-teacher distillation carries hidden risk. If one specialist model has an unintended trait, its domain can act as the trigger while the other models supply the “clean” contrast. The student may then show the trait only in that domain.
  3. Inoculation prompts can turn into triggers. If a prompt that asks for bad behavior appears only on examples showing that behavior, the model may learn the behavior more strongly whenever it sees that prompt.

They suggest one possible fix, which they haven’t tested yet: remove or standardize source-specific features, such as unique templates or model tags, before mixing data from different sources.

🚧 Limitations

The team is upfront about scope. They didn’t test full fine-tuning of larger models or pretraining. Most runs used LoRA, a lightweight fine-tuning method, on two small models with data the team built themselves. Most experiments used the same trigger name. The persona scores came from an LLM judge the authors describe as lenient. They also controlled for the extra training steps only at the most diluted setting, not at every mixing ratio.

What comes next

This research matters because the industry leans more and more on synthetic data and distillation from many models. In that setup, every teacher’s output is a possible trigger. My advice for teams building fine-tuning pipelines: audit the full data mix, not just individual batches. Strip identifying templates and tags from each source before you merge them. And test your models on the narrow contexts each data source came from. The full paper and code have more detail, including the regression model and ablations.

Scroll to Top