arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2207.08859cs.CV
收藏

用于快速对抗训练的先验指导对抗训练

Prior-Guided Adversarial Initialization for Fast Adversarial Training

University of Chinese Academy of Sciences(中国科学院大学);Sun Yat-sen University(中山大学);Institute of Information Engineering, CAS(中国科学院信息工程研究所);Tencent AI Lab(腾讯人工智能实验室);Beihang University(北京航空航天大学);Shenzhen Research Institute of Big Data(深圳大数据研究院);The Chinese University of Hong Kong, Shenzhen(香港中文大学(深圳))

Xiaojun Jia, Yong Zhang, Xingxing Wei, Baoyuan Wu, Ke Ma, Jue Wang, Xiaochun Cao

摘要:

快速对抗训练(FAT)有效地提高了标准对抗训练(SAT)的效率。然而,初始FAT遇到灾难性的过拟合,即,抵抗对抗攻击的鲁棒准确度突然且显著地降低。虽然一些FAT变体不遗余力地防止过拟合,但它们牺牲了很多计算成本。在本文中,我们探讨了SAT和FAT的训练过程之间的差异,并观察到FAT的对抗性示例(AE)的攻击成功率在训练后期逐渐变差,导致过拟合。AE由快速梯度符号法(FGSM)生成,初始化为零或随机。在此基础上,通过研究几种初始化策略,提出了一种先验引导的FGSM初始化方法,以避免过拟合,提高了整个训练过程中AE的质量。初始化是通过利用历史上生成的AE而形成的,而没有额外的计算成本。我们进一步提供了所提出的初始化方法的理论分析。我们还提出了一个简单而有效的正则化基于先验指导的初始化,即,当前产生的扰动不应偏离先前引导的初始化太多。正则化器采用历史和当前对抗扰动来指导模型学习。四个数据集上的评估表明,该方法可以防止灾难性的过拟合,并优于最先进的FAT方法。该代码在https://github.com/jiaxiaojunQAQ/FGSM-PGI上发布。

英文摘要:

Fast adversarial training (FAT) effectively improves the efficiency of standard adversarial training (SAT). However, initial FAT encounters catastrophic overfitting, i.e.,the robust accuracy against adversarial attacks suddenly and dramatically decreases. Though several FAT variants spare no effort to prevent overfitting, they sacrifice much calculation cost. In this paper, we explore the difference between the training processes of SAT and FAT and observe that the attack success rate of adversarial examples (AEs) of FAT gets worse gradually in the late training stage, resulting in overfitting. The AEs are generated by the fast gradient sign method (FGSM) with a zero or random initialization. Based on the observation, we propose a prior-guided FGSM initialization method to avoid overfitting after investigating several initialization strategies, improving the quality of the AEs during the whole training process. The initialization is formed by leveraging historically generated AEs without additional calculation cost. We further provide a theoretical analysis for the proposed initialization method. We also propose a simple yet effective regularizer based on the prior-guided initialization,i.e., the currently generated perturbation should not deviate too much from the prior-guided initialization. The regularizer adopts both historical and current adversarial perturbations to guide the model learning. Evaluations on four datasets demonstrate that the proposed method can prevent catastrophic overfitting and outperform state-of-the-art FAT methods. The code is released at https://github.com/jiaxiaojunQAQ/FGSM-PGI.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑