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

通过分段、参与和预测未来来改进神经语言模型

Improving Neural Language Models by Segmenting, Attending, and Predicting the Future

MIT Computer Science and Artificial Intelligence Laboratory(麻省理工学院计算机科学与人工智能实验室);University of Illinois at Urbana–Champaign(伊利诺伊大学厄巴纳-香槟分校)

Hongyin Luo, Lan Jiang, Yonatan Belinkov, James Glass

摘要:

常见的语言模型通常根据上下文预测下一个单词。在这项工作中,我们提出了一种方法,通过学习对齐给定的上下文和下面的短语,提高语言建模。该模型不需要任何语言注释的短语分割。相反,我们定义了句法高度和短语分割规则,使模型能够自动归纳短语,识别其特定任务的头部,并以无监督学习的方式生成短语嵌入。我们的方法可以很容易地应用到语言模型与不同的网络架构,因为一个独立的模块用于短语归纳和上下文短语对齐,并在底层的语言建模网络不需要改变。实验表明,我们的模型在不同的数据集上优于几个强基线模型。我们在Wikitext-103数据集上实现了17.4困惑度的最新性能。此外,可视化短语归纳模块的输出表明,我们的模型能够在没有任何注释的情况下学习近似的短语级结构知识。

英文摘要:

Common language models typically predict the next word given the context. In this work, we propose a method that improves language modeling by learning to align the given context and the following phrase. The model does not require any linguistic annotation of phrase segmentation. Instead, we define syntactic heights and phrase segmentation rules, enabling the model to automatically induce phrases, recognize their task-specific heads, and generate phrase embeddings in an unsupervised learning manner. Our method can easily be applied to language models with different network architectures since an independent module is used for phrase induction and context-phrase alignment, and no change is required in the underlying language modeling network. Experiments have shown that our model outperformed several strong baseline models on different data sets. We achieved a new state-of-the-art performance of 17.4 perplexity on the Wikitext-103 dataset. Additionally, visualizing the outputs of the phrase induction module showed that our model is able to learn approximate phrase-level structural knowledge without any annotation.

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

↑