The expected sum of edge lengths in planar linearizations of trees

Authors

Keywords:

dependency grammar, projectivity, planarity, syntactic dependency distance minimization

Abstract

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 syntacticallydependent 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 their 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.

DOI:

https://doi.org/10.15398/jlm.v12i1.362

Full article

Published

2024-02-27

How to Cite

Alemany-Puig, L., & Ferrer-i-Cancho, R. (2024). The expected sum of edge lengths in planar linearizations of trees. Journal of Language Modelling, 12(1), 1–42. https://doi.org/10.15398/jlm.v12i1.362

Issue

Section

Articles