Extracting Weighted Automata for Approximate Minimization in Language Modelling
Not on the map. Why?
Abstract (arXiv)
In this paper we study the approximate minimization problem for language modelling. We assume we are given some language model as a black box. The objective is to obtain a weighted finite automaton (WFA) that fits within a given size constraint and which mimics the behaviour of the original model while minimizing some notion of distance between the black box and the extracted WFA. We provide an algorithm for the approximate minimization of black boxes trained for language modelling of sequential data over a one-letter alphabet. By reformulating the problem in terms of Hankel matrices, we leverage classical results on the approximation of Hankel operators, namely the celebrated Adamyan-Arov-Krein (AAK) theory. This allows us to use the spectral norm to measure the distance between the black box and the WFA. We provide theoretical guarantees to study the potentially infinite-rank Hankel matrix of the black box, without accessing the training data, and we prove that our method returns an asymptotically-optimal approximation.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 15 of its 66 references that are in the map. First posted on arXiv 5 Jun 2021.
Builds on
15 of 66 references.
References · 15
- 2017Attention Is All You Needcited by 60,361
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2017Towards A Rigorous Science of Interpretable Machine Learningcited by 1,416
- 2018On the Practical Computational Power of Finite Precision RNNs for Language Recognitioncited by 117
- 2017Extracting Automata from Recurrent Neural Networks Using Queries and Counterexamplescited by 66
- 2020A Formal Hierarchy of RNN Architecturescited by 62
- 2019Learning Deterministic Weighted Automata with Queries and Counterexamplescited by 22
- 2017An Empirical Evaluation of Rule Extraction from Recurrent Neural Networkscited by 21
- 2019Weighted Automata Extraction from Recurrent Neural Networks via Regression on State Spacescited by 21
- 2018Connecting Weighted Automata and Recurrent Neural Networks through Spectral Learningcited by 15
- 2018Explaining Black Boxes on Sequential Data using Weighted Automatacited by 11
- 2019Approximating probabilistic models as weighted finite automatacited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 0; 2024: 2.
3 papers.