mlsanityData to 14 Oct 2026

Neural Networks as Universal Finite-State Machines: A Constructive Deterministic Finite Automaton Theory

arXiv 2505.11694 ↗First posted 16 May 2025cs.LG cs.AI cs.FLcited by 3

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

  1. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 506
  2. 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 342
  3. 2019Theoretical Limitations of Self-Attention in Neural Sequence Modelscited by 288
  4. 2019Compositionality decomposed: how do neural networks generalise?cited by 265
  5. 2017Neural-Symbolic Learning and Reasoning: A Survey and Interpretationcited by 196
  6. 2019Neural-Symbolic Computing: An Effective Methodology for Principled Integration of Machine Learning and Reasoningcited by 151
  7. 2017Approximating Continuous Functions by ReLU Nets of Minimal Widthcited by 122
  8. 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
  9. 2017Abstract Syntax Networks for Code Generation and Semantic Parsingcited by 92
  10. 2015Learning Halfspaces and Neural Networks with Random Initializationcited by 4

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 2; 2026: 1.

3 papers.