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

对抗训练中用于聚焦重要样本的一对其余损失

One-vs-the-Rest Loss to Focus on Important Samples in Adversarial Training

NTT(日本电报电话公司)

Sekitoshi Kanai, Shin'ya Yamaguchi, Masanori Yamada, Hiroshi Takahashi, Kentaro Ohno, Yasutoshi Ida

AI总结:

针对重要性加权对抗训练易受 Auto-Attack 攻击的问题,提出 SOVR 损失,对低裕度重要样本切换为一对其余损失以增大 logit 裕度并提升鲁棒性。

摘要:

本文提出了一种用于对抗训练的新损失函数。由于对抗训练存在诸多困难,例如需要较高的模型容量,通过对交叉熵损失加权来聚焦重要数据点的方法已引起广泛关注。然而,这些方法容易受到复杂攻击(例如 Auto-Anttack)的影响。本文通过实验揭示,其脆弱性的原因在于真实标签与其他标签的 logits 之间的裕度较小。由于神经网络基于 logits 对数据点进行分类,logit 裕度应足够大,以避免最大 logit 被攻击翻转。与交叉熵损失相比,重要性感知方法并不会增加重要样本的 logit 裕度,反而会降低较不重要样本的 logit 裕度。为增加重要样本的 logit 裕度,我们提出了切换式一对其余损失(SOVR),对于 logit 裕度较小的重要样本,该损失从交叉熵切换为一对其余损失。我们证明,对于一个简单问题,一对其余损失使 logit 裕度达到加权交叉熵损失的两倍。我们通过实验确认,与现有方法不同,SOVR 增加了重要样本的 logit 裕度,并且相比重要性感知方法实现了更好的针对 Auto-Attack 的鲁棒性。

英文摘要:

This paper proposes a new loss function for adversarial training. Since adversarial training has difficulties, e.g., necessity of high model capacity, focusing on important data points by weighting cross-entropy loss has attracted much attention. However, they are vulnerable to sophisticated attacks, e.g., Auto-Attack. This paper experimentally reveals that the cause of their vulnerability is their small margins between logits for the true label and the other labels. Since neural networks classify the data points based on the logits, logit margins should be large enough to avoid flipping the largest logit by the attacks. Importance-aware methods do not increase logit margins of important samples but decrease those of less-important samples compared with cross-entropy loss. To increase logit margins of important samples, we propose switching one-vs-the-rest loss (SOVR), which switches from cross-entropy to one-vs-the-rest loss for important samples that have small logit margins. We prove that one-vs-the-rest loss increases logit margins two times larger than the weighted cross-entropy loss for a simple problem. We experimentally confirm that SOVR increases logit margins of important samples unlike existing methods and achieves better robustness against Auto-Attack than importance-aware methods.

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

↑