Algorithms for Weighted Pushdown Automata
Alexandra Butoi, Brian DuSell, Tim Vieira, Ryan Cotterell, David, Chiang

TL;DR
This paper introduces new algorithms for weighted pushdown automata that operate directly on them, improving space and time efficiency over existing methods inspired by Lang's algorithm.
Contribution
The paper presents novel algorithms for WPDAs that reduce space and runtime complexity, avoiding the need for PDA-to-CFG conversion.
Findings
Algorithms are more space-efficient by a factor of |||
Algorithms are more time-efficient by a factor of |Q| * |||
Operate directly on WPDAs, improving efficiency over existing methods.
Abstract
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 (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 .
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
Topicssemigroups and automata theory · Natural Language Processing Techniques · Network Packet Processing and Optimization
