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

对抗训练的新范式:通过虚拟类别释放精度-鲁棒性权衡

New Paradigm of Adversarial Training: Releasing Accuracy-Robustness Trade-Off via Dummy Class

The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));The Hong Kong Polytechnic University(香港理工大学)

Yanyun Wang, Li Liu, Zi Liang, Yi R., Fung, Qingqing Ye, Haibo Hu

AI总结:

针对对抗训练中固有的精度-鲁棒性权衡,提出引入虚拟类别的对抗训练新范式,并设计DUCAT方法,以即插即用方式同时提升精度与鲁棒性,优于现有基准。

摘要:

对抗训练(AT)是增强深度神经网络(DNNs)鲁棒性最有效的方法之一。然而,现有的对抗训练方法存在固有的精度-鲁棒性权衡问题。以往的工作在当前对抗训练范式下研究了这一问题,但与PGD-AT等简单基线相比,仍面临超过10%的精度下降,且鲁棒性提升不显著。这种固有的权衡引发了一个问题:当前对抗训练范式假设将对应的良性样本和对抗样本学习为同一类别,这是否不恰当地混合了可能本质上不一致的干净目标和鲁棒目标?事实上,我们的实证结果表明,在各种对抗训练方法和鲁棒模型下,多达40%的CIFAR-10对抗样本始终无法满足这一假设,明确指出了当前对抗训练范式存在改进空间。为了放宽这一过于严格的假设,并缓解干净学习与鲁棒学习之间的张力,在本工作中,我们提出了一种新的对抗训练范式,即为每个原始类别引入一个额外的虚拟类别,旨在容纳扰动后分布偏移的困难对抗样本。针对这些对抗样本的鲁棒性可以通过在运行时从预测的虚拟类别恢复至对应的原始类别来实现,而不会与针对良性样本精度的干净目标冲突。最后,基于我们的新范式,我们提出了一种新颖的基于虚拟类别的对抗训练(DUCAT)方法,该方法以即插即用的方式同时提升精度和鲁棒性,仅涉及logits、损失以及所提出的基于双热软标签的监督信号。我们的方法优于最先进的(SOTA)基准,有效释放了当前的权衡。代码可在https://github.com/FlaAI/DUCAT获取。

英文摘要:

Adversarial Training (AT) is one of the most effective methods to enhance the robustness of Deep Neural Networks (DNNs). However, existing AT methods suffer from an inherent accuracy-robustness trade-off. Previous works have studied this issue under the current AT paradigm, but still face over 10% accuracy reduction without significant robustness improvement over simple baselines such as PGD-AT. This inherent trade-off raises a question: Whether the current AT paradigm, which assumes to learn corresponding benign and adversarial samples as the same class, inappropriately mixes clean and robust objectives that may be essentially inconsistent. In fact, our empirical results show that up to 40% of CIFAR-10 adversarial samples always fail to satisfy such an assumption across various AT methods and robust models, explicitly indicating the room for improvement of the current AT paradigm. To relax from this overstrict assumption and the tension between clean and robust learning, in this work, we propose a new AT paradigm by introducing an additional dummy class for each original class, aiming to accommodate hard adversarial samples with shifted distribution after perturbation. The robustness w.r.t. these adversarial samples can be achieved by runtime recovery from the predicted dummy classes to the corresponding original ones, without conflicting with the clean objective on accuracy of benign samples. Finally, based on our new paradigm, we propose a novel DUmmy Classes-based Adversarial Training (DUCAT) method that concurrently improves accuracy and robustness in a plug-and-play manner only relevant to logits, loss, and a proposed two-hot soft label-based supervised signal. Our method outperforms state-of-the-art (SOTA) benchmarks, effectively releasing the current trade-off. The code is available at https://github.com/FlaAI/DUCAT.

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

↑