arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2108.05838cs.CL
收藏

结合基于(二阶)图和基于标头跨度的投射依存句法分析

Combining (second-order) graph-based and headed-span-based projective dependency parsing

ShanghaiTech University(上海科技大学);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程研究中心)

Songlin Yang, Kewei Tu

摘要:

基于图的方法将依赖树的得分分解为依赖弧的得分,几十年来一直是依存句法分析中的流行方法。最近,\citet{Yang2022Span}提出了一种基于头部跨度的方法,该方法将依赖树的得分分解为头部跨度的得分。它们显示了对基于一阶图的方法的改进。然而,他们的方法根本不对依赖弧进行评分,并且依赖弧由他们的实时算法隐式地诱导,这可能是次优的,因为建模依赖弧直观地有用。在这项工作中,我们的目标是结合基于图形和头部跨度为基础的方法,将弧分数和头部跨度分数到我们的模型。首先,我们展示了一种直接的方法来结合$O(n^4)$解析复杂性。为了降低复杂性,灵感来自经典的头部分裂技巧,我们展示了两个$O(n^3)$动态规划算法结合第一和第二阶图为基础的方法和头部跨度。我们在PTB、CTB和UD上的实验表明,结合基于一阶图和基于头跨度的方法是有效的。我们还确认了基于二阶图的解析在深度学习时代的有效性,然而,当结合基于二阶图和基于头跨度的方法时,我们观察到边际或没有改进。我们的代码可在\url{https://github.com/sustcsonglin/span-based-dependency-parsing}上公开获取。

英文摘要:

Graph-based methods, which decompose the score of a dependency tree into scores of dependency arcs, are popular in dependency parsing for decades. Recently, \citet{Yang2022Span} propose a headed-span-based method that decomposes the score of a dependency tree into scores of headed spans. They show improvement over first-order graph-based methods. However, their method does not score dependency arcs at all, and dependency arcs are implicitly induced by their cubic-time algorithm, which is possibly sub-optimal since modeling dependency arcs is intuitively useful. In this work, we aim to combine graph-based and headed-span-based methods, incorporating both arc scores and headed span scores into our model. First, we show a direct way to combine with $O(n^4)$ parsing complexity. To decrease complexity, inspired by the classical head-splitting trick, we show two $O(n^3)$ dynamic programming algorithms to combine first- and second-order graph-based and headed-span-based methods. Our experiments on PTB, CTB, and UD show that combining first-order graph-based and headed-span-based methods is effective. We also confirm the effectiveness of second-order graph-based parsing in the deep learning age, however, we observe marginal or no improvement when combining second-order graph-based and headed-span-based methods. Our code is publicly available at \url{https://github.com/sustcsonglin/span-based-dependency-parsing}.

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

↑