Incremental Learning of Context Free Grammars by Bridging Rule Generation and Search for Semi-optimum Rule Sets

Author(s):  
Katsuhiko Nakamura
2005 ◽  
Vol 38 (9) ◽  
pp. 1384-1392 ◽  
Author(s):  
Katsuhiko Nakamura ◽  
Masashi Matsumoto

Author(s):  
Daniel M. Yellin ◽  
Gail Weiss

AbstractWe present an algorithm for extracting a subclass of the context free grammars (CFGs) from a trained recurrent neural network (RNN). We develop a new framework, pattern rule sets (PRSs), which describe sequences of deterministic finite automata (DFAs) that approximate a non-regular language. We present an algorithm for recovering the PRS behind a sequence of such automata, and apply it to the sequences of automata extracted from trained RNNs using the $$L^{*}$$ L ∗ algorithm. We then show how the PRS may converted into a CFG, enabling a familiar and useful presentation of the learned language.Extracting the learned language of an RNN is important to facilitate understanding of the RNN and to verify its correctness. Furthermore, the extracted CFG can augment the RNN in classifying correct sentences, as the RNN’s predictive accuracy decreases when the recursion depth and distance between matching delimiters of its input sequences increases.


2011 ◽  
Vol 111 (18) ◽  
pp. 895-898 ◽  
Author(s):  
Yuval Filmus

Sign in / Sign up

Export Citation Format

Share Document