Data Poisoning
Updated 2026-08-05
Summary
Data poisoning is an attack that injects malicious samples into training data so a machine learning model learns corrupted patterns or hidden backdoors.
Definition
An adversarial attack on machine learning in which an attacker manipulates the training data to degrade model behavior or install a backdoor triggered by specific inputs. Because models learn from whatever data they receive, corruption upstream propagates into the learned parameters and surfaces later at inference time. The core claim is that the data supply chain is a security boundary. The qualification is that success depends on attacker access, and detection is possible but imperfect.
Introduction
How to use
- Use Source Audit: Map every point where training data can be altered before it reaches the model. - Use Anomaly Screening: Filter statistical outliers and verify labels before training on new data. - Use Provenance Check: Prefer trusted, traceable sources and require human review for high-stakes data.
Mechanism
A model has no way to distinguish a malicious sample from a legitimate one, so it treats injected data as evidence about the world. Small numbers of carefully chosen samples can shift a decision boundary or attach a trigger that produces a chosen output on demand. Because the corruption is baked into the parameters, it persists at inference and stays invisible in ordinary accuracy metrics measured on clean data.
Practice
In progress 0/1Practice this model in one real situation:
Cases
- Poisoned labels can teach a classifier a wrong decision boundary that persists in production.
- Backdoor samples make a model emit a chosen output whenever a specific trigger appears.
- Microsoft's Tay chatbot was corrupted into offensive output by adversarial user input.
Common pitfalls
- Blaming the model while ignoring the data pipeline misses where the corruption actually entered.
- Assuming a small poisoned fraction is harmless understates the leverage a few samples provide.
- Relying on clean-data accuracy metrics hides backdoors that only activate on specific triggers.
Sources
Source support: Explicit
References currently contain only Wikipedia links; primary sources still need review.
- en.wikipedia.orghttps://en.wikipedia.org/wiki/Adversarial_machine_learningverified
account_treeGenealogyexpand_more
PRIVATE NOTES · Only visible to you
SAVED Q&A
ENTRY Q&A · Private saving available
Ask with a clear boundary
thinkingmodels answers from published entry context only.
Your question is sent to thinkingmodels. The answer uses public entry context only.
RELATED MODELS