Decision-Guided Weighted Automata Extraction from Recurrent Neural Networks

Abstract

Recurrent Neural Networks (RNNs) have demonstrated their effectiveness in learning and processing sequential data (e.g., speech and natural language). However, due to the black-box nature of neural networks, understanding the decision logic of RNNs is quite challenging. Some recent progress has been made to approximate the behavior of an RNN by weighted automata. They provide better interpretability, but still suffer from poor scalability. In this paper, we propose a novel approach to extracting weighted automata with the guidance of a target RNN's decision and context information. In particular, we identify the patterns of RNN's step-wise predictive decisions to instruct the formation of automata states. Further, we propose a state composition method to enhance the context-awareness of the extracted model. Our in-depth evaluations on typical RNN tasks, including language model and classification, demonstrate the effectiveness and advantage of our method over the state-of-the-arts. The evaluation results show that our method can achieve accurate approximation of an RNN even on large-scale tasks.

Cite

Text

Zhang et al. "Decision-Guided Weighted Automata Extraction from Recurrent Neural Networks." AAAI Conference on Artificial Intelligence, 2021. doi:10.1609/AAAI.V35I13.17391

Markdown

[Zhang et al. "Decision-Guided Weighted Automata Extraction from Recurrent Neural Networks." AAAI Conference on Artificial Intelligence, 2021.](https://mlanthology.org/aaai/2021/zhang2021aaai-decision/) doi:10.1609/AAAI.V35I13.17391

BibTeX

@inproceedings{zhang2021aaai-decision,
  title     = {{Decision-Guided Weighted Automata Extraction from Recurrent Neural Networks}},
  author    = {Zhang, Xiyue and Du, Xiaoning and Xie, Xiaofei and Ma, Lei and Liu, Yang and Sun, Meng},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year      = {2021},
  pages     = {11699-11707},
  doi       = {10.1609/AAAI.V35I13.17391},
  url       = {https://mlanthology.org/aaai/2021/zhang2021aaai-decision/}
}