Abstract
With the rapid growth in the integration of AI technology in various Natural Language Processing, the demands on the development within the fields of Natural Language Understanding and Natural Language Generation have been rapidly increasing as well. Both of these techniques analyze language, as it is naturally spoken or written by users, and must contend with a degree of ambiguity not present in formal language. For that reason, Language Modeling has been used as a key role in this area. Recently, the emerging field of deep learning, which applies complex Deep Neural Networks for machine learning tasks, has been applied to language modeling. Long-Short Term Memory (LSTM), a type of a recurrent neural network, has been adopted and has achieved reasonable results than the traditional language models. However, although LSTM-based language models have shown reasonable results by memorizing preceding cells’ values, it is difficult to memorize all the information of preceding cells because they only use a 2-dimensional matrix to memorize all the information. To compensate for this limitation of memorizing problems, we propose a method for sharing cell state for a neural network-based language model, which considers all preceding cell states as a cell-stack. Our model achieved better performance compared to a traditional LSTM-based language model improving average perplexity scores from 133.88 to 124.32 for various time steps and from 141.29 to 133.62 for various hidden sizes, respectively.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Similar content being viewed by others
References
Bengio, Y., et al.: A neural probabilistic language model. J. mach. learn. res. 3, 1137–1155 (2003)
Trim, C.: What is language modeling? http://trimc-nlp.blogspot.com/2013/04/language-modeling.html. Accessed 26 April 2013
Hochreiter, S., Schmidhuber, J.: Long short-term memory. Neural Comput. 9(8), 1735–1780 (1997)
Sundermeyer, M., SchlĂĽter, R., Ney, H.: LSTM neural networks for language modeling. In: Thirteenth Annual Conference of the International Speech Communication Association (2012)
Sutskever, I., Vinyals, O., Le, Q.V.: Sequence to sequence learning with neural networks. In: Advances in Neural Information Processing Systems, pp. 3104–3112 (2014)
Zaremba, W., Sutskever, I., Vinyals, O.: Recurrent neural network regularization (2014). arXiv:1409.2329
Zilly, J. G., Srivastava, R. K., KoutnĂk, J., Schmidhuber, J.:. Recurrent highway networks (2016). arXiv:1607.03474
Kneser, R., Ney, H.: Improved backing-off for m-gram language modeling. In: 1995 International Conference on Acoustics, Speech, and Signal Processing, vol. 1, pp. 181–184. IEEE (1995)
Goodman, J.T.: A bit of progress in language modeling. Comput. Speech Lang. 15(4), 403–434 (2001)
Gers, F.A., Schmidhuber, J.: Recurrent nets that time and count. In: Proceedings of the IEEE-INNS-ENNS International Joint Conference on Neural Networks. IJCNN 2000. Neural Computing: New Challenges and Perspectives for the New Millennium, vol. 3, pp. 189–194. IEEE (2000)
Greff, K., Srivastava, R.K., KoutnĂk, J., Steunebrink, B.R., Schmidhuber, J.: LSTM: a search space odyssey. IEEE Trans. Neural Netw. Learn. Syst. 28(10), 2222–2232 (2017)
Yao, K., Cohn, T., Vylomova, K., Duh, K., Dyer, C.: Depth-gated recurrent neural networks (2015). arXiv:1508.037909
Bengio, Y., Simard, P., Frasconi, P.: Learning long-term dependencies with gradient descent is difficult. IEEE Trans. Neural Netw. 5(2), 157–166 (1994)
Mikolov, T., Karafiát, M., Burget, L., Černocký, J., Khudanpur, S.: Recurrent neural network based language model. In: Eleventh Annual Conference of the International Speech Communication Association
Mikolov, T., et al.: Distributed representations of words and phrases and their compositionality. In: Advances in Neural Information Processing Systems (2013)
He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 770–778 (2016)
Park, S., Song, J.H., Kim, Y.: A neural language model for multi-dimensional textual data based on CNN-LSTM network. In: 2018 19th IEEE/ACIS International Conference on Software Engineering, Artificial Intelligence, Networking and Parallel/Distributed Computing (SNPD), pp. 212–217. IEEE (2018)
Lin, M., Chen, Q., Yan, S.: Network in network (2013). arXiv:1312.4400
Marcus, M.P., Marcinkiewicz, M.A., Santorini, B.: Building a large annotated corpus of English: The Penn Treebank. Comput. Linguist. 19(2), 313–330 (1993)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Park, S., Kim, Y. (2020). A Method for Sharing Cell State for LSTM-Based Language Model. In: Lee, R. (eds) Computer and Information Science. ICIS 2019. Studies in Computational Intelligence, vol 849. Springer, Cham. https://doi.org/10.1007/978-3-030-25213-7_6
Download citation
DOI: https://doi.org/10.1007/978-3-030-25213-7_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-25212-0
Online ISBN: 978-3-030-25213-7
eBook Packages: Intelligent Technologies and RoboticsIntelligent Technologies and Robotics (R0)