arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2207.05564cs.CL
收藏

树的平面线性化中边长期望和:理论与应用

The expected sum of edge lengths in planar linearizations of trees. Theory and applications

Universitat Politècnica de Catalunya (UPC)(加泰罗尼亚理工大学(UPC))

Lluís Alemany-Puig, Ramon Ferrer-i-Cancho

AI总结:

本文研究依存树平面线性化中的边长期望和,给出平面排列刻画、均匀随机生成方法及 O(n) 期望算法,并通过平行语料库揭示形式约束对依存距离最小化效应的吸收。

摘要:

依存树已被证明是表示人类语言句子句法结构的一种非常成功的模型。在这些结构中,顶点是词,边连接句法上相互依存的词。人们已经利用边长总和或其变体的随机基线证明了这些依存关系具有变短的趋势。一个普遍存在的基线是投影排序(其中边不交叉,且句子的根词不被任何边覆盖)中的期望和,其计算时间为 O(n)。本文聚焦于一种更弱的形式约束,即平面性。在理论方面,我们给出了平面性的一种刻画;给定一个句子,该刻画或者产生平面排列的数量,或者提供一种高效算法,用于生成均匀随机的词的平面排列。我们还展示了平面排列中的期望和与投影排列中的期望和之间的关系。在应用方面,我们推导出一种 O(n) 时间算法,用于计算边长总和的期望值。我们还将该研究应用于一个平行语料库,发现实际依存距离与随机基线之间的差距会随着依存结构上形式约束强度的增加而缩小,这表明形式约束吸收了部分依存距离最小化效应。我们的研究为使用随机平面线性化作为随机基线来复现以往关于依存距离最小化的研究铺平了道路。

英文摘要:

Dependency trees have proven to be a very successful model to represent the syntactic structure of sentences of human languages. In these structures, vertices are words and edges connect syntactically-dependent words. The tendency of these dependencies to be short has been demonstrated using random baselines for the sum of the lengths of the edges or its variants. A ubiquitous baseline is the expected sum in projective orderings (wherein edges do not cross and the root word of the sentence is not covered by any edge), that can be computed in time $O(n)$. Here we focus on a weaker formal constraint, namely planarity. In the theoretical domain, we present a characterization of planarity that, given a sentence, yields either the number of planar permutations or an efficient algorithm to generate uniformly random planar permutations of the words. We also show the relationship between the expected sum in planar arrangements and the expected sum in projective arrangements. In the domain of applications, we derive a $O(n)$-time algorithm to calculate the expected value of the sum of edge lengths. We also apply this research to a parallel corpus and find that the gap between actual dependency distance and the random baseline reduces as the strength of the formal constraint on dependency structures increases, suggesting that formal constraints absorb part of the dependency distance minimization effect. Our research paves the way for replicating past research on dependency distance minimization using random planar linearizations as random baseline.

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

↑