Neural Networks as Universal Finite-State Machines: A Constructive Deterministic Finite Automaton Theory
Not on the map. Why?
Abstract (arXiv)
We present a complete theoretical and empirical framework establishing feedforward neural networks as universal finite-state machines (N-FSMs). Our results prove that finite-depth ReLU and threshold networks can exactly simulate deterministic finite automata (DFAs) by unrolling state transitions into depth-wise neural layers, with formal characterizations of required depth, width, and state compression. We demonstrate that DFA transitions are linearly separable, binary threshold activations allow exponential compression, and Myhill-Nerode equivalence classes can be embedded into continuous latent spaces while preserving separability. We also formalize the expressivity boundary: fixed-depth feedforward networks cannot recognize non-regular languages requiring unbounded memory. Unlike prior heuristic or probing-based studies, we provide constructive proofs and design explicit DFA-unrolled neural architectures that empirically validate every claim. Our results bridge deep learning, automata theory, and neural-symbolic computation, offering a rigorous blueprint for how discrete symbolic processes can be realized in continuous neural systems.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 10 of its 20 references that are in the map. First posted on arXiv 16 May 2025.
Builds on
10 of 20 references.
References · 10
- 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
- 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 342
- 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
- 2019Compositionality decomposed: how do neural networks generalise?cited by 265
- 2017Neural-Symbolic Learning and Reasoning: A Survey and Interpretationcited by 196
- 2019Neural-Symbolic Computing: An Effective Methodology for Principled Integration of Machine Learning and Reasoningcited by 151
- 2017Approximating Continuous Functions by ReLU Nets of Minimal Widthcited by 122
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
- 2015Learning Halfspaces and Neural Networks with Random Initializationcited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025A Constructive Framework for Nondeterministic Automata via Time-Shared, Depth-Unrolled Feedforward Networkscited by 2
- 2025Symbolic Feedforward Networks for Probabilistic Finite Automata: Exact Simulation and Learnabilitycited by 1
- 2026Logic-Gated Time-Shared Feedforward Networks for Alternating Finite Automata: Exact Simulation and Learnabilitycited by 0
- 2026Logic-Gated Time-Shared Feedforward Networks for Alternating Finite Automata: Exact Simulation and Learnability20 Mar 2026
- 2025Symbolic Feedforward Networks for Probabilistic Finite Automata: Exact Simulation and Learnability12 Sep 2025
- 2025A Constructive Framework for Nondeterministic Automata via Time-Shared, Depth-Unrolled Feedforward Networks30 May 2025