N-gram Language Modeling using Recurrent Neural Network Estimation. Chelba, C., Norouzi, M., & Bengio, S. ArXiv, 2017.
Paper abstract bibtex We investigate the effective memory depth of RNN models by using them for n-gram language model (LM) smoothing. Experiments on a small corpus (UPenn Treebank, one million words of training data and 10k vocabulary) have found the LSTM cell with dropout to be the best model for encoding the n-gram state when compared with feed-forward and vanilla RNN models. When preserving the sentence independence assumption the LSTM n-gram matches the LSTM LM performance for n=9 and slightly outperforms it for n=13. When allowing dependencies across sentence boundaries, the LSTM 13-gram almost matches the perplexity of the unlimited history LSTM LM. LSTM n-gram smoothing also has the desirable property of improving with increasing n-gram order, unlike the Katz or Kneser-Ney back-off estimators. Using multinomial distributions as targets in training instead of the usual one-hot target is only slightly beneficial for low n-gram orders. Experiments on the One Billion Words benchmark show that the results hold at larger scale. Building LSTM n-gram LMs may be appealing for some practical situations: the state in a n-gram LM can be succinctly represented with (n-1)*4 bytes storing the identity of the words in the context and batches of n-gram contexts can be processed in parallel. On the downside, the n-gram context encoding computed by the LSTM is discarded, making the model more expensive than a regular recurrent LSTM LM.
@article{chelba:2017:arxiv,
author = {C. Chelba and M. Norouzi and S. Bengio},
title = {{N}-gram Language Modeling using Recurrent Neural Network Estimation},
journal = {ArXiv},
year = 2017,
volume = {1703.10724},
web = {https://arxiv.org/abs/1703.10724},
url = {publications/ps/chelba_2017_arxiv.ps.gz},
pdf = {publications/pdf/chelba_2017_arxiv.pdf},
djvu = {publications/djvu/chelba_2017_arxiv.djvu},
abstract = {We investigate the effective memory depth of RNN models by using them for n-gram language model (LM) smoothing. Experiments on a small corpus (UPenn Treebank, one million words of training data and 10k vocabulary) have found the LSTM cell with dropout to be the best model for encoding the n-gram state when compared with feed-forward and vanilla RNN models. When preserving the sentence independence assumption the LSTM n-gram matches the LSTM LM performance for n=9 and slightly outperforms it for n=13. When allowing dependencies across sentence boundaries, the LSTM 13-gram almost matches the perplexity of the unlimited history LSTM LM. LSTM n-gram smoothing also has the desirable property of improving with increasing n-gram order, unlike the Katz or Kneser-Ney back-off estimators. Using multinomial distributions as targets in training instead of the usual one-hot target is only slightly beneficial for low n-gram orders. Experiments on the One Billion Words benchmark show that the results hold at larger scale. Building LSTM n-gram LMs may be appealing for some practical situations: the state in a n-gram LM can be succinctly represented with (n-1)*4 bytes storing the identity of the words in the context and batches of n-gram contexts can be processed in parallel. On the downside, the n-gram context encoding computed by the LSTM is discarded, making the model more expensive than a regular recurrent LSTM LM.},
categorie = {C},
}
Downloads: 0
{"_id":"2582Q2uYpbemnFQRy","bibbaseid":"chelba-norouzi-bengio-ngramlanguagemodelingusingrecurrentneuralnetworkestimation-2017","authorIDs":[],"author_short":["Chelba, C.","Norouzi, M.","Bengio, S."],"bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["C."],"propositions":[],"lastnames":["Chelba"],"suffixes":[]},{"firstnames":["M."],"propositions":[],"lastnames":["Norouzi"],"suffixes":[]},{"firstnames":["S."],"propositions":[],"lastnames":["Bengio"],"suffixes":[]}],"title":"N-gram Language Modeling using Recurrent Neural Network Estimation","journal":"ArXiv","year":"2017","volume":"1703.10724","web":"https://arxiv.org/abs/1703.10724","url":"publications/ps/chelba_2017_arxiv.ps.gz","pdf":"publications/pdf/chelba_2017_arxiv.pdf","djvu":"publications/djvu/chelba_2017_arxiv.djvu","abstract":"We investigate the effective memory depth of RNN models by using them for n-gram language model (LM) smoothing. Experiments on a small corpus (UPenn Treebank, one million words of training data and 10k vocabulary) have found the LSTM cell with dropout to be the best model for encoding the n-gram state when compared with feed-forward and vanilla RNN models. When preserving the sentence independence assumption the LSTM n-gram matches the LSTM LM performance for n=9 and slightly outperforms it for n=13. When allowing dependencies across sentence boundaries, the LSTM 13-gram almost matches the perplexity of the unlimited history LSTM LM. LSTM n-gram smoothing also has the desirable property of improving with increasing n-gram order, unlike the Katz or Kneser-Ney back-off estimators. Using multinomial distributions as targets in training instead of the usual one-hot target is only slightly beneficial for low n-gram orders. Experiments on the One Billion Words benchmark show that the results hold at larger scale. Building LSTM n-gram LMs may be appealing for some practical situations: the state in a n-gram LM can be succinctly represented with (n-1)*4 bytes storing the identity of the words in the context and batches of n-gram contexts can be processed in parallel. On the downside, the n-gram context encoding computed by the LSTM is discarded, making the model more expensive than a regular recurrent LSTM LM.","categorie":"C","bibtex":"@article{chelba:2017:arxiv,\n author = {C. Chelba and M. Norouzi and S. Bengio},\n title = {{N}-gram Language Modeling using Recurrent Neural Network Estimation},\n journal = {ArXiv},\n year = 2017,\n volume = {1703.10724},\n web = {https://arxiv.org/abs/1703.10724},\n url = {publications/ps/chelba_2017_arxiv.ps.gz},\n pdf = {publications/pdf/chelba_2017_arxiv.pdf},\n djvu = {publications/djvu/chelba_2017_arxiv.djvu},\n abstract = {We investigate the effective memory depth of RNN models by using them for n-gram language model (LM) smoothing. Experiments on a small corpus (UPenn Treebank, one million words of training data and 10k vocabulary) have found the LSTM cell with dropout to be the best model for encoding the n-gram state when compared with feed-forward and vanilla RNN models. When preserving the sentence independence assumption the LSTM n-gram matches the LSTM LM performance for n=9 and slightly outperforms it for n=13. When allowing dependencies across sentence boundaries, the LSTM 13-gram almost matches the perplexity of the unlimited history LSTM LM. LSTM n-gram smoothing also has the desirable property of improving with increasing n-gram order, unlike the Katz or Kneser-Ney back-off estimators. Using multinomial distributions as targets in training instead of the usual one-hot target is only slightly beneficial for low n-gram orders. Experiments on the One Billion Words benchmark show that the results hold at larger scale. Building LSTM n-gram LMs may be appealing for some practical situations: the state in a n-gram LM can be succinctly represented with (n-1)*4 bytes storing the identity of the words in the context and batches of n-gram contexts can be processed in parallel. On the downside, the n-gram context encoding computed by the LSTM is discarded, making the model more expensive than a regular recurrent LSTM LM.},\n categorie = {C},\n}\n\n","author_short":["Chelba, C.","Norouzi, M.","Bengio, S."],"key":"chelba:2017:arxiv","id":"chelba:2017:arxiv","bibbaseid":"chelba-norouzi-bengio-ngramlanguagemodelingusingrecurrentneuralnetworkestimation-2017","role":"author","urls":{"Paper":"http://bengio.abracadoudou.com/publications/ps/chelba_2017_arxiv.ps.gz"},"downloads":0},"bibtype":"article","biburl":"http://bengio.abracadoudou.com/samy.bib","creationDate":"2020-03-18T03:43:27.506Z","downloads":0,"keywords":[],"search_terms":["gram","language","modeling","using","recurrent","neural","network","estimation","chelba","norouzi","bengio"],"title":"N-gram Language Modeling using Recurrent Neural Network Estimation","year":2017,"dataSources":["9NCW2CDr4M3s5DvNX"]}