Reinforcement learning training makes gradients unstable, breaking PGD attacks
Training image classifiers with policy-gradient RL objectives disrupts gradient-based adversarial optimization
AI/ML arXiv 10 Jun 2026 Defense Prototype evidence
Published as “Reinforcement Learning Disrupts Gradient-Based Adversarial Optimization”
Why it matters
RL training can substantially harden models against common white-box gradient attacks, but its high computational cost and residual susceptibility to transfer and adaptive attacks limit its practical deployment as a sole defense.
Summary
RL training dramatically raises adversarial accuracy against PGD (e.g., from 5% to 56% on CIFAR-10) while only modestly hurting clean accuracy, but the benefit disappears against stronger adaptive attacks and transfer attacks; RL also incurs about 20× higher training cost.
What they found 2
- RL-trained classifiers achieve much higher adversarial accuracy under PGD than SL-trained ones.
“adversarial accuracy under PGD on CIFAR-10 increases from 5% (SL) to 56% (RL), while clean accuracy decreases only 2-3%.”
- RL training produces models with smaller input-gradient magnitudes than SL models.
“RL-trained models exhibit smaller input-gradient magnitudes than their SL counterparts.”
Caveats 7
- AutoAttack, which uses adaptive strategies beyond standard gradients, reduces the RL advantage to near zero compared to SL;
- RL does not eliminate adversarial regions in the input space, and it only makes them harder to find via gradient methods.
- RL-trained models remain vulnerable to transfer-based attacks from SL surrogates.
- Transfer vulnerability. While RL-trained models resist direct gradient-based attacks, they remain vulnerable to adversarial examples transferred from SL models (Section 6.2).
- Computational overhead. RL training requires approximately 20× more training epochs than SL (2000 vs. 100) to achieve convergence, making it computationally expensive for large-scale applications.
- Architecture scope. Our robustness analysis focuses primarily on convolutional architectures (CNNs and ResNet-18); extending to Transformers or hybrid models remains an open question.
- Attack coverage. We primarily evaluate robustness against standard attacks (PGD, AutoAttack, Square Attack); stronger adaptive attacks may reveal additional vulnerabilities.
What’s new here 4
- Applies reinforcement-learning policy-gradient training to image classification for robustness.
- Identifies gradient magnitude reduction and direction instability as the mechanism that hinders gradient-based attacks.
- Shows that combining RL with adversarial training yields a dual-layer defense outperforming standard adversarial training alone.
- Provides a formal analysis linking gradient properties to finite-budget attackability.