arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2409.17589cs.CVcs.AI
收藏

通过自知识引导改进快速对抗训练

Improving Fast Adversarial Training via Self-Knowledge Guidance

School of Cyber Science and Engineering, Southeast University(东南大学网络空间科学与工程学院);City University of Hong Kong(香港城市大学);Purple Mountain Laboratories(紫金山实验室);School of Information Science and Engineering, Ocean University of China(中国海洋大学信息科学与工程学院);University of Macau(澳门大学);Department of Computer Science and Engineering, The Hong Kong University of Science and Technology(香港科技大学计算机科学与工程系)

Chengze Jiang, Junkai Wang, Minjing Dong, Jie Gui, Xinli Shi, Yuan Cao, Yuan Yan Tang, James Tin-Yau Kwok

AI总结:

针对快速对抗训练(FAT)中同等优化所有数据导致的不平衡优化及类别差异问题,提出SKG-FAT方法,通过引入自知识引导正则化和标签松弛自适应优化训练数据,在不损害训练效率的前提下显著提升了模型的对抗鲁棒性。

摘要:

对抗训练在防御对抗攻击方面取得了显著进展。其中,快速对抗训练(FAT)因能以较少的计算资源实现具有竞争力的鲁棒性而备受关注。现有的FAT方法通常采用统一策略,同等优化所有训练数据,而不考虑不同样本的影响,这导致了不平衡的优化。然而,这种不平衡在FAT领域尚未被探索。本文对FAT中的不平衡问题进行了全面研究,并观察到其性能存在明显的类别差异。这种差异可以从干净准确率和鲁棒准确率之间的对齐角度来体现。基于上述分析,我们主要将观察到的错位和差异归因于FAT中的不平衡优化,这促使我们自适应地优化不同的训练数据以增强鲁棒性。具体而言,我们考虑了差异和错位。首先,我们引入了自知识引导正则化,根据每个类别的训练状态为其分配差异化的正则化权重,以缓解类别差异。此外,我们提出了自知识引导标签松弛,根据训练准确率调整标签松弛,以缓解错位并提高鲁棒性。通过结合这些方法,我们构建了自知识引导的FAT(SKG-FAT),利用训练过程中自然生成的知识来增强对抗鲁棒性,同时不损害训练效率。在四个标准数据集上的大量实验表明,SKG-FAT提高了鲁棒性并保持了具有竞争力的干净准确率,优于现有最先进的方法。

英文摘要:

Adversarial training has achieved remarkable advancements in defending against adversarial attacks. Among them, fast adversarial training (FAT) is gaining attention for its ability to achieve competitive robustness with fewer computing resources. Existing FAT methods typically employ a uniform strategy that optimizes all training data equally without considering the influence of different examples, which leads to an imbalanced optimization. However, this imbalance remains unexplored in the field of FAT. In this paper, we conduct a comprehensive study of the imbalance issue in FAT and observe an obvious class disparity regarding their performances. This disparity could be embodied from a perspective of alignment between clean and robust accuracy. Based on the analysis, we mainly attribute the observed misalignment and disparity to the imbalanced optimization in FAT, which motivates us to optimize different training data adaptively to enhance robustness. Specifically, we take disparity and misalignment into consideration. First, we introduce self-knowledge guided regularization, which assigns differentiated regularization weights to each class based on its training state, alleviating class disparity. Additionally, we propose self-knowledge guided label relaxation, which adjusts label relaxation according to the training accuracy, alleviating the misalignment and improving robustness. By combining these methods, we formulate the Self-Knowledge Guided FAT (SKG-FAT), leveraging naturally generated knowledge during training to enhance the adversarial robustness without compromising training efficiency. Extensive experiments on four standard datasets demonstrate that the SKG-FAT improves the robustness and preserves competitive clean accuracy, outperforming the state-of-the-art methods.

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

↑