arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2005.00062cs.CLcs.NE
收藏

LSTM中语法重复的归因分析

Attribution Analysis of Grammatical Dependencies in LSTMs

Yale University(耶鲁大学)

Yiding Hao

摘要:

LSTM语言模型已被证明可以捕获语法敏感的语法依赖关系,例如具有高度准确性的主语-动词一致性(Linzen et al.,2016年,除其他外)。然而,问题仍然存在,他们是否使用虚假的相关性,或者他们是否真的能够匹配动词与他们的主题。本文支持后一种假设。使用逐层相关性传播(Bach等人,2015),一种量化输入特征对模型行为的贡献的技术,我们表明LSTM在数字一致性上的表现与模型区分主题和其他名词的能力直接相关。我们的研究结果表明,LSTM语言模型能够推断出语法依赖关系的鲁棒表示。

英文摘要:

LSTM language models have been shown to capture syntax-sensitive grammatical dependencies such as subject-verb agreement with a high degree of accuracy (Linzen et al., 2016, inter alia). However, questions remain regarding whether they do so using spurious correlations, or whether they are truly able to match verbs with their subjects. This paper argues for the latter hypothesis. Using layer-wise relevance propagation (Bach et al., 2015), a technique that quantifies the contributions of input features to model behavior, we show that LSTM performance on number agreement is directly correlated with the model's ability to distinguish subjects from other nouns. Our results suggest that LSTM language models are able to infer robust representations of syntactic dependencies.

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

↑