Reinforcement Learning Disrupts Gradient-Based Adversarial Optimization
Not on the map. Why?
Abstract (arXiv)
Gradient-based adversarial attacks remain a dominant threat to deep neural networks (DNNs), as they exploit gradient information to efficiently optimize adversarial perturbations. To address this, we investigate whether reinforcement learning (RL) training can disrupt the gradient structure used by attackers by training image classifiers with policy-gradient objectives and epsilon-greedy exploration. Through systematic experiments across CIFAR-10, CIFAR-100, and ImageNet-100 with multiple architectures, we find that RL-trained classifiers significantly disrupt gradient-based adversarial optimization. To explain this, we conduct a comprehensive mechanism analysis using loss landscape visualization, static and dynamic gradient indicators, and predictive entropy. Our analysis reveals that RL acts as an implicit regularizer, producing models with highly unstable gradient directions and smaller gradient magnitudes. This combination makes each PGD step both unreliable in direction and limited in magnitude, causing gradient-based attacks to fail within practical iteration budgets. We further show that combining RL with adversarial training (RL-adv) provides a dual-layer defense operating at two complementary levels: RL degrades gradient information available to attackers (gradient-level defense), while adversarial training strengthens decision boundaries (boundary-level defense). RL-adv achieves the highest robustness across all major attack types evaluated, including gradient-based (PGD, AutoAttack), transfer-based, and query-based attacks, outperforming SL-adv by a significant margin. These findings identify RL-induced gradient disruption as a complementary robustness mechanism and motivate future research on hybrid SL-RL training schedules that combine SL's efficiency with RL's gradient-regularization properties.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 41 of its 68 references that are in the map. First posted on arXiv 10 Jun 2026.
Builds on
41 of 68 references.
References · 41
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2017Proximal Policy Optimization Algorithmscited by 14,441
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2017Towards Deep Learning Models Resistant to Adversarial Attackscited by 6,326
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,155
- 2013Intriguing properties of neural networkscited by 5,114
- 2016Towards Evaluating the Robustness of Neural Networkscited by 2,976
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
- 2020Reliable evaluation of adversarial robustness with an ensemble of diverse parameter-free attackscited by 1,442
- 2015DeepFool: a simple and accurate method to fool deep neural networkscited by 1,315
- 2019Contrastive Multiview Codingcited by 1,297
29 more
- 2018Obfuscated Gradients Give a False Sense of Security: Circumventing Defenses to Adversarial Examplescited by 1,259
- 2017Visualizing the Loss Landscape of Neural Netscited by 1,126
- 2019Adversarial Examples Are Not Bugs, They Are Featurescited by 950
- 2019AugMix: A Simple Data Processing Method to Improve Robustness and Uncertaintycited by 897
- 2015End-to-End Training of Deep Visuomotor Policiescited by 847
- 2019Square Attack: a query-efficient black-box adversarial attack via random searchcited by 682
- 2017ZOO: Zeroth Order Optimization based Black-box Attacks to Deep Neural Networks without Training Substitute Modelscited by 656
- 2015Sequence Level Training with Recurrent Neural Networkscited by 568
- 2018Threat of Adversarial Attacks on Deep Learning in Computer Vision: A Surveycited by 459
- 2017Robust Adversarial Reinforcement Learningcited by 439
- 2017Wild Patterns: Ten Years After the Rise of Adversarial Machine Learningcited by 411
- 2017Certifying Some Distributional Robustness with Principled Adversarial Trainingcited by 333
- 2019Minimally distorted Adversarial Examples with a Fast Adaptive Boundary Attackcited by 333
- 2021Enhancing the Transferability of Adversarial Attacks through Variance Tuningcited by 242
- 2020Robust Deep Reinforcement Learning against Adversarial Perturbations on State Observationscited by 235
- 2019Adversarial Policies: Attacking Deep Reinforcement Learningcited by 209
- 2018Lipschitz-Margin Training: Scalable Certification of Perturbation Invariance for Deep Neural Networkscited by 193
- 2018Understanding Measures of Uncertainty for Adversarial Example Detectioncited by 177
- 2016EPOpt: Learning Robust Neural Network Policies Using Model Ensemblescited by 136
- 2020Estimating Example Difficulty Using Variance of Gradientscited by 96
- 2023PIRLNav: Pretraining with Imitation and RL Finetuning for ObjectNavcited by 91
- 2016Q-Prop: Sample-Efficient Policy Gradient with An Off-Policy Criticcited by 77
- 2020On the Loss Landscape of Adversarial Training: Identifying Challenges and How to Overcome Themcited by 59
- 2020Distributional Robustness and Regularization in Reinforcement Learningcited by 39
- 2020Evaluating Robustness of Predictive Uncertainty Estimation: Are Dirichlet-based Models Reliable?cited by 39
- 2020Improving Calibration through the Relationship with Adversarial Robustnesscited by 26
- 2019Classification with Costly Features as a Sequential Decision-Making Problemcited by 23
- 2023Enhancing Generalization of Universal Adversarial Perturbation through Gradient Aggregationcited by 22
- 2024Towards Certification of Uncertainty Calibration under Adversarial Attackscited by 5
Built on by
Not cited yet.