arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1805.06995cs.CL
收藏

基于RNN和动态规划的线性时间选区分析

Linear-Time Constituency Parsing with RNNs and Dynamic Programming

Juneki Hong, Liang Huang

摘要:

最近,基于跨度的选区解析已经通过使用双向RNN对“跨度”进行建模,用非常简单的模型实现了具有竞争力的准确性。然而,Stern et al(2017 a)的最小跨度解析器保持了当前最先进的准确性,它是一个以立方时间运行的图表解析器,$O(n^3)$,对于较长的句子和超出句子边界的应用程序(如端到端话语解析和联合句子边界检测和解析)来说太慢了。我们提出了一个线性时间选区解析器与RNN和动态规划使用图结构的堆栈和束搜索,它运行在时间$O(n b^2)$,其中$b$是波束的大小。通过集成立方体修剪,我们进一步将其加速到$O(n b\log b)$。与图表解析基线相比,这种线性时间解析器在Penn Treebank上的长句解析速度要快得多,在话语解析上要快几个数量级,并且在Penn Treebank上实现了单模型端到端系统中最高的F1精度。

英文摘要:

Recently, span-based constituency parsing has achieved competitive accuracies with extremely simple models by using bidirectional RNNs to model "spans". However, the minimal span parser of Stern et al (2017a) which holds the current state of the art accuracy is a chart parser running in cubic time, $O(n^3)$, which is too slow for longer sentences and for applications beyond sentence boundaries such as end-to-end discourse parsing and joint sentence boundary detection and parsing. We propose a linear-time constituency parser with RNNs and dynamic programming using graph-structured stack and beam search, which runs in time $O(n b^2)$ where $b$ is the beam size. We further speed this up to $O(n b\log b)$ by integrating cube pruning. Compared with chart parsing baselines, this linear-time parser is substantially faster for long sentences on the Penn Treebank and orders of magnitude faster for discourse parsing, and achieves the highest F1 accuracy on the Penn Treebank among single model end-to-end systems.

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

↑