On Evaluating the Generalization of LSTM Models in Formal Languages
Not on the map. Why?
Abstract (arXiv)
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. 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 anbn, anbncn, and anbncndn. 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.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). First posted on arXiv 2 Nov 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 2; 2022: 3; 2023: 3; 2024: 7; 2025: 2.
17 papers.
Sort:
By area:
- 2024Evaluating the World Model Implicit in a Generative Modelcited by 113
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 70
- 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Modelscited by 47
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 46
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 24
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?cited by 9
- 2023Improving Intrinsic Exploration by Creating Stationary Objectivescited by 7
- 2023Introducing Rhetorical Parallelism Detection: A New Task with Datasets, Metrics, and Baselinescited by 7
- 2022Understanding Robust Generalization in Learning Regular Languagescited by 3
- 2022What do Large Language Models Learn beyond Language?cited by 3
- 2021Are Transformers a Modern Version of ELIZA? Observations on French Object Verb Agreementcited by 2
5 more
- 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languagescited by 2
- 2024Multi-Objective Evolutionary Neural Architecture Search for Recurrent Neural Networkscited by 2
- 2024Extracting Moore Machines from Transformers using Queries and Counterexamplescited by 2
- 2024Precision, Stability, and Generalization: A Comprehensive Assessment of RNNs learnability capability for Classifying Counter and Dyck Languagescited by 0
- 2025The Domain Mixed Unit: A New Neural Arithmetic Layercited by 0
- 2025The Domain Mixed Unit: A New Neural Arithmetic Layer9 Sep 2025
- 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Models9 Jul 2025
- 2024Training Neural Networks as Recognizers of Formal Languages11 Nov 2024
- 2024Extracting Moore Machines from Transformers using Queries and Counterexamples8 Oct 2024
- 2024Precision, Stability, and Generalization: A Comprehensive Assessment of RNNs learnability capability for Classifying Counter and Dyck Languages4 Oct 2024
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languages6 Jun 2024
- 2024Evaluating the World Model Implicit in a Generative Model6 Jun 2024
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspective27 May 2024
- 2024Multi-Objective Evolutionary Neural Architecture Search for Recurrent Neural Networks17 Mar 2024
- 2023Introducing Rhetorical Parallelism Detection: A New Task with Datasets, Metrics, and Baselines30 Nov 2023
- 2023Improving Intrinsic Exploration by Creating Stationary Objectives27 Oct 2023
- 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languages2 Sep 2023
5 more
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functions22 Nov 2022
- 2022What do Large Language Models Learn beyond Language?21 Oct 2022
- 2022Understanding Robust Generalization in Learning Regular Languages20 Feb 2022
- 2021Are Transformers a Modern Version of ELIZA? Observations on French Object Verb Agreement21 Sep 2021
- 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?6 Jan 2021
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 24
- 2024Training Neural Networks as Recognizers of Formal Languages11 Nov 2024
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 70
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 46
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?cited by 9
- 2023Improving Intrinsic Exploration by Creating Stationary Objectivescited by 7
- 2023Introducing Rhetorical Parallelism Detection: A New Task with Datasets, Metrics, and Baselinescited by 7
- 2022Understanding Robust Generalization in Learning Regular Languagescited by 3
- 2022What do Large Language Models Learn beyond Language?cited by 3
- 2021Are Transformers a Modern Version of ELIZA? Observations on French Object Verb Agreementcited by 2
- 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languagescited by 2
- 2024Multi-Objective Evolutionary Neural Architecture Search for Recurrent Neural Networkscited by 2
- 2024Extracting Moore Machines from Transformers using Queries and Counterexamplescited by 2
12 most cited of 14 All 14 (JSON)
- 2025The Domain Mixed Unit: A New Neural Arithmetic Layer9 Sep 2025
- 2024Extracting Moore Machines from Transformers using Queries and Counterexamples8 Oct 2024
- 2024Precision, Stability, and Generalization: A Comprehensive Assessment of RNNs learnability capability for Classifying Counter and Dyck Languages4 Oct 2024
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languages6 Jun 2024
- 2024The Expressive Capacity of State Space Models: A Formal Language Perspective27 May 2024
- 2024Multi-Objective Evolutionary Neural Architecture Search for Recurrent Neural Networks17 Mar 2024
- 2023Introducing Rhetorical Parallelism Detection: A New Task with Datasets, Metrics, and Baselines30 Nov 2023
- 2023Improving Intrinsic Exploration by Creating Stationary Objectives27 Oct 2023
- 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languages2 Sep 2023
- 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functions22 Nov 2022
- 2022What do Large Language Models Learn beyond Language?21 Oct 2022
- 2022Understanding Robust Generalization in Learning Regular Languages20 Feb 2022
12 newest of 14 All 14 (JSON)