Skip to yearly menu bar Skip to main content


Poster

Learning Deterministic Weighted Automata with Queries and Counterexamples

Gail Weiss · Yoav Goldberg · Eran Yahav

East Exhibition Hall B + C #72

Keywords: [ Program Understanding and Generation ] [ Applications ] [ Recurrent Networks ] [ Deep Learning ]


Abstract:

We present an algorithm for reconstruction of a probabilistic deterministic finite automaton (PDFA) from a given black-box language model, such as a recurrent neural network (RNN). The algorithm is a variant of the exact-learning algorithm L*, adapted to work in a probabilistic setting under noise. The key insight of the adaptation is the use of conditional probabilities when making observations on the model, and the introduction of a variation tolerance when comparing observations. When applied to RNNs, our algorithm returns models with better or equal word error rate (WER) and normalised distributed cumulative gain (NDCG) than achieved by n-gram or weighted finite automata (WFA) approximations of the same networks. The PDFAs capture a richer class of languages than n-grams, and are guaranteed to be stochastic and deterministic -- unlike the WFAs.

Live content is unavailable. Log in and register to view live content