自然语言模型理解中的局部聚集特征属性
Locally Aggregated Feature Attribution on Natural Language Model Understanding
摘要:
随着深度学习模型的日益普及,模型理解变得更加重要。为了更好地解释深度神经网络,人们付出了很多努力。一些特征属性方法在计算机视觉中已经显示出有希望的结果,特别是基于梯度的方法,其中利用参考数据有效地平滑梯度是鲁棒和忠实结果的关键。然而,直接将这些基于梯度的方法应用于NLP任务并不简单,因为输入由离散标记组成,并且“参考”标记没有明确定义。在这项工作中,我们提出了局部聚集特征属性(LAFA),一种新的基于梯度的自然语言处理模型的特征属性方法。它不依赖于模糊的引用标记,而是通过聚合从语言模型嵌入中派生的相似引用文本来平滑梯度。为了评估的目的,我们还设计了不同的NLP任务,包括实体识别和情感分析的公共数据集,以及构建的亚马逊目录数据集上的关键特征检测实验。通过实验证明了该方法的优越性能。
英文摘要:
With the growing popularity of deep-learning models, model understanding becomes more important. Much effort has been devoted to demystify deep neural networks for better interpretability. Some feature attribution methods have shown promising results in computer vision, especially the gradient-based methods where effectively smoothing the gradients with reference data is key to a robust and faithful result. However, direct application of these gradient-based methods to NLP tasks is not trivial due to the fact that the input consists of discrete tokens and the "reference" tokens are not explicitly defined. In this work, we propose Locally Aggregated Feature Attribution (LAFA), a novel gradient-based feature attribution method for NLP models. Instead of relying on obscure reference tokens, it smooths gradients by aggregating similar reference texts derived from language model embeddings. For evaluation purpose, we also design experiments on different NLP tasks including Entity Recognition and Sentiment Analysis on public datasets as well as key feature detection on a constructed Amazon catalogue dataset. The superior performance of the proposed method is demonstrated through experiments.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。