arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 1801.05453cs.CLcs.LGstat.ML
收藏

超越单词的重要性:从LSTM中提取交互的上下文分解

Beyond Word Importance: Contextual Decomposition to Extract Interactions from LSTMs

University of California, Berkeley(加州大学伯克利分校);Google Brain(谷歌大脑)

W. James Murdoch, Peter J. Liu, Bin Yu

摘要:

LSTM最近成功背后的驱动力是它们学习复杂和非线性关系的能力。因此,我们无法描述这些关系,导致LSTM被描述为黑箱。为此,我们引入了上下文分解(CD),这是一种解释算法,用于分析标准LSTM做出的单个预测,而无需对底层模型进行任何更改。通过分解LSTM的输出,CD捕获单词或变量的组合对LSTM最终预测的贡献。在使用Yelp和SST数据集进行情感分析的任务中,我们展示了CD能够可靠地识别对比情感的单词和短语,以及如何将它们组合起来产生LSTM的最终预测。使用SST中的短语级标签,我们还证明了CD能够成功地从LSTM中提取正负否定,这是以前没有做过的。

英文摘要:

The driving force behind the recent success of LSTMs has been their ability to learn complex and non-linear relationships. Consequently, our inability to describe these relationships has led to LSTMs being characterized as black boxes. To this end, we introduce contextual decomposition (CD), an interpretation algorithm for analysing individual predictions made by standard LSTMs, without any changes to the underlying model. By decomposing the output of a LSTM, CD captures the contributions of combinations of words or variables to the final prediction of an LSTM. On the task of sentiment analysis with the Yelp and SST data sets, we show that CD is able to reliably identify words and phrases of contrasting sentiment, and how they are combined to yield the LSTM's final prediction. Using the phrase-level labels in SST, we also demonstrate that CD is able to successfully extract positive and negative negations from an LSTM, something which has not previously been done.

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

↑