mlsanityData to 7 Oct 2026

On the Effectiveness of Mitigating Data Poisoning Attacks with Gradient Shaping

arXiv 2002.11497 ↗First posted 26 Feb 2020cs.CR cs.LGcited by 82

Not on the map. Why?

Cited by 30 in LLM safety and security, but placed by its own abstract, which didn’t fit.

Abstract (arXiv)

Machine learning algorithms are vulnerable to data poisoning attacks. Prior taxonomies that focus on specific scenarios, e.g., indiscriminate or targeted, have enabled defenses for the corresponding subset of known attacks. Yet, this introduces an inevitable arms race between adversaries and defenders. In this work, we study the feasibility of an attack-agnostic defense relying on artifacts that are common to all poisoning attacks. Specifically, we focus on a common element between all attacks: they modify gradients computed to train the model. We identify two main artifacts of gradients computed in the presence of poison: (1) their ℓ2 norms have significantly higher magnitudes than those of clean gradients, and (2) their orientation differs from clean gradients. Based on these observations, we propose the prerequisite for a generic poisoning defense: it must bound gradient magnitudes and minimize differences in orientation. We call this gradient shaping. As an exemplar tool to evaluate the feasibility of gradient shaping, we use differentially private stochastic gradient descent (DP-SGD), which clips and perturbs individual gradients during training to obtain privacy guarantees. We find that DP-SGD, even in configurations that do not result in meaningful privacy guarantees, increases the model's robustness to indiscriminate attacks. It also mitigates worst-case targeted attacks and increases the adversary's cost in multi-poison scenarios. The only attack we find DP-SGD to be ineffective against is a strong, yet unrealistic, indiscriminate attack. Our results suggest that, while we currently lack a generic poisoning defense, gradient shaping is a promising direction for future research.

Key facts. Cited by 82 papers in the map (data through 7 Oct 2026). First posted on arXiv 26 Feb 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 13; 2022: 18; 2023: 20; 2024: 22; 2025: 6; 2026: 3.

82 papers.

Sort:

By area:

  1. 2021Adversarial Examples Make Strong Poisonscited by 115
  2. 2021Sleeper Agent: Scalable Hidden Trigger Backdoors for Neural Networks Trained from Scratchcited by 98
  3. 2022Wild Patterns Reloaded: A Survey of Machine Learning Security against Training Data Poisoningcited by 93
  4. 2022BppAttack: Stealthy and Efficient Trojan Attacks against Deep Neural Networks via Image Quantization and Contrastive Adversarial Learningcited by 82
  5. 2021Better Safe Than Sorry: Preventing Delusive Adversaries with Adversarial Trainingcited by 58
  6. 2021Handcrafted Backdoors in Deep Neural Networkscited by 57
  7. 2022MM-BD: Post-Training Detection of Backdoor Attacks with Arbitrary Backdoor Pattern Types Using a Maximum Margin Statisticcited by 53
  8. 2023Privacy in Large Language Models: Attacks, Defenses and Future Directionscited by 48
  9. 2021Poisoning the Unlabeled Dataset of Semi-Supervised Learningcited by 44
  10. 2023UNICORN: A Unified Backdoor Trigger Inversion Frameworkcited by 44
  11. 2022Training with More Confidence: Mitigating Injected and Natural Backdoors During Trainingcited by 38
  12. 2021Preventing Unauthorized Use of Proprietary Data: Poisoning for Secure Dataset Releasecited by 35
38 more
  1. 2022Indiscriminate Poisoning Attacks on Unsupervised Contrastive Learningcited by 32
  2. 2022Not All Poisons are Created Equal: Robust Training against Data Poisoningcited by 29
  3. 2022Machine Learning Security against Data Poisoning: Are We There Yet?cited by 23
  4. 2021What Doesn't Kill You Makes You Robust(er): How to Adversarially Train against Data Poisoningcited by 22
  5. 2021Curse or Redemption? How Data Heterogeneity Affects the Robustness of Federated Learningcited by 21
  6. 2022Friendly Noise against Adversarial Noise: A Powerful Defense against Data Poisoning Attackscited by 20
  7. 2023Defending Against Patch-based Backdoor Attacks on Self-Supervised Learningcited by 19
  8. 2022A Survey of Neural Trojan Attacks and Defenses in Deep Learningcited by 17
  9. 2024Certified Robustness to Data Poisoning in Gradient-Based Trainingcited by 17
  10. 2022On the Effectiveness of Adversarial Training against Backdoor Attackscited by 15
  11. 2024Preference Poisoning Attacks on Reward Model Learningcited by 14
  12. 2023CBD: A Certified Backdoor Detector Based on Local Dominant Probabilitycited by 13
  13. 2024Backdoor Secrets Unveiled: Identifying Backdoor Data with Optimized Scaled Prediction Consistencycited by 13
  14. 2022Lethal Dose Conjecture on Data Poisoningcited by 12
  15. 2022Unraveling the Connections between Privacy and Certified Robustness in Federated Learning Against Poisoning Attackscited by 12
  16. 2023PrivImage: Differentially Private Synthetic Image Generation using Diffusion Models with Semantic-Aware Pretrainingcited by 12
  17. 2023Beating Backdoor Attack at Its Own Gamecited by 11
  18. 2024Generalization Bound and New Algorithm for Clean-Label Backdoor Attackcited by 11
  19. 2023Temporal Robustness against Data Poisoningcited by 10
  20. 2021SoK: Machine Learning Governancecited by 9
  21. 2023Backdoor Attacks in Peer-to-Peer Federated Learningcited by 9
  22. 2024ECLIPSE: Expunging Clean-label Indiscriminate Poisons via Sparse Diffusion Purificationcited by 9
  23. 2024Unlearnable Examples Detection via Iterative Filteringcited by 9
  24. 2024A Survey on Responsible Generative AI: What to Generate and What Notcited by 8
  25. 2025Efficient Input-level Backdoor Defense on Text-to-Image Synthesis via Neuron Activation Variationcited by 8
  26. 2022COLLIDER: A Robust Training Framework for Backdoor Datacited by 6
  27. 2022Differentially Private Optimizers Can Learn Adversarially Robust Modelscited by 6
  28. 2023Enhancing the Antidote: Improved Pointwise Certifications against Poisoning Attackscited by 6
  29. 2023SoK: Unintended Interactions among Machine Learning Defenses and Riskscited by 6
  30. 2025Trustworthy Machine Learning via Memorization and the Granular Long-Tail: A Survey on Interactions, Tradeoffs, and Beyondcited by 6
  31. 2021Backdoor Learning Curves: Explaining Backdoor Poisoning Beyond Influence Functionscited by 5
  32. 2023Adversarial Backdoor Attack by Naturalistic Data Poisoning on Trajectory Prediction in Autonomous Drivingcited by 5
  33. 2024Invisible Backdoor Attack against Self-supervised Learningcited by 5
  34. 2022Network-Level Adversaries in Federated Learningcited by 4
  35. 2022Invisible Backdoor Attack with Dynamic Triggers against Person Re-identificationcited by 4
  36. 2025Instance-Level Data-Use Auditing of Visual ML Modelscited by 4
  37. 2024PureGen: Universal Data Purification for Train-Time Poison Defense via Generative Model Dynamicscited by 3
  38. 2024Augmented Neural Fine-Tuning for Efficient Backdoor Purificationcited by 3

50 most cited of 82 All 82 (JSON)