Approximating probabilistic models as weighted finite automata

05/21/2019
by   Ananda Theertha Suresh, et al.
0

Weighted finite automata (WFA) are often used to represent probabilistic models, such as n-gram language models, since they are efficient for recognition tasks in time and space. The probabilistic source to be represented as a WFA, however, may come in many forms. Given a generic probabilistic model over sequences, we propose an algorithm to approximate it as a weighted finite automaton such that the Kullback-Leiber divergence between the source model and the WFA target model is minimized. The proposed algorithm involves a counting step and a difference of convex optimization, both of which can be performed efficiently. We demonstrate the usefulness of our approach on various tasks, including distilling n-gram models from neural models, building compact language models, and building open-vocabulary character models.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/22/2018

A syllable based model for handwriting recognition

In this paper, we introduce a new modeling approach of texts for handwri...
research
06/29/2022

Space-Efficient Representation of Entity-centric Query Language Models

Virtual assistants make use of automatic speech recognition (ASR) to hel...
research
02/25/2019

Polynomially Ambiguous Probabilistic Automata on Restricted Languages

We consider the computability and complexity of decision questions for P...
research
05/09/2022

Energy Büchi Problems

We show how to efficiently solve energy Büchi problems in finite weighte...
research
05/26/2023

External Language Model Integration for Factorized Neural Transducers

We propose an adaptation method for factorized neural transducers (FNT) ...
research
10/30/2019

Learning Deterministic Weighted Automata with Queries and Counterexamples

We present an algorithm for extraction of a probabilistic deterministic ...
research
12/04/2022

Learning Automata-Based Task Knowledge Representation from Large-Scale Generative Language Models

Automata-based representations play an important role in control and pla...

Please sign up or login with your details

Forgot password? Click here to reset