On Evaluating the Generalization of LSTM Models in Formal Languages

Mirac Suzgun, Yonatan Belinkov, Stuart M. Shieber
11/2/2018
cs.CLcs.AIcs.LG

Official code: suzgunmirac/lstm-eval (9 stars, Python, last commit 2019-04-30).

Abstract

Recurrent Neural Networks (RNNs) are theoretically Turing-complete and established themselves as a dominant model for language processing. Yet, there still remains an uncertainty regarding their language learning capabilities.

Show full abstract

In this paper, we empirically evaluate the inductive learning capabilities of Long Short-Term Memory networks, a popular extension of simple RNNs, to learn simple formal languages, in particular $a^nb^n$, $a^nb^nc^n$, and $a^nb^nc^nd^n$. We investigate the influence of various aspects of learning, such as training data regimes and model capacity, on the generalization to unobserved samples. We find striking differences in model performances under different training settings and highlight the need for careful analysis and assessment when making claims about the learning capabilities of neural network models.

View on arXivView PDF

Code Implementations(1)

On Evaluating the Generalization of LSTMs in Formal Languages

93PythonNov 1, 20187 years ago

Similar Papers

Cite this paper

@article{suzgun2018evaluating,
  title  = {On Evaluating the Generalization of LSTM Models in Formal Languages},
  author = {Mirac Suzgun and Yonatan Belinkov and Stuart M. Shieber},
  year   = {2018},
  eprint = {1811.01001},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1811.01001}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1811.01001.svg)](https://codeofpaper.com/paper/1811.01001)

Discussion