Pointer Sentinel Mixture Models

Stephen Merity, Caiming Xiong, James Bradbury, Richard Socher

arXiv (Cornell University) · 2016 · 484 citations · 13 references

DOIFull text

Open access

Concepts

TL;DR

Neural sequence models with softmax classifiers reach best language modeling performance only with very large hidden states and vocabularies, yet they still struggle to predict rare or unseen words even when context is unambiguous. The authors propose a pointer sentinel mixture architecture that can either copy a word from recent context or generate it via a softmax classifier, and they introduce the WikiText corpus to evaluate longer contexts and larger vocabularies. The model combines a standard LSTM with a pointer mechanism that selects between copying from recent context and softmax generation, resulting in a pointer sentinel‑LSTM that uses far fewer parameters than a conventional softmax LSTM. The pointer sentinel‑LSTM achieves state‑of‑the‑art perplexity of 70.9 on Penn Treebank while using fewer parameters than a standard softmax LSTM.

Abstract

Recent neural network sequence models with softmax classifiers have achieved their best language modeling performance only with very large hidden states and large vocabularies. Even then they struggle to predict rare or unseen words even if the context makes the prediction unambiguous. We introduce the pointer sentinel mixture architecture for neural sequence models which has the ability to either reproduce a word from the recent context or produce a word from a standard softmax classifier. Our pointer sentinel-LSTM model achieves state of the art language modeling performance on the Penn Treebank (70.9 perplexity) while using far fewer parameters than a standard softmax LSTM. In order to evaluate how well language models can exploit longer contexts and deal with more realistic vocabularies and larger corpora we also introduce the freely available WikiText corpus.

References

13