每个决策的注意力矩阵:文本分类中多个基于注意力的Transformers解释之间基于可信度的仲裁
An Attention Matrix for Every Decision: Faithfulness-based Arbitration Among Multiple Attention-Based Interpretations of Transformers in Text Classification
摘要:
Transformers广泛用于自然语言处理中,它们始终实现最先进的性能。这主要是由于它们基于注意力的架构,这使得它们能够对(子)词之间丰富的语言关系进行建模。然而,Transformers很难解释。能够为其决策提供推理是影响人类生活的领域中模型的重要属性。随着Transformers在这些领域的广泛使用,需要为他们量身定制的可解释性技术。我们提出了一种新的技术,选择最忠实的基于注意力的解释之间的几个,可以通过结合不同的头,层和矩阵操作。此外,引入了两种变化,以(i)降低计算复杂性,从而更快和更友好的环境,以及(ii)提高多标签数据的性能。我们进一步提出了一个新的忠诚度度量,更适合于Transformer模型,并表现出高度的相关性,根据地面真理的基础上的准确率-召回率曲线下的面积。我们验证了我们的贡献的效用与一系列的定量和定性实验7个数据集。
英文摘要:
Transformers are widely used in natural language processing, where they consistently achieve state-of-the-art performance. This is mainly due to their attention-based architecture, which allows them to model rich linguistic relations between (sub)words. However, transformers are difficult to interpret. Being able to provide reasoning for its decisions is an important property for a model in domains where human lives are affected. With transformers finding wide use in such fields, the need for interpretability techniques tailored to them arises. We propose a new technique that selects the most faithful attention-based interpretation among the several ones that can be obtained by combining different head, layer and matrix operations. In addition, two variations are introduced towards (i) reducing the computational complexity, thus being faster and friendlier to the environment, and (ii) enhancing the performance in multi-label data. We further propose a new faithfulness metric that is more suitable for transformer models and exhibits high correlation with the area under the precision-recall curve based on ground truth rationales. We validate the utility of our contributions with a series of quantitative and qualitative experiments on seven datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。