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

  • 2019-06-04 19:58:05
  • Hongyin Luo, Lan Jiang, Yonatan Belinkov, James Glass
  • 1

Abstract

Common language models typically predict the next word given the context. Inthis work, we propose a method that improves language modeling by learning toalign the given context and the following phrase. The model does not requireany linguistic annotation of phrase segmentation. Instead, we define syntacticheights and phrase segmentation rules, enabling the model to automaticallyinduce phrases, recognize their task-specific heads, and generate phraseembeddings in an unsupervised learning manner. Our method can easily be appliedto language models with different network architectures since an independentmodule is used for phrase induction and context-phrase alignment, and no changeis required in the underlying language modeling network. Experiments have shownthat our model outperformed several strong baseline models on different datasets. We achieved a new state-of-the-art performance of 17.4 perplexity on theWikitext-103 dataset. Additionally, visualizing the outputs of the phraseinduction module showed that our model is able to learn approximatephrase-level structural knowledge without any annotation.

 

Quick Read (beta)

loading the full paper ...