arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2206.03178cs.LGcs.CLcs.CR
收藏

文本分类器中的欺骗解释

Fooling Explanations in Text Classifiers

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

Adam Ivankay, Ivan Girardi, Chiara Marchiori, Pascal Frossard

摘要:

最先进的文本分类模型越来越依赖于深度神经网络(DNN)。由于其黑盒性质,忠实和强大的解释方法需要伴随分类器部署在现实生活中的场景。然而,在视觉应用中已经表明,解释方法容易受到局部的、不可感知的扰动的影响,这些扰动可以在不改变预测类的情况下显著改变解释。我们在这里表明,这种扰动的存在延伸到文本分类器以及。具体来说,我们介绍了一种新的解释攻击算法TEF,它可以不知不觉地改变文本输入样本,从而使广泛使用的解释方法的结果发生很大变化,同时保持分类器预测不变。我们在五个序列分类数据集上评估了TEF中属性鲁棒性估计性能的性能,每个数据集使用三种DNN架构和三种Transformer架构。TEF能显著降低输入属性不变与扰动之间的相关性,这表明所有模型和解释方法都容易受到TEF扰动的影响。此外,我们评估了扰动如何转移到其他模型架构和归因方法,并表明TEF扰动在目标模型和解释方法未知的情况下也是有效的。最后,我们介绍了一个半通用的攻击,能够计算快速,计算轻扰动,没有知识的攻击分类器,也没有解释方法。总的来说,我们的工作表明,文本分类器中的解释是非常脆弱的,用户需要在关键应用中依赖它们之前仔细解决它们的鲁棒性。

英文摘要:

State-of-the-art text classification models are becoming increasingly reliant on deep neural networks (DNNs). Due to their black-box nature, faithful and robust explanation methods need to accompany classifiers for deployment in real-life scenarios. However, it has been shown in vision applications that explanation methods are susceptible to local, imperceptible perturbations that can significantly alter the explanations without changing the predicted classes. We show here that the existence of such perturbations extends to text classifiers as well. Specifically, we introduceTextExplanationFooler (TEF), a novel explanation attack algorithm that alters text input samples imperceptibly so that the outcome of widely-used explanation methods changes considerably while leaving classifier predictions unchanged. We evaluate the performance of the attribution robustness estimation performance in TEF on five sequence classification datasets, utilizing three DNN architectures and three transformer architectures for each dataset. TEF can significantly decrease the correlation between unchanged and perturbed input attributions, which shows that all models and explanation methods are susceptible to TEF perturbations. Moreover, we evaluate how the perturbations transfer to other model architectures and attribution methods, and show that TEF perturbations are also effective in scenarios where the target model and explanation method are unknown. Finally, we introduce a semi-universal attack that is able to compute fast, computationally light perturbations with no knowledge of the attacked classifier nor explanation method. Overall, our work shows that explanations in text classifiers are very fragile and users need to carefully address their robustness before relying on them in critical applications.

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

↑