Sequential Neural Networks as Automata
Not on the map. Why?
Abstract (arXiv)
This work attempts to explain the types of computation that neural networks can perform by relating them to automata. We first define what it means for a real-time network with bounded precision to accept a language. A measure of network memory follows from this definition. We then characterize the classes of languages acceptable by various recurrent networks, attention, and convolutional networks. We find that LSTMs function like counter machines and relate convolutional networks to the subregular hierarchy. Overall, this work attempts to increase our understanding and ability to interpret neural networks through the lens of theory. These theoretical insights help explain neural computation, as well as the relationship between neural networks and natural language grammar.
Key facts. Cited by 54 papers in the map (data through 7 Oct 2026). First posted on arXiv 4 Jun 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 7; 2022: 3; 2023: 12; 2024: 16; 2025: 9; 2026: 7.
54 papers.
Sort:
By area:
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2021Thinking Like Transformerscited by 182
- 2024The Illusion of State in State-Space Modelscited by 181
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
- 2023What Formal Languages Can Transformers Express? A Surveycited by 120
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
- 2024In-Context Language Learning: Architectures and Algorithmscited by 86
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2024Mission: Impossible Language Modelscited by 31
- 2024Transformers Can Represent n-gram Language Modelscited by 31
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
38 more
- 2021Sensitivity as a Complexity Measure for Sequence Classification Taskscited by 28
- 2024Language Models Need Inductive Biases to Count Inductivelycited by 25
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 23
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivitycited by 21
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensionscited by 20
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languagescited by 20
- 2021Transformers Generalize Linearlycited by 19
- 2022Extracting Finite Automata from RNNs Using State Mergingcited by 17
- 2025Characterizing the Expressivity of Fixed-Precision Transformer Language Modelscited by 14
- 2024Learning Useful Representations of Recurrent Neural Network Weight Matricescited by 13
- 2021Formal Language Theory Meets Modern NLPcited by 9
- 2024Rethinking Transformers in Solving POMDPscited by 9
- 2023On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networkscited by 8
- 2026Why Are Linear RNNs More Parallelizable?cited by 7
- 2026M2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modelingcited by 7
- 2023Recurrent Neural Language Models as Probabilistic Finite-state Automatacited by 6
- 2025Compositional Reasoning with Transformers, RNNs, and Chain of Thoughtcited by 6
- 2021The Limitations of Limited Context for Constituency Parsingcited by 5
- 2022Implicit N-grams Induced by Recurrencecited by 4
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Modelscited by 4
- 2024Lower Bounds on the Expressivity of Recurrent Neural Language Modelscited by 4
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encodingcited by 4
- 2025Unraveling Syntax: Language Modeling and the Substructure of Grammarscited by 4
- 2023Theoretical Conditions and Empirical Failure of Bracket Counting on Long Sequences with Linear Recurrent Networkscited by 3
- 2024A Tensor Decomposition Perspective on Second-order RNNscited by 3
- 2024LLMs as Probabilistic Minimally Adequate Teachers for DFA Learningcited by 3
- 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languagescited by 2
- 2025Continuity and Isolation Lead to Doubts or Dilemmas in Large Language Modelscited by 2
- 2026An Algebraic View of the Expressivity of Recurrent Language Modelscited by 2
- 2023On the Representational Capacity of Recurrent Neural Language Modelscited by 1
- 2024On Efficiently Representing Regular Languages as RNNscited by 1
- 2024An L^* Algorithm for Deterministic Weighted Regular Languagescited by 1
- 2025Three tiers of computation in transformers and in brain architecturescited by 1
- 2025Exact Learning of Arithmetic with Differentiable Agentscited by 1
- 2026On Subquadratic Architectures: From Applications to Principlescited by 1
- 2021Learning and Generalization in RNNscited by 0
- 2023Learning Transductions and Alignments with RNN Seq2seq Modelscited by 0
- 2024DeepCover: Advancing RNN Test Coverage and Online Error Prediction using State Machine Extractioncited by 0
50 most cited of 54 All 54 (JSON)
- 2026When Does Tool Use Increase the Expressive Power of Finite-Precision Recurrent Models?7 Jul 2026
- 2026On Subquadratic Architectures: From Applications to Principles10 Jun 2026
- 2026Causally Evaluating the Learnability of Formal Language Tasks8 Jun 2026
- 2026An Algebraic View of the Expressivity of Recurrent Language Models1 Jun 2026
- 2026Logic-Gated Time-Shared Feedforward Networks for Alternating Finite Automata: Exact Simulation and Learnability20 Mar 2026
- 2026M2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling15 Mar 2026
- 2026Why Are Linear RNNs More Parallelizable?4 Mar 2026
- 2025Exact Learning of Arithmetic with Differentiable Agents27 Nov 2025
- 2025Unraveling Syntax: Language Modeling and the Substructure of Grammars2 Oct 2025
- 2025Characterizing the Expressivity of Fixed-Precision Transformer Language Models29 May 2025
- 2025Continuity and Isolation Lead to Doubts or Dilemmas in Large Language Models15 May 2025
- 2025Three tiers of computation in transformers and in brain architectures5 Mar 2025
38 more
- 2025Compositional Reasoning with Transformers, RNNs, and Chain of Thought3 Mar 2025
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivity10 Feb 2025
- 2025Learning Model Successors31 Jan 2025
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding1 Jan 2025
- 2024Training Neural Networks as Recognizers of Formal Languages11 Nov 2024
- 2024An L^* Algorithm for Deterministic Weighted Regular Languages9 Nov 2024
- 2024LLMs as Probabilistic Minimally Adequate Teachers for DFA Learning6 Aug 2024
- 2024A Tensor Decomposition Perspective on Second-order RNNs7 Jun 2024
- 2024What Languages are Easy to Language-Model? A Perspective from Learning Probabilistic Regular Languages6 Jun 2024
- 2024Language Models Need Inductive Biases to Count Inductively30 May 2024
- 2024Lower Bounds on the Expressivity of Recurrent Neural Language Models29 May 2024
- 2024Rethinking Transformers in Solving POMDPs27 May 2024
- 2024Transformers Can Represent n-gram Language Models23 Apr 2024
- 2024The Illusion of State in State-Space Models12 Apr 2024
- 2024Learning Useful Representations of Recurrent Neural Network Weight Matrices18 Mar 2024
- 2024On Efficiently Representing Regular Languages as RNNs24 Feb 2024
- 2024DeepCover: Advancing RNN Test Coverage and Online Error Prediction using State Machine Extraction10 Feb 2024
- 2024Repeat After Me: Transformers are Better than State Space Models at Copying1 Feb 2024
- 2024In-Context Language Learning: Architectures and Algorithms23 Jan 2024
- 2024Mission: Impossible Language Models12 Jan 2024
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammars3 Dec 2023
- 2023What Formal Languages Can Transformers Express? A Survey1 Nov 2023
- 2023Practical Computational Power of Linear Transformers and Their Recurrent and Self-Referential Extensions24 Oct 2023
- 2023LUNA: A Model-Based Universal Analysis Framework for Large Language Models22 Oct 2023
- 2023On the Representational Capacity of Recurrent Neural Language Models19 Oct 2023
- 2023Recurrent Neural Language Models as Probabilistic Finite-state Automata8 Oct 2023
- 2023On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networks26 Sep 2023
- 2023Evaluating Transformer's Ability to Learn Mildly Context-Sensitive Languages2 Sep 2023
- 2023Randomized Positional Encodings Boost Length Generalization of Transformers26 May 2023
- 2023Theoretical Conditions and Empirical Failure of Bracket Counting on Long Sequences with Linear Recurrent Networks7 Apr 2023
- 2023Learning Transductions and Alignments with RNN Seq2seq Models13 Mar 2023
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understanding7 Mar 2023
- 2022Neural Networks and the Chomsky Hierarchy5 Jul 2022
- 2022Implicit N-grams Induced by Recurrence5 May 2022
- 2022Extracting Finite Automata from RNNs Using State Merging28 Jan 2022
- 2021Transformers Generalize Linearly24 Sep 2021
- 2021Saturated Transformers are Constant-Depth Threshold Circuits30 Jun 2021
- 2021Thinking Like Transformers13 Jun 2021
50 newest of 54 All 54 (JSON)
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 23
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivitycited by 21
- 2025Compositional Reasoning with Transformers, RNNs, and Chain of Thoughtcited by 6
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encodingcited by 4
- 2025Compositional Reasoning with Transformers, RNNs, and Chain of Thought3 Mar 2025
- 2025Implicit Language Models are RNNs: Balancing Parallelization and Expressivity10 Feb 2025
- 2025Rethinking Addressing in Language Models via Contexualized Equivariant Positional Encoding1 Jan 2025
- 2024Training Neural Networks as Recognizers of Formal Languages11 Nov 2024
- 2022Neural Networks and the Chomsky Hierarchycited by 214
- 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 208
- 2021Thinking Like Transformerscited by 182
- 2024The Illusion of State in State-Space Modelscited by 181
- 2021Saturated Transformers are Constant-Depth Threshold Circuitscited by 137
- 2023What Formal Languages Can Transformers Express? A Surveycited by 120
- 2023Randomized Positional Encodings Boost Length Generalization of Transformerscited by 114
- 2024In-Context Language Learning: Architectures and Algorithmscited by 86
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2024Mission: Impossible Language Modelscited by 31
- 2024Transformers Can Represent n-gram Language Modelscited by 31
- 2023Transformers are uninterpretable with myopic methods: a case study with bounded Dyck grammarscited by 30
12 most cited of 50 All 50 (JSON)
- 2026When Does Tool Use Increase the Expressive Power of Finite-Precision Recurrent Models?7 Jul 2026
- 2026On Subquadratic Architectures: From Applications to Principles10 Jun 2026
- 2026Causally Evaluating the Learnability of Formal Language Tasks8 Jun 2026
- 2026An Algebraic View of the Expressivity of Recurrent Language Models1 Jun 2026
- 2026Logic-Gated Time-Shared Feedforward Networks for Alternating Finite Automata: Exact Simulation and Learnability20 Mar 2026
- 2026M2RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling15 Mar 2026
- 2026Why Are Linear RNNs More Parallelizable?4 Mar 2026
- 2025Exact Learning of Arithmetic with Differentiable Agents27 Nov 2025
- 2025Unraveling Syntax: Language Modeling and the Substructure of Grammars2 Oct 2025
- 2025Characterizing the Expressivity of Fixed-Precision Transformer Language Models29 May 2025
- 2025Continuity and Isolation Lead to Doubts or Dilemmas in Large Language Models15 May 2025
- 2025Three tiers of computation in transformers and in brain architectures5 Mar 2025
12 newest of 50 All 50 (JSON)