---
title: "UDPipe at EvaLatin 2020 — paper by Straka and Straková (2020)"
description: "UDPipe at EvaLatin 2020 tests how contextual word representations and additional annotated texts improve Latin lemmatization and…"
canonical: "https://research.elamur.ai/free/en/papers/straka-2020-udpipe-evalatin-2020-contextualized-embeddings/"
---
Elamur: [Mova](https://md.mova.elamur.ai/free/en/) · [Parse](https://mova.elamur.ai/free/en/parse/) · **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/) · [Shryfti](https://md.shryfti.elamur.ai/free/en/) · [OCR](https://md.ocr.elamur.ai/free/en/)

[Elamur Research](https://md.research.elamur.ai/free/en/) · [this page in HTML](https://research.elamur.ai/free/en/papers/straka-2020-udpipe-evalatin-2020-contextualized-embeddings/)

[Elamur Research](https://md.research.elamur.ai/free/en/) / [papers](https://md.research.elamur.ai/free/en/papers/) / [2020](https://md.research.elamur.ai/free/en/papers/2020/) / UDPipe at EvaLatin 2020: Contextualized Embeddings and Treebank Embeddings

# UDPipe at EvaLatin 2020: Contextualized Embeddings and Treebank Embeddings

Paper · 2020 · Milan Straka and Jana Straková

**Authors:** [Milan Straka](https://md.research.elamur.ai/free/en/authors/milan-straka/) and [Jana Straková](https://md.research.elamur.ai/free/en/authors/jana-strakova/) · **Year:** 2020 · **Venue:** Proceedings of LT4HALA 2020 - 1st Workshop on Language Technologies for Historical and Ancient Languages · **Licence:** [CC BY-NC 4.0 (ELRA, LREC proceedings)](https://creativecommons.org/licenses/by-nc/4.0/)

[**5** citations OpenAlex, 2026-10-14](https://openalex.org/works?filter=cites:W3034071222) · [Cited by **13** papers in our library of more than 163,000 papers whose bibliographies we read](https://md.research.elamur.ai/free/en/papers/straka-2020-udpipe-evalatin-2020-contextualized-embeddings/cited-by/) · [Proceedings of LT4HALA 2020 - 1st Workshop on Language Technologies for Historical and Ancient Languages](https://aclanthology.org/volumes/2020.lt4hala-1/) · [licence](https://creativecommons.org/licenses/by-nc/4.0/)

- [Publisher's page](https://aclanthology.org/2020.lt4hala-1.20/)
- [PDF](https://aclanthology.org/2020.lt4hala-1.20.pdf)
- [arXiv 2006.03687](https://arxiv.org/abs/2006.03687)
- [OpenAlex](https://openalex.org/W3034071222)

Citations: OpenAlex, 2026-10-14.

## Summary

A reader who encounters *geruntur* in a Latin sentence may want to look it up under *gero*. A program has to infer that dictionary form from the spelling and the sentence, and it may also have to identify the word as a verb. EvaLatin 2020, the first evaluation campaign devoted to [Latin](https://md.research.elamur.ai/free/en/topics/latin/) language-processing tools, tested those operations on text whose sentence and word boundaries had already been marked. The authors entered a system based on UDPipe 2.0 that performs [lemmatization](https://md.research.elamur.ai/free/en/concepts/lemmatization/) and [part-of-speech tagging](https://md.research.elamur.ai/free/en/concepts/part-of-speech-tagging/) together. Both predictions draw on the same representation of the sentence.

The system learns to select a spelling instruction for each word. An instruction can leave the spelling alone, adjust capitalization, or change the ends of the word while retaining a shared span. When the observed spelling and the dictionary form share no characters after lowercasing, as with *eum* and *is*, the instruction stores a complete replacement. To decide which instruction and grammatical tag to assign, the system reads the characters of the word and uses both FastText vectors and contextual vectors from multilingual [BERT](https://md.research.elamur.ai/free/en/papers/devlin-2019-bert-pre-training-deep-bidirectional/). The contextual representation lets the same spelling contribute different evidence in different sentences.

The closed track supplied 260k annotated words from five authors. In the open track, the authors also trained on all three Latin [treebanks](https://md.research.elamur.ai/free/en/topics/treebanks/) in [Universal Dependencies](https://md.research.elamur.ai/free/en/topics/universal-dependencies/) 2.5, using learned vectors to identify the sources of the annotations. UDPipe placed first by a wide margin in both open-track tasks. Among closed entries, it led the lemmatization task and classical tagging, and placed second in cross-genre and cross-time tagging. The classical test drew on the same authors as the training collection. The other tests examined how well the system carried over across genre and time.

The comparisons after the competition help explain where the gains came from. Adding the Latin treebanks made more difference on the tests outside the training domain than on the classical test. Identifying the individual treebanks helped modestly, while identifying individual EvaLatin authors produced little change on the test sets. BERT added a small accuracy gain, and replacing it with XLM-RoBERTa produced a larger improvement. The strongest evidence for combining the resources comes from these comparisons: the extra annotated texts and the choice of contextual representation mattered more than telling the system exactly which of the familiar authors it was reading.

## Deep dive: UDPipe at EvaLatin 2020: Contextualized Embeddings and Treebank Embeddings

UDPipe at EvaLatin 2020 tests how contextual word representations and additional annotated texts improve Latin lemmatization and part-of-speech tagging. · about 33 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

#### What the organizers supplied

EvaLatin starts from a sentence with its words already separated. In the authors’ example, the input gives surface spellings such as *Dum*, *haec*, *Hispania*, *geruntur*, and *C.* in their original order. Each spelling is a [word form](https://md.research.elamur.ai/free/en/concepts/word-form/), the version that appears in the text. A [lemma](https://md.research.elamur.ai/free/en/concepts/lemma/) is the form under which the word is recorded for lookup. A part-of-speech tag assigns the word a grammatical category in the sentence. With the boundaries supplied, a participant can concentrate on deciding how to annotate each word and use its neighbors as evidence.

The example gives a sense of the variety hidden inside that simple specification. *Dum* becomes *dum* and receives the tag for a subordinating conjunction. *Hispania* retains its capital letter and is assigned the proper-noun tag. *Geruntur* becomes *gero* and is tagged as a verb. An abbreviation can require a much larger spelling change. The authors’ example treats *C.* as *Gaius* and also tags it as a proper noun. Some decisions are almost wholly about retaining the form. Others require the system to recover a conventional expansion or an inflectional relationship.

The tag and the lemma describe different properties. The lemma for *haec* in the example is *hic*, and its tag is the determiner tag. The spelling *hic* does not itself spell out the grammatical category that EvaLatin expects for the occurrence of *haec*. Conversely, knowing the category would leave a large choice of possible dictionary forms. Both outputs can benefit from evidence about neighboring words, while each needs its own final decision. That is the practical motivation for having the tasks share their reading of the sentence and predict separate labels.

The input uses CoNLL-U, where a token’s position and its form occupy specified fields, alongside places for [linguistic annotation](https://md.research.elamur.ai/free/en/concepts/annotation/). In the task illustration, the sentence and token rows already exist and the relevant annotation fields are empty. The output fills those fields. This input contract matters when interpreting the results. Identifying the lemma of *C.* is one decision once the abbreviation is presented as a token. Finding the extent of the abbreviation and deciding what the period marks would be another decision if the starting point were unprocessed text.

#### A shared task about generalization

The division into classical, cross-genre, and cross-time material makes the evaluation more informative than a single test over undifferentiated Latin. The classical test uses texts by the same five authors represented in the EvaLatin training data. That makes it an in-domain test in the authors’ terminology. It still asks the system to annotate test material. The information available in training is that the collection already contains work by the authors from whom that test material comes.

The cross-genre and cross-time tests change the relationship between training and test material. They ask whether the evidence learned from the available texts continues to be useful when the test collection crosses a genre or period boundary. The split names indicate the respective dimensions of transfer. The paper describes these tests as outside the training domain. It treats the classical test as the setting where the system has the closest match between the source of the labeled examples and the source of the texts it must annotate.

The resource rules provide a separate distinction. Closed and open describe what participants can draw on for training. Classical, cross-genre, and cross-time describe what they have to annotate at test time. A participant can therefore have the same kind of test passage under different training conditions. This arrangement lets the authors ask whether wider access to [annotated data](https://md.research.elamur.ai/free/en/concepts/annotation/) helps particularly where the EvaLatin collection provides a less direct match. It also lets a reader distinguish a result obtained under restricted supervision from a result obtained after bringing several annotated collections together.

That combination is what makes this a study of a [low-resource language](https://md.research.elamur.ai/free/en/topics/low-resource-languages/) setting. There is a dedicated annotated corpus, and there are also separately assembled resources that the open track can use. The problem is how to take advantage of the second source of evidence. A system can pool labeled examples to encounter more kinds of forms and contexts. If conventions differ across the collections, however, a pooled set can present different targets for similar inputs. Giving the system information about where each example came from is a way of accommodating that possibility while still learning across the collections.

#### The work that made this entry possible

The authors connect EvaLatin to earlier evaluations that shared parts of its task. SIGMORPHON 2019 had already tested lemmatization and tagging across 107 corpora in 66 languages. The predecessor of the EvaLatin entry performed best there at lemmatization and was comparable to the best tagging systems. EvaLatin takes a pair of operations with this prior evaluation history and puts the focus on Latin, with a specific comparison between familiar material and material from other genres or times. The entry could therefore reuse a joint architecture and devote its new experiments to the available Latin data and representations.

The CoNLL shared tasks also covered tagging and lemmatization, as parts of a longer workflow. Their starting point was raw text, and their outputs included tokenized sentences, grammatical features, and dependency structures in addition to the fields EvaLatin evaluates. UDPipe 2.0 had been among the winning systems in the later CoNLL task, where it performed [dependency parsing](https://md.research.elamur.ai/free/en/topics/dependency-parsing/) jointly with tagging and lemmatization. EvaLatin uses part of that workflow. Its input has already passed through [tokenization](https://md.research.elamur.ai/free/en/concepts/tokenization/), and its scores concern the lemma and tag decisions that follow. [CoNLL 2017](https://md.research.elamur.ai/free/en/papers/zeman-2017-conll-2017-shared-task-multilingual/) and [CoNLL 2018](https://md.research.elamur.ai/free/en/papers/zeman-2018-conll-2018-shared-task-multilingual/)

A second line of earlier work concerns [word embeddings](https://md.research.elamur.ai/free/en/concepts/word-embeddings/), numerical representations that a system can pass to its prediction layers. One way to represent a word is to give its spelling a vector learned from many occurrences. A contextual representation instead reflects the particular sentence in which the word occurs. The authors trace deep contextual representations to ELMo, which derived vectors from the internal states of a pretrained [language model](https://md.research.elamur.ai/free/en/concepts/language-model/) that reads in both directions. [ELMo](https://md.research.elamur.ai/free/en/papers/peters-2018-deep-contextualized-word-representations/)

BERT continued this line with the [Transformer](https://md.research.elamur.ai/free/en/concepts/transformer/). The authors point to multilingual BERT, trained on 102 languages, as a source of representations that had improved several language-processing tasks. They also describe XLM-RoBERTa as a successor with evidence of stronger multilingual representations. This history motivates a comparison inside the Latin system. A representation may have a good general record and still add little to a tagger that already reads characters, uses pretrained word vectors, and learns to interpret the surrounding sentence. EvaLatin supplies an opportunity to measure the additional contribution under those conditions. [Attention Is All You Need](https://md.research.elamur.ai/free/en/papers/vaswani-2017-attention-all-need/), [XLM-RoBERTa](https://md.research.elamur.ai/free/en/papers/conneau-2020-unsupervised-cross-lingual-representation-learning/), and [MLQA](https://md.research.elamur.ai/free/en/papers/lewis-2019-mlqa-evaluating-cross-lingual-extractive/)

### The method, step by step

#### From annotated words to prediction targets

The EvaLatin entry builds on the authors’ UDPipe submission to SIGMORPHON 2019, for which the paper identifies the public implementation. The input to the joint system is a sentence represented as a sequence of token forms. During training, each token also has a reference tag and lemma. The tag is already a category the system can learn to predict. The lemma is a string, so the authors first convert it into a category by finding a rule that turns the token form into that string.

On new sentences, the network chooses the category for the spelling instruction and the category for the part of speech. It then uses the selected spelling instruction to recover the lemma. This distinction between what the network selects and what the user reads is central to the method. The system can produce different lemma strings with the same instruction because the instruction operates on the input spelling. A rule that keeps the lower-cased input, for example, acts on whichever form is in front of it. Learning that rule from a variety of tokens gives the network one shared target for all examples that call for this operation.

How UDPipe tags and lemmatizes a Latin sentence The steps in order.

There are two different uses of direction in this process. At the spelling level, the character network reads a word from each end. At the sentence level, shared layers read the sequence of word positions in each direction. The first operation exposes patterns internal to a spelling. The second gives a word position information about earlier and later words. Both are relevant to the lemma decision. The spelling can suggest which changes are plausible, and the sentence can help determine which reading of that spelling is appropriate.

#### Building a lemma rule

The rule construction starts with case. The authors work with lower-case versions of the observed form and target lemma while deriving the spelling edits. They separately record where upper-case letters are needed in the finished lemma. A common casing instruction leaves the entire lemma lower-case. Another common instruction capitalizes the initial letter and leaves the rest lower-case. This arrangement separates two decisions that a training example such as *Hispania* would otherwise combine. The spelling may survive unchanged once both sides are lower-cased, while the reference lemma still calls for its initial capital.

In the next step, the system looks for the longest contiguous string shared by the lower-cased form and lemma. That shared string is the portion the rule can leave intact. The authors call it the root or stem in their procedure. It is identified by character matching. A reader should understand “stem” in this step as an operational description of the preserved string. For the rule construction to work, the system needs a span it can copy between the two strings. It can derive the editing target directly from the annotated pair without requiring that a linguist identify the stem first.

A pair such as *geruntur* and *gero* illustrates the operation. The shared beginning, *ger*, can carry over into the lemma. The material following it differs, so the suffix part of the rule accounts for the change. More broadly, the shared string can occur in the middle of a form. The rule then has a prefix operation for the characters before the shared string and a suffix operation for those after it. The allowed operations copy, insert, or delete individual characters. The preserved span provides an anchor, so the edit description focuses on where a change is required.

The same procedure covers very simple cases. For *Dum* and *dum*, lowercasing brings the two spellings into agreement, and the final casing instruction leaves the result lower-case. For *in* and *in*, the entire form can remain in place. The authors report that the most frequent complete rule leaves the form unchanged after lowercasing. Its frequency is a reminder that lemmatization involves recognizing when a form already agrees with its dictionary entry as well as deciding how to transform forms that differ from it. A useful classifier must learn when to refrain from editing.

The authors use a different kind of rule when the lower-case strings have no common substring. Their example is *eum* and *is*. Here there is no span to preserve, so the rule stores the target spelling and replaces the form outright. This is a class the network can learn to recognize in the same prediction step as an ordinary edit rule. Because the replacement itself is stored in the rule, its output is more specific than the output of a reusable suffix change. An edit rule can help produce different lemmas as the preserved material changes. A replacement rule adds a way to handle an observed target whose spelling cannot be reached through the paper’s preserve-a-span procedure.

The casing instruction and the edit instruction together define the class presented to the learner. The authors derive these classes from form–lemma pairs in the annotations, then train the network to choose among the resulting rules. Prediction reverses the training transformation. The network supplies the class, the editing operation yields the lower-case lemma, and the casing instruction restores the letters that are supposed to be upper-case. The use of a common class for examples with the same operation is what gives the procedure a chance to generalize to a spelling that the learner did not encounter as a complete word in training.

#### Representing the word from several sources

Each word position receives several types of input. The first is a word embedding learned as part of UDPipe. Its training is tied to the tagging and lemmatization decisions the network has to make. A separate input is derived from the characters. The authors give each Unicode character an embedding of dimension 256 and use a bidirectional gated recurrent unit, or GRU, of dimension 256. A recurrent unit processes a sequence while carrying information from earlier positions in that sequence. One direction reads the characters in their written order and the other reads them in reverse. The word’s character representation joins the outputs from those readings.

The character network is trained with UDPipe. That means its spelling representation develops in response to the prediction tasks. Reading the word both ways makes its beginning and ending directly accessible from the corresponding directions. This is compatible with the demands of the rule classifier, which can use evidence at either edge of a form. The characters also distinguish spellings locally, before the system tries to infer how the word functions in its sentence. The authors give the lemma classifier direct access to this character representation in addition to the information that has passed through the shared sentence layers.

Another input is the pretrained FastText vector of dimension 300. For these vectors, the authors used plain texts from the CoNLL 2017 shared task. They first processed the texts with segmentation and tokenization trained on Universal Dependencies data. The paper records a minimum count of 5, training for 10 epochs, and a negative-sampling setting of 10. These are settings for obtaining the FastText representation. The text used to pretrain this feature serves a different purpose from the annotated sentences that teach UDPipe which lemma and tag to predict. [FastText](https://md.research.elamur.ai/free/en/papers/bojanowski-2017-enriching-word-vectors-subword-information/)

The submission’s contextual input is Multilingual Base Uncased BERT, whose output vectors have dimension 768. BERT uses [subword tokenization](https://md.research.elamur.ai/free/en/concepts/subword-tokenization/), so the units it reads can be smaller than the annotated words for which UDPipe must give answers. A single word position in CoNLL-U can correspond to several sub-word positions in BERT. The authors align the representations by taking the last-layer vectors for all pieces belonging to the word and averaging them. This yields one contextual vector per word position for the downstream stack.

The averaging operation can be written as follows.

```
v = (Σᵢ hᵢ) / n
```

Here `v` is the contextual vector given to UDPipe for the word. The index `i` enumerates the sub-word pieces belonging to that word, `hᵢ` is the last-layer BERT vector for piece `i`, and `Σᵢ` adds those vectors component by component. The slash denotes division, and `n` is the number of pieces in the word. The output retains the dimension of the sub-word vectors. This aggregation reconciles the internal units of the pretrained representation with the units at which EvaLatin expects the annotation.

A useful distinction among these inputs is what can change between occurrences. The character encoder sees the form’s spelling. The pretrained word vector supplies information associated with the word as a vocabulary item. BERT supplies a vector informed by the occurrence in its sentence. If a form recurs in another sentence, its character sequence can be the same while its contextual vector changes. At the same time, a spelling cue can remain useful even if the new sentence looks quite different. The shared network can draw on both kinds of evidence before sending information to the separate output classifiers.

#### Reading the sentence and making the predictions

The sentence processing uses three shared bidirectional long short-term memory layers, or LSTM layers. Each direction carries information along the sequence of words, and a bidirectional layer gives a position access to information coming from both sides. A token representation can therefore reflect evidence from words that precede it and words that follow it. Sharing the stack means that the representations on which the tag and lemma decisions depend are learned in the same network.

After the shared layers, separate softmax classifiers assign scores to the possible tags and lemma rules. A softmax turns the scores for a set of competing classes into a normalized distribution over those classes. For tagging, the classes are the output grammatical labels. For lemmatization, they are the complete casing-and-edit instructions built during training. The lemma classifier has the extra character input because its choice must ultimately account for a spelling transformation. The tag and lemma decisions are joint in the sense that training shapes common representations for the two tasks. Their output spaces remain distinct.

This design gives contextual evidence a role at more than one point. The pretrained BERT vectors already reflect the sentence, and the shared recurrent layers can combine those vectors with the other inputs as they process the sentence for EvaLatin. In practical terms, the prediction at *geruntur* can use a representation derived from its letters, information learned about words from pretraining, and information about the sentence in which it appears. The output head can favor a rule that retains *ger* and changes the ending, then apply that rule to the actual input. The other classifier can use the same sentence representation to select the verb tag.

The paper directs readers to the SIGMORPHON 2019 system for a fuller description of the architecture and training procedure. Its own account identifies the main layers, representations, and sources of supervision needed to understand the EvaLatin comparisons. The preprocessing needed to build lemma labels and the handling of annotated sources are particularly important here. They determine which classes the network is learning and what information it has when several corpora contribute examples.

#### Pooling treebanks and distinguishing authors

In the open track, the authors train on EvaLatin together with all three Latin treebanks in UD 2.5. They use learned treebank embeddings, following earlier work on training a parser from heterogeneous treebanks. Here an embedding represents the source of an annotated example. It gives the network a way to condition its predictions on corpus identity while the corpora still contribute to shared learning. The paper’s reason for doing this is that separate annotation projects can make different decisions about similar material. The source vector lets the system represent such distinctions when they help predict the training targets.

One can see the purpose of these vectors by tracing an annotated token into the network. Its spelling and sentence provide evidence about what the token means and how it is used. Its treebank identity provides evidence about how that corpus tends to record such cases. In a combined corpus with a single shared identity, any systematic difference between sources must be absorbed by the same decision function without an explicit source cue. With distinct identities, the network can preserve a source-conditioned preference where the examples support one and still use evidence shared across the collections. This is why the paper tests both merging the sources and identifying them at different levels of detail.

The authors also use author identity for EvaLatin. The setup makes the author name available at training and prediction time. They train a separate configuration in which the individual training authors have their own learned vectors. When the text comes from one of those writers, the submission can use the author-specific configuration. For material outside that setting, it uses the generic configuration. The choice is based on the known identity of the writer, so there is no additional task of guessing the author from the passage.

These forms of conditioning serve related but distinct purposes. A treebank label distinguishes annotation sources. An author label distinguishes writers inside EvaLatin. Author information could be helpful if words or constructions recurring in a writer’s texts make one rule or tag more likely. A treebank vector can be helpful when a difference follows the annotation collection even across different kinds of text. The ablations test each distinction against a coarser grouping. That comparison is needed because an input can plausibly carry relevant information and still contribute little once the rest of the system has read the words and their context.

### Experiments and results

#### Reading the evaluation conditions together

EvaLatin supplies 260k words of annotated training text originating with five authors. The closed modality restricts the available shared-task training data to that collection. The open modality permits additional resources, and the submitted open system takes advantage of that permission by including every Latin treebank from UD 2.5. The rankings are reported within each modality. Leading the open track means that the entry performed best among the systems competing under the open rules. The closed results show how the UDPipe approach performed in the field of entries using the restricted training collection.

The paper’s representation experiments also compare open and closed configurations. In that part of the study, the important comparison is between versions of UDPipe evaluated with and without the additional annotated Latin treebanks, across the representation settings being studied. This is a different use of the modality distinction from the official rankings. A ranking compares submissions that may differ in multiple ways. An open–closed comparison within the authors’ system can speak more directly to what happens when they add the annotated sources they chose.

Within either modality, the three test conditions remain distinct. The classical subtask is the one for which representation of the authors in the training data is explicit. It is therefore also the most direct test of the specialized configuration that knows the individual writer. The cross-genre and cross-time subtasks test the generic configuration beyond that familiar setting. Keeping these test conditions separate is important for understanding the value of more supervision. If the combined training data helps mainly when the test text is less like the EvaLatin collection, an overall result alone can conceal where the resource is most useful.

The two outputs are assessed separately by accuracy. A lemma prediction is successful when the string produced by the selected rule agrees with the reference lemma. Thus the user-facing result of the casing and editing steps is what matters for the lemma score. A tag prediction succeeds when the grammatical label agrees with the reference tag. A system can return the right lemma and the wrong tag, or the right tag and the wrong lemma, on the same token. Since the classifiers have distinct outputs, ranking them separately preserves information about the two kinds of decision.

#### The official standings

The submitted UDPipe entry placed first in open lemmatization and open tagging. The authors characterize the margin over the other entries as wide. The result holds across a design in which the evaluation includes both the classical material and the cross-genre and cross-time material. This is the competitive result for the open submission using multilingual BERT and the added Latin treebanks. The later XLM-RoBERTa configuration belongs to the follow-up comparison, which the paper presents alongside the official figures.

The closed results present a more varied picture. UDPipe achieved the best lemmatization performance in the authors’ account of that track. For tagging, it took first place on the classical material and second place on each of the cross-genre and cross-time tests. The chart expresses those three stated tagging placements as ranks. A lower rank represents a higher position in the standings for the particular test condition.

UDPipe across EvaLatin closed-track test conditions by tagging rank UDPipe leads on the classical material and has the same placement on both transfer tests.

**The numbers**

| System or setting | Rank |
| --- | --- |
| Classical UDPipe (this paper) | 1 |
| Cross-genre UDPipe | 2 |
| Cross-time UDPipe | 2 |

The equal ranks on the transfer tests have a specific meaning. In each case UDPipe occupied the same position in that test’s ordering of closed entries. Rank gives no measure of how many tags the system got right or how far it was from the entry immediately above it. Likewise, the classical placement compares UDPipe with other systems tested on the classical material. It cannot by itself quantify the absolute change in accuracy when UDPipe moves to cross-genre or cross-time texts. That distinction matters wherever a paper reports both the competitive placing and controlled comparisons: placing answers who led, while the accuracy comparisons address how much and under what intervention.

The authors’ assessment of a wide margin applies to the submitted open system. Explaining that margin calls for evidence beyond the official ranking. Competitors may have used other architectures or resources, while the open submission itself combines a pretrained contextual representation, extra labeled sentences, and source identities. A leaderboard cannot assign a share of the result to each component. The paper addresses that issue by comparing configurations inside UDPipe, where the effects of altering one aspect of the setup can be examined more directly.

#### Which comparisons provide baselines

For the competition result, the other shared-task submissions supply the comparative field. Within the follow-up experiments, the useful baselines are simpler versions of the authors’ own system. One line of comparison varies the pretrained representations, including FastText, multilingual BERT, and XLM-RoBERTa. These comparisons ask how much the contextual input contributes to a system that already has supervised spelling and sentence encoders. They also distinguish the effect of introducing contextual information from the effect of choosing a stronger source for it.

A second baseline is a configuration trained in the closed modality, using the EvaLatin training collection as its supervised source. Comparing the open and closed settings across the representation variants gives the authors an estimate of the advantage of bringing in the three UD treebanks. They report the comparison as an average improvement in percentage points across the configurations they considered. Percentage points describe the change between accuracy scores on the same scale. The average helps characterize a pattern across settings without treating one choice of pretrained representation as representative of every run.

A third baseline pools data in the open modality while withholding distinctions among its source embeddings. This comparison concerns how the system uses the annotations when all the training collections are already present. The question is whether giving the system explicit corpus identity improves the result on top of pooling. The authors compare a common identity for all the data, an EvaLatin identity separate from a common UD identity, and distinct identities for the individual UD sources. They also test whether the EvaLatin writers themselves should receive different identities.

The best configuration presented after the competition uses XLM-RoBERTa and improves on the BERT-based entry. Including it next to the official standings makes the comparison with the submitted architecture easier to follow. Its timing matters for interpretation. The placing belongs to the system entered in EvaLatin, while the follow-up result shows the accuracy attainable after switching the contextual input. The later configuration strengthens the case for testing different sources of contextual information, even in a system whose most conspicuous improvement at the competition came with access to more labeled Latin.

### What the ablations show

#### The source of contextual information matters

The pretrained-representation comparison asks a narrow question: how much does a contextual vector contribute once UDPipe already has other ways of representing a word? Its training includes a character encoder and a bidirectional sentence stack, so the basic system can recognize spelling patterns and use the surrounding words. FastText brings another kind of pretraining. BERT adds a representation of the occurrence obtained from a separate contextual system. The performance change then measures the value of that addition within the combination the authors studied.

For Latin, multilingual BERT produces a slight accuracy increase. The authors say that this is consistent with earlier work in which they examined BERT in UDPipe for Latin. That makes the small improvement meaningful as a result about this setup. A contextual feature can be informative in general while offering much of its useful information in a form that overlaps with what the supervised network can already learn. The experiment measures the total change; it gives no direct breakdown of what the network took from particular features.

XLM-RoBERTa gives a larger accuracy increase. Since contextual representations from the two sources are used within the same general tagging and lemmatization design, the result gives a reason to take the choice of representation seriously. A marginal gain from multilingual BERT would be a weak basis for concluding that contextual representations as a whole have little value for these tasks. The XLM-RoBERTa comparison demonstrates room for a stronger contribution in the same application. It leaves questions about which properties of the pretraining or representation explain the difference.

There is also a distinction between the size of this gain and the paper’s official standing. A stronger pretrained input can yield a useful improvement for a system that already leads a benchmark. Conversely, a winning submission can contain a component whose marginal contribution is small. Here the ablation places the BERT gain in context, while the post-competition experiment demonstrates the improvement possible from changing that input. Together they describe the sensitivity to the feature choice more clearly than the open ranking on its own.

#### Additional annotation helps where the test departs from training

To estimate the benefit of the extra annotated Latin, the authors compare the open and closed versions across the configurations in the pretrained-embedding experiment. They average the differences for the relevant comparisons. The pattern depends on the test material. On the classical test, the authors describe the open improvement as small. On the cross-genre and cross-time tests, they find more substantial improvements. The extra supervision therefore contributes most clearly where the EvaLatin training collection gives the system a less familiar starting point.

This pattern gives the open result more specific content. The open system has access to a broader pool of annotated examples, and the tests on which that difference is most valuable are the tests designed to move beyond the original domain. A plausible reading is that additional Latin annotation offers forms, contexts, or target decisions that the original collection represents less fully. The experiment measures the consequence of adding the corpora as a group. It has no token-level attribution identifying which extra examples are responsible for the improved predictions.

Averaging across configurations helps distinguish the broad trend from a gain particular to a single pretrained input. However, the average is about the authors’ selected configurations. It gives no direct guarantee of the size of the gain for every possible pairing of supervised corpus and contextual representation. Nor does it say that each test passage benefits in the same way. The supported conclusion is that, across the comparisons the authors made, open training helped the two transfer conditions more than the classical one.

What the system adds in this comparison is supervised data. The contextual-vector comparison involves a different intervention, namely how a word in its sentence is represented before the shared layers produce their output. These interventions can coexist in one system, as they do in the open entry. The paper gives separate evidence about them by varying the training modality across representation choices and by comparing the available pretrained features. That gives the reader a basis for saying both matter under the reported conditions without treating their reported effects as interchangeable.

#### Source identities make a modest difference

The open-track source comparison holds the pooled sources in view and changes how finely the system distinguishes them. With no separate treebank embeddings, the training network sees all the collections without an explicit distinction among those sources. The authors report that removing the treebank distinctions produced the largest deterioration among the variants they examined. The absolute loss was still small. The competitive open result therefore depends on more than a clever encoding of source identity: most of the performance is attainable even when the network receives less information about where the annotations originated.

Giving EvaLatin its own identity and assigning the UD collections a second, shared identity improves on the fully merged setting. This comparison supports the idea that the difference between the target campaign’s annotations and the supplementary annotation sources can be useful to the learner. Taking the grouping a step further and giving each UD treebank a distinct identity improves performance further. The source vector appears to account for information about the individual collections that a single shared UD identity cannot express.

The scale of the deterioration matters for the interpretation. The authors take the small loss when the distinction is removed as evidence that the UD and EvaLatin annotations are mostly consistent. That inference is grounded in the behavior of the pooled training system. If source differences regularly presented the learner with strongly conflicting targets, one might expect withholding the source to have a larger effect. The reported aggregate scores indicate that the collections can be combined with relatively little penalty from treating them as one source.

A learned source identity can also encode differences other than annotation convention. A treebank may contain a different selection of sentences or words, and a network can exploit regularities in those inputs as readily as regularities in the labels. The granularity comparison shows that the identity is useful. The interpretation about annotation consistency follows from the modest effect of removing it, and remains an interpretation of system performance. An inspection of matched annotation decisions across corpora would address the nature of the differences more directly.

The open data comparison and this experiment are consequently answering different questions. One compares training with the additional corpora against training under the closed restriction. The other asks how best to represent the provenance of the extra data after the corpora have been included. A large gain on transfer tests from additional annotation can coexist with a small gain from explicit source identities. If the sources supply generally compatible examples, extra material can do much of the work even when the system has limited information about its origin.

#### Author identity has little effect on the test sets

The finer distinction inside EvaLatin concerns the writers. The authors compare using a common EvaLatin identity with giving individual training authors their own embeddings. The idea is plausible because a writer’s known identity could help the system anticipate characteristic choices in vocabulary or usage. It is also feasible within this task because the necessary names are available at prediction time. Neither fact establishes that the author vector adds much to the evidence already supplied by the token, sentence, and source collection.

Development and test results give different impressions. The author-specific vectors produce a larger improvement on the development set, the material used to gauge choices while building the system. On the eventual tests, the scores with and without the distinctions are nearly the same. The authors average the per-author gain over the configurations in the pretrained-representation experiments to obtain a broader estimate. The resulting improvements are marginal relative to the setup that already distinguishes the relevant EvaLatin and UD sources.

The test comparison limits what can be inferred from the better development performance. An identity feature can help when the development material happens to exhibit distinctions that the learner can exploit. For the measured effect to support a stronger claim, similar improvements would have to persist on test material. Here the authors observe little test benefit. This makes the author experiment informative even though the feature contributes little. It shows that the useful level of distinction in the combined corpus is better supported at the treebank level than at the level of individual writers in this evaluation.

The author-specific route is available only in the authors’ in-domain setup. The system uses its generic configuration elsewhere. Accordingly, the author result concerns a situation with known writers already represented in training, and it supplies a narrow answer about the marginal value of that information. The more convincing improvement on the out-of-domain tests comes from adding supervised Latin texts. In those tests, a broader supply of annotations proves more consequential than the optional fine-grained identity feature proves on familiar material.

### Limitations

#### Limits identified by the authors

The authors identify the task boundary in their conclusion by proposing that a future campaign include segmentation and tokenization. EvaLatin gives systems the divisions between sentences and tokens. Its accuracy scores therefore describe what happens once those units are available. For a tool facing an unprocessed text, mistakes made while establishing boundaries can change the input to both classifiers. A lemma rule can only act on the string it is handed, and a tag can only be assigned to a unit the pipeline has decided exists. Testing those earlier stages would extend the evaluation to the route from text to tagged words.

Their other proposed extension is an extrinsic evaluation. That would measure how the annotations affect a downstream task that uses them. EvaLatin’s own scores measure agreement with reference lemmas and tags. A downstream evaluation would ask whether an improvement in that agreement changes the performance of a larger process. The paper supplies no such downstream measurements. Its results support claims about the quality of the two predicted annotations under the specified test conditions.

The paper also makes the weak evidence for the author-specific feature explicit. The contrast between development and test results is a limit on the generalization one can draw about author conditioning. The available test evidence indicates nearly the same performance with or without the additional author distinctions. In the same way, the authors present the BERT gain as minor. The contextual experiments support the larger improvement obtained from XLM-RoBERTa and give a more qualified result for the contextual feature used in the submitted entry.

#### Limits visible in the experiment design

The openness of the training condition gives the authors several new sources together. The improvement in the open modality measures the value of that combination as used by UDPipe. It does not isolate a contribution for each Latin treebank. The source-embedding comparison keeps the corpora in use and changes how their identities are represented, which answers a separate question. A reader can conclude that the added data helps and that identifying its sources helps a little more. Allocating those gains to individual corpora would require comparisons in which the availability of the corpora themselves changes.

The transfer tests provide evidence for two designated changes of domain. Their findings apply to the cross-genre and cross-time texts selected for EvaLatin. The paper’s accuracy comparisons cannot establish that the same degree of benefit would extend to every genre or period of Latin. The classical condition likewise measures transfer to test texts by authors represented in the campaign’s supervision. It cannot serve as direct evidence about how author conditioning would work for an unrepresented writer or in an application where authorship must be inferred.

The lemma-rule design also places a structural constraint on what the classifier can select. Its outputs are learned classes of complete instructions. Some of those instructions can produce lemmas from forms the system has not seen because they preserve part of the spelling and reuse an edit. Complete replacement classes directly supply particular lemma strings. If a new example requires a kind of transformation missing from the available classes, the classifier has no explicit route in the described architecture for inventing a new instruction. The reported experiments give overall accuracy and compare input and source choices. They offer no detailed estimate of how often the learned rule inventory constrains recall on unfamiliar forms.

A related limitation concerns what the shared design itself contributes. The paper describes tagging and lemmatization together and evaluates the resulting system. Its controlled comparisons center on pretrained embeddings, access to extra annotation, and the detail of source identities. They do not isolate the advantage of sharing the recurrent layers, or of using rules in place of a different way to produce lemma strings. Earlier UDPipe work motivates the architecture, and the EvaLatin scores establish how the complete entry performs. A reader should attribute individual gains only to the interventions actually compared.

Finally, the XLM-RoBERTa result identifies a better feature source under the tested setup. It provides limited evidence about the reasons for that superiority. Changing the pretrained representation changes what information is available to the system, and the paper does not experimentally separate the properties responsible for that difference. Its observations support a practical conclusion about which representation helps the Latin tagger and lemmatizer more in these experiments. A causal account of why it helps would require additional evidence about the affected predictions or the properties of the pretraining.

### What came after

Several citing works place EvaLatin alongside research on ancient-language processing, the training of contextual representations, and evaluations of different annotation tasks. Their connections vary in how close they are to the UDPipe experiment. The titles establish the direction of each project, and the citations establish an intellectual connection. The specific use of UDPipe’s weights, predictions, or author and treebank vectors cannot be inferred from those connections alone.

The ancient-languages survey takes the broadest view. EvaLatin offers a concrete example for that subject because it brings together a designated ancient language, a restricted supervised condition, and explicit tests beyond the training domain. The work belongs in a wider account of how machine learning is evaluated when annotation comes from a limited set of writers and independently assembled collections. The survey’s scope extends that discussion from a particular Latin system to machine learning for ancient languages as a field. [Machine Learning for Ancient Languages: A Survey](https://md.research.elamur.ai/free/en/papers/sommerschield-2023-machine-learning-ancient-languages-survey/)

Latin BERT pursues one of the inputs to the EvaLatin system as a research subject in its own right. UDPipe imports multilingual contextual vectors to help with decisions about Latin words. The Latin BERT work focuses on a contextual representation for Latin and its use in classical philology. The relationship is especially close to the paper’s comparison of BERT and XLM-RoBERTa. Once the source of the contextual vectors changes outcomes within a fixed application, the question of which contextual representation to build for Latin becomes relevant in its own right. The connection is at the level of representation and application, while the title of Latin BERT gives its broader philological purpose. [Latin BERT](https://md.research.elamur.ai/free/en/papers/bamman-2020-latin-bert-contextual-language-model/)

The MRP shared task is related through shared evaluation and the organization of linguistic output. Its subject is [semantic parsing](https://md.research.elamur.ai/free/en/concepts/semantic-parsing/) across languages and representation frameworks. EvaLatin asks participants to recover word-level annotation within the same input format. The MRP project asks participants to predict representations of meaning while the evaluation spans different frameworks and languages. The citation connects the work to a wider shared-task landscape in which evaluation specifies what a system receives, what it has to produce, and which conditions make competing entries comparable. It does not on its own establish technical reuse of the EvaLatin classifiers. [MRP 2020](https://md.research.elamur.ai/free/en/papers/oepen-2020-mrp-2020-second-shared-task/)

The work on joint learning for low-resource agglutinative languages takes up the combination of shared learning and word-level grammatical prediction in a different setting. Its subject is [morphology](https://md.research.elamur.ai/free/en/concepts/morphology/) and tagging where supervised data is limited. The point of contact with the EvaLatin entry is the use of joint learning in a problem where useful evidence can be shared across related decisions about words. UDPipe’s particular joint design connects the tag and lemma through common sentence features and then lets separate classifiers interpret those features. The cited work brings joint learning to morphological tagging for the language setting named in its title. The citation supports that methodological connection without identifying which parts of the Latin architecture it adopted. [Joint Learning for Low-Resource Morphological Tagging](https://md.research.elamur.ai/free/en/papers/abudouwaili-2023-joint-learning-model-low-resource/)

The benchmark for detecting Latin in historical books moves the evaluation to a different point in the handling of historical material. EvaLatin starts from a Latin passage whose token units have already been supplied. The later benchmark asks about identifying Latin in historical books and frames that problem as [multimodal](https://md.research.elamur.ai/free/en/topics/multimodal/). Its connection to EvaLatin lies in the evaluation of computational tools for historical Latin. The input and the prediction change substantially. Detecting the language of material in books poses a different test from choosing lexical and grammatical annotations for words already presented in a structured sentence. [Detecting Latin in Historical Books](https://md.research.elamur.ai/free/en/papers/wu-2026-detecting-latin-historical-books-large/)

The closest methodological connections are to contextual representation and to joint prediction in settings with limited supervision. The survey and the shared tasks place the research in a wider context of evaluation design. What EvaLatin contributes to that history is a concrete comparison of resources under defined conditions. With the words already delimited and the target fields fixed, the authors could see where extra annotation helped most, measure the smaller contribution of identifying its sources, and compare the benefit of two choices of contextual representation.

## Cite

Cite as Milan Straka and Jana Straková. 2020. UDPipe at EvaLatin 2020: Contextualized Embeddings and Treebank Embeddings. Proceedings of LT4HALA 2020 - 1st Workshop on Language Technologies for Historical and Ancient Languages.

The paper itself, not this page. BibTeX from the library's record of the work. [arXiv 2006.03687](https://arxiv.org/abs/2006.03687)

```bibtex
@inproceedings{straka2020udpipe,
  title = {{UDPipe at EvaLatin 2020: Contextualized Embeddings and Treebank Embeddings}},
  author = {Milan Straka and Jana Straková},
  booktitle = {Proceedings of LT4HALA 2020 - 1st Workshop on Language Technologies for Historical and Ancient Languages},
  year = {2020},
  eprint = {2006.03687},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.03687}
}
```

> 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)
