arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.10073cs.CV
收藏

重新审视长尾分布下的对抗训练

Revisiting Adversarial Training under Long-Tailed Distributions

School of Cyber Science and Engineering, Wuhan University(武汉大学网络科学与工程学院)

Xinli Yue, Ningping Mou, Qian Wang, Lingchen Zhao

AI总结:

本文重新审视长尾分布下的对抗训练,发现仅用平衡Softmax损失和数据增强即可超越RoBal方法,在CIFAR-10-LT上鲁棒性提升+6.66%,并揭示数据增强通过增加样本多样性缓解鲁棒过拟合。

摘要:

深度神经网络容易受到对抗攻击,常常导致错误的输出。对抗训练已被认为是应对此类攻击最有效的方法之一。然而,现有的对抗训练技术主要是在平衡数据集上进行测试,而现实世界的数据往往呈现长尾分布,这使得这些方法在实际场景中的有效性受到质疑。在本文中,我们深入研究了长尾分布下的对抗训练。通过对先前工作“RoBal”的分析,我们发现仅使用平衡Softmax损失(Balanced Softmax Loss)就能达到与完整RoBal方法相当的性能,同时显著降低训练开销。此外,我们揭示出,与均匀分布类似,长尾分布下的对抗训练也存在鲁棒过拟合问题。为了解决这一问题,我们探索了数据增强作为解决方案,并意外地发现,与平衡数据的结果不同,数据增强不仅能有效缓解鲁棒过拟合,还能显著提升鲁棒性。我们进一步研究了数据增强提升鲁棒性的原因,并确定这归因于样本多样性的增加。大量实验进一步证实,仅数据增强就能显著提升鲁棒性。最后,基于这些发现,我们证明与RoBal相比,BSL与数据增强的组合在CIFAR-10-LT上AutoAttack下模型鲁棒性提升了+6.66%。我们的代码可在 https://github.com/NISPLab/AT-BSL 获取。

英文摘要:

Deep neural networks are vulnerable to adversarial attacks, often leading to erroneous outputs. Adversarial training has been recognized as one of the most effective methods to counter such attacks. However, existing adversarial training techniques have predominantly been tested on balanced datasets, whereas real-world data often exhibit a long-tailed distribution, casting doubt on the efficacy of these methods in practical scenarios. In this paper, we delve into adversarial training under long-tailed distributions. Through an analysis of the previous work "RoBal", we discover that utilizing Balanced Softmax Loss alone can achieve performance comparable to the complete RoBal approach while significantly reducing training overheads. Additionally, we reveal that, similar to uniform distributions, adversarial training under long-tailed distributions also suffers from robust overfitting. To address this, we explore data augmentation as a solution and unexpectedly discover that, unlike results obtained with balanced data, data augmentation not only effectively alleviates robust overfitting but also significantly improves robustness. We further investigate the reasons behind the improvement of robustness through data augmentation and identify that it is attributable to the increased diversity of examples. Extensive experiments further corroborate that data augmentation alone can significantly improve robustness. Finally, building on these findings, we demonstrate that compared to RoBal, the combination of BSL and data augmentation leads to a +6.66% improvement in model robustness under AutoAttack on CIFAR-10-LT. Our code is available at https://github.com/NISPLab/AT-BSL .

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

↑