Weighted Automata Extraction and Explanation of Recurrent Neural Networks for Natural Language Tasks
Zeming Wei, Xiyue Zhang, Yihao Zhang, Meng Sun

TL;DR
This paper introduces a novel framework for extracting and explaining weighted finite automata from RNNs to improve interpretability in natural language processing, addressing limitations of existing methods.
Contribution
It proposes a new WFA extraction method with data augmentation and transition adjustment, and introduces TME for RNN explanation, enhancing precision and interpretability.
Findings
Outperforms existing methods in extraction precision.
Effective in explaining RNNs with TME.
Improves understanding of RNN behavior in NLP tasks.
Abstract
Recurrent Neural Networks (RNNs) have achieved tremendous success in processing sequential data, yet understanding and analyzing their behaviours remains a significant challenge. To this end, many efforts have been made to extract finite automata from RNNs, which are more amenable for analysis and explanation. However, existing approaches like exact learning and compositional approaches for model extraction have limitations in either scalability or precision. In this paper, we propose a novel framework of Weighted Finite Automata (WFA) extraction and explanation to tackle the limitations for natural language tasks. First, to address the transition sparsity and context loss problems we identified in WFA extraction for natural language tasks, we propose an empirical method to complement missing rules in the transition diagram, and adjust transition matrices to enhance the…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsFerroelectric and Negative Capacitance Devices · Machine Learning in Materials Science · Adversarial Robustness in Machine Learning
