计算机科学 > 计算与语言
[提交于 2020年10月21日 (v1),最后修订于 2021年5月10日 (此版本, v2)]
标题:Explicitly Modeling Syntax in Language Models with Incremental Parsing and a Dynamic Oracle
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Syntax is fundamental to our thinking about language. Failing to capture the structure of input language could lead to generalization problems and over-parametrization. In the present work, we propose a new syntax-aware language model: Syntactic Ordered Memory (SOM). The model explicitly models the structure with an incremental parser and maintains the conditional probability setting of a standard language model (left-to-right). To train the incremental parser and avoid exposure bias, we also propose a novel dynamic oracle, so that SOM is more robust to wrong parsing decisions. Experiments show that SOM can achieve strong results in language modeling, incremental parsing and syntactic generalization tests, while using fewer parameters than other models.