A Constructive Framework for Nondeterministic Automata via Time-Shared, Depth-Unrolled Feedforward Networks
Not on the map. Why?
Abstract (arXiv)
We present a formal and constructive simulation framework for nondeterministic finite automata (NFAs) using time-shared, depth-unrolled feedforward networks (TS-FFNs), i.e., acyclic unrolled computations with shared parameters that are functionally equivalent to unrolled recurrent or state-space models. Unlike prior approaches that rely on explicit recurrent architectures or post hoc extraction methods, our formulation symbolically encodes automaton states as binary vectors, transitions as sparse matrix transformations, and nondeterministic branching-including varepsilon-closures-as compositions of shared thresholded updates. We prove that every regular language can be recognized exactly by such a shared-parameter unrolled feedforward network, with parameter count independent of input length. Our construction yields a constructive equivalence between NFAs and neural networks and demonstrates empirical learnability: these networks can be trained via gradient descent on supervised acceptance data to recover the target automaton behavior. This learnability, formalized in Proposition 5.1, is the crux of this work. Extensive experiments validate the theoretical results, achieving perfect or near-perfect agreement on acceptance, state propagation, and closure dynamics. This work clarifies the correspondence between automata theory and modern neural architectures, showing that unrolled feedforward networks can perform precise, interpretable, and trainable symbolic computation.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 19 of its 36 references that are in the map. First posted on arXiv 30 May 2025.
Builds on
19 of 36 references.
References · 19
- 2017Attention Is All You Needcited by 60,361
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
- 2014Neural Turing Machinescited by 644
- 2014In Search of the Real Inductive Bias: On the Role of Implicit Regularization in Deep Learningcited by 342
- 2022Transformers Learn Shortcuts to Automatacited by 268
- 2017Approximating Continuous Functions by ReLU Nets of Minimal Widthcited by 122
- 2015Neural Programmer-Interpreterscited by 101
- 2017Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamplescited by 66
- 2020A Formal Hierarchy of RNN Architecturescited by 62
- 2019On the Computational Power of RNNscited by 35
7 more
- 2024Training Neural Networks as Recognizers of Formal Languagescited by 24
- 2021Learning Hierarchical Structures with Differentiable Nondeterministic Stackscited by 16
- 2023Topological Expressivity of ReLU Neural Networkscited by 10
- 2015Learning Halfspaces and Neural Networks with Random Initializationcited by 4
- 2025The Geometry of ReLU Networks through the ReLU Transition Graphcited by 4
- 2025A Combinatorial Theory of Dropout: Subnetworks, Graph Geometry, and Generalizationcited by 3
- 2025Neural Networks as Universal Finite-State Machines: A Constructive Deterministic Finite Automaton Theorycited by 3
Built on by
Citing papers per year: 2025: 1; 2026: 1.
2 papers.
Similar, not cited
Close in wording, no citation either way
- 2024Simulating Weighted Automata over Sequences and Trees with Transformers
- 2024L^*LM: Learning Automata from Examples using Natural Language Oracles
- 2025Inference of Deterministic Finite Automata via Q-Learning
- 2025Finite State Automata Inside Transformers with Chain-of-Thought: A Mechanistic Study on State Tracking
- 2026Length-Independent State Tracking Under a Parallel Scan
- 2025Beyond Memorization: Extending Reasoning Depth with Recurrence, Memory and Test-Time Compute Scaling
- 2025Bridging Expressivity and Scalability with Adaptive Unitary SSMs
- 2024Automata Extraction from Transformers