The Neural State Pushdown Automata
Not on the map. Why?
Abstract (arXiv)
In order to learn complex grammars, recurrent neural networks (RNNs) require sufficient computational resources to ensure correct grammar recognition. A widely-used approach to expand model capacity would be to couple an RNN to an external memory stack. Here, we introduce a "neural state" pushdown automaton (NSPDA), which consists of a digital stack, instead of an analog one, that is coupled to a neural network state machine. We empirically show its effectiveness in recognizing various context-free grammars (CFGs). First, we develop the underlying mechanics of the proposed higher order recurrent network and its manipulation of a stack as well as how to stably program its underlying pushdown automaton (PDA) to achieve desired finite-state network dynamics. Next, we introduce a noise regularization scheme for higher-order (tensor) networks, to our knowledge the first of its kind, and design an algorithm for improved incremental learning. Finally, we design a method for inserting grammar rules into a NSPDA and empirically show that this prior knowledge improves its training convergence time by an order of magnitude and, in some cases, leads to better generalization. The NSPDA is also compared to a classical analog stack neural network pushdown automaton (NNPDA) as well as a wide array of first and second-order RNNs with and without external memory, trained using different learning algorithms. Our results show that, for Dyck(2) languages, prior rule-based knowledge is critical for optimization convergence and for ensuring generalization to longer sequences at test time. We observe that many RNNs with and without memory, but no prior knowledge, fail to converge and generalize poorly on CFGs.
Key facts. Cited by 9 papers in the map (data through 7 Oct 2026). First posted on arXiv 7 Sep 2019.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 1; 2024: 3; 2025: 0; 2026: 2.
9 papers.
- 2021Recognizing and Verifying Mathematical Equations using Multiplicative Differential Neural Unitscited by 8
- 2023On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networkscited by 8
- 2024Stability Analysis of Various Symbolic Rule Extraction Methods from Recurrent Neural Networkcited by 3
- 2022An Empirical Analysis of Recurrent Learning Algorithms In Neural Lossy Image Compression Systemscited by 2
- 2024Neuro-mimetic Task-free Unsupervised Online Learning with Continual Self-Organizing Mapscited by 1
- 2026Certifiable Boolean Reasoning Is Universalcited by 1
- 2022Like a bilingual baby: The advantage of visually grounding a bilingual language modelcited by 0
- 2024Exploring Learnability in Memory-Augmented Recurrent Neural Networks: Precision, Stability, and Empirical Insightscited by 0
- 2026Statistical Guarantees for Reasoning Probes on Looped Boolean Circuitscited by 0
- 2026Certifiable Boolean Reasoning Is Universal4 Feb 2026
- 2026Statistical Guarantees for Reasoning Probes on Looped Boolean Circuits3 Feb 2026
- 2024Exploring Learnability in Memory-Augmented Recurrent Neural Networks: Precision, Stability, and Empirical Insights4 Oct 2024
- 2024Neuro-mimetic Task-free Unsupervised Online Learning with Continual Self-Organizing Maps19 Feb 2024
- 2024Stability Analysis of Various Symbolic Rule Extraction Methods from Recurrent Neural Network4 Feb 2024
- 2023On the Computational Complexity and Formal Hierarchy of Second Order Recurrent Neural Networks26 Sep 2023
- 2022Like a bilingual baby: The advantage of visually grounding a bilingual language model11 Oct 2022
- 2022An Empirical Analysis of Recurrent Learning Algorithms In Neural Lossy Image Compression Systems27 Jan 2022
- 2021Recognizing and Verifying Mathematical Equations using Multiplicative Differential Neural Units7 Apr 2021