Extracting Weighted Automata for Approximate Minimization in Language Modelling

被引:0
|
作者
Lacroce, Clara [1 ,2 ]
Panangaden, Prakash [1 ,2 ]
Rabusseau, Guillaume [2 ,3 ]
机构
[1] McGill Univ, Sch Comp Sci, Montreal, PQ, Canada
[2] Mila, Montreal, PQ, Canada
[3] Univ Montreal, DIRO, Montreal, PQ, Canada
关键词
Approximate minimization; WFA extraction; Hankel matrices; Recurrent Neural Networks; language modelling; HANKEL-NORM APPROXIMATIONS; CONVERGENCE; REDUCTIONS; THEOREM; MATRIX;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:92 / 112
页数:21
相关论文
共 50 条
  • [31] ALGORITHM FOR MINIMIZATION OF ASYNCHRONIC AUTOMATA
    ZUYEV, IS
    SHUMILOV, LA
    ENGINEERING CYBERNETICS, 1976, 14 (03): : 97 - 101
  • [32] Weighted Picture Automata and Weighted Logics
    Fichtner, Ina
    THEORY OF COMPUTING SYSTEMS, 2011, 48 (01) : 48 - 78
  • [33] Weighted tree automata and weighted logics
    Droste, Manfred
    Vogler, Heiko
    THEORETICAL COMPUTER SCIENCE, 2006, 366 (03) : 228 - 247
  • [34] Weighted automata and weighted logics with discounting
    Droste, Manfred
    Rahonis, George
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2007, 4783 : 73 - +
  • [35] Weighted automata and weighted logics with discounting
    Droste, Manfred
    Rahonis, George
    THEORETICAL COMPUTER SCIENCE, 2009, 410 (37) : 3481 - 3494
  • [36] Weighted automata extraction and explanation of recurrent neural networks for natural language tasks
    Wei, Zeming
    Zhang, Xiyue
    Zhang, Yihao
    Sun, Meng
    JOURNAL OF LOGICAL AND ALGEBRAIC METHODS IN PROGRAMMING, 2024, 136
  • [37] A generalized partition refinement algorithm, instantiated to language equivalence checking for weighted automata
    Koenig, Barbara
    Kuepper, Sebastian
    SOFT COMPUTING, 2018, 22 (04) : 1103 - 1120
  • [38] Minimization of Symbolic Tree Automata
    D'Antoni, Loris
    Veanes, Margus
    PROCEEDINGS OF THE 31ST ANNUAL ACM-IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS 2016), 2016, : 873 - 882
  • [39] A generalized partition refinement algorithm, instantiated to language equivalence checking for weighted automata
    Barbara König
    Sebastian Küpper
    Soft Computing, 2018, 22 : 1103 - 1120
  • [40] On the State Minimization of Fuzzy Automata
    Li, Lvzhou
    Qiu, Daowen
    IEEE TRANSACTIONS ON FUZZY SYSTEMS, 2015, 23 (02) : 434 - 443