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 条
  • [41] Incremental Minimization of Symbolic Automata
    Homburg, Jonathan
    Duggirala, Parasara Sridhar
    VERIFIED SOFTWARE: THEORIES, TOOLS, AND EXPERIMENTS, VSTTE 2019, 2020, 12031 : 54 - 67
  • [42] Bisimulation minimization of tree automata
    Abdulla, Parosh Aziz
    Hoegberg, Johanna
    Kaati, Lisa
    INTERNATIONAL JOURNAL OF FOUNDATIONS OF COMPUTER SCIENCE, 2007, 18 (04) : 699 - 713
  • [43] Weighted picture automata and weighted logics
    Mäurer, I
    STACS 2006, PROCEEDINGS, 2006, 3884 : 313 - 324
  • [44] Pebble Weighted Automata and Weighted Logics
    Bollig, Benedikt
    Gastin, Paul
    Monmege, Benjamin
    Zeitoun, Marc
    ACM TRANSACTIONS ON COMPUTATIONAL LOGIC, 2014, 15 (02)
  • [45] Weighted Picture Automata and Weighted Logics
    Ina Fichtner
    Theory of Computing Systems, 2011, 48 : 48 - 78
  • [46] Minimization of fuzzy finite automata
    Malik, DS
    Mordeson, JN
    Sen, MK
    INFORMATION SCIENCES, 1999, 113 (3-4) : 323 - 330
  • [47] AUTOMATA MINIMIZATION: A FUNCTORIAL APPROACH
    Colcombet, Thomas
    Petrisan, Daniela
    LOGICAL METHODS IN COMPUTER SCIENCE, 2020, 16 (01) : 32:1 - 32:28
  • [48] Synchronizing weighted automata
    Ivan, Szabolcs
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2014, (151): : 301 - 313
  • [49] Bideterministic weighted automata
    Kostolanyi, Peter
    INFORMATION AND COMPUTATION, 2023, 295
  • [50] Weighted synchronous automata
    Gomes, Leandro
    Madeira, Alexandre
    Barbosa, Luis Soares
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2022, 32 (09) : 1234 - 1253