Decision-guided weighted automata extraction from recurrent neural networks

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...

Full description

Saved in:
Bibliographic Details
Main Authors: ZHANG, Xiyue, DU, Xiaoning, XIE, Xiaofei, MA, Lei, LIU, Yang, SUN, Meng
Format: text
Language:English
Published: Institutional Knowledge at Singapore Management University 2021
Subjects:
Online Access:https://ink.library.smu.edu.sg/sis_research/7113
https://ink.library.smu.edu.sg/context/sis_research/article/8116/viewcontent/17391_Article_Text_20885_1_2_20210518.pdf
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Singapore Management University
Language: English
id sg-smu-ink.sis_research-8116
record_format dspace
spelling sg-smu-ink.sis_research-81162022-04-14T11:42:52Z Decision-guided weighted automata extraction from recurrent neural networks ZHANG, Xiyue DU, Xiaoning XIE, Xiaofei MA, Lei LIU, Yang SUN, Meng 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. 2021-02-01T08:00:00Z text application/pdf https://ink.library.smu.edu.sg/sis_research/7113 https://ink.library.smu.edu.sg/context/sis_research/article/8116/viewcontent/17391_Article_Text_20885_1_2_20210518.pdf http://creativecommons.org/licenses/by-nc-nd/4.0/ Research Collection School Of Computing and Information Systems eng Institutional Knowledge at Singapore Management University OS and Networks Software Engineering
institution Singapore Management University
building SMU Libraries
continent Asia
country Singapore
Singapore
content_provider SMU Libraries
collection InK@SMU
language English
topic OS and Networks
Software Engineering
spellingShingle OS and Networks
Software Engineering
ZHANG, Xiyue
DU, Xiaoning
XIE, Xiaofei
MA, Lei
LIU, Yang
SUN, Meng
Decision-guided weighted automata extraction from recurrent neural networks
description 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.
format text
author ZHANG, Xiyue
DU, Xiaoning
XIE, Xiaofei
MA, Lei
LIU, Yang
SUN, Meng
author_facet ZHANG, Xiyue
DU, Xiaoning
XIE, Xiaofei
MA, Lei
LIU, Yang
SUN, Meng
author_sort ZHANG, Xiyue
title Decision-guided weighted automata extraction from recurrent neural networks
title_short Decision-guided weighted automata extraction from recurrent neural networks
title_full Decision-guided weighted automata extraction from recurrent neural networks
title_fullStr Decision-guided weighted automata extraction from recurrent neural networks
title_full_unstemmed Decision-guided weighted automata extraction from recurrent neural networks
title_sort decision-guided weighted automata extraction from recurrent neural networks
publisher Institutional Knowledge at Singapore Management University
publishDate 2021
url https://ink.library.smu.edu.sg/sis_research/7113
https://ink.library.smu.edu.sg/context/sis_research/article/8116/viewcontent/17391_Article_Text_20885_1_2_20210518.pdf
_version_ 1770576214880157696