Skip to main content
QUICK REVIEW

[Paper Review] UDPipe at EvaLatin 2020: Contextualized Embeddings and Treebank Embeddings

Milan Straka, Jana Straková|arXiv (Cornell University)|Jun 5, 2020
Natural Language Processing TechniquesComputer Science8 citations
TL;DR

This paper presents UDPipe 2.0 enhanced with contextualized embeddings and treebank-specific representations for Latin NLP tasks. It achieves state-of-the-art performance in lemmatization and POS tagging on the EvaLatin 2020 shared task, ranking first in open modality and first or second in closed modality across subtasks, with ablation studies confirming the benefits of BERT and XLM-RoBERTa embeddings and fine-grained treebank encoding.

ABSTRACT

We present our contribution to the EvaLatin shared task, which is the first evaluation campaign devoted to the evaluation of NLP tools for Latin. We submitted a system based on UDPipe 2.0, one of the winners of the CoNLL 2018 Shared Task, The 2018 Shared Task on Extrinsic Parser Evaluation and SIGMORPHON 2019 Shared Task. Our system places first by a wide margin both in lemmatization and POS tagging in the open modality, where additional supervised data is allowed, in which case we utilize all Universal Dependency Latin treebanks. In the closed modality, where only the EvaLatin training data is allowed, our system achieves the best performance in lemmatization and in classical subtask of POS tagging, while reaching second place in cross-genre and cross-time settings. In the ablation experiments, we also evaluate the influence of BERT and XLM-RoBERTa contextualized embeddings, and the treebank encodings of the different flavors of Latin treebanks.

Motivation & Objective

  • To develop a robust NLP system for Latin, a low-resource historical language, with high accuracy in lemmatization and POS tagging.
  • To evaluate the effectiveness of contextualized embeddings (BERT, XLM-RoBERTa) and treebank-specific representations in improving Latin NLP performance.
  • To participate in the EvaLatin 2020 shared task, which evaluates tools on Latin texts across multiple settings: open and closed modalities, classical, cross-genre, and cross-time tasks.
  • To analyze the impact of additional training data, specifically Universal Dependency Latin treebanks, on system performance.

Proposed method

  • The system uses UDPipe 2.0’s joint architecture to predict lemmas and POS tags simultaneously using shared bidirectional LSTM layers.
  • Input word representations combine end-to-end embeddings, character-level bidirectional GRUs (256-dim), FastText embeddings (300-dim), and pretrained contextualized embeddings (BERT or XLM-RoBERTa, 768-dim).
  • Lemmatization is performed via a classifier predicting edit scripts that modify the surface form to produce the lemma, using character-level embeddings as input.
  • Treebank embeddings are incorporated at varying granularity levels to model differences across Latin dialects and authors.
  • The model is fine-tuned on EvaLatin training data in closed modality and additionally on all UD 2.5 Latin treebanks in open modality.
  • Ablation studies isolate the contributions of BERT, XLM-RoBERTa, and treebank embeddings to performance gains.

Experimental results

Research questions

  • RQ1How do contextualized embeddings like BERT and XLM-RoBERTa improve lemmatization and POS tagging in low-resource Latin NLP?
  • RQ2What is the impact of incorporating multiple Latin treebanks with varying dialectal and temporal characteristics?
  • RQ3How effective are treebank-specific embeddings in capturing genre and period-specific linguistic patterns in Latin?
  • RQ4Does the use of additional supervised data (open modality) significantly outperform training only on EvaLatin data (closed modality)?
  • RQ5Which components—contextual embeddings, treebank encoding, or data fusion—contribute most to performance gains?

Key findings

  • In open modality, the system achieved the highest performance in both lemmatization and POS tagging, outperforming all other submissions by a wide margin.
  • In closed modality, the system achieved first place in lemmatization and first in the classical POS tagging subtask, and second in cross-genre and cross-time settings.
  • Ablation studies showed that XLM-RoBERTa and BERT embeddings significantly improved performance, with XLM-RoBERTa yielding stronger gains than BERT.
  • Treebank embeddings at fine-grained granularity (e.g., author- or genre-specific) improved performance, especially in cross-genre and cross-time settings.
  • The integration of all UD 2.5 Latin treebanks in open modality substantially boosted performance, demonstrating the value of multilingual and multi-dialectal pretraining data.
  • The joint model architecture with edit-script-based lemmatization proved effective, particularly when combined with contextualized and character-level representations.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.