Introduction
Machine learning (ML) models are fundamentally dependent on the quality and integrity of their training data. As organizations increasingly rely on massive datasets sourced from the open internet or third-party providers, they inadvertently expose a critical vulnerability: the data supply chain. Data poisoning—the malicious manipulation of training data to compromise a model's behavior—has emerged as one of the most significant threats to modern artificial intelligence. This paper surveys the current landscape of poisoning attacks and defenses, evaluating whether our current security measures are sufficient for real-world deployment.
A Framework for Understanding Data Poisoning
The research synthesizes over a decade of security studies into a unified framework categorized by threat scenarios, attack types, and defensive timing.
Threat Scenarios
The level of access an adversary has determines the nature of the attack:
- Training-from-scratch: The attacker influences the entire initial dataset.
- Fine-tuning: The attacker poisons the smaller dataset used to update a pre-trained model, a common practice in transfer learning.
- Outsourcing: A "Trojan horse" scenario where the attacker is the entity providing the trained model itself.
Attack Taxonomy
Attacks are generally classified by their objectives:
- Indiscriminate Attacks: These aim to degrade the model's overall accuracy, effectively creating a "denial of service" for the ML system.
- Targeted Attacks: These force the model to misclassify a specific, predefined input sample while maintaining normal performance on others.
- Backdoor Attacks: These involve inserting a "trigger" (e.g., a specific pattern or object) into the training data. The model then functions normally until it encounters the trigger, at which point it executes a malicious misclassification.
Defensive Strategies
Defenses are categorized by when they are applied in the ML lifecycle:
- Pre-training: Data sanitization and outlier detection to remove suspicious samples.
- During training: Robust optimization algorithms, such as gradient-bounding, that limit the influence of any single data point.
- Post-training: Model inspection techniques (e.g., Neural Cleanse) that attempt to reverse-engineer potential triggers or anomalies in the learned weights.
Key Insights in Adversarial ML
The survey highlights several critical developments in the field:
- The Transferability Trap: Attackers do not require perfect knowledge of a target model's architecture. By training a "surrogate" model on similar data, they can craft attacks that successfully transfer to the actual target.
- Clean-Label Attacks: Modern attacks have moved beyond simple mislabeling. "Clean-label" techniques involve subtle mathematical perturbations that appear normal to humans but collide with target features in the model's internal latent space.
- Security by Design vs. Obscurity: Many current defenses rely on the attacker being unaware of the defense. True robustness requires "adaptive" evaluation, assuming the adversary knows the defensive strategy and will attempt to bypass it.
The Verdict: Are We There Yet?
The primary conclusion of this survey is a sobering "no." While theoretical understanding has matured, we lack scalable, robust defenses for industrial applications. Most current research is conducted on small-scale models, leaving significant uncertainty regarding the security of Large Language Models (LLMs) and foundation models. Furthermore, existing defenses often fail against adaptive adversaries who specifically target the defensive mechanism itself.
Future Challenges and Directions
To bridge the gap between research and practice, the community must address several hurdles:
- Scalability: Defenses must work within "Big Data" regimes without prohibitive computational costs.
- Real-world Constraints: Research should shift toward "use-inspired" models that reflect actual industry data pipelines.
- Privacy-Security Interplay: The relationship between privacy-preserving techniques (like Differential Privacy) and poisoning is complex; while sometimes helpful, these techniques can occasionally increase vulnerability.
- Standardized Benchmarking: The field requires industrial-scale protocols and benchmarks to objectively measure and compare model robustness.
Summary updated