paper-with-me

홈 › Papers

The Neural State Pushdown Automata

2019-09-07 · Ankur Mali, Alexander Ororbia, C. Lee Giles

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.

📄 PDF Abstract BibTeX arXiv:1909.05233

Code (0)

등록된 구현이 없습니다.

Tasks

Incremental LearningTensor Networks

Similar Papers 제목 키워드 기반

Prediction of Infinite Words with Automata

2016-03-08 · Tim Smith

In the classic problem of sequence prediction, a predictor receives a sequence of values from an emitter and tries to guess the next value before it appears. The predictor masters the emitter if there is a point after wh…

Prediction

Algorithms for Weighted Pushdown Automata

2022-10-13 · Alexandra Butoi, Brian DuSell, Tim Vieira, Ryan Cotterell 외

Weighted pushdown automata (WPDAs) are at the core of many natural language processing tasks, like syntax-based statistical machine translation and transition-based dependency parsing. As most existing dynamic programmin…

Dependency ParsingMachine TranslationTransition-Based Dependency Parsing

Pushdown Automata in Statistical Machine Translation

2014-09-01 · CL 2014 9 · Cyril Allauzen, Bill Byrne, Adri{\`a} de Gispert, Gonzalo Iglesias 외
Language ModellingMachine TranslationTranslation

On the Computational Power of RNNs

2019-06-14 · Samuel A. Korsky, Robert C. Berwick

Recent neural network architectures such as the basic recurrent neural network (RNN) and Gated Recurrent Unit (GRU) have gained prominence as end-to-end learning architectures for natural language processing tasks. But w…

Pushdown Reward Machines for Reinforcement Learning

2025-08-09 · Giovanni Varricchione, Toryn Q. Klassen, Natasha Alechina, Mehdi Dastani 외 arxiv

Reward machines (RMs) are automata structures that encode (non-Markovian) reward functions for reinforcement learning (RL). RMs can reward any behaviour representable in regular languages and, when paired with RL algorit…

Reinforcement Learning