Extracting Weighted Automata for Approximate Minimization in Language Modelling
Clara Lacroce, Prakash Panangaden, Guillaume Rabusseau

TL;DR
This paper introduces a novel algorithm for approximate minimization of language models by extracting weighted automata using Hankel matrix approximation, providing theoretical guarantees without needing training data.
Contribution
It reformulates the minimization problem in terms of Hankel matrices and applies AAK theory to achieve asymptotically optimal approximations of black box language models.
Findings
The method effectively approximates black box models within size constraints.
The approach provides theoretical guarantees for approximation quality.
It does not require access to training data for the approximation.
Abstract
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…
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.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsMachine Learning and Algorithms · Matrix Theory and Algorithms · Tensor decomposition and applications
