Algorithms for Weighted Pushdown Automata

10/13/2022
by   Alexandra Butoi, et al.
0

Weighted pushdown automata (WPDAs) are at the core of many natural language processing tasks, like syntax-based statistical machine translation and transition-based dependency parsing. As most existing dynamic programming algorithms are designed for context-free grammars (CFGs), algorithms for PDAs often resort to a PDA-to-CFG conversion. In this paper, we develop novel algorithms that operate directly on WPDAs. Our algorithms are inspired by Lang's algorithm, but use a more general definition of pushdown automaton and either reduce the space requirements by a factor of |Γ| (the size of the stack alphabet) or reduce the runtime by a factor of more than |Q| (the number of states). When run on the same class of PDAs as Lang's algorithm, our algorithm is both more space-efficient by a factor of |Γ| and more time-efficient by a factor of |Q| · |Γ|.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
12/17/2021

Morphisms and minimisation of weighted automata

This paper studies the algorithms for the minimisation of weighted autom...
research
07/06/2023

Efficient Semiring-Weighted Earley Parsing

This paper provides a reference description, in the form of a deduction ...
research
11/10/2020

A translation of weighted LTL formulas to weighted Büchi automata over ω-valuation monoids

In this paper we introduce a weighted LTL over product ω-valuation monoi...
research
01/02/2020

Incremental Monoidal Grammars

In this work we define formal grammars in terms of free monoidal categor...
research
01/17/2023

Algorithms for Acyclic Weighted Finite-State Automata with Failure Arcs

Weighted finite-state automata (WSFAs) are commonly used in NLP. Failure...
research
12/23/2018

Computations in Stochastic Acceptors

Machine learning provides algorithms that can learn from data and make i...
research
09/06/2017

Foundation for a series of efficient simulation algorithms

Compute the coarsest simulation preorder included in an initial preorder...

Please sign up or login with your details

Forgot password? Click here to reset