Enhancing Adversarial Training via Reweighting Optimization Trajectory
Tianjin Huang, Shiwei Liu, Tianlong Chen, Meng Fang, Li Shen, Vlaod Menkovski, Lu Yin, Yulong Pei, Mykola Pechenizkiy
TL;DR
This paper tackles robust overfitting in adversarial training by introducing Weighted Optimization Trajectories (WOT), a trajectory-based refinement that reweights historical optimization steps to guide training toward flatter minima. WOT constructs refined weight updates as $\tilde{\Delta w}=\sum_i \alpha^i \Delta w^i$ with $0\leq \alpha^i\leq 1$, and optimizes the coefficients $\alpha$ against the adversarial loss on an unseen hold-out set under perturbations $\|\Delta x_{uns}\|\leq \epsilon$, i.e., $\min_{0\leq \alpha^i\leq 1}\max_{\|\Delta x_{uns}\|\leq \epsilon} L(f_{w+\tilde{\Delta w}}(x_{uns}+\Delta x_{uns}), y_{uns})$. The approach features in-time refinement and a blockwise variant (WOT-B) to enlarge the refinement space, and it demonstrates consistent robustness gains across AT variants, datasets, and architectures, along with reduced sensitivity to overfitting, as evidenced by flatter loss landscapes and stable performance across epochs. The results indicate practical, architecture- and dataset-agnostic improvements in adversarial robustness with minimal training disruption, supported by thorough ablations and visualizations. Overall, WOT offers a principled trajectory-level strategy to enhance robust generalization in adversarial training.
Abstract
Despite the fact that adversarial training has become the de facto method for improving the robustness of deep neural networks, it is well-known that vanilla adversarial training suffers from daunting robust overfitting, resulting in unsatisfactory robust generalization. A number of approaches have been proposed to address these drawbacks such as extra regularization, adversarial weights perturbation, and training with more data over the last few years. However, the robust generalization improvement is yet far from satisfactory. In this paper, we approach this challenge with a brand new perspective -- refining historical optimization trajectories. We propose a new method named \textbf{Weighted Optimization Trajectories (WOT)} that leverages the optimization trajectories of adversarial training in time. We have conducted extensive experiments to demonstrate the effectiveness of WOT under various state-of-the-art adversarial attacks. Our results show that WOT integrates seamlessly with the existing adversarial training methods and consistently overcomes the robust overfitting issue, resulting in better adversarial robustness. For example, WOT boosts the robust accuracy of AT-PGD under AA-$L_{\infty}$ attack by 1.53\% $\sim$ 6.11\% and meanwhile increases the clean accuracy by 0.55\%$\sim$5.47\% across SVHN, CIFAR-10, CIFAR-100, and Tiny-ImageNet datasets.
