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

用自动损失函数搜索缩小对抗性风险的近似误差

Tightening the Approximation Error of Adversarial Risk with Auto Loss Function Search

University of Science and Technology of China(中国科学技术大学)

Pengfei Xia, Ziqiang Li, Bin Li

摘要:

尽管取得了巨大的成功,但深度神经网络(DNN)很容易受到对抗性样本的影响。如何准确评估DNN的对抗鲁棒性对于其在现实世界中的应用部署至关重要。稳健性的一个理想指标是对抗风险。不幸的是,由于它涉及最大化0-1损失,计算真正的风险在技术上是棘手的。最常见的解决方案是通过用一个替代损失来代替0-1损失来计算近似风险。已经使用了一些函数,例如交叉熵(CE)损失和对数比差(DLR)损失。然而,这些函数都是手动设计的,可能不太适合对抗鲁棒性评估。在本文中,我们利用AutoML来缩小真实风险和近似风险之间的误差(差距)。我们的主要贡献如下。首先,AutoLoss-AR,第一个方法来搜索代理损失的对抗性风险,一个精心设计的搜索空间,提出。在10个对抗训练模型上的实验结果证明了该方法的有效性:使用最佳发现损失评估的风险比使用手工基线评估的风险高0.2%至1.6%。其次,提取出5个具有清晰可读公式的替代损失,并在7个看不见的对抗训练模型上进行测试。这些损失超过基线0.8%至2.4%,表明它们可以单独用作某种新知识。此外,这些损失的更好的性能的可能原因进行了探讨。

英文摘要:

Despite achieving great success, Deep Neural Networks (DNNs) are vulnerable to adversarial examples. How to accurately evaluate the adversarial robustness of DNNs is critical for their deployment in real-world applications. An ideal indicator of robustness is adversarial risk. Unfortunately, since it involves maximizing the 0-1 loss, calculating the true risk is technically intractable. The most common solution for this is to compute an approximate risk by replacing the 0-1 loss with a surrogate one. Some functions have been used, such as Cross-Entropy (CE) loss and Difference of Logits Ratio (DLR) loss. However, these functions are all manually designed and may not be well suited for adversarial robustness evaluation. In this paper, we leverage AutoML to tighten the error (gap) between the true and approximate risks. Our main contributions are as follows. First, AutoLoss-AR, the first method to search for surrogate losses for adversarial risk, with an elaborate search space, is proposed. The experimental results on 10 adversarially trained models demonstrate the effectiveness of the proposed method: the risks evaluated using the best-discovered losses are 0.2% to 1.6% better than those evaluated using the handcrafted baselines. Second, 5 surrogate losses with clean and readable formulas are distilled out and tested on 7 unseen adversarially trained models. These losses outperform the baselines by 0.8% to 2.4%, indicating that they can be used individually as some kind of new knowledge. Besides, the possible reasons for the better performance of these losses are explored.

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

↑