arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1807.05642cs.CLcs.DC
收藏

LATE Ain'T Earley:一种更快的并行Earley解析器

LATE Ain'T Earley: A Faster Parallel Earley Parser

MIT(麻省理工学院)

Willow Ahrens, John Feser, Robin Hui

AI总结:

提出异步Earley变体LATE算法,通过额外数据结构消除任务依赖,实现任务并行,在自然语言任务上获得120倍加速。

摘要:

我们提出了LATE算法,它是用于解析上下文无关文法的Earley算法的一种异步变体。Earley算法天然是基于任务的,但由于任务之间的依赖关系而难以并行化。我们提出的LATE算法使用额外的数据结构来维护解析状态的信息,从而使得工作项可以按任意顺序处理。这一特性使得LATE算法能够利用任务并行性来加速。我们展示了在自然语言任务上,LATE算法相对于Earley算法可以实现120倍的加速。

英文摘要:

We present the LATE algorithm, an asynchronous variant of the Earley algorithm for parsing context-free grammars. The Earley algorithm is naturally task-based, but is difficult to parallelize because of dependencies between the tasks. We present the LATE algorithm, which uses additional data structures to maintain information about the state of the parse so that work items may be processed in any order. This property allows the LATE algorithm to be sped up using task parallelism. We show that the LATE algorithm can achieve a 120x speedup over the Earley algorithm on a natural language task.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑