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

树随机射影线性化中边长度期望和的线性时间计算

Linear-time calculation of the expected sum of edge lengths in random projective linearizations of trees

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

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

AI总结:

本文提出线性时间公式精确计算句子随机射影排列中依存距离总和的期望值,替代高成本蒙特卡洛近似,并证明星形树最大化该值且给出最小化树的算法。

摘要:

句子的句法结构通常用句法依存树来表示。在过去几十年中,句法相关词之间距离之和一直备受关注。对依存距离的研究促成了依存距离最小化原则的提出,即句子中的词按顺序排列以最小化该总和。为开展相关语言定量研究,人们定义了许多随机基线。最简单的随机基线是句子中词在无约束随机排列(即允许句子的所有词洗牌且等概率)时总和的期望值。这里我们关注一个流行的基线:句子词的随机射影排列,即句法依存结构为射影式的排列,这是句子在语言中经常满足的一种形式约束。迄今为止,句子随机射影洗牌中依存距离总和的期望值是通过蒙特卡洛过程近似估计的,其成本约为$Rn$,其中$n$是句子的词数,$R$是样本数;众所周知,$R$越大,估计误差越低,但时间成本越大。这里我们提出公式,以$n$阶时间无误差地计算该期望值。此外,我们证明星形树使其最大化,并给出检索使其最小化的树的算法。

英文摘要:

The syntactic structure of a sentence is often represented using syntactic dependency trees. The sum of the distances between syntactically related words has been in the limelight for the past decades. Research on dependency distances led to the formulation of the principle of dependency distance minimization whereby words in sentences are ordered so as to minimize that sum. Numerous random baselines have been defined to carry out related quantitative studies on languages. The simplest random baseline is the expected value of the sum in unconstrained random permutations of the words in the sentence, namely when all the shufflings of the words of a sentence are allowed and equally likely. Here we focus on a popular baseline: random projective permutations of the words of the sentence, that is, permutations where the syntactic dependency structure is projective, a formal constraint that sentences satisfy often in languages. Thus far, the expectation of the sum of dependency distances in random projective shufflings of a sentence has been estimated approximately with a Monte Carlo procedure whose cost is of the order of $Rn$, where $n$ is the number of words of the sentence and $R$ is the number of samples; it is well known that the larger $R$, the lower the error of the estimation but the larger the time cost. Here we present formulae to compute that expectation without error in time of the order of $n$. Furthermore, we show that star trees maximize it, and give an algorithm to retrieve the trees that minimize it.

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

↑