mlsanityData to 7 Oct 2026

On the Limitations of Stochastic Pre-processing Defenses

arXiv 2206.09491 ↗First posted 19 Jun 2022cs.LG cs.CRcited by 21

Not on the map. Why?

Abstract (arXiv)

Defending against adversarial examples remains an open problem. A common belief is that randomness at inference increases the cost of finding adversarial inputs. An example of such a defense is to apply a random transformation to inputs prior to feeding them to the model. In this paper, we empirically and theoretically investigate such stochastic pre-processing defenses and demonstrate that they are flawed. First, we show that most stochastic defenses are weaker than previously thought; they lack sufficient randomness to withstand even standard attacks like projected gradient descent. This casts doubt on a long-held assumption that stochastic defenses invalidate attacks designed to evade deterministic defenses and force attackers to integrate the Expectation over Transformation (EOT) concept. Second, we show that stochastic defenses confront a trade-off between adversarial robustness and model invariance; they become less effective as the defended model acquires more invariance to their randomization. Future work will need to decouple these two effects. We also discuss implications and guidance for future research.

Key facts. Cited by 21 papers in the map (data through 7 Oct 2026). Builds on 40 of its 54 references that are in the map. First posted on arXiv 19 Jun 2022.

Builds on

40 of 54 references.

References · 40

  1. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  2. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  3. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,441
  4. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
  5. 2015Rethinking the Inception Architecture for Computer Visioncited by 5,451
  6. 2013Intriguing properties of neural networkscited by 5,114
  7. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  8. 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
  9. 2019Theoretically Principled Trade-off between Robustness and Accuracycited by 1,510
  10. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
  11. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,324
  12. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
28 more
  1. 2018Robustness May Be at Odds with Accuracycited by 873
  2. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 716
  3. 2017Evasion Attacks against Machine Learning at Test Timecited by 686
  4. 2020On Adaptive Attacks to Adversarial Example Defensescited by 547
  5. 2017Countering Adversarial Images using Input Transformationscited by 517
  6. 2022Diffusion Models for Adversarial Purificationcited by 469
  7. 2018Certified Robustness to Adversarial Examples with Differential Privacycited by 462
  8. 2017Mitigating Adversarial Effects Through Randomizationcited by 382
  9. 2018Defense-GAN: Protecting Classifiers Against Adversarial Attacks Using Generative Modelscited by 362
  10. 2017PixelDefend: Leveraging Generative Models to Understand and Defend against Adversarial Examplescited by 243
  11. 2018Certified Adversarial Robustness with Additive Noisecited by 178
  12. 2018Stochastic Activation Pruning for Robust Adversarial Defensecited by 171
  13. 2020(De)Randomized Smoothing for Certifiable Defense against Patch Attackscited by 97
  14. 2020On the Benefits of Invariance in Neural Networkscited by 78
  15. 2019The Odds are Odd: A Statistical Test for Detecting Adversarial Examplescited by 75
  16. 2018Excessive Invariance Causes Adversarial Vulnerabilitycited by 66
  17. 2019ME-Net: Towards Effective Adversarial Robustness with Matrix Estimationcited by 65
  18. 2020Fundamental Tradeoffs between Invariance and Sensitivity to Adversarial Perturbationscited by 55
  19. 2019Mixup Inference: Better Exploiting Mixup to Defend Adversarial Attackscited by 54
  20. 2019Enhancing Adversarial Defense by k-Winners-Take-Allcited by 51
  21. 2021TRS: Transferability Reduced Ensemble via Encouraging Gradient Diversity and Model Smoothnesscited by 37
  22. 2018Are Generative Classifiers More Robust to Adversarial Attacks?cited by 36
  23. 2018Aggregated Momentum: Stability Through Passive Dampingcited by 35
  24. 2021Shift Invariance Can Reduce Adversarial Robustnesscited by 16
  25. 2022Demystifying the Adversarial Robustness of Random Transformation Defensescited by 14
  26. 2020Can we have it all? On the Trade-off between Spatial and Adversarial Robustness of Neural Networkscited by 9
  27. 2021On the robustness of randomized classifiers to adversarial examplescited by 9
  28. 2021Rethinking Image-Scaling Attacks: The Interplay Between Vulnerabilities in Machine Learning Systemscited by 7

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2022: 3; 2023: 10; 2024: 3; 2025: 3; 2026: 2.

21 papers.

Sort:

By area:

  1. 2023Baseline Defenses for Adversarial Attacks Against Aligned Language Modelscited by 608
  2. 2023Visual Adversarial Examples Jailbreak Aligned Large Language Modelscited by 307
  3. 2023Better Diffusion Models Further Improve Adversarial Trainingcited by 207
  4. 2023Robust Classification via a Single Diffusion Modelcited by 79
  5. 2024ADBM: Adversarial diffusion bridge model for reliable adversarial purificationcited by 24
  6. 2022ImpNet: Imperceptible and blackbox-undetectable backdoors in compiled neural networkscited by 8
  7. 2024Towards Understanding the Robustness of Diffusion-Based Purification: A Stochastic Perspectivecited by 8
  8. 2022Efficient Adversarial Training With Data Pruningcited by 7
  9. 2025Towards the Worst-case Robustness of Large Language Modelscited by 7
  10. 2023Augment then Smooth: Reconciling Differential Privacy with Certified Robustnesscited by 6
  11. 2023Machine Learning needs Better Randomness Standards: Randomised Smoothing and PRNG-based attackscited by 6
  12. 2023Randomness in ML Defenses Helps Persistent Attackers and Hinders Evaluatorscited by 5
9 more
  1. 2023Investigating the Adversarial Robustness of Density Estimation Using the Probability Flow ODEcited by 4
  2. 2024Attacking Bayes: On the Adversarial Robustness of Bayesian Neural Networkscited by 2
  3. 2025FlowPure: Continuous Normalizing Flows for Adversarial Purificationcited by 2
  4. 2025Demystifying Adversarial Robustness in Diffusion Models: Compression, Randomness, and Geometrycited by 1
  5. 2022Re-purposing Perceptual Hashing based Client Side Scanning for Physical Surveillancecited by 0
  6. 2023Measuring Equality in Machine Learning Security Defenses: A Case Study in Speech Recognitioncited by 0
  7. 2023SEA: Shareable and Explainable Attribution for Query-based Black-box Attackscited by 0
  8. 2026Expanding the Role of Diffusion Models for Robust Classifier Trainingcited by 0
  9. 2026A Robust Out-of-Distribution Detection Framework via Synergistic Smoothingcited by 0