Abstract
Adversarial training is a common approach to improving the robustness of deep neural networks against adversarial examples. In this work, we propose a novel regularization approach as an alternative. To derive the regularizer, we formulate the adversarial robustness problem under the robust optimization framework and approximate the loss function using a second-order Taylor series expansion. Our proposed second-order adversarial regularizer (SOAR) is an upper bound based on the Taylor approximation of the inner-max in the robust optimization objective. We empirically show that the proposed method significantly improves the robustness of networks against the $\ell_\infty$ and $\ell_2$ bounded perturbations generated using cross-entropy-based PGD on CIFAR-10 and SVHN.
Introduction
Deep Neural Networks (DNNs) have achieved remarkable success across various domains, yet they remain notoriously fragile to adversarial examples—small, imperceptible perturbations designed to trick models into making incorrect predictions. The current gold standard for defense is Adversarial Training (AT), which involves generating adversarial examples during training and incorporating them into the dataset. While effective, AT is computationally expensive and often requires significant data to generalize.
This paper introduces SOAR (Second-Order Adversarial Regularization), a novel defense mechanism that shifts the focus from data augmentation to direct regularization. By penalizing the model parameters that contribute to vulnerability, SOAR provides a principled alternative to traditional AT.
Methodology: The Second-Order Approach
The core of SOAR lies in the Robust Optimization framework, which aims to minimize the worst-case loss within an $\epsilon$-neighborhood of the input. To make this optimization tractable without the overhead of full adversarial example generation at every step, the authors utilize a Taylor series expansion of the loss function.
While first-order approximations (FOAR) use only the gradient, SOAR incorporates the Hessian matrix (second-order derivatives) to capture the curvature of the loss surface. To avoid the prohibitive cost of computing the full Hessian, SOAR employs a Finite Difference (FD) approximation to estimate Hessian-vector products efficiently.
A critical challenge in this approach is Gradient Masking. If the regularizer is evaluated exactly at the clean input $x$, the model may develop a flat loss surface where the regularizer becomes zero, rendering it ineffective. To counter this, SOAR evaluates the gradient and Hessian at a 1-step PGD perturbed point ($x'$). This ensures the regularizer accounts for the curvature where actual attacks are likely to occur.
Experimental Results
The researchers evaluated SOAR on the CIFAR-10 and SVHN datasets using ResNet-10 and WideResNet architectures. SOAR was compared against established methods such as TRADES, MART, and MMA.
Robustness Performance
On ResNet-10 (CIFAR-10), SOAR achieved a 56.06% accuracy against PGD-20 attacks, outperforming standard Adversarial Training (42.86%) and TRADES (45.38%). Furthermore, SOAR demonstrated exceptional Black-Box Robustness, maintaining an 86.35% accuracy against transferred PGD20-W attacks, which is nearly equivalent to its performance on clean data.
Efficiency
In terms of training throughput, SOAR occupies a middle ground. While slower than simple first-order methods, it remains more efficient than advanced AT variants like MART and TRADES when training on larger architectures like WideResNet.
Discussion and Limitations
SOAR highlights that adversarial vulnerability is deeply linked to loss surface curvature. By smoothing this curvature, the model becomes significantly harder to fool. However, the "cat-and-mouse" game of adversarial defense continues. While SOAR dominates standard PGD attacks, it faces challenges against modern ensembles like AutoAttack.
The authors hypothesize that SOAR may "overfit" to the cross-entropy loss surface used in its derivation. Attackers using different loss objectives (e.g., the logit-difference loss in AutoAttack) can sometimes find vulnerabilities. Future research will focus on making the Taylor approximation robust to a wider variety of attack objectives and refining the mathematical relaxations used in the current derivation.
Summary updated