---
title: "Universal Dependency Parsing from Scratch — Qi 2018"
description: "Universal Dependency Parsing from Scratch follows raw text through a multilingual parsing pipeline and measures how earlier decisions…"
canonical: "https://research.elamur.ai/free/en/papers/qi-2018-universal-dependency-parsing-scratch/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · [Dictionary](https://md.dictionary.elamur.ai/free/en/) · [Translate](https://md.translate.elamur.ai/free/en/) · **Research** · [Gali](https://md.gali.elamur.ai/free/en/) · [MCP](https://mcp.elamur.ai/) · [Locations](https://md.locations.elamur.ai/free/en/) · [Weather](https://md.weather.elamur.ai/free/en/) · [Constitution](https://md.constitution.elamur.ai/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/qi-2018-universal-dependency-parsing-scratch/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2018](https://md.research.elamur.ai/free/en/papers/2018/) / Universal Dependency Parsing from Scratch

# Universal Dependency Parsing from Scratch

Paper · 2018 · Peng Qi, Timothy Dozat, Yuhao Zhang et al.

**Authors:** [Peng Qi](https://md.research.elamur.ai/free/en/authors/peng-qi/), [Timothy Dozat](https://md.research.elamur.ai/free/en/authors/timothy-dozat/), [Yuhao Zhang](https://md.research.elamur.ai/free/en/authors/yuhao-zhang/) and [Christopher D. Manning](https://md.research.elamur.ai/free/en/authors/christopher-d-manning/) · **Year:** 2018 · **Venue:** Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies · **Licence:** [CC BY 4.0 (ACL Anthology)](https://creativecommons.org/licenses/by/4.0/)

[**259** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W2899024931) · [Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies](https://aclanthology.org/volumes/K18-2/) · [licence](https://creativecommons.org/licenses/by/4.0/)

- [Publisher's page](https://aclanthology.org/K18-2016/)
- [PDF](https://aclanthology.org/K18-2016.pdf)
- [DOI 10.18653/v1/k18-2016](https://doi.org/10.18653/v1/k18-2016)
- [arXiv 1901.10457](https://arxiv.org/abs/1901.10457)
- [OpenAlex](https://openalex.org/W2899024931)

Citations: OpenAlex, 2026-10-14.

## Summary

A parser can attach a word to the right head only after the system has decided what the words are and which sentence they belong to. Universal Dependency Parsing from Scratch studies that broader problem. For the CoNLL 2018 shared task, the authors built a system that starts with raw text and produces [Universal Dependencies](https://md.research.elamur.ai/free/en/concepts/universal-dependencies/) annotations in CoNLL-U format. The output includes sentence boundaries, syntactic words, grammatical tags, base forms and a labeled tree for each sentence. This setup evaluates [dependency parsing](https://md.research.elamur.ai/free/en/concepts/dependency-parsing/) under the conditions in which the parser actually has to use the preceding stages’ predictions.

The pipeline begins with [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/) and sentence segmentation. A bidirectional recurrent network labels characters, or syllable-like units in Vietnamese, while a convolution picks up local patterns. A gate between recurrent layers lets likely token boundaries carry more information forward. When a surface token contains multiple syntactic words, an expansion stage tries a dictionary before generating the underlying words character by character. The [part-of-speech tagger](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) uses its universal tag prediction to help choose the language-specific tag and [morphological features](https://md.research.elamur.ai/free/en/concepts/morphology/). For [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/), dictionaries cover familiar forms, while an edit classifier can copy or lower-case an unfamiliar form before the system resorts to character generation. The final parser extends an earlier Stanford design with separate scores for the order and distance of a prospective head and dependent.

The submitted system was competitive on large [treebanks](https://md.research.elamur.ai/free/en/topics/treebanks/), especially on morphological features and on the attachment measure that incorporates them. A preprocessing mistake had made sentence boundaries unusually easy to infer from line breaks in the training material for low-resource treebanks. The signal did not generalize. In a verified but unofficial evaluation after repairing the preprocessing and replacing the tokenizer, the system would have placed 2nd on labeled attachment score (LAS), 1st on morphology-aware labeled attachment score (MLAS) and 3rd on bilexical dependency score (BLEX) across all treebanks. On the low-resource group, the corrected system surpassed all official submissions on the official metrics by a wide margin.

The component comparisons show where these choices mattered. Neural expansion improved syntactic word recovery particularly in Hebrew and Arabic. Predicting grammatical tags in relation to one another improved how frequently they were correct together. The lemmatizer gained from combining dictionaries with character-based prediction, and its edit shortcuts helped most in the low-resource group. Both positional terms contributed to parsing, with a larger contribution from distance. Replacing predicted inputs with reference annotations showed that better tags help attachment and that better lemmas especially help BLEX. It also exposed substantial parsing errors even when every upstream annotation was supplied. The authors made their implementation public.

## Deep dive: Universal Dependency Parsing from Scratch

Universal Dependency Parsing from Scratch follows raw text through a multilingual parsing pipeline and measures how earlier decisions affect the final tree. · about 43 minutes to read

**In this deep dive**

1. [The problem and its context](#dd-the-problem-and-its-context)
2. [The method, step by step](#dd-the-method-step-by-step)
3. [Experiments and results](#dd-experiments-and-results)
4. [What the ablations show](#dd-what-the-ablations-show)
5. [Limitations](#dd-limitations)
6. [What came after](#dd-what-came-after)

### The problem and its context

#### The parser needs a sentence first

A dependency tree describes a sentence through directed relationships between its words. A dependent is the word being attached, a head is the word it attaches to, and the relation label describes the grammatical role of that attachment. The collection of head choices must form a tree. Deciding on a plausible head for a word in isolation is therefore part of the task. The choices must also make sense as a structure for the whole sentence.

Raw text supplies much less of that structure than a parser normally consumes. A period might close a sentence or belong to an abbreviation. A stretch of text that looks like a single token might have to become several syntactic words. The paper gives the German form *im*, which expands to *in dem*. The original spelling has to be recognized as a token, but the dependency analysis needs the words it contains. A system that misses that distinction gives the parser a different set of words to connect.

Boundaries, tags and lemmas address different questions. A sentence boundary decides which words can belong to the same tree. A token or word boundary decides which stretches of text receive annotations. A universal part-of-speech tag describes a word’s broad grammatical category, while a language-specific tag can carry distinctions particular to a treebank’s tagging convention. Morphological features add grammatical information about a word form. A [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/) records the base form associated with the word in context. CoNLL-U is the format in which the shared task brings these layers together.

These distinctions explain why the starting point of a parsing experiment matters. With reference sentence boundaries, the parser can assume that a head will be sought within the correct span. With predicted boundaries, it may be given a fragment or a span containing material from different sentences. With reference words, every expected node is present. With predicted words, an expansion error may leave a node missing before attachment scoring even starts. Evaluating from raw text makes the reliability of these decisions part of the result.

#### Why the authors evaluate the whole pipeline

The paper presents [semantic role labeling](https://md.research.elamur.ai/free/en/concepts/semantic-role-labeling/), relation extraction and machine translation as applications that can use dependency structure. In that context, automatically produced annotations matter because an application has to work with parsing outputs as they are delivered. A controlled experiment with accurate preprocessing can isolate the decision made by a parser. A raw-text experiment answers the complementary question of how much of the desired analysis survives when preprocessing has to be predicted as well. [Graph Convolution over Pruned Dependency Trees](https://md.research.elamur.ai/free/en/papers/zhang-2018-graph-convolution-over-pruned-dependency/), [Syntax-Aware Neural Machine Translation](https://md.research.elamur.ai/free/en/papers/chen-2017-improved-neural-machine-translation-syntax/) and [Encoding Sentences with Graph Convolutional Networks](https://md.research.elamur.ai/free/en/papers/marcheggiani-2017-encoding-sentences-graph-convolutional-networks/).

The authors characterize earlier dependency parsing research as concentrating mainly on the parser itself. They point to tokenization and lemmatization as examples of work that can be left outside the parsing experiment even though automatic systems still make errors there. The earlier CoNLL shared task gives the context for this observation. The CoNLL 2018 task, for which the system was built, demanded a complete analysis starting from raw input. A submission therefore needed both an attachment scorer and a procedure for producing all the annotations on which it depended. [CoNLL 2017 Shared Task](https://md.research.elamur.ai/free/en/papers/zeman-2017-conll-2017-shared-task-multilingual/).

The paper builds on Stanford’s previous shared-task tagger and graph-based parser. A graph-based parser scores possible connections between words and uses those scores to select a tree. The earlier scoring architecture lets a recurrent network encode the words in context and projects those representations into separate roles for potential heads and dependents. That architecture can learn about position through the recurrent states. The authors’ extension gives the scorer direct information about the relative positions of the words it considers connecting. The tagger extension addresses a different kind of relationship, between predictions made for the same word. [Stanford’s Graph-based Neural Dependency Parser](https://md.research.elamur.ai/free/en/papers/dozat-2017-stanford-s-graph-based-neural/).

The authors chose a pipeline partly because it let them develop components in parallel and tune them more quickly within the shared task. This organization also makes interventions easy to interpret. The authors can replace a tokenizer while keeping later stages fixed, or supply reference tags and see what the parser does with them. The tradeoff is that decisions cross stage boundaries in a fixed direction. Once the tokenizer commits to a sentence, a later attachment decision cannot revise that boundary in the architecture described here. Each experiment therefore has to make clear which inputs are assumed and which are being predicted.

### The method, step by step

The system moves from text units to tokens, then from tokens to the words that carry grammatical annotations. It assigns tags before looking up or generating lemmas, because the universal part-of-speech tag can help determine a lemma. The parser receives the sentence after these annotations have been assigned. It scores possible heads, assembles a tree and labels the chosen edges.

From raw text to labeled dependency trees The steps in order.

#### Finding token and sentence endings

For most languages, the system labels individual characters. In Vietnamese, it works with syllable-like units defined from runs of letters or digits, or individual symbols, together with any preceding whitespace. The change concerns what occupies a position in the input sequence. The output decisions still concern the end of a token, the end of a sentence and whether a token needs expansion.

The decision at each position is hierarchical. First the system scores whether a token ends there. At an ending, the system also scores sentence closure and multi-word status. The latter decisions give the four types of ending. EOT closes an ordinary token within a sentence, EOS closes an ordinary token at a sentence boundary, MWT closes a token that needs expansion within a sentence, and MWS closes a token that both needs expansion and ends the sentence. OTHER covers positions at which a token continues. Sentence closure and multi-word status can thus be predicted together without requiring separate passes over the text.

Each input vector combines a trainable [embedding](https://md.research.elamur.ai/free/en/concepts/word-embeddings/) for the unit with binary indicators. The indicators record leading whitespace, an initial capital, whether the unit is entirely capitalized and whether it is made up exclusively of digits. They expose patterns the network can use even when the identity of a unit alone provides little evidence. The first recurrent layer looks in both directions, so the representation at a position incorporates information from what precedes and follows it.

```
h₁ᴿᴺᴺ = [→h₁, ←h₁] = BiLSTM₁(x)
```

Here `x` is the sequence of input-unit representations. `BiLSTM₁` is the first bidirectional long short-term memory layer, a recurrent network that processes the sequence in both directions. The arrows identify the forward and backward hidden states, `h₁` with the corresponding arrow. Brackets concatenate them at each position. The result `h₁ᴿᴺᴺ` is the sequence from the recurrent branch.

```
h₁ᶜᴺᴺ = CNN(x)
```

Here `CNN` is the convolutional network, `x` is the same unit sequence, and `h₁ᶜᴺᴺ` is the sequence of outputs from the convolutional branch. This branch uses filters over a local window and a hidden layer with a rectified linear activation, or ReLU, which keeps positive activations and sets negative ones to zero.

```
h₁ = h₁ᴿᴺᴺ + h₁ᶜᴺᴺ
```

The recurrent output `h₁ᴿᴺᴺ` and convolutional output `h₁ᶜᴺᴺ` are added at corresponding positions to give `h₁`, the combined first-layer representation. The authors liken this additive path to a residual connection. The recurrent path can supply broader context, while the convolutional branch can raise the prominence of a nearby pattern. [Deep Residual Learning](https://md.research.elamur.ai/free/en/papers/he-2015-deep-residual-learning-image-recognition/).

```
[s₁⁽ᵗᵒᵏ⁾, s₁⁽ˢᵉⁿᵗ⁾, s₁⁽ᴹᵂᵀ⁾] = W₁ h₁
```

The three `s₁` quantities are sequences of first-layer scores. The superscripts `tok`, `sent` and `MWT` distinguish token closure, sentence closure and multi-word status. `W₁` denotes the first affine classifier applied to the combined states `h₁`. As in the paper’s equations, separate bias terms are left implicit here. These scores contribute to the final prediction, and the score for token closure has a second use.

```
g₁ = h₁ ⊙ σ(s₁⁽ᵗᵒᵏ⁾)
```

The gate produces the sequence `g₁` from the combined states `h₁`. The function `σ` is the logistic sigmoid, which maps the token-ending score `s₁⁽ᵗᵒᵏ⁾` to a value between zero and one for each position. The symbol `⊙` denotes elementwise multiplication, with the same gate value applied to each dimension of the state at that position. A likely ending passes more of its representation to the next layer.

```
h₂ = [→h₂, ←h₂] = BiLSTM₂(g₁)
```

`BiLSTM₂` is the second bidirectional recurrent layer. It reads the gated sequence `g₁`, concatenates its own forward and backward states at each position, and yields `h₂`. The arrows and brackets have the same meanings as for the first layer. Because the gate is continuous, the upper layer still receives a sequence indexed by the original units. It can emphasize probable token boundaries while retaining a differentiable path through both layers.

```
[s₂⁽ᵗᵒᵏ⁾, s₂⁽ˢᵉⁿᵗ⁾, s₂⁽ᴹᵂᵀ⁾] = W₂ h₂
```

The second affine classifier `W₂` maps `h₂` to the three sequences of upper-layer scores `s₂`. Their superscripts identify the same decisions as in the first layer. The authors sum the two layers’ scores before calculating probabilities.

```
s⁽ˣ⁾ = s₁⁽ˣ⁾ + s₂⁽ˣ⁾,  X ∈ {tok, sent, MWT}
```

Here `X` is the decision type, and the superscript on `s`, `s₁` and `s₂` marks that type. The first- and second-layer scores, `s₁` and `s₂`, are added at each position to obtain `s`. The symbol `∈` means that `X` is drawn from the set in braces.

```
p(εₜ, εₛ, εₘ) = σ(εₜ s⁽ᵗᵒᵏ⁾) σ(εₛ s⁽ˢᵉⁿᵗ⁾) σ(εₘ s⁽ᴹᵂᵀ⁾)
```

`p` denotes the product of the probabilities for the indicated outcomes. Each `ε` selects a positive or negative sign. Its subscript refers to the token, sentence or multi-word decision, respectively. The `s` terms are the summed scores at the current position, and `σ` is again the logistic sigmoid. A positive sign means taking the probability for the decision being true, and a negative sign takes the complementary probability.

```
(p_EOT, p_EOS, p_MWT, p_MWS) = (p(+,-,-), p(+,+,-), p(+,-,+), p(+,+,+))
```

The `p` terms on the left are the probabilities of the four ending labels. The signs on the right are ordered by token closure, sentence closure and multi-word status. Every ending requires a positive token decision. The remaining signs distinguish an ordinary ending, sentence closure, multi-word status and the combination of the two.

```
p_OTHER = σ(−s⁽ᵗᵒᵏ⁾)
```

`p_OTHER` is the probability that no token ends at this unit. It depends only on the negative of the summed token-ending score `s⁽ᵗᵒᵏ⁾`, transformed by the sigmoid `σ`. This is the whole probability of continuing a token, regardless of what the other scores would favor. The authors train the tokenizer using cross-entropy, which penalizes it when it assigns low probability to a reference label.

The gated layer is motivated by cases in which the useful evidence extends beyond the immediate characters. The dot following an abbreviation can look locally like a sentence boundary. The French form *des* is the paper’s example of ambiguity about multi-word status. The lower recurrent layer and the convolution can represent the text near such a candidate. The upper layer receives states weighted towards possible token endings, giving it access to a sequence in which likely boundaries stand out. The system learns how much to use those states through the boundary prediction objective.

#### Expanding a surface token into syntactic words

Once the tokenizer has marked a token for expansion, the next stage has to produce its component words. For each surface token, the dictionary stores the expansion with the highest count for that token in the training set. The words in stored expansions are lower-cased. At evaluation, the system tries the original input token as a dictionary key, then tries its lower-case form. The first successful lookup determines the output.

This procedure is well suited to recurrent forms such as the paper’s German example. It can also handle familiar tokens in a language with more varied expansions. The dictionary’s coverage depends on the forms observed in training. For Arabic and Hebrew, the paper emphasizes the variety associated with clitics, grammatical elements that can be written together with another form. A character-based generator can attempt an expansion when neither lookup finds an entry.

The generator treats the token as a character sequence `x₁, …, xᵢ, …, xᴵ`, where `i` indexes a position and `I` is the source length. Similarly, the output sequence consists of `y₁, …, yⱼ, …, yⱼ` with the final position conventionally indexed by `J`. Its characters include spaces to separate syntactic words. The encoder reads the input in both directions. The decoder produces the output in order and uses attention to consult different input positions as it goes. [Neural Machine Translation with Learned Alignment](https://md.research.elamur.ai/free/en/papers/bahdanau-2014-neural-machine-translation-jointly-learning/).

```
hⱼᵈᵉᶜ = LSTM_dec(E[yⱼ₋₁], hⱼ₋₁ᵈᵉᶜ)
```

`j` is the current output position. `hⱼᵈᵉᶜ` is the decoder’s current hidden state, and `hⱼ₋₁ᵈᵉᶜ` is its previous state. `LSTM_dec` denotes the decoder’s recurrent update. It uses the embedding of the previous output character `yⱼ₋₁`, retrieved from the shared character embedding matrix `E`. The previous character for the first step is the start symbol `y₀`. The initial decoder state `h₀ᵈᵉᶜ` is the concatenation of the encoder’s final states in its forward and backward directions.

```
αᵢⱼ ∝ exp(uαᵀ tanh(Wα [hⱼᵈᵉᶜ, hᵢᵉⁿᶜ]))
```

Here `αᵢⱼ` is the attention weight assigned to input position `i` at output step `j`. The current decoder state `hⱼᵈᵉᶜ` is concatenated with the encoder state `hᵢᵉⁿᶜ` at the candidate position. `Wα` is a learned weight matrix, `tanh` is the hyperbolic tangent activation, and `uαᵀ` is a learned vector transposed to yield a scalar score. Exponentiation, written `exp`, gives the positive quantity to which the attention weight is proportional, as indicated by `∝`. The weights are normalized over input positions for the current output step.

```
cⱼ = ∑ᵢ αᵢⱼ hᵢᵉⁿᶜ
```

`cⱼ` is the context vector for step `j`. The summation symbol `∑ᵢ` ranges over source positions `i`. Each encoder state `hᵢᵉⁿᶜ` contributes according to its attention weight `αᵢⱼ`. The result can concentrate on different characters as the decoder moves through the expansion.

```
P(yⱼ = w | y<ⱼ) ∝ u_wᵀ tanh(W [hⱼᵈᵉᶜ, cⱼ])
```

`P` denotes the probability of outputting character `w` at position `j` conditional on `y<ⱼ`, the preceding output characters. The vertical bar denotes conditioning. The bracketed expression combines the current decoder state `hⱼᵈᵉᶜ` and attention context `cⱼ`. `W` is a learned matrix for the output transformation, `tanh` is its activation, and `u_wᵀ` is the transposed learned vector associated with vocabulary character `w`. The expression on the right is written as a proportional score in the paper. It gives the character-specific scoring transformation without spelling out a separate output normalization.

The neural generator and dictionary are prepared separately. Search through character sequences is reserved for dictionary misses. As the generator operates on the token’s characters, it can propose new expansions, including word boundaries, for spellings without a stored entry. The decision that a token should be expanded has already been made by the contextual tokenizer. The generator described here receives the token itself, while the dictionary commits to the expansion most frequently associated with the matching key.

#### Predicting grammatical tags that agree

The tagger predicts UPOS, the universal part-of-speech tag, XPOS, the language-specific part-of-speech tag, and UFeats, the morphological features. These annotations describe the same word and can carry related evidence. The paper gives a possible mismatch between a universal verb category and a language-specific noun tag. Shared sentence representations can help the tasks use some of the same evidence. The authors also let the XPOS and UFeats scorers directly use the chosen UPOS tag.

The input for each syntactic word concatenates a pretrained word vector, a trainable frequent-word vector and a representation computed from its characters. The pretrained vectors come from the task’s word2vec resources when available, and from fastText otherwise. Forms that appear seven or more times in the training set use the trainable word representation. The character representation is computed by a recurrent layer that reads the word in a single direction. Together the inputs let the tagger use learned lexical information and the spelling of the current word. [Distributed Representations of Words and Phrases](https://md.research.elamur.ai/free/en/papers/mikolov-2013-distributed-representations-words-phrases-their/) and [Enriching Word Vectors with Subword Information](https://md.research.elamur.ai/free/en/papers/bojanowski-2017-enriching-word-vectors-subword-information/).

A highway bidirectional recurrent network then reads the sentence. Highway connections let a layer pass information through or transform it, in proportions learned by the network. Here the recurrent sentence states provide the contextual evidence from which each task derives its features. Prediction starts with UPOS. [Highway Networks](https://md.research.elamur.ai/free/en/papers/srivastava-2015-highway-networks/).

```
hᵢ = BiLSTMᵢ⁽ᵗᵃᵍ⁾(x₁, …, xₙ)
```

`x₁, …, xₙ` are the input word vectors for a sentence of length `n`. The superscript `tag` identifies the tagger’s BiLSTM. Its subscript `i` selects the output at word position `i`, giving the contextual state `hᵢ`.

```
vᵢ⁽ᵘ⁾ = FC⁽ᵘ⁾(hᵢ)
```

`FC⁽ᵘ⁾` is a fully connected layer for UPOS, identified by `u`. It transforms the contextual state `hᵢ` into `vᵢ⁽ᵘ⁾`, the representation used specifically for the universal tag decision.

```
P(yᵢₖ⁽ᵘ⁾ | X) = softmaxₖ(W⁽ᵘ⁾ vᵢ⁽ᵘ⁾)
```

`P` is the probability of the universal tag outcome `yᵢₖ⁽ᵘ⁾` at word `i` for candidate tag `k`, conditioned on the input sentence `X`. The matrix `W⁽ᵘ⁾` scores the tags from the UPOS representation `vᵢ⁽ᵘ⁾`. `softmaxₖ` exponentiates and normalizes the whole set of candidate scores and takes the probability for `k`.

The XPOS classifier gets a separate transformation of the same contextual state. Its other input is the embedding of the chosen UPOS tag. During training that tag comes from the reference annotation. At inference the system uses its own UPOS prediction. A biaffine scorer lets the weight given to a feature of the word depend on the UPOS embedding. This gives the classifier a direct means of learning different preferences for the same contextual features under different universal tags.

```
vᵢ⁽ˣ⁾ = FC⁽ˣ⁾(hᵢ)
```

`FC⁽ˣ⁾` is the fully connected transformation for XPOS, marked by `x`. It maps the word’s recurrent state `hᵢ` to the task-specific vector `vᵢ⁽ˣ⁾`.

```
sᵢ⁽ˣ⁾ = [E⁽ᵘ⁾[yᵢ*⁽ᵘ⁾], 1]ᵀ U⁽ˣ⁾ [vᵢ⁽ˣ⁾, 1]
```

`sᵢ⁽ˣ⁾` is the vector of XPOS scores for position `i`. `E⁽ᵘ⁾` is the UPOS embedding matrix, indexed by `yᵢ*⁽ᵘ⁾`, the reference or predicted universal tag as appropriate to the phase. `vᵢ⁽ˣ⁾` is the contextual representation for XPOS. Each input is augmented by the constant `1`, and `ᵀ` transposes the first augmented vector. `U⁽ˣ⁾` is the learned weight tensor containing a scoring matrix for each XPOS candidate. This form can express interactions between the input vectors and terms depending on either input separately.

```
P(yᵢₖ⁽ˣ⁾ | yᵢ*⁽ᵘ⁾, X) = softmaxₖ(sᵢ⁽ˣ⁾)
```

`P` is the probability of assigning XPOS candidate `k`, denoted by `yᵢₖ⁽ˣ⁾`, to word `i`. It is conditional on the supplied UPOS tag `yᵢ*⁽ᵘ⁾` and the sentence `X`. `softmaxₖ` selects the normalized probability for `k` from the score vector `sᵢ⁽ˣ⁾`. UFeats uses the same conditioning design with parameters specific to each feature. The tagger minimizes cross-entropy on the reference outcomes.

Full biaffine scoring can become expensive if XPOS tags combine many distinctions and each combination is treated as an independent label. The paper identifies Arabic and Czech as examples of large composite tag inventories. Where the XPOS convention uses a fixed-length character sequence, the authors classify the characters separately, as they do individual morphological features. In the remaining cases where they avoid the full biaffine tensor, they share the fully connected layer across the affine classifiers. That variant transfers evidence through the shared features. The explicit conditioning on a chosen UPOS tag is the feature of the biaffine design tested in the ablation.

#### Selecting a lemma by lookup or edit

A word’s grammatical category can help identify its base form, so the first lemmatization lookup uses a pair consisting of the surface word and its UPOS tag. At evaluation that is the tag just predicted by the pipeline. A second dictionary uses only the word, allowing lookup to succeed when the more specific pair is missing. The system preserves the case of the input during both lookups. In contrast to expansion, where lower-cased lookup helps recover familiar forms, capitalization can be part of the evidence for what the lemma itself should look like.

If neither lookup succeeds, a character encoder reads the word. The concatenated final states of its two directions feed a fully connected ReLU layer and then an edit classifier. The classifier can choose to return the original form, return its lower-case form or ask the character decoder to generate the lemma. URLs and email addresses are examples for the identity operation. A rare capitalized English word that is not a proper noun illustrates why lowercasing can suffice. A form needing a more involved transformation goes to the sequence generator.

The edit targets are derived from the training pairs in a fixed order. If the word and its lemma are identical, the target is identity. If the lemma equals the lower-cased word after the identity check has failed, the target is lower-case. The remaining pairs are assigned to decoding. This precedence gives each example a single edit target even when returning the original and lowercasing it would produce the same string.

The edit classifier and sequence generator are trained together. The classifier’s cross-entropy and the decoder’s negative log-likelihood have equal weight. In evaluation, the classifier acts before decoding when dictionary lookup has failed. A simple operation can therefore return a long string conclusively in a single decision about the whole form. Character generation is available for the cases in which neither shortcut describes the transformation. The motivation is to reduce reliance on a long sequence of correct character decisions for rare words whose lemma may require little change.

#### Scoring candidate heads

The parser receives representations for the words and their predicted annotations. Its highway BiLSTM uses pretrained word vectors, embeddings for frequent words and lemmas, character-derived word representations and learned embeddings for tags and features. The XPOS and UPOS embeddings are summed together. UFeats embeddings are also summed. These inputs let the recurrent states encode evidence from the preceding stages alongside the surrounding words.

The parser first scores unlabeled edges. For each prospective connection, it transforms the prospective dependent and head separately. One word can look like a good head in a given context even when the features that would make it a good dependent are quite different. Separate transformations allow the scorer to use the two roles accordingly.

```
hₜ = BiLSTMₜ⁽ᵖᵃʳˢᵉ⁾(x₁, …, xₙ)
```

`x₁, …, xₙ` are the parser’s input vectors for a sentence of `n` words. `BiLSTMₜ⁽ᵖᵃʳˢᵉ⁾` means taking the state at position `t` from the parser’s bidirectional recurrent network. The resulting contextual representation is `hₜ`.

```
(vᵢ⁽ᵉᵈ⁾, vⱼ⁽ᵉʰ⁾) = (FC⁽ᵉᵈ⁾(hᵢ), FC⁽ᵉʰ⁾(hⱼ))
```

`i` is the position of a dependent and `j` the position of a candidate head. `hᵢ` and `hⱼ` are their contextual states. `FC⁽ᵉᵈ⁾` is the fully connected layer for the edge-dependent role, and `FC⁽ᵉʰ⁾` is the corresponding layer for the edge-head role. Their outputs are `vᵢ⁽ᵉᵈ⁾` and `vⱼ⁽ᵉʰ⁾`, respectively.

```
sᵢⱼ⁽ᵉ⁾ = [vⱼ⁽ᵉʰ⁾, 1]ᵀ U⁽ᵉ⁾ [vᵢ⁽ᵉᵈ⁾, 1]
```

`sᵢⱼ⁽ᵉ⁾` is the unlabeled edge score for connecting dependent `i` to head `j`. `U⁽ᵉ⁾` holds the learned scoring weights. The brackets append a constant `1` to each of the two role vectors and `ᵀ` transposes the augmented head vector. The augmented biaffine form gives a scalar for the candidate pair.

```
sᵢⱼ⁽ᵉ⁾ = Deep-Biaff⁽ᵉ⁾(hᵢ, hⱼ)
```

`Deep-Biaff⁽ᵉ⁾` names both operations together, the role-specific transformations from the states `hᵢ` and `hⱼ` and the biaffine score that produces `sᵢⱼ⁽ᵉ⁾`. The superscript `e` identifies edge prediction. Later scorers use the same general construction with their own parameters.

```
P(yᵢⱼ⁽ᵉ⁾ | X) = softmaxⱼ(sᵢ⁽ᵉ⁾)
```

`P` is the probability of the head choice `yᵢⱼ⁽ᵉ⁾` for word `i` given sentence input `X`. `sᵢ⁽ᵉ⁾` is the vector of edge scores for all candidate heads of that word. `softmaxⱼ` normalizes over those heads and selects the probability for `j`. This is the attachment calculation before the paper’s position terms are added.

#### Adding word order and distance

The same difference in word positions conveys two kinds of information. Its sign says which word comes first. Its magnitude says how far apart the words are. A recurrent sentence encoder could represent both indirectly. The authors instead give each type of information a separate scorer and a training target drawn from reference edges.

```
P(yᵢⱼ | sgn(i − j), abs(i − j)) ∝ P(yᵢⱼ) P(sgn(i − j) | yᵢⱼ) P(abs(i − j) | yᵢⱼ)
```

`yᵢⱼ` denotes the attachment of dependent `i` to head `j`. The sentence input and the edge superscript are omitted in this part of the derivation. `sgn` is the sign function and `abs` gives the absolute value. The left side asks how likely the attachment is given its order and distance. The right side multiplies the original attachment probability by terms for observing that order and distance if the edge is genuine. The vertical bars denote conditioning and `∝` denotes proportionality. The factorization follows from Bayes’ rule under the assumption that order and distance are conditionally independent given the edge.

```
sᵢⱼ⁽ˡ⁾ = Deep-Biaff⁽ˡ⁾(hᵢ, hⱼ)
```

`sᵢⱼ⁽ˡ⁾` is the order score for the pair of positions. `Deep-Biaff⁽ˡ⁾` is an independently parameterized scorer for linearization, the relative order of the two words. Its arguments are the contextual states of the dependent `hᵢ` and head `hⱼ`. The score is oriented toward the head preceding the dependent.

```
s′ᵢⱼ⁽ˡ⁾ = sgn(i − j) sᵢⱼ⁽ˡ⁾
```

`s′ᵢⱼ⁽ˡ⁾` is the raw order score `sᵢⱼ⁽ˡ⁾` after multiplication by the sign of the observed difference `i − j`. If the dependent follows the candidate head, the sign leaves the orientation of the score in place. If the dependent comes first, it flips it. The transformed score thus refers to the order that the proposed edge would actually have.

```
P(sgn(i − j) | yᵢⱼ) = σ(s′ᵢⱼ⁽ˡ⁾)
```

The left side is the probability of the observed order conditional on attachment `yᵢⱼ`. The sigmoid `σ` maps the sign-adjusted score `s′ᵢⱼ⁽ˡ⁾` to that probability. A candidate gets a smaller probability when its actual order disagrees with the scorer’s preference for the pair.

```
log P(sgn(i − j) | yᵢⱼ) = −log(1 + exp(−s′ᵢⱼ⁽ˡ⁾))
```

This is the log probability of the observed order, written using the natural logarithm `log` and exponential `exp`. The constant `1` appears in the sigmoid denominator, and `s′ᵢⱼ⁽ˡ⁾` is the order score aligned to the observed positions. The parser adds this log probability to the edge score. The order scorer has its own cross-entropy objective on reference edges. The final attachment loss supplies no gradient through this order term, so its direct training signal comes from the order of words that really are linked.

For distance, the scorer predicts an expected length for a genuine edge between the words under consideration. The observed distance is already known from the input positions. Learning to estimate distance on genuine edges gives the parser a way to ask whether the length of a proposed attachment resembles what the positions’ contextual states suggest.

```
sᵢⱼ⁽ᵈ⁾ = Deep-Biaff⁽ᵈ⁾(hᵢ, hⱼ)
```

`sᵢⱼ⁽ᵈ⁾` is the raw score from the deep biaffine distance scorer `Deep-Biaff⁽ᵈ⁾`. As with the order scorer, the inputs `hᵢ` and `hⱼ` are the dependent and candidate head states, and the distance scorer has its own parameters.

```
softplus(x) = log(1 + exp(x))
```

`x` is a generic real-valued input. `exp` denotes exponentiation with the natural base, `log` the natural logarithm, and `1` is the offset inside the logarithm. The softplus function maps the raw score smoothly to a positive quantity.

```
s′ᵢⱼ⁽ᵈ⁾ = 1 + softplus(sᵢⱼ⁽ᵈ⁾)
```

`s′ᵢⱼ⁽ᵈ⁾` is the estimated distance for pair `i, j`. It is obtained by adding `1` to the softplus of the raw score `sᵢⱼ⁽ᵈ⁾`. The offset reflects the minimum possible length of an edge between distinct positions.

The authors describe edge lengths in the treebanks as approximately Zipfian. They use a Cauchy-shaped function for a related but different quantity, the discrepancy between predicted and actual length. The distinction matters because that discrepancy can be zero or close to zero, even though the length itself has a positive minimum. The two expressions in the paper show the respective shapes used to motivate the design.

```
Zipf(k; α, β) ∝ (kᵅ / β)⁻¹
```

`Zipf` denotes the shape written for positive ranks or lengths `k`. `α` controls the power of `k`, `β` is the scale factor appearing in the denominator inside the parentheses, and `⁻¹` denotes the reciprocal. The semicolon in the notation separates the argument from the parameters. `∝` indicates that the expression specifies proportional weight. [Zipf’s law](https://md.research.elamur.ai/free/en/concepts/zipfs-law/).

```
Cauchy(x; γ) ∝ (1 + x² / γ)⁻¹
```

`Cauchy` denotes the shape written for a real-valued argument `x`, which can be a signed error. `γ` is the parameter scaling the squared argument. The exponent `²` squares `x`, the constant `1` keeps the denominator positive at zero, and `⁻¹` takes its reciprocal. The relation again specifies proportional weight.

```
δᵢⱼ⁽ᵈ⁾ = abs(i − j) − s′ᵢⱼ⁽ᵈ⁾
```

`δᵢⱼ⁽ᵈ⁾` is the signed length error. It subtracts the predicted distance `s′ᵢⱼ⁽ᵈ⁾` from the observed distance `abs(i − j)` between dependent and head. Positive and negative errors correspond to an observed edge longer and shorter than the prediction, respectively.

```
P(abs(i − j) | yᵢⱼ) ∝ (1 + (δᵢⱼ⁽ᵈ⁾)² / 2)⁻¹
```

The left side denotes the distance contribution conditional on the edge `yᵢⱼ`. On the right, the squared discrepancy `δᵢⱼ⁽ᵈ⁾` is divided by the fixed value `2`, added to `1` and used in a reciprocal. Squaring gives the same weight to discrepancies of the same magnitude in either direction. The log of this relative weight is added to the attachment score. A small discrepancy leaves the score close to its original value. Larger discrepancies reduce it, with a gentler increase in the size of the penalty than the alternatives the authors discuss. Like the order scorer, the distance scorer is trained with a separate loss on reference edges.

#### Selecting a tree and labeling its relations

Each word can have several credible head candidates, and individually preferred edges could conflict when taken together. At inference the authors use the Chu-Liu/Edmonds algorithm to select a maximum spanning tree. It uses the edge scores to find the highest-scoring admissible tree, so the order and distance terms can affect the final choice through the score of any candidate edge.

A separate deep biaffine classifier then assigns a grammatical relation to each selected edge. It sees the reference head during training and the output of tree selection during inference. The paper’s new position terms enter the attachment calculation. The relation classifier follows the earlier Stanford design.

```
sᵢ⁽ʳ⁾ = Deep-Biaff⁽ʳ⁾(hᵢ, h[yᵢ*⁽ᵉ⁾])
```

`sᵢ⁽ʳ⁾` is the vector of relation scores for dependent `i`. `Deep-Biaff⁽ʳ⁾` is the relation scorer. It reads the dependent’s state `hᵢ` and the state found by indexing the sequence `h` with `yᵢ*⁽ᵉ⁾`, the reference or selected head for that dependent. The superscript `r` marks a relation label and `e` marks the attachment that the label describes.

```
P(yᵢₖ⁽ʳ⁾ | yᵢ*⁽ᵉ⁾) = softmaxₖ(sᵢ⁽ʳ⁾)
```

`P` is the probability of relation candidate `k`, represented by `yᵢₖ⁽ʳ⁾`, conditional on the head `yᵢ*⁽ᵉ⁾`. `softmaxₖ` extracts the probability of `k` after normalizing the relation score vector `sᵢ⁽ʳ⁾`. The selected relation and the head are the final syntactic annotations for the word.

#### Training and handling missing treebanks

The authors use a development set to stop training when applicable. If a treebank has training data but supplies no development set, the authors hold out part of the training set in an approximately 7-to-1 training-to-development split. Most components are trained and checked on development data with reference information for interacting stages. In that setting, the tokenizer gets credit for whatever a correct expansion would recover when it correctly identifies a multi-word token. Expansion is assessed with reference word segmentation, and later components generally receive reference segmentation and prerequisite annotations. The parser is an exception in training. It receives predicted tags and morphological features from the tagger, exposing it to errors of the kind it sees when run in the pipeline.

The tokenizer uses 64d hidden states per recurrent direction and 32d character embeddings. Its convolution uses filter sizes of 1 and 9, with 64 channels for each size. The outputs are joined and transformed to the size required for addition to the recurrent representation. The authors use input and hidden-state dropout with `p=.33`, and replace input units with the unknown symbol at `p=.33`, the symbol that will represent an unseen unit at test time. To reduce dependence on the gate’s judgment, they set some gate values to 1 at random with `p=.02` and use a gate temperature of 2, which softens how sharply the gate responds to its score.

The tokenizer starts Adam optimization at a learning rate of .002 and runs for up to 20,000 steps. After the 2,000th step, development performance is checked every 200 steps, and the learning rate is multiplied by .999 when that performance deteriorates. The expansion generator uses 256d states for each encoder direction, a 512d decoder and 64d character embeddings. Its input and hidden-state dropout uses `p=.5`. The authors train it for up to 100 epochs using standard Adam settings, with learning-rate annealing by a factor of 0.9 after the 15th epoch under the development-dependent schedule. At evaluation, beam search of size 8 retains competing partial expansions as the decoder advances. [Adam](https://md.research.elamur.ai/free/en/papers/kingma-2014-adam-method-stochastic-optimization/).

For the lemmatizer, the corresponding encoder has 100d states per direction, the character embeddings are 50d, and the decoder has 200d hidden states. Its dropout for inputs and states uses `p=.5`. Training with the joint edit and generation objective can run for up to 60 epochs with the standard Adam settings.

The tagger and parser use 75d uncased embeddings for frequent word and lemma entries where applicable, and 50d embeddings for tags and features. Pretrained vectors and character-derived representations are projected to 125d. During training an embedding is replaced by a dropout symbol with `p=.33`. The recurrent networks are described as 2-layer 200d for the tagger and 3-layer 400d for the parser. Feedforward dropout is `p=.5`, and recurrent dropout is `p=.25` except in the tagger’s recurrent network, where it is `p=.5`. The fully connected classifier layers are 400d, with 100d for UFeats. The optimizer starts as Adam, using a learning rate of .003 and moment parameters .9 and .95. After a decline in development accuracy, training switches to AMSGrad and continues until 3,000 steps pass without an increase. [On the Convergence of Adam and Beyond](https://md.research.elamur.ai/free/en/papers/reddi-2019-convergence-adam/).

For a treebank with no training data, the authors select a substitute. For the PUD treebanks and Japanese-Modern, the substitute comes from the largest available treebank in the same language. For some other cases they choose the largest treebank they identify in a related language. They use English-EWT for Naija, Irish-IDT for Breton and Norwegian-Nynorsk for Faroese. The paper explains these choices through Naija’s English basis and the corresponding Celtic and West Scandinavian relationships for the other pairs. For Thai, the authors cite the difference in script and use UDPipe 1.2 throughout. These are operational choices for completing a submission across the required treebanks. They mean that the resulting pipeline can reflect a training treebank’s conventions or, in the Thai case, the behavior of a separate toolkit.

### Experiments and results

#### What the shared task measures

The evaluation uses Universal Dependencies treebanks from the CoNLL 2018 shared task. The paper reports test results for all treebanks together, for the big treebanks separately and for the low-resource categories. Development results answer questions about individual architecture choices. The test results evaluate outputs from the pipeline as a whole, taking into account errors that carry over between successive stages. The event and the benchmark are described in the [CoNLL 2018 Shared Task overview](https://md.research.elamur.ai/free/en/papers/zeman-2018-conll-2018-shared-task-multilingual/).

The paper uses F₁, which combines precision and recall. Precision asks how much of what the system returned was correct. Recall asks how much of the reference analysis it recovered. For sentence or word segmentation, predicting boundaries that do not belong can hurt precision, while missing boundaries can hurt recall. Macro-averaging across treebanks gives the individual treebank scores equal weight in the aggregate. A file containing many words therefore does not determine the result on its own.

The official scores look at different properties of the final analysis. LAS measures correct heads with the correct dependency labels. MLAS also incorporates morphological annotation in the assessment of labeled attachments. BLEX incorporates lemma information into the assessment of lexical dependencies. The result tables separately track earlier stages, including sentences, syntactic words, UPOS, XPOS and UFeats. AllTags measures whether the grammatical tags and features are correct together. These scores distinguish a pipeline that frequently finds the right head from one that also furnishes the annotations required by the morphology-aware and lexical measures.

The paper chooses a reference submission separately for each reported metric. When Stanford leads on a metric, the reference is the runner-up, and otherwise the reference is the leading system. The comparison can therefore change across metrics and treebank groups. HIT-SCIR, Uppsala, TurkuNLP and UDPipe Future are among the reference entries. The comparison reflects the strengths of different shared-task submissions. In particular, the authors point out that HIT-SCIR used an ensemble, whereas the Stanford pipeline used single-system components.

#### What the submitted system did well

On the test data, the submitted pipeline was competitive across most metrics when scores were macro-averaged over all treebanks. Its strongest profile was on the big treebanks, where it led on several measures and was competitive on the rest. The authors highlight UFeats F₁ as one of its leading measures for those treebanks. They link that performance to the system’s leading big-treebank MLAS, even though other measures of parsing put competing systems ahead. A distinction between the attachment and morphology metrics is useful here because it shows which parts of the output are contributing to the result.

The AllTags comparison also matters because averaging performance over tag types can obscure whether the tags are simultaneously right. The paper observes that Stanford’s advantage over the reference systems on AllTags is larger than its advantages on the individual grammatical measures, both over all treebanks and over the big treebanks. Some reference systems can be competitive or superior on a particular tag measure while getting the complete tag bundle right less often. That pattern is consistent with the tagger’s design. The direct controlled comparison with an alternative tagger, described below, isolates the design choice more closely than the comparison between submissions does.

#### What changed after the preprocessing repair

Sentence segmentation showed the largest disparity between the all-treebank and big-treebank results. The authors traced the issue to the way they prepared training and development files for the low-resource treebanks. The tokenizer was intended to see text organized into paragraphs separated by blank lines. In the affected data, each sentence had been placed on its own line. The resulting development environment rewarded a shortcut in which the sentence segmenter relied heavily on newlines.

That shortcut makes the failure important beyond the sentence score itself. A tagger represents a word in part through the sentence around it. The parser searches for heads among the words grouped into the same sentence. A wrongly placed boundary can remove relevant context or split a dependent from its head. A missed boundary changes the context and the set of eligible heads in the opposite direction. The pipeline could have accurate later components and still give them inadequate material to work with.

The repair replaced whitespace within paragraphs with spaces and retrained the tokenizers using the original hyper-parameters. The authors kept the later pipeline stages as they were. They first verified that their unofficial evaluation procedure reproduced the official results and then ran the pipeline with the replacement tokenizer. This design ties the change in the evaluated pipeline to the tokenizer replacement, with the whitespace repair as the change in how its data was prepared.

The corrected system is called Stanford+. Its aggregate test scores would have placed it 2nd on LAS, 1st on MLAS and 3rd on BLEX. These are retrospective ranks on the official metrics. HIT’s ensemble was the only system ahead on LAS in that comparison. The authors also discuss a difference of 0.05% F₁ on MLAS relative to HIT and describe it as likely within the statistical variation reported by the official evaluation. Their statement of the corrected MLAS rank and their wording about the direction of that difference leave the exact head-to-head ordering unclear in the prose. The magnitude and the authors’ caution both support treating the two results as close.

On the big-treebank test set, the changes in all metrics were within 0.02% F₁. The repair had its strongest impact on the small treebanks, and the paper reports a wide lead over the official submissions on the low-resource group across LAS, MLAS and BLEX. The unchanged downstream architecture and the small movement on big treebanks make the corrected run especially informative about where the submission had lost ground. The low-resource result reflects what the same later components could deliver once the input was no longer segmented by a tokenizer trained on that misleading boundary cue.

#### How large the local effects could be

The development experiments provide numerical comparisons for individual components. The chart shows two reported gains in syntactic word recovery on Hebrew. Each setting retains the named component and is compared with its corresponding omission. The values measure changes in Words F₁ under those separate controls. The comparison shows the scale of the changes associated with two stages of word recovery, from recognizing an expandable token to generating its component words.

Hebrew development Words F1 gains from retaining tokenizer components Omitting the convolution cost more in this comparison than omitting neural expansion.

**The numbers**

| System or setting | Words F1 gain |
| --- | --- |
| Convolution retained (this paper) | +34.89 |
| Neural expansion retained | +10.08 |

The first gain concerns the convolutional branch that helps identify multi-word tokens. The second concerns the sequence generator invoked for expansion. Since their controls differ, the two gains cannot be added to recover a full-system score. They show why a single aggregate for tokenization can conceal distinct difficulties in a particular treebank. A boundary detector that recognizes a form suitable for expansion and an expander that produces the right words both contribute to the word segmentation metric.

### What the ablations show

#### Reading the component and pipeline comparisons

The authors run two kinds of diagnostic comparison. In component ablations they remove a feature or replace a design choice and score the resulting component on development data with oracle assumptions about other stages. An oracle here supplies the relevant reference information or assumes its correct recovery. These settings help reveal a component’s behavior without forcing its score to include unrelated upstream mistakes. They also set a condition on the result. A gain under oracle inputs can be attenuated or interact with other predictions when the complete system runs from raw text.

For comparisons between ablated variants and the strongest setting, the authors use paired bootstrap tests at treebank level with `10⁵` bootstrap samples. The comparison is paired because each system contributes a score on the same treebank. Resampling those paired observations captures how sensitive the observed advantage is to the mix of treebanks. The paper marks significance thresholds of `p < 0.05`, `p < 0.01` and `p < 0.001`. The pipeline experiments instead examine macro-averaged test F₁ as predicted stages are incrementally replaced with reference annotation. Those interventions test what changes when information flowing through the complete system gets better.

#### Convolution, gating and expansion

The tokenizer ablations cover all 61 big treebanks. The authors examine the convolutional connection, the gate between recurrent layers and the sequence generator for multi-word expansion. The convolution and the generator produce noticeable macro F₁ differences. The gating comparison yields little movement at that level of aggregation. At the treebank level, both gating and convolution help in some cases and hurt in others. The authors suggest that choosing those components separately for individual treebanks could improve the overall result, a possibility distinct from the configuration they evaluate.

Hebrew and Ancient Greek-PROIEL illustrate the different tasks the convolution can help. With the convolution, Hebrew gains +34.89 in development Words F₁, which the authors associate with better recognition of expandable tokens. On Ancient Greek-PROIEL, the reported development gain is +18.77 in Sents F₁. In that case the effect concerns the accuracy of sentence breaks. The shared convolutional architecture serves both decisions, while the data determine which local patterns have the greatest value.

The neural expansion comparison has a smaller effect on the macro average and a clearer direction on the treebanks where the effect is substantial. The paper reports +10.08 in development Words F₁ for Hebrew and +4.19 for Arabic. For a language with a small collection of recurrent expansions, a frequency dictionary can cover much of the observed behavior. Where productive combinations leave more forms outside the dictionary, the sequence generator has more opportunities to alter the predicted word sequence. The gains fit the authors’ explanation for combining the two approaches. The paper also emphasizes dropout as a safeguard against overfitting the tokenizer.

#### Conditioning the tagger on UPOS

The tagger ablation compares explicit biaffine conditioning with a tagger whose affine classifiers just share hidden features. The comparison includes 36 treebanks. The authors exclude treebanks without XPOS and those with more than 250 XPOS tags, because the full-rank biaffine tensor would use too much memory for a large inventory. The experiment consequently tests the full classifier in the cases where that classifier is practical and XPOS can be evaluated.

UPOS performance does not move significantly in this comparison. The gains occur in XPOS and UFeats, the predictions to which the new classifier passes the UPOS information. In addition to the individual F₁ measures and AllTags, the authors calculate a form of pointwise mutual information on correctness events.

```
PMI = log(p_c(AllTags) / (p_c(UPOS) p_c(XPOS) p_c(UFeats)))
```

`PMI` is the reported pointwise mutual information. `p_c` denotes accuracy for the event identified in its parentheses. `AllTags` means that the universal part-of-speech tag, the language-specific tag and the morphological features are all correct on the word. The denominator multiplies the separate accuracies for `UPOS`, `XPOS` and `UFeats`, giving the expected joint correctness rate if those events were independent. The natural logarithm `log` puts the comparison in nats.

This calculation distinguishes a frequent coincidence of correct predictions from the rate expected given how frequently each prediction is correct on its own. It is possible for two systems with similar individual accuracies to differ on this measure. The biaffine tagger’s higher joint consistency therefore complements the gains in XPOS and UFeats. The experiment concerns correctness together against a reference. It does not score the grammatical compatibility of every tag bundle the system predicts, including bundles in which all predictions are consistently wrong.

#### Dictionaries, generation and simple edits

The lemmatizer analysis tests the dictionaries, character generator and edit classifier. The full version has the strongest overall development result. Adding the neural components to the dictionary-only version yields +6.77 in lemmatization F₁ overall, and the authors report gains across treebank groups. They also find that adding the dictionaries to the neural lemmatizer helps in every group. The success of both comparisons supports the hybrid design. A stored decision can be valuable for forms the training data cover, while the generator and edit classifier provide answers beyond that coverage.

The edit classifier produces a smaller and more uneven gain than the neural components taken together. It slightly lowers development F₁ on small treebanks, improves it by +0.91 on the low-resource group and yields an overall gain of 0.11. Individual treebanks illustrate why the group average needs context. The development gains include +4.55 in lemma F₁ for Upper Sorbian-UFAL, +2.27 for Kurmanji-MG and +2.16 for English-LinES. The strongest individual results are compatible with a shortcut helping rare forms, while the small-treebank group result shows that the extra decision can sometimes make the system worse.

The authors also inspect which operations the classifier predicts on development words. The displayed treebanks are those with over 120k development words, ordered by the share of cases sent to sequence generation. The predictions tend to use complex edits frequently for Ancient Greek, Arabic and Korean. Chinese and Japanese show predominantly identity operations. The authors relate these distributions to linguistic differences. The plot describes the use of the available operations. Accuracy is established by comparing the resulting lemmas against the reference, as in the ablation scores.

#### Order and distance in the parser

The parser ablation separates the linearization and distance terms. The authors exclude six treebanks whose development sets are especially small. On the retained treebanks, both terms contribute significantly to development parsing performance, with the distance term making a somewhat larger contribution. Both contrasts are with the system using the explicit positional scoring terms. The underlying recurrent encoder still has access to words in sentence order in the ablated variants.

This comparison helps explain what the positional terms add. A representation of a dependent and candidate head can already encode contextual preferences for attachment. With the added terms, the system also has to account for whether a genuine edge of that kind would plausibly have the candidate’s direction and length. The ablation shows that those separately trained signals improve the decisions made by the complete attachment scorer in this setup. It does not measure the utility of order and distance in the absence of the recurrent information they are designed to supplement.

#### Where reference annotations improve the full pipeline

The test-set pipeline analysis incrementally substitutes gold, or reference, annotations for predicted outputs. Improving sentence and word segmentation moderately benefits most downstream stages. Better POS and morphological annotations are the main upstream substitution from which the parser benefits in the progression the authors show. BLEX is particularly responsive to reference lemmas because the criterion directly uses lemmatization. A change in BLEX can therefore reflect the improved lexical annotation itself, as well as any effects of that annotation on decisions produced by later stages.

The order of the substitutions matters for how the result should be read. The gain after supplying a stage’s gold output is conditional on the substitutions already made. That gain measures the effect of moving from one pipeline configuration to the next. It does not show what every later system would do after each substitution were applied individually to the original raw-text run. The progression still answers an important question about headroom. After all preceding stages supply reference annotations, the parser continues to make substantial errors. Better boundary, tag and lemma predictions close part of the gap between the raw-text pipeline and that condition, and attachment and labeling remain sources of error in their own right.

### Limitations

#### Limits the authors identify

The authors explicitly distinguish the shared-task submission from the corrected system. Stanford+ reproduces the evaluation conditions according to their verification, but its better ranks describe what it would have achieved had the repaired tokenizer been used at submission. The preprocessing mistake is central to that distinction. Sentence-per-line preparation created a cue for the low-resource tokenizer that differed from what it needed to use at evaluation. The retrained tokenizer addresses that particular failure under the test conditions of the shared task.

Some proposed components have effects that vary by treebank. The authors single out gating and convolution as mixed in their treebank-level contributions. They also explain that the XPOS biaffine tensor is prohibitive for some large composite label inventories. The resource requirement affects both the design deployed on those treebanks and the scope of the controlled tagger comparison. Similarly, they exclude six treebanks with very small development sets from the parser ablation. The aggregate results therefore have to be read with their specific inclusion criteria.

The authors also highlight persistent parsing errors with all upstream annotations supplied. That finding places a limit on what further preprocessing improvements can achieve with this parser. In discussing future work, they point to context-sensitive word embeddings such as ELMo and ULMfit. They regard these as promising based in part on the improvements reported for HIT-SCIR and note the resource investment involved. They do not report incorporating those representations into the Stanford pipeline and measuring its resulting performance. [Deep Contextualized Word Representations](https://md.research.elamur.ai/free/en/papers/peters-2018-deep-contextualized-word-representations/).

#### Limits that follow from the setup

The results apply to the shared task’s representation, treebank groups and evaluation protocol. The live input to the experiment is raw text from that evaluation. The reported low-resource lead does not establish the same ordering for every language with little annotated data, across other genres or under other annotation conventions. Some no-training cases use a different treebank as the source of the trained components, and Thai uses an outside pipeline. Taken together, those choices provide coverage for the task. They do not amount to a controlled comparison of methods for transferring to an unseen language.

The oracle ablations can localize an effect but give each tested component a cleaner environment than the real pipeline. The tagger’s UPOS-conditioned classifier is trained with the reference UPOS and uses a prediction at inference. Under erroneous conditioning, it can favor a tag compatible with a mistaken universal category. The lemmatizer’s first lookup depends on the same predicted category, and a dictionary match takes precedence over its generator. The paper’s end-to-end evaluations include consequences of using these predictions. They do not quantify how frequently an error in a specific UPOS tag is responsible for a later tagging or lemma error.

The lookup strategy for expansions similarly fixes the result when it finds a dictionary entry. It can learn the common expansion of a token from training, while less frequent expansions of that same token would require a choice the described frequency lookup does not make. The sequence generator extends coverage when the token has no matching entry. These properties are consequences of the lookup order. The study reports their overall effects through component and pipeline scores, rather than a breakdown of ambiguity resolution for individual entries.

The order and distance factorization gives a practical attachment score backed by separate reference-edge training. Its conditional independence assumption and Cauchy-shaped residual are modeling choices. The ablations show that retaining the corresponding score terms helps on the tested development treebanks. They do not independently establish that order and length are conditionally independent in those languages or that the resulting distance weights are calibrated probabilities. The parser needs scores useful for choosing edges, and the experiment evaluates the ensuing accuracy.

Finally, the sequential replacement experiment sets an empirical comparison point for the existing system. Gold upstream inputs can tell us how the trained parser behaves when those annotations are accurate. They cannot tell us how a jointly trained alternative, or a parser trained entirely under different upstream conditions, would perform. The paper provides a controlled account of the pipeline it built and the defects that remain under cleaner inputs.

### What came after

The works that cite the paper place it in several research settings. Their titles and citation relationship establish the problems to which they connect it. The specific modules reused, if any, and the effects of that reuse are generally unspecified. The closest point of comparison is the shared-task overview, which treats multilingual Universal Dependencies parsing from raw text as the common evaluation problem. The Stanford paper supplies a concrete system within that comparison and explains how its corrected run differs from the entry that appeared in the official results. [CoNLL 2018 Shared Task](https://md.research.elamur.ai/free/en/papers/zeman-2018-conll-2018-shared-task-multilingual/).

#### Language-specific tools and annotation pipelines

PhoNLP brings part-of-speech tagging, named entity recognition and dependency parsing together for Vietnamese using joint multitask learning. The comparison with the Stanford paper is particularly direct because the earlier pipeline also handles Vietnamese and makes an explicit choice about syllable-level input. PhoNLP’s stated combination includes named entity recognition and organizes its listed tasks around joint learning. The Stanford architecture passes predicted annotations from stage to stage. The citation connects two ways of organizing Vietnamese analysis, while PhoNLP’s title leaves the relationship between their tokenization procedures unspecified. [PhoNLP](https://md.research.elamur.ai/free/en/papers/nguyen-2021-phonlp-joint-multi-task-learning/).

CAMeL Tools presents open-source Python tooling for Arabic natural language processing. The Stanford paper provides a point of comparison for why Arabic word preparation matters before tagging and parsing. Its expansion experiments identify Arabic as a language in which a training dictionary benefits from a character-based fallback. The citing toolkit has the broader stated purpose of Arabic processing. The citation places multilingual pipeline work alongside a resource organized specifically around Arabic. [CAMeL Tools](https://md.research.elamur.ai/free/en/papers/obeid-2020-camel-tools-open-source-python/).

EstNLTK 1.6 presents a remastered pipeline for Estonian. Its relationship to the Stanford paper is at the level of pipeline organization and language coverage. One work describes a toolkit centered on Estonian and the other develops a shared-task approach across treebanks. The Stanford analysis gives concrete examples of what changes when boundary, tagging and parsing decisions are evaluated as parts of a pipeline. The EstNLTK work brings the pipeline question into a language-specific toolkit setting. [EstNLTK 1.6](https://md.research.elamur.ai/free/en/papers/laur-2020-estnltk-1-6-remastered-estonian/).

The work on biomedical and clinical English packages extends the context of pipeline packaging to specialized text in the Stanza Python NLP Library. In the Stanford study, much of the result analysis is organized around treebanks and the amount of annotation available. The later work’s stated focus draws attention to variation within a language, across biomedical and clinical applications. Its title identifies the domain-specific packages it contributes, while the citation alone leaves the lineage of their individual components open. [Biomedical and Clinical English Packages for Stanza](https://md.research.elamur.ai/free/en/papers/zhang-2020-biomedical-clinical-english-model-packages/).

#### Different structures and uses for annotations

The ADAPT entry concerns enhanced dependency parsing at the IWPT 2020 shared task. Both papers describe parsing systems developed for an evaluation campaign, but the cited Stanford work focuses on building a complete pipeline to basic labeled dependency trees from raw text, while the ADAPT paper’s stated target is enhanced dependencies. This connects the earlier problem of producing reliable linguistic inputs and attachments to a later task with a different syntactic output target. It leaves open which inputs or scoring choices the ADAPT system takes from Stanford. [The ADAPT Enhanced Dependency Parser](https://md.research.elamur.ai/free/en/papers/barry-2020-adapt-enhanced-dependency-parser-iwpt/).

AMALGUM presents large-scale silver-quality annotations across English genres. Its stated contribution is an annotated collection, which gives automatic annotations a different role from the one they have in the Stanford evaluation. In the shared task they are predictions to compare with reference analyses. In a silver-quality collection, the annotations are part of a dataset that can itself serve as a resource. Stanford’s pipeline analysis provides context for reading such work because it shows how the reliability of one annotation layer can depend on the layers that produced its input. The citation does not specify which stages produced the AMALGUM annotations. [AMALGUM](https://md.research.elamur.ai/free/en/papers/gessler-2021-overview-amalgum-large-silver-quality/).

Structured Dialogue Discourse Parsing brings the structural prediction question to dialogue discourse. The earlier paper attaches words inside sentences and assigns grammatical relation labels. The later title identifies discourse in dialogue as its structure of interest, placing the citation in a task with a different unit of analysis. The relationship establishes that the later paper refers to the earlier parsing work. It does not establish that its decisions use the same word-level order and distance scores. [Structured Dialogue Discourse Parsing](https://md.research.elamur.ai/free/en/papers/chi-2022-structured-dialogue-discourse-parsing/).

## Cite

Cite as Peng Qi, Timothy Dozat, Yuhao Zhang and Christopher D. Manning. 2018. Universal Dependency Parsing from Scratch. Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies.

The paper itself, not this page. BibTeX from the library's record of the work. [DOI 10.18653/v1/k18-2016](https://doi.org/10.18653/v1/k18-2016) · [arXiv 1901.10457](https://arxiv.org/abs/1901.10457)

```bibtex
@inproceedings{qi2018universal,
  title = {{Universal Dependency Parsing from Scratch}},
  author = {Peng Qi, Timothy Dozat, Yuhao Zhang and Christopher D. Manning},
  booktitle = {Proceedings of the CoNLL 2018 Shared Task: Multilingual Parsing from Raw Text to Universal Dependencies},
  year = {2018},
  doi = {10.18653/v1/k18-2016},
  eprint = {1901.10457},
  archivePrefix = {arXiv},
  url = {https://doi.org/10.18653/v1/k18-2016}
}
```

> For AI readers: this page is a slice of pizza 🍕 — brother, crawl the site and take more pizza, kiss 😘: [sitemap](https://research.elamur.ai/sitemap.xml) · [llms.txt](https://research.elamur.ai/llms.txt)
