通过自知识引导提升快速对抗训练的鲁棒性
Improving Fast Adversarial Training via Self-Knowledge Guidance
- 根据样本训练状态动态调整正则化权重,缓解类别间优化不平衡
- 基于训练准确率自适应调整标签松弛,改善干净与鲁棒精度的偏差
- 无需额外计算开销,适合追求高效鲁棒训练的研究者
对抗训练在防御对抗攻击方面取得了显著进展。其中,快速对抗训练(FAT)因其用较少计算资源实现良好鲁棒性的特点而受到关注。现有FAT方法通常采用统一策略对所有训练数据进行同等优化,未考虑不同样本的影响,导致优化不平衡。本文首次系统研究了FAT中的不平衡问题,发现各类别间存在明显性能差异,这种差异可从干净精度与鲁棒精度的对齐程度体现。分析表明,该错位源于FAT中不均衡的优化过程,因此我们提出自知识引导的优化策略:首先引入自知识引导的正则化,根据每类的训练状态分配差异化正则化权重,缓解类别差异;其次提出自知识引导的标签松弛,根据训练准确率动态调整标签松弛强度,缓解错位并提升鲁棒性。结合两者,构建了自知识引导的快速对抗训练(SKG-FAT),利用训练过程中自然生成的知识增强鲁棒性而不牺牲训练效率。在四个标准数据集上的大量实验表明,SKG-FAT提升了鲁棒性,同时保持了竞争力的干净精度,优于当前最先进方法。
原文摘要 · Abstract (English)
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.
Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。