TY - GEN
T1 - Efficient implementation of beam-search incremental parsers
AU - Goldberg, Yoav
AU - Zhao, Kai
AU - Huang, Liang
PY - 2013
Y1 - 2013
N2 - Beam search incremental parsers are accurate, but not as fast as they could be. We demonstrate that, contrary to popular belief, most current implementations of beam parsers in fact run in O(n2), rather than linear time, because each statetransition is actually implemented as an O(n) operation. We present an improved implementation, based on Tree Structured Stack (TSS), in which a transition is performed in O(1), resulting in a real lineartime algorithm, which is verified empirically. We further improve parsing speed by sharing feature-extraction and dotproduct across beam items. Practically, our methods combined offer a speedup of ∼2× over strong baselines on Penn Tree-bank sentences, and are orders of magnitude faster on much longer sentences.
AB - Beam search incremental parsers are accurate, but not as fast as they could be. We demonstrate that, contrary to popular belief, most current implementations of beam parsers in fact run in O(n2), rather than linear time, because each statetransition is actually implemented as an O(n) operation. We present an improved implementation, based on Tree Structured Stack (TSS), in which a transition is performed in O(1), resulting in a real lineartime algorithm, which is verified empirically. We further improve parsing speed by sharing feature-extraction and dotproduct across beam items. Practically, our methods combined offer a speedup of ∼2× over strong baselines on Penn Tree-bank sentences, and are orders of magnitude faster on much longer sentences.
UR - http://www.scopus.com/inward/record.url?scp=84907358892&partnerID=8YFLogxK
M3 - ???researchoutput.researchoutputtypes.contributiontobookanthology.conference???
AN - SCOPUS:84907358892
SN - 9781937284510
T3 - ACL 2013 - 51st Annual Meeting of the Association for Computational Linguistics, Proceedings of the Conference
SP - 628
EP - 633
BT - Short Papers
PB - Association for Computational Linguistics (ACL)
T2 - 51st Annual Meeting of the Association for Computational Linguistics, ACL 2013
Y2 - 4 August 2013 through 9 August 2013
ER -