Definitioncore
Projective dependency tree
Also called projectivity.
A dependency tree in which every word between a head and its dependent is a descendant of that head, so arcs drawn above do not cross.
A dependency tree is projective when each head dominates all the words between itself and each of its dependents. Drawn with the root at the left edge and every arc above the words, a projective tree has no two crossing arcs. In a projective tree every subtree covers a contiguous block of words, as a phrase does in a parse tree. Projectivity is what makes the cubic Eisner algorithm and the stack-based transition systems (arc-standard, arc-eager, arc-hybrid) work, and the parsers that drop it, MST parsing and the swap system, are built around its absence.
Definition
Take a sentence with the artificial root at the left edge, and a dependency tree with head function . A word dominates a word when is on the chain ; every word dominates itself and the root dominates every word. The root may have one child or several; projectivity does not depend on that choice.
Projective arc. An arc is projective if dominates every word strictly between and , that is, with .
Projective tree. A tree is projective if every one of its arcs is projective.
Crossing form. Two arcs and cross if exactly one endpoint of each lies strictly between the endpoints of the other, that is, after renaming, . A tree is projective exactly when no two of its arcs cross, with the root at position 0 and its arcs drawn too.
Proof of the equivalence. Suppose two arcs cross, with positions , the first arc joining and and the second joining and . If the tree were projective, the head of the first arc would dominate and the head of the second arc would dominate . If the first head is , then is a child of , and is below . If the second head is , then dominates , so is on the chain from the child up to its head , which holds only and ; impossible. If the second head is , then is a child of and dominates , hence also dominates its head , while dominates and hence its head ; two distinct words cannot dominate each other. The case where the first head is is the same with the roles of the two arcs exchanged. So a projective tree has no crossing arcs.
Conversely, let the arc be not projective, with a word strictly between and that does not dominate. Then , because 0 dominates every word. Follow the chain of heads from to 0. It never meets , and it never meets , because dominates everything that dominates. It starts strictly inside the interval between and and ends at 0, which is to the left of the interval. So one arc of the chain joins a word strictly inside to a word strictly outside, and that arc crosses .
Two more equivalent forms. A tree is projective exactly when the yield of every word (its subtree) is a contiguous interval of positions. It is also projective exactly when the inorder traversal that visits, at each node, the subtrees of its left dependents, then the node, then the subtrees of its right dependents (each group in word order) lists the positions in order. Nivre (2009) calls the order of this traversal the projective order of the tree; the swap system sorts the words into it.
Examples and non-examples
Projective. the cat sat on the mat with the head list [-1, 2, 3, 0, 6, 6, 3]. Every subtree is an interval: the cat (1 to 2), on the mat (4 to 6), and the whole sentence under sat.
Not projective. A hearing is scheduled on the issue today with the head list [-1, 2, 3, 0, 3, 2, 7, 5, 4]. The arc from hearing (2) to on (5) passes over is (3), which hearing does not dominate. This arc does not cross the arc from is (3) to scheduled (4), because that arc is nested inside it. It crosses the arc from scheduled (4) to today (8), since , and the arc from the root to is, since . The yield of hearing is , which has a gap.
Why the root arc counts. The head list [-1, 3, 0, 2] has the arcs , and . Among the words alone, the arcs and are nested and do not cross. But the arc passes over word 2, which is the head of 3, not a descendant. With the root at position 0, the arcs and cross, since . A test that forgets the root arcs accepts this tree by mistake.
Counts. Over words, the projective trees number 1, 3, 12, 55, 273 for to 5, and 1428, 7752, 43263, 246675, 1430715 for to 10. With exactly one child of the root they number 1, 2, 7, 30, 143 for to 5. The tests of the Eisner page compute these numbers with the counting semiring and check the small ones against a search over all trees. At only 273 of the 1296 trees are projective, about 21 percent, and the fraction keeps falling as grows.
Converted treebanks. A constituency tree with contiguous phrases, converted to dependencies by head rules, always gives a projective tree: each phrase becomes the yield of its head word, and the phrases are intervals. Non-projective arcs in such a treebank can only come from other information in the original annotation, such as traces, not from the head rules.
Related definitions
- Dependency tree: the general structure, with crossing arcs allowed.
- Eisner algorithm: finds the best projective tree under arc scores in time, by building the intervals of the third equivalent form.
- Arc-standard, arc-eager and arc-hybrid parsing: each of these transition systems builds exactly the projective trees.
- Swap transition system and MST dependency parsing: build trees that need not be projective.
- Catalan numbers: another family of non-crossing structures; they count, for example, the binary bracketings of a sentence, which is the corresponding count for constituency trees.
- Weaker conditions studied in the literature, such as bounded gap degree and well-nestedness, allow some crossing arcs but keep polynomial parsing.
References
- Sandra Kübler, Ryan McDonald and Joakim Nivre, Dependency Parsing, Synthesis Lectures on Human Language Technologies, Morgan and Claypool, 2009, Chapter 2, Dependency Parsing (the definition of projectivity and its relation to crossing arcs)
- Joakim Nivre, Algorithms for deterministic incremental dependency parsing, Computational Linguistics 34(4), 513-553, 2008, the definition of projective dependency trees and the proofs that the stack-based systems build exactly the projective trees
- Joakim Nivre, Non-projective dependency parsing in expected linear time, ACL-IJCNLP 2009, the projective order of a tree, defined by an inorder traversal, which the swap oracle uses
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag R21EJV Edit this page History Report an error Markdown