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

一首(不)一致之歌:评估可解释人工智能在自然语言处理中的评价

A Song of (Dis)agreement: Evaluating the Evaluation of Explainable Artificial Intelligence in Natural Language Processing

University of Amsterdam(阿姆斯特丹大学);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学)

Michael Neely, Stefan F. Schouten, Maurits Bleeker, Ana Lucic

摘要:

在NLP社区中,关于注意力权重是否可以作为一种解释-一种解释每个输入标记对于特定预测有多重要的机制-一直存在重大争论。“注意力作为解释”的有效性迄今为止已经通过使用基于LSTM的模型计算基于注意力的解释和现有特征归因解释之间的等级相关来评估。在我们的工作中,我们(i)在两种类型的NLP任务上比较了五种最近的特征归因方法和两种基于注意力的方法之间的等级相关性,以及(ii)将这种分析扩展到也包括基于transformer的模型。我们发现,基于注意力的解释并不强烈相关的任何最近的特征归因方法,无论模型或任务。此外,我们发现,没有一个测试的解释强烈相关,彼此为transformer为基础的模型,导致我们质疑的基本假设,我们应该衡量基于注意力的解释的有效性的基础上,以及他们与现有的特征归因解释方法的相关性。在使用两种不同的模型对五个数据集进行实验后,我们认为社区应该停止使用等级相关性作为基于注意力的解释的评估指标。我们建议研究人员和实践者应该测试各种解释方法,并采用人在回路的过程来确定解释是否符合人类对手头特定用例的直觉。

英文摘要:

There has been significant debate in the NLP community about whether or not attention weights can be used as an explanation - a mechanism for interpreting how important each input token is for a particular prediction. The validity of "attention as explanation" has so far been evaluated by computing the rank correlation between attention-based explanations and existing feature attribution explanations using LSTM-based models. In our work, we (i) compare the rank correlation between five more recent feature attribution methods and two attention-based methods, on two types of NLP tasks, and (ii) extend this analysis to also include transformer-based models. We find that attention-based explanations do not correlate strongly with any recent feature attribution methods, regardless of the model or task. Furthermore, we find that none of the tested explanations correlate strongly with one another for the transformer-based model, leading us to question the underlying assumption that we should measure the validity of attention-based explanations based on how well they correlate with existing feature attribution explanation methods. After conducting experiments on five datasets using two different models, we argue that the community should stop using rank correlation as an evaluation metric for attention-based explanations. We suggest that researchers and practitioners should instead test various explanation methods and employ a human-in-the-loop process to determine if the explanations align with human intuition for the particular use case at hand.

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

↑