Subregular Complexity and Deep Learning
Not on the map. Why?
Abstract (arXiv)
This paper argues that the judicial use of formal language theory and grammatical inference are invaluable tools in understanding how deep neural networks can and cannot represent and learn long-term dependencies in temporal sequences. Learning experiments were conducted with two types of Recurrent Neural Networks (RNNs) on six formal languages drawn from the Strictly Local (SL) and Strictly Piecewise (SP) classes. The networks were Simple RNNs (s-RNNs) and Long Short-Term Memory RNNs (LSTMs) of varying sizes. The SL and SP classes are among the simplest in a mathematically well-understood hierarchy of subregular classes. They encode local and long-term dependencies, respectively. The grammatical inference algorithm Regular Positive and Negative Inference (RPNI) provided a baseline. According to earlier research, the LSTM architecture should be capable of learning long-term dependencies and should outperform s-RNNs. The results of these experiments challenge this narrative. First, the LSTMs' performance was generally worse in the SP experiments than in the SL ones. Second, the s-RNNs out-performed the LSTMs on the most complex SP experiment and performed comparably to them on the others.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 16 May 2017.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1; 2025: 1.
5 papers.
- 2024Transformers Can Represent n-gram Language Modelscited by 31
- 2023SLOG: A Structural Generalization Benchmark for Semantic Parsingcited by 22
- 2022Benchmarking Compositionality with Formal Languagescited by 12
- 2025Unraveling Syntax: Language Modeling and the Substructure of Grammarscited by 4
- 2023Learning Transductions and Alignments with RNN Seq2seq Modelscited by 0
- 2025Unraveling Syntax: Language Modeling and the Substructure of Grammars2 Oct 2025
- 2024Transformers Can Represent n-gram Language Models23 Apr 2024
- 2023SLOG: A Structural Generalization Benchmark for Semantic Parsing23 Oct 2023
- 2023Learning Transductions and Alignments with RNN Seq2seq Models13 Mar 2023
- 2022Benchmarking Compositionality with Formal Languages17 Aug 2022