arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2210.12396cs.CLcs.LG
收藏

ADDMU:利用数据和模型不确定性估计检测远边界敌对示例

ADDMU: Detection of Far-Boundary Adversarial Examples with Data and Model Uncertainty Estimation

University of California, Los Angeles(加州大学洛杉矶分校);University of North Carolina, Chapel Hill(北卡罗来纳大学教堂山分校)

Fan Yin, Yao Li, Cho-Jui Hsieh, Kai-Wei Chang

摘要:

对抗性示例检测(AED)是对抗性攻击的一种重要防御技术,越来越受到自然语言处理(NLP)社区的关注。尽管新的AED方法激增,但我们的研究表明,现有的方法严重依赖于捷径来实现良好的性能。换句话说,一旦模型预测发生变化,NLP中当前基于搜索的对抗性攻击就会停止,因此这些攻击生成的大多数对抗性示例都位于模型决策边界附近。为了超越这种捷径并公平地评估AED方法,我们建议使用\textbf{F} ar \textbf{B} ouncement(\textbf{FB})对抗性示例来测试AED方法。现有的方法在这种情况下表现出比随机猜测更差的性能。为了克服这一局限性,我们提出了一种新的技术,\textbf{ADDMU},\textbf{a}的\textbf{d}检测与\textbf{d}数据和\textbf{m}模型\textbf{u}不确定性,它结合了两种类型的不确定性估计的定期和FB敌对的例子检测。我们的新方法在每个场景下都比以前的方法高出3.6和6.0 \emph{AUC}点。最后,我们的分析表明,\textbf{ADDMU}提供的两种类型的不确定性可以用来描述对抗性示例,并识别对对抗性训练中模型鲁棒性贡献最大的示例。

英文摘要:

Adversarial Examples Detection (AED) is a crucial defense technique against adversarial attacks and has drawn increasing attention from the Natural Language Processing (NLP) community. Despite the surge of new AED methods, our studies show that existing methods heavily rely on a shortcut to achieve good performance. In other words, current search-based adversarial attacks in NLP stop once model predictions change, and thus most adversarial examples generated by those attacks are located near model decision boundaries. To surpass this shortcut and fairly evaluate AED methods, we propose to test AED methods with \textbf{F}ar \textbf{B}oundary (\textbf{FB}) adversarial examples. Existing methods show worse than random guess performance under this scenario. To overcome this limitation, we propose a new technique, \textbf{ADDMU}, \textbf{a}dversary \textbf{d}etection with \textbf{d}ata and \textbf{m}odel \textbf{u}ncertainty, which combines two types of uncertainty estimation for both regular and FB adversarial example detection. Our new method outperforms previous methods by 3.6 and 6.0 \emph{AUC} points under each scenario. Finally, our analysis shows that the two types of uncertainty provided by \textbf{ADDMU} can be leveraged to characterize adversarial examples and identify the ones that contribute most to model's robustness in adversarial training.

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

↑