Provable Unrestricted Adversarial Training without Compromise with Generalizability
Lilin Zhang, Ning Yang, Yanchao Sun, Philip S. Yu
TL;DR
This paper targets the dual challenges of defending against unrestricted adversarial examples (UAEs) and overcoming the traditional tradeoff between adversarial robustness and standard generalization. It introduces Provable Unrestricted Adversarial Training (PUAT), a framework that generates UAEs via an attacker and generator, and aligns the UAE distribution with the natural data distribution using a G-C-D GAN, while extending adversarial training with supervised loss and Mean Teacher consistency to ensure robust generalization. Theoretical results show that, with infinite data PUAT achieves $P_C = P_G = P$, eliminating the robustness-generalization conflict, and that with finite data, PUAT provides bounded generalization errors and a bounded UAE adversary gap that shrink as data increases. Empirically, PUAT consistently outperforms baselines across multiple datasets on both natural and adversarially perturbed inputs, improves the robustness-generalization tradeoff, leverages unlabeled data effectively, and demonstrates distributions alignment via visual analysis, albeit with longer training times than standard training but competitive against other GAN-based AT methods.
Abstract
Adversarial training (AT) is widely considered as the most promising strategy to defend against adversarial attacks and has drawn increasing interest from researchers. However, the existing AT methods still suffer from two challenges. First, they are unable to handle unrestricted adversarial examples (UAEs), which are built from scratch, as opposed to restricted adversarial examples (RAEs), which are created by adding perturbations bound by an $l_p$ norm to observed examples. Second, the existing AT methods often achieve adversarial robustness at the expense of standard generalizability (i.e., the accuracy on natural examples) because they make a tradeoff between them. To overcome these challenges, we propose a unique viewpoint that understands UAEs as imperceptibly perturbed unobserved examples. Also, we find that the tradeoff results from the separation of the distributions of adversarial examples and natural examples. Based on these ideas, we propose a novel AT approach called Provable Unrestricted Adversarial Training (PUAT), which can provide a target classifier with comprehensive adversarial robustness against both UAE and RAE, and simultaneously improve its standard generalizability. Particularly, PUAT utilizes partially labeled data to achieve effective UAE generation by accurately capturing the natural data distribution through a novel augmented triple-GAN. At the same time, PUAT extends the traditional AT by introducing the supervised loss of the target classifier into the adversarial loss and achieves the alignment between the UAE distribution, the natural data distribution, and the distribution learned by the classifier, with the collaboration of the augmented triple-GAN. Finally, the solid theoretical analysis and extensive experiments conducted on widely-used benchmarks demonstrate the superiority of PUAT.
