arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2108.04990cs.CL
收藏

深度自然语言处理中脆弱解释的扰动输入

Perturbing Inputs for Fragile Interpretations in Deep Natural Language Processing

University of Virginia(弗吉尼亚大学)

Sanchit Sinha, Hanjie Chen, Arshdeep Sekhon, Yangfeng Ji, Yanjun Qi

摘要:

像集成梯度和LIME这样的可解释性方法是解释具有相对单词重要性分数的自然语言模型预测的流行选择。这些解释需要在医学或金融等高风险领域的可靠NLP应用程序中保持稳健。我们的论文演示了如何解释可以操纵简单的词扰动输入文本。通过一小部分词级交换,这些对抗性扰动旨在使生成的文本在语义和空间上与其种子输入相似(因此共享相似的解释)。同时,生成的示例实现了与种子相同的预测标签,但通过解释方法给出了实质上不同的解释。我们的实验生成脆弱的解释攻击两个SOTA解释方法,在三个流行的Transformer模型和两个不同的NLP数据集。我们观察到,排名顺序的相关性下降超过20%时,不到10%的话平均扰动。此外,随着更多的单词受到干扰,排名顺序相关性不断降低。此外,我们证明,从我们的方法产生的候选人具有良好的质量指标。

英文摘要:

Interpretability methods like Integrated Gradient and LIME are popular choices for explaining natural language model predictions with relative word importance scores. These interpretations need to be robust for trustworthy NLP applications in high-stake areas like medicine or finance. Our paper demonstrates how interpretations can be manipulated by making simple word perturbations on an input text. Via a small portion of word-level swaps, these adversarial perturbations aim to make the resulting text semantically and spatially similar to its seed input (therefore sharing similar interpretations). Simultaneously, the generated examples achieve the same prediction label as the seed yet are given a substantially different explanation by the interpretation methods. Our experiments generate fragile interpretations to attack two SOTA interpretation methods, across three popular Transformer models and on two different NLP datasets. We observe that the rank order correlation drops by over 20% when less than 10% of words are perturbed on average. Further, rank-order correlation keeps decreasing as more words get perturbed. Furthermore, we demonstrate that candidates generated from our method have good quality metrics.

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

↑