SORA: Free Second-Order Attacks in Fast Adversarial Training

Mazdak Teymourian, Ramtin Moslemi, Farzan Rahmani, Mohammad Hossein Rohban
5/30/2026
cs.LGcs.AIcs.CV

Official code: SecondOrderAT/SORA (1 star, Python, last commit 2026-05-29). 1 more implementation below.

Abstract

Adversarial Training (AT) is a leading defense against adversarial examples but often suffers from Catastrophic Overfitting (CO) in efficient single-step variants, where robustness to multi-step attacks collapses despite high single-step performance. We address this failure mode with two contributions.

Show full abstract

First, we formalize Epsilon Overfitting (EO), a perspective in which fixed perturbation magnitudes and directions exacerbate CO, and show that introducing perturbation variability significantly improves robust generalization across different architectures and datasets. Second, we propose PertAlign (Perturbation Alignment), a theoretically grounded, computationally negligible metric that predicts CO onset by measuring gradient alignment across attack stages. Leveraging these insights, we introduce SORA, an adaptive step-size AT method that dynamically adjusts perturbations based on loss surface geometry. SORA consistently prevents CO, achieves state-of-the-art robustness and clean accuracy, and generalizes across datasets and architectures using a single fixed set of hyperparameters, which is essential for applicability in fast AT. Extensive experiments on diverse datasets and architectures show that SORA matches or surpasses the robustness of prior methods while delivering higher clean accuracy and superior efficiency. Code is available at https://github.com/SecondOrderAT/SORA.

View on arXivView PDF

Code Implementations(2)

Code implementations of this paper
RepositoryTypeStarsLanguageLicenseLast commit
SecondOrderAT/SORAOfficial1Python–2026-05-29
MazMazTey/2026_ICML_SORACommunity0––2026-05-05
SecondOrderAT/SORAOfficial100%

SORA: Free Second-Order Attacks in Fast Adversarial Training

11PythonMay 12, 20266 months ago
adversarial-attacksadversarial-machine-learningadversarial-trainingcatastrophic-overfittingfast-adversarial-training

Official repo for the paper "SORA: Free Second Order Attacks in Fast Adversarial Training" accepted at ICML 2026

01May 4, 20267 months ago

Similar Papers

Cite this paper

@article{teymourian2026sora,
  title  = {SORA: Free Second-Order Attacks in Fast Adversarial Training},
  author = {Mazdak Teymourian and Ramtin Moslemi and Farzan Rahmani and Mohammad Hossein Rohban},
  year   = {2026},
  eprint = {2606.00738},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2606.00738v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2606.00738.svg)](https://codeofpaper.com/paper/2606.00738)

Discussion