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

基于Transformers的文本属性对抗鲁棒性估计

Estimating the Adversarial Robustness of Attributions in Text with Transformers

IBM Research Zurich(IBM苏黎世研究院);École Polytechnique Fédérale de Lausanne (EPFL)(洛桑联邦理工学院)

Adam Ivankay, Mattia Rigotti, Ivan Girardi, Chiara Marchiori, Pascal Frossard

摘要:

推理是深度神经网络(DNN)分类器的重要组成部分。在高风险应用中,忠实和强大的解释对于理解和获得DNN分类器的信任非常重要。然而,最近的工作表明,文本分类器中最先进的归因方法容易受到难以察觉的对抗性扰动的影响,这些扰动会显着改变解释,同时保持正确的预测结果。如果未被发现,这可能会严重误导DNN的用户。因此,理解这种对抗性扰动对网络解释及其可感知性的影响至关重要。在这项工作中,我们建立了一个新的定义属性鲁棒性(AR)的文本分类,基于Lipschitz连续性。重要的是,它反映了由对抗性输入变化引起的归因变化和这种变化的可感知性。此外,我们引入了一系列文本相似性度量,以有效地捕获两个文本样本之间的局部性和文本中对抗性扰动的不可感知性。然后,我们提出了我们的新的transformeradminationattack(TEA),一个强大的对手,提供了一个严格的估计属性的鲁棒性在文本分类。TEA使用最先进的语言模型来提取单词替换,从而产生流畅的上下文对抗样本。最后,通过对几种文本分类架构的实验,我们表明TEA始终优于当前最先进的AR估计器,产生的扰动在更大程度上改变了解释,同时更流畅,更不易察觉。

英文摘要:

Explanations are crucial parts of deep neural network (DNN) classifiers. In high stakes applications, faithful and robust explanations are important to understand and gain trust in DNN classifiers. However, recent work has shown that state-of-the-art attribution methods in text classifiers are susceptible to imperceptible adversarial perturbations that alter explanations significantly while maintaining the correct prediction outcome. If undetected, this can critically mislead the users of DNNs. Thus, it is crucial to understand the influence of such adversarial perturbations on the networks' explanations and their perceptibility. In this work, we establish a novel definition of attribution robustness (AR) in text classification, based on Lipschitz continuity. Crucially, it reflects both attribution change induced by adversarial input alterations and perceptibility of such alterations. Moreover, we introduce a wide set of text similarity measures to effectively capture locality between two text samples and imperceptibility of adversarial perturbations in text. We then propose our novel TransformerExplanationAttack (TEA), a strong adversary that provides a tight estimation for attribution robustness in text classification. TEA uses state-of-the-art language models to extract word substitutions that result in fluent, contextual adversarial samples. Finally, with experiments on several text classification architectures, we show that TEA consistently outperforms current state-of-the-art AR estimators, yielding perturbations that alter explanations to a greater extent while being more fluent and less perceptible.

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

↑