BlackOut: Speeding up Recurrent Neural Network Language Models With Very Large Vocabularies

By Shihao Ji, S. V. N. Vishwanathan, Nadathur Rajagopalan Satish, Michael J. Anderson, Pradeep K. Dubey. 2015

77 citations recorded by the source corpus.

We propose BlackOut, an approximation algorithm to efficiently train massive recurrent neural network language models (RNNLMs) with million word vocabularies. BlackOut is motivated by using a discriminative loss, and we describe a new sampling strategy which significantly reduces computation while improving stability, sample efficiency, and rate of convergence. One way to understand BlackOut is to view it as an extension of the DropOut strategy to the output layer, wherein we use a discriminative training loss and a weighted sampling scheme. We also establish close connections between BlackOut, importance sampling, and noise contrastive estimation (NCE). Our experiments, on the recently released one billion word language modeling benchmark, demonstrate scalability and accuracy of BlackOut; we outperform the state-of-the art, and achieve the lowest perplexity scores on this dataset. Moreover, unlike other established methods which typically require GPUs or CPU clusters, we show that a carefully implemented version of BlackOut requires only 1-10 days on a single machine to train a RNNLM with a million word vocabulary and billions of parameters on one billion words. Although we describe BlackOut in the context of RNNLM training, it can be used to any networks with large softmax output layers.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition, Large Language Models

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Mohit Bansal
  2. Kyunghyun Cho
  3. Luke S. Zettlemoyer
  4. Quoc V. Le
  5. Graham Neubig
  6. Jianfeng Gao
  7. Yoshua Bengio
  8. Richard Socher

In Computer Vision and Pattern Recognition

  1. Luc Van Gool
  2. Dacheng Tao
  3. Trevor Darrell
  4. Cordelia Schmid
  5. Jitendra Malik
  6. Andrew Zisserman
  7. Xiaogang Wang
  8. Ming-Hsuan Yang

In Large Language Models

  1. Edouard Grave
  2. Armand Joulin
  3. Michael Auli
  4. David Grangier
  5. Angela Fan
  6. Kyunghyun Cho
  7. Sebastian Riedel
  8. Yann Dauphin

Citations in the corpus