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

语言结构的线性时间建模:一种序理论视角

Linear-Time Modeling of Linguistic Structure: An Order-Theoretic Perspective

Tianyu Liu, Afra Amini, Mrinmaya Sachan, Ryan Cotterell

AI总结:

该研究从序理论视角出发,将词元关系建模为偏序,通过并行预测词元实数值并排序取交集得到偏序再解码为语言结构,将相关任务复杂度降至线性,在依存句法分析和共指消解上取得优异性能且大幅提速。

摘要:

对字符串中词元对之间的关系进行建模的任务是理解自然语言的重要组成部分。这类任务通常需要对词元进行穷尽式的两两比较,因此运行时间复杂度与字符串长度呈二次方关系。我们证明,通过将词元之间的关系建模为字符串上的偏序关系,不仅可以避免这些穷尽式比较,还能将此类任务的复杂度降低至线性。我们的方法并行预测字符串中每个词元的实数值,并据此对词元排序,得到字符串中词元的全序关系。每个全序关系都对应一组按预测数值排序、由较小词元指向较大词元的弧。多个全序关系的交集构成字符串词元集合上的偏序关系,随后该偏序被解码为表示目标语言结构的有向图。我们在依存句法分析和共指消解任务上的实验表明,该方法达到了当前最优(SOTA)或可比的性能。此外,得益于线性复杂度和并行性,我们的方法使基于图的共指消解模型速度提升一倍,相比基于图的依存句法分析器实现了10倍的速度提升。

英文摘要:

Tasks that model the relation between pairs of tokens in a string are a vital part of understanding natural language. Such tasks, in general, require exhaustive pair-wise comparisons of tokens, thus having a quadratic runtime complexity in the length of the string. We show that these exhaustive comparisons can be avoided, and, moreover, the complexity of such tasks can be reduced to linear by casting the relation between tokens as a partial order over the string. Our method predicts real numbers for each token in a string in parallel and sorts the tokens accordingly, resulting in total orders of the tokens in the string. Each total order implies a set of arcs oriented from smaller to greater tokens, sorted by their predicted numbers. The intersection of total orders results in a partial order over the set of tokens in the string, which is then decoded into a directed graph representing the desired linguistic structure. Our experiments on dependency parsing and coreference resolution show that our method achieves state-of-the-art or comparable performance. Moreover, the linear complexity and parallelism of our method double the speed of graph-based coreference resolution models, and bring a 10-times speed-up over graph-based dependency parsers.

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

↑