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

评估LSTM学习语法敏感语法的能力

Assessing the Ability of LSTMs to Learn Syntax-Sensitive Dependencies

Bar Ilan University(巴伊兰大学)

Tal Linzen, Emmanuel Dupoux, Yoav Goldberg

摘要:

长短期记忆(LSTM)神经网络在语言处理中的成功通常归因于它们捕获长距离统计信息的能力。语言依赖通常对句法结构很敏感;这种依赖性能被没有显式结构表示的LSTM捕获吗?我们开始解决这个问题,使用英语主语-动词依赖中的数字一致性。我们探索架构的语法能力,使用一个明确的语法目标(数字预测,语法判断)的训练目标,并使用语言模型。在强监督环境中,LSTM实现了非常高的整体准确性(低于1%的错误),但当序列和结构信息冲突时,错误会增加。在语言建模环境中,这种错误的频率急剧上升。我们的结论是,LSTM可以捕捉到一个非平凡的语法结构有针对性的监督,但更强大的架构可能需要进一步减少错误;此外,语言建模信号是不够的捕捉语法敏感的依赖关系,并应补充更直接的监督,如果需要捕捉这种依赖关系。

英文摘要:

The success of long short-term memory (LSTM) neural networks in language processing is typically attributed to their ability to capture long-distance statistical regularities. Linguistic regularities are often sensitive to syntactic structure; can such dependencies be captured by LSTMs, which do not have explicit structural representations? We begin addressing this question using number agreement in English subject-verb dependencies. We probe the architecture's grammatical competence both using training objectives with an explicit grammatical target (number prediction, grammaticality judgments) and using language models. In the strongly supervised settings, the LSTM achieved very high overall accuracy (less than 1% errors), but errors increased when sequential and structural information conflicted. The frequency of such errors rose sharply in the language-modeling setting. We conclude that LSTMs can capture a non-trivial amount of grammatical structure given targeted supervision, but stronger architectures may be required to further reduce errors; furthermore, the language modeling signal is insufficient for capturing syntax-sensitive dependencies, and should be supplemented with more direct supervision if such dependencies need to be captured.

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

↑