mlsanityData to 14 Oct 2026

On Evaluating the Generalization of LSTM Models in Formal Languages

arXiv 1811.01001 ↗First posted 2 Nov 2018cs.CL cs.AI cs.LGcited by 17

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

Cited by year

Citing papers per year: 2021: 2; 2022: 3; 2023: 3; 2024: 7; 2025: 2.

17 papers.

Sort:

By area:

  1. 2024Evaluating the World Model Implicit in a Generative Modelcited by 113
  2. 2022Simplicity Bias in Transformers and their Ability to Learn Sparse Boolean Functionscited by 70
  3. 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Modelscited by 47
  4. 2024The Expressive Capacity of State Space Models: A Formal Language Perspectivecited by 46
  5. 2024Training Neural Networks as Recognizers of Formal Languagescited by 24
  6. 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
  7. 2021Can RNNs learn Recursive Nested Subject-Verb Agreements?cited by 9
  8. 2023Improving Intrinsic Exploration by Creating Stationary Objectivescited by 7
  9. 2023Introducing Rhetorical Parallelism Detection: A New Task with Datasets, Metrics, and Baselinescited by 7
  10. 2022Understanding Robust Generalization in Learning Regular Languagescited by 3
  11. 2022What do Large Language Models Learn beyond Language?cited by 3
  12. 2021Are Transformers a Modern Version of ELIZA? Observations on French Object Verb Agreementcited by 2
5 more
  1. 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languagescited by 2
  2. 2024Multi-Objective Evolutionary Neural Architecture Search for Recurrent Neural Networkscited by 2
  3. 2024Extracting Moore Machines from Transformers using Queries and Counterexamplescited by 2
  4. 2024Precision, Stability, and Generalization: A Comprehensive Assessment of RNNs learnability capability for Classifying Counter and Dyck Languagescited by 0
  5. 2025The Domain Mixed Unit: A New Neural Arithmetic Layercited by 0