Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces

Authors

  • Takamasa Okudono National Institute of Informatics
  • Masaki Waga National Institute of Informatics
  • Taro Sekiyama National Institute of Informatics
  • Ichiro Hasuo National Institute of Informatics

DOI:

https://doi.org/10.1609/aaai.v34i04.5977

Abstract

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.

Downloads

Published

2020-04-03

How to Cite

Okudono, T., Waga, M., Sekiyama, T., & Hasuo, I. (2020). Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spaces. Proceedings of the AAAI Conference on Artificial Intelligence, 34(04), 5306-5314. https://doi.org/10.1609/aaai.v34i04.5977

Issue

Section

AAAI Technical Track: Machine Learning