Distillation of Weighted Automata from Recurrent Neural Networks using a Spectral Approach
Not on the map. Why?
Abstract (arXiv)
This paper is an attempt to bridge the gap between deep learning and grammatical inference. Indeed, it provides an algorithm to extract a (stochastic) formal language from any recurrent neural network trained for language modelling. In detail, the algorithm uses the already trained network as an oracle -- and thus does not require the access to the inner representation of the black-box -- and applies a spectral approach to infer a weighted automaton. As weighted automata compute linear functions, they are computationally more efficient than neural networks and thus the nature of the approach is the one of knowledge distillation. We detail experiments on 62 data sets (both synthetic and from real-world applications) that allow an in-depth study of the abilities of the proposed algorithm. The results show the WA we extract are good approximations of the RNN, validating the approach. Moreover, we show how the process provides interesting insights toward the behavior of RNN learned on data, enlarging the scope of this work to the one of explainability of deep learning models.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). First posted on arXiv 28 Sep 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 2; 2023: 0; 2024: 3.
6 papers.
- 2024On the Tractability of SHAP Explanations under Markovian Distributionscited by 10
- 2022Linguistically inspired roadmap for building biologically reliable protein language modelscited by 7
- 2022Implicit N-grams Induced by Recurrencecited by 4
- 2024Simulating Weighted Automata over Sequences and Trees with Transformerscited by 4
- 2021Extracting Weighted Automata for Approximate Minimization in Language Modellingcited by 3
- 2024PDFA Distillation via String Probability Queriescited by 0
- 2024PDFA Distillation via String Probability Queries26 Jun 2024
- 2024On the Tractability of SHAP Explanations under Markovian Distributions5 May 2024
- 2024Simulating Weighted Automata over Sequences and Trees with Transformers12 Mar 2024
- 2022Linguistically inspired roadmap for building biologically reliable protein language models3 Jul 2022
- 2022Implicit N-grams Induced by Recurrence5 May 2022
- 2021Extracting Weighted Automata for Approximate Minimization in Language Modelling5 Jun 2021