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

评估自然语言处理模型的神经元解释方法

Evaluating Neuron Interpretation Methods of NLP Models

The Chinese University of Hong Kong(香港中文大学);Qatar Computing Research Institute, HBKU(卡塔尔计算研究所,哈马德·本·哈利法大学);Faculty of Computer Science, Dalhousie University(达尔豪斯大学计算机科学学院)

Yimin Fan, Fahim Dalvi, Nadir Durrani, Hassan Sajjad

AI总结:

针对NLP模型神经元解释方法缺乏统一评估基准的问题,提出基于方法间兼容性的评估框架,系统对比多种方法并开放框架供社区使用。

摘要:

神经元解释在可解释性领域日益受到关注,为模型学习的内容以及语言知识如何在其不同组件间分布提供了细粒度的见解。然而,由于缺乏评估基准和指标,各类方法的进展各自孤立,鲜有研究对它们进行比较并阐明其优缺点。造成这一差异的原因在于难以构建真值数据集:例如,给定模型中的许多神经元可能学习相同的现象,因此可能不存在唯一正确答案。此外,一种被学习的现象可能分布在多个协同工作的神经元中——将这些神经元梳理出来以构建金标准颇具挑战。在本研究中,我们提出了一个评估框架,用于衡量神经元分析方法与其他方法的兼容性。我们假设,一种方法与大多数方法的兼容性越高,人们对其性能的信心就越足。我们对所提出的框架进行了系统评估,并对大量神经元解释方法开展了对比分析。我们向社区开放了该评估框架,它支持使用20个概念、在三个预训练模型上评估任意新方法。代码已发布于https://github.com/fdalvi/neuron-comparative-analysis。

英文摘要:

Neuron Interpretation has gained traction in the field of interpretability, and have provided fine-grained insights into what a model learns and how language knowledge is distributed amongst its different components. However, the lack of evaluation benchmark and metrics have led to siloed progress within these various methods, with very little work comparing them and highlighting their strengths and weaknesses. The reason for this discrepancy is the difficulty of creating ground truth datasets, for example, many neurons within a given model may learn the same phenomena, and hence there may not be one correct answer. Moreover, a learned phenomenon may spread across several neurons that work together -- surfacing these to create a gold standard challenging. In this work, we propose an evaluation framework that measures the compatibility of a neuron analysis method with other methods. We hypothesize that the more compatible a method is with the majority of the methods, the more confident one can be about its performance. We systematically evaluate our proposed framework and present a comparative analysis of a large set of neuron interpretation methods. We make the evaluation framework available to the community. It enables the evaluation of any new method using 20 concepts and across three pre-trained models.The code is released at https://github.com/fdalvi/neuron-comparative-analysis

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

↑