LSTM recurrent networks learn simple context-free and context-sensitive languages.
Previous work on learning regular languages from exemplary training sequences showed that long short-term memory (LSTM) outperforms traditional recurrent neural networks (RNNs). We demonstrate LSTMs superior performance on context-free language benchmarks for RNNs, and show that it works even better than previous hardwired or highly specialized architectures. To the best of our knowledge, LSTM variants are also the first RNNs to learn a simple context-sensitive language, namely a(n)b(n)c(n).
Gers
F A
FA
IDSIA, 6928 Manno, Switzerland. felix@idsia.ch; juergen@idsia.ch
Schmidhuber
E
E