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 条
  • [1] Approximate minimization of weighted tree automata
    Balle, Borja
    Rabusseau, Guillaume
    INFORMATION AND COMPUTATION, 2022, 282
  • [2] A Canonical Form for Weighted Automata and Applications to Approximate Minimization
    Balle, Borja
    Panangaden, Prakash
    Precup, Doina
    2015 30TH ANNUAL ACM/IEEE SYMPOSIUM ON LOGIC IN COMPUTER SCIENCE (LICS), 2015, : 701 - 712
  • [3] Optimal approximate minimization of one-letter weighted finite automata
    Lacroce, Clara
    Balle, Borja
    Panangaden, Prakash
    Rabusseau, Guillaume
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2024, : 807 - 833
  • [4] Optimal spectral-norm approximate minimization of weighted finite automata
    Balle, Borja
    Lacroce, Clara
    Panangaden, Prakash
    Precup, Doina
    Rabusseau, Guillaume
    Leibniz International Proceedings in Informatics, LIPIcs, 2021, 198
  • [5] On Approximate Minimization of Fuzzy Automata
    Belohlavek, R.
    Krupka, M.
    JOURNAL OF MULTIPLE-VALUED LOGIC AND SOFT COMPUTING, 2009, 15 (2-3) : 125 - 135
  • [6] Singular value automata and approximate minimization
    Balle, Borja
    Panangaden, Prakash
    Precup, Doina
    MATHEMATICAL STRUCTURES IN COMPUTER SCIENCE, 2019, 29 (09) : 1444 - 1478
  • [7] Approximate BDD Minimization by Weighted A*
    Ebendt, Ruediger
    Drechsler, Rolf
    ISCAS: 2009 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, VOLS 1-5, 2009, : 2974 - +
  • [8] Weighted Restarting Automata as Language Acceptors
    Wang, Qichao
    Otto, Friedrich
    IMPLEMENTATION AND APPLICATION OF AUTOMATA, 2016, 9705 : 298 - 309
  • [9] Hyper-Minimization for Deterministic Weighted Tree Automata
    Maletti, Andreas
    Quernheim, Daniel
    ELECTRONIC PROCEEDINGS IN THEORETICAL COMPUTER SCIENCE, 2014, (151): : 314 - 326
  • [10] Extracting Weighted Language Lexicons from Wikipedia
    Grefenstette, Gregory
    LREC 2016 - TENTH INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION, 2016, : 1365 - 1368