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

NLP模型的灵活实例特定化

Flexible Instance-Specific Rationalization of NLP Models

Department of Computer Science, University of Sheffield(谢菲尔德大学计算机科学系)

George Chrysostomou, Nikolaos Aletras

摘要:

最近对自然语言处理中模型可解释性的研究广泛使用特征评分方法来识别输入的哪些部分对于模型进行预测(即解释或理由)是最重要的。然而,以前的研究表明,在各种文本分类任务中没有明确的最佳评分方法,而从业者通常必须就长度和基本原理的类型(例如短或长,连续或不连续)做出其他几个特别的选择。受此启发,我们提出了一种简单而有效且灵活的方法,可以为每个数据实例进行最佳选择:(1)特征评分方法;(2)长度;(3)基本原理的类型。我们的方法的灵感来自输入擦除方法的可解释性,假设预测的最忠实的理由应该是一个模型的输出分布之间的最高差异使用全文和文本后删除的理由作为输入分别。在四个标准文本分类数据集上的评价表明,与使用固定的特征评分方法、合理长度和类型相比,该方法提供了更忠实、更全面和更充分的解释。更重要的是,我们证明了一个从业者是不需要作出任何特设的选择,以提取忠实的理由使用我们的方法。

英文摘要:

Recent research on model interpretability in natural language processing extensively uses feature scoring methods for identifying which parts of the input are the most important for a model to make a prediction (i.e. explanation or rationale). However, previous research has shown that there is no clear best scoring method across various text classification tasks while practitioners typically have to make several other ad-hoc choices regarding the length and the type of the rationale (e.g. short or long, contiguous or not). Inspired by this, we propose a simple yet effective and flexible method that allows selecting optimally for each data instance: (1) a feature scoring method; (2) the length; and (3) the type of the rationale. Our method is inspired by input erasure approaches to interpretability which assume that the most faithful rationale for a prediction should be the one with the highest difference between the model's output distribution using the full text and the text after removing the rationale as input respectively. Evaluation on four standard text classification datasets shows that our proposed method provides more faithful, comprehensive and highly sufficient explanations compared to using a fixed feature scoring method, rationale length and type. More importantly, we demonstrate that a practitioner is not required to make any ad-hoc choices in order to extract faithful rationales using our approach.

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

↑