Dependency Syntax and Universal Dependencies › Projectivity

Michael BrenndoerferMay 5, 20254 min read
Language AI HandbookAll chapters
Part 7 of 67Linguistic Form: Morphology and Syntax
Chapter 47Dependency Syntax and Universal Dependencies › Projectivity
Reading section 5 of 13 · Projectivity · 4 minSection 5 of 13 · 4 min

Section 5 of 13 · 4 min read

Dependency Syntax and Universal Dependencies › ProjectivitySection view · Sections in this chapter5 / 13 ↓
Reading tools Definitions, links & notes

Choose your expertise level to adjust how many terms are explained. Beginners see more tooltips, experts see fewer to maintain reading flow. Hover over underlined terms for instant definitions.

Article links

Make inline references clickable

Notes & comments

Not every tree can be drawn without crossing arcs. Projectivity is the geometric constraint that rules out crossers. It is a property of the tree relative to the surface order of the words, so it is sensitive to word order even though the dependency relations themselves may be stable across word order changes.

Crossing Arcs

Place the words of a valid basic tree on a horizontal line, with artificial node 0 to their left and its arc included. The tree is projective exactly when it admits an above-line drawing without crossing arcs. Here a crossing means strictly interleaved distinct endpoints, such as a<c<b<da<c<b<d for arcs joining aa to bb and cc to dd; shared endpoints are not crossings. Omitting the artificial-root arc can hide a violation, so the descendant test below is the safer definition.

Projectivity

An arc (h,d,ℓ)(h, d, \ell) with h≠0h \neq 0 is projective if for every token kk with min⁡(h,d)<k<max⁡(h,d)\min(h,d) < k < \max(h,d), token kk is a descendant of hh (equivalently, kk is in the subtree rooted at hh). A dependency tree is projective if all its arcs are projective.

In plain language: the arc from hh to dd is projective if every word between hh and dd is governed (directly or indirectly) by hh. If it spans a word outside hh's subtree, a crossing is unavoidable when the artificial-root arc is included. The test concerns the whole subtree, rather than just each intervening word's immediate head.

This definition is worth reading slowly, because it is easy to confuse projectivity with a simpler condition such as "the head and dependent are adjacent." Adjacency is not required. An arc can span many words and still be projective, as long as all of the words it spans belong to the head's subtree. What projectivity forbids is an arc that reaches over a word that is not under the head's control.

A Non-Projective Example

Consider the sentence:

I saw a dog yesterday which was a Yorkshire Terrier.

The relative clause which was a Yorkshire Terrier modifies dog. In UD, the root of the relative clause (Terrier, with which as its nsubj and was as its cop) attaches to dog as acl:relcl. That arc goes from token 4 (dog) to token 10 (Terrier), spanning tokens 5 through 9. Only token 5, yesterday, is outside the subtree rooted at dog: it depends on saw. Tokens 6 through 9 belong to the relative clause headed by Terrier, which is itself a dependent of dog. One outside word is enough to violate the condition. So the arc from dog to Terrier is non-projective.

The example adapts the non-projective sentence in McDonald and Pereira (2006), Figure 2, using I in place of John and supplying UD labels here. It illustrates extraposition rather than a corpus frequency. Its non-projectivity follows from this particular attachment and word order. Moving yesterday outside the span of the relative-clause attachment would remove this particular violation without changing the clause's head-dependent relation.

Projectivity Depends on the Analysis and Word Order

Non-projectivity can arise when a dependent is separated from its head by material outside that head's subtree. The extraposed relative clause above is one such analysis. Different languages, genres, word orders, and annotation conventions can yield different amounts of non-projectivity, so a rate should always name its treebank release, the included sentences, and whether the denominator is words, arcs, or sentences. The three hand-written analyses in this chapter demonstrate structural possibilities; they do not estimate a language's frequency.

Why Projectivity Matters

Projectivity restricts the trees that a parser is allowed to produce. A system restricted to projective outputs cannot recover our non-projective analysis exactly, even if its word representations are excellent. It must change at least one attachment. The next chapter studies how decoding algorithms enforce or relax this constraint.

The computational trade-off depends on the scoring model, rather than on a general rule that non-projective parsing is slower. Under an arc-factored score, a tree's score is the sum of its individual arc scores. Projective and unrestricted decoding then become different constrained optimization problems. For a fixed set of candidate trees, interactions among selected arcs change the score's factorization when their combined contribution cannot be reduced to individual arc scores plus a constant shared by all candidates. The effect on decoding depends on the interaction structure. We will keep those algorithms separate from the representation and annotation rules developed here.

Comments

Add to the conversation

A question, a correction, or an example from your own work.

No comments yet. Be the first to share your thoughts!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy