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

从对抗军备竞赛到以模型为中心的评估:推动统一的自动鲁棒性评估框架

From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Framework

Tsinghua University(清华大学);Alibaba Group(阿里巴巴集团);Jiangsu Normal University(江苏师范大学);Chongqing University(重庆大学)

Yangyi Chen, Hongcheng Gao, Ganqu Cui, Lifan Yuan, Dehan Kong, Hanlu Wu, Ning Shi, Bo Yuan, Longtao Huang, Hui Xue, Zhiyuan Liu, Maosong Sun, Heng Ji

AI总结:

本文提出统一的自动鲁棒性评估框架,通过确定评估维度、建立现实评估协议并以扰动程度控制样本有效性,实现从算法为中心到模型为中心的评估转变,并开发 RobTest 工具包验证其有效性。

摘要:

文本对抗攻击可以通过向输入添加保持语义但具有误导性的扰动来发现模型的弱点。自然语言处理(NLP)中长期存在的对抗攻击与防御军备竞赛是以算法为中心的,为自动鲁棒性评估提供了有价值的技术。然而,现有的鲁棒性评估实践可能暴露出评估不全面、评估协议不切实际以及对抗样本无效等问题。在本文中,我们旨在建立一个统一的自动鲁棒性评估框架,转向以模型为中心的评估,以进一步发挥对抗攻击的优势。为应对上述挑战,我们首先根据模型能力确定鲁棒性评估维度,并为每个维度指定合理的算法来生成对抗样本。然后,我们在现实需求下建立评估协议,包括评估设置和评估指标。最后,我们使用对抗样本的扰动程度来控制样本有效性。我们实现了一个工具包 RobTest,用于实现我们的自动鲁棒性评估框架。在实验中,我们对 RoBERTa 模型进行了鲁棒性评估,以证明我们评估框架的有效性,并进一步展示了框架中每个组成部分的合理性。代码将在 \url{https://github.com/thunlp/RobTest} 公开。

英文摘要:

Textual adversarial attacks can discover models' weaknesses by adding semantic-preserved but misleading perturbations to the inputs. The long-lasting adversarial attack-and-defense arms race in Natural Language Processing (NLP) is algorithm-centric, providing valuable techniques for automatic robustness evaluation. However, the existing practice of robustness evaluation may exhibit issues of incomprehensive evaluation, impractical evaluation protocol, and invalid adversarial samples. In this paper, we aim to set up a unified automatic robustness evaluation framework, shifting towards model-centric evaluation to further exploit the advantages of adversarial attacks. To address the above challenges, we first determine robustness evaluation dimensions based on model capabilities and specify the reasonable algorithm to generate adversarial samples for each dimension. Then we establish the evaluation protocol, including evaluation settings and metrics, under realistic demands. Finally, we use the perturbation degree of adversarial samples to control the sample validity. We implement a toolkit RobTest that realizes our automatic robustness evaluation framework. In our experiments, we conduct a robustness evaluation of RoBERTa models to demonstrate the effectiveness of our evaluation framework, and further show the rationality of each component in the framework. The code will be made public at \url{https://github.com/thunlp/RobTest}.

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

↑