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

通过表示擦除理解神经网络

Understanding Neural Networks through Representation Erasure

Stanford University(斯坦福大学)

Jiwei Li, Will Monroe, Dan Jurafsky

摘要:

虽然神经网络已经成功地应用于许多自然语言处理任务,但它们是以可解释性为代价的。在本文中,我们提出了一个通用的方法来分析和解释决策的神经模型,通过观察模型的影响,删除的各个部分的表示,如输入词向量的尺寸,中间隐藏单元,或输入的话。我们提出了几种方法来分析这种擦除的影响,从计算评估指标的相对差异,到使用强化学习来擦除输入单词的最小集合,以翻转神经模型的决策。在多个NLP任务的综合分析,包括语言特征分类,文本级情感分析,和文档级情感方面的预测,我们表明,所提出的方法不仅提供了清晰的解释神经模型的决策,但也提供了一种方法来进行错误分析的神经模型。

英文摘要:

While neural networks have been successfully applied to many natural language processing tasks, they come at the cost of interpretability. In this paper, we propose a general methodology to analyze and interpret decisions from a neural model by observing the effects on the model of erasing various parts of the representation, such as input word-vector dimensions, intermediate hidden units, or input words. We present several approaches to analyzing the effects of such erasure, from computing the relative difference in evaluation metrics, to using reinforcement learning to erase the minimum set of input words in order to flip a neural model's decision. In a comprehensive analysis of multiple NLP tasks, including linguistic feature classification, sentence-level sentiment analysis, and document level sentiment aspect prediction, we show that the proposed methodology not only offers clear explanations about neural model decisions, but also provides a way to conduct error analysis on neural models.

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

↑