Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces
2020 ◽
Vol 34
(04)
◽
pp. 5306-5314
Keyword(s):
We present a method to extract a weighted finite automaton (WFA) from a recurrent neural network (RNN). Our method is based on the WFA learning algorithm by Balle and Mohri, which is in turn an extension of Angluin's classic L* algorithm. Our technical novelty is in the use of regression methods for the so-called equivalence queries, thus exploiting the internal state space of an RNN to prioritize counterexample candidates. This way we achieve a quantitative/weighted extension of the recent work by Weiss, Goldberg and Yahav that extracts DFAs. We experimentally evaluate the accuracy, expressivity and efficiency of the extracted WFAs.
2021 ◽
Vol 27
(11)
◽
pp. 1193-1202
1999 ◽
Vol 121
(4)
◽
pp. 724-729
◽
2019 ◽
Vol 33
◽
pp. 3822-3829