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

基于多任务学习的RNN句法能力研究

Exploring the Syntactic Abilities of RNNs with Multi-task Learning

PSL Research University(巴黎文理研究大学);Bar Ilan University(巴伊兰大学);CNRS(法国国家科学研究中心);EHESS(法国社会科学高等研究院);Johns Hopkins University(约翰斯·霍普金斯大学)

Emile Enguehard, Yoav Goldberg, Tal Linzen

摘要:

最近的工作已经探索了RNN的句法能力,使用主语-动词一致性任务,诊断对句子结构的敏感性。RNN在常见情况下很好地执行了这项任务,但在复杂句子中却表现不佳(Linzen et al.,2016年)。我们测试这些错误是否是由于固有的限制架构或相对间接的监督提供的大多数协议依赖于语料库。我们训练了一个RNN来执行协议任务和一个额外的任务,无论是CCG超级标记还是语言建模。多任务训练导致出错率显著降低,特别是在复杂句子上,这表明RNN有能力进化出比以前更复杂的句法表示。我们还表明,容易获得的协议训练数据可以提高其他语法任务的性能,特别是当只有有限的训练数据可用于这些任务。多任务范例还可以被利用来将语法知识注入到语言模型中。

英文摘要:

Recent work has explored the syntactic abilities of RNNs using the subject-verb agreement task, which diagnoses sensitivity to sentence structure. RNNs performed this task well in common cases, but faltered in complex sentences (Linzen et al., 2016). We test whether these errors are due to inherent limitations of the architecture or to the relatively indirect supervision provided by most agreement dependencies in a corpus. We trained a single RNN to perform both the agreement task and an additional task, either CCG supertagging or language modeling. Multi-task training led to significantly lower error rates, in particular on complex sentences, suggesting that RNNs have the ability to evolve more sophisticated syntactic representations than shown before. We also show that easily available agreement training data can improve performance on other syntactic tasks, in particular when only a limited amount of training data is available for those tasks. The multi-task paradigm can also be leveraged to inject grammatical knowledge into language models.

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

↑