Linear-Time Calculation of the Expected Sum of Edge Lengths in Random Projective Linearizations of Trees

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


Abstract
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 lan- guages. 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 per- mutations 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 is, the lower the error of the estimation but the larger the time cost. Here we pre- sent formulae to compute that expectation without error in time of the order of n. Furthermore, we show that star trees maximize it, and provide an algorithm to retrieve the trees that minimize it.
Anthology ID:
2022.cl-3.1
Volume:
Computational Linguistics, Volume 48, Issue 3 - September 2022
Month:
September
Year:
2022
Address:
Cambridge, MA
Venue:
CL
SIG:
Publisher:
MIT Press
Note:
Pages:
491–516
Language:
URL:
https://aclanthology.org/2022.cl-3.1
DOI:
10.1162/coli_a_00442
Bibkey:
Cite (ACL):
Lluís Alemany-Puig and Ramon Ferrer-i-Cancho. 2022. Linear-Time Calculation of the Expected Sum of Edge Lengths in Random Projective Linearizations of Trees. Computational Linguistics, 48(3):491–516.
Cite (Informal):
Linear-Time Calculation of the Expected Sum of Edge Lengths in Random Projective Linearizations of Trees (Alemany-Puig & Ferrer-i-Cancho, CL 2022)
Copy Citation:
PDF:
https://aclanthology.org/2022.cl-3.1.pdf