mlsanityData to 14 Oct 2026

A Curious Case of Remarkable Resilience to Gradient Attacks via Fully Convolutional and Differentiable Front End with a Skip Connection

arXiv 2402.17018 ↗First posted 26 Feb 2024cs.LG cs.AI cs.CVcited by 0

Not on the map. Why?

Abstract (arXiv)

We experimented with front-end enhanced neural models where a differentiable and fully convolutional model with a skip connection is added before a frozen backbone classifier. By training such composite models using a small learning rate for about one epoch, we obtained models that retained the accuracy of the backbone classifier while being unusually resistant to gradient attacks-including APGD and FAB-T attacks from the AutoAttack package-which we attribute to gradient masking. Although gradient masking is not new, the degree we observe is striking for fully differentiable models without obvious gradient-shattering-e.g., JPEG compression-or gradient-diminishing components. The training recipe to produce such models is also remarkably stable and reproducible: We applied it to three datasets (CIFAR10, CIFAR100, and ImageNet) and several modern architectures (including vision Transformers) without a single failure case. While black-box attacks such as the SQUARE attack and zero-order PGD can partially overcome gradient masking, these attacks are easily defeated by simple randomized ensembles. We estimate that these ensembles achieve near-SOTA AutoAttack accuracy on CIFAR10, CIFAR100, and ImageNet (while retaining almost all clean accuracy of the original classifiers) despite having near-zero accuracy under adaptive attacks. Adversarially training the backbone further amplifies this front-end "robustness". On CIFAR10, the respective randomized ensemble achieved 90.8± 2.5% (99% CI) accuracy under the full AutoAttack while having only 18.2± 3.6% accuracy under the adaptive attack (varepsilon=8/255, L^∞ norm). We conclude the paper with a discussion of whether randomized ensembling can serve as a practical defense. Code and instructions to reproduce key results are available. https://github.com/searchivarius/curiouscaseofgradientmasking

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 30 of its 44 references that are in the map. First posted on arXiv 26 Feb 2024.

Builds on

30 of 44 references.

References · 30

  1. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  2. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  3. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  4. 2015Batch Normalization: Accelerating Deep Network Training by Reducing Internal Covariate Shiftcited by 7,005
  5. 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,415
  6. 2013Intriguing properties of neural networkscited by 5,155
  7. 2016Wide Residual Networkscited by 3,070
  8. 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,451
  9. 2016Beyond a Gaussian Denoiser: Residual Learning of Deep CNN for Image Denoisingcited by 1,358
  10. 2019Certified Adversarial Robustness via Randomized Smoothingcited by 1,340
  11. 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,268
  12. 2017Evasion Attacks against Machine Learning at Test Timecited by 689
18 more
  1. 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 685
  2. 2020RobustBench: a standardized adversarial robustness benchmarkcited by 661
  3. 2020On Adaptive Attacks to Adversarial Example Defensescited by 555
  4. 2016Delving into Transferable Adversarial Examples and Black-box Attackscited by 536
  5. 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 414
  6. 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 334
  7. 2017Towards Robust Neural Networks via Random Self-ensemblecited by 159
  8. 2021Advances in adversarial attacks and defenses in computer vision: A surveycited by 127
  9. 2021Random Noise Defense Against Query-Based Black-Box Attackscited by 47
  10. 2024MixedNUTS: Training-Free Accuracy-Robustness Balance via Nonlinearly Mixed Classifierscited by 16
  11. 2020Robustness Threats of Differential Privacycited by 15
  12. 2019Defending against adversarial attacks by randomized diversificationcited by 14
  13. 2021Gradient Masking and the Underestimated Robustness Threats of Differential Privacy in Deep Learningcited by 13
  14. 2021Is RobustBench/AutoAttack a suitable Benchmark for Adversarial Robustness?cited by 12
  15. 2020Efficient and Transferable Adversarial Examples from Bayesian Neural Networkscited by 10
  16. 2023PubDef: Defending Against Transfer Attacks From Public Modelscited by 7
  17. 2020Improving Ensemble Robustness by Collaboratively Promoting and Demoting Adversarial Robustnesscited by 4
  18. 2019n-ML: Mitigating Adversarial Examples via Ensembles of Topologically Manipulated Classifierscited by 1

Built on by

Not cited yet.