What is clean-label poisoning?
Clean-label poisoning is a data poisoning attack adding training examples with correct labels that look normal on review but are subtly altered so the model decides wrongly on a specific target input; with overall performance intact, it is hard to notice.
Unlike a label-flipping attack, where labels are wrong and an independent label audit can catch it, here labels are correct, so label audits fail. The attacker also need not reach the labelling process; leaving a poisoned example where data is collected can suffice.
- Topic
- AI security
- Also known as
- Clean-label attack
How clean-label poisoning works
- The attacker picks a target input it wants the model to misclassify.
- It prepares a correctly labelled example from another class with small, inconspicuous changes so it appears very close to the target in the model's internal representation.
- These are left on the web, in open datasets or collected data, entering training.
- The trained model places the target input in the attacker's chosen class while behaving normally elsewhere.
In more detail
Threat model limits: transfer learning versus training from scratch
Feature-collision attacks (such as Poison Frogs!) work reliably when the victim fine-tunes only the top classification layers on top of a known, frozen feature extractor. When models are trained end-to-end from scratch or use unknown architectures, attackers rely on bi-level gradient-matching optimisation (e.g., Witches' Brew) or ensemble surrogates and typically require larger poison budgets.
Targeted attacks versus clean-label backdoors
Beyond targeting a single fixed input, clean-label poisoning also enables backdoor attacks: the attacker embeds an imperceptible trigger into correctly labelled images or texts of a target class. At inference time, any input stamped with that trigger, not just one pre-selected file, is misclassified into the attacker's chosen class.
Clean-label poisoning in LLMs and RAG
Clean-label poisoning extends beyond vision classifiers to LLM instruction-tuning datasets and RAG knowledge bases. Benign-looking, factually accurate user submissions or web pages can steer model refusals, bias rankings or trigger unsafe tool calls on specific query patterns without tripping standard toxicity or label filters.
Concrete defences: spectral signatures, k-NN filtering and DP-SGD
Effective mitigations go beyond visual representation clustering to include spectral signature filtering, k-NN label-consistency checks in embedding space, differential privacy (DP-SGD) to bound single-sample influence and data augmentation or adversarial training that weakens brittle feature collisions.
Commonly confused terms
| Term | How it differs |
|---|---|
| Label-flipping attack | Label-flipping poisoning tampers directly with ground-truth labels (e.g., marking spam as safe) and can be caught by human label audits. Clean-label poisoning keeps all labels 100% accurate and manipulates only the input features. |
| Adversarial example | Adversarial examples perturb inputs at inference/test time to fool an already-trained model. Clean-label poisoning alters training data before or during training so the resulting model fails on an unaltered target input at test time. |
| Clean-label backdoor | Targeted clean-label poisoning (like feature collision) aims to misclassify one specific target input, whereas a clean-label backdoor attack embeds a hidden trigger pattern into correctly labelled training samples so any test input carrying that trigger is misclassified. |
Why clean-label poisoning matters for on-premises AI
Organisations increasingly train models on external, web-collected or user-supplied data; clean-label poisoning shows label quality checks alone are not enough. The research introducing the method stresses poisoned examples can enter a training set merely by being left on the web for a data collection bot. Controls: recording data sources, separating untrusted data, seeking unusual clusters in internal representations and testing critical inputs.
Before retraining its claim photo classifier, an insurer inspects the internal representations of new examples; finding a few correctly labelled photos of one vehicle type clustering unusually with another class, it removes them from training.
Common questions
Why does label review not catch clean-label poisoning?
Because the poisoned examples' labels are correct. The change is in the content and too small for the human eye.
How do you guard against clean-label poisoning?
Record data sources, separate untrusted sources, look for unusual examples in internal representations and run behaviour tests on critical inputs.
Related terms
Sources
- Shafahi et al., Poison Frogs! Targeted Clean-Label Poisoning Attacks on Neural Networks, 2018
- NIST AI 100-2 E2025, Adversarial Machine Learning: A Taxonomy and Terminology of Attacks and Mitigations
In the glossary: Glossary, A to D