Revisiting Tri-training of Dependency Parsers

Joachim Wagner, Jennifer Foster

Abstract

This study investigates the continued relevance of tri-training—a classic semi-supervised learning (SSL) technique—in the era of large-scale pretrained contextualized embeddings like BERT and ELMo. Focusing on dependency parsing in low-resource scenarios, we demonstrate that while modern embeddings provide substantial performance gains, tri-training remains an orthogonal and effective method for further improving model accuracy, particularly when combined with state-of-the-art representations.

Introduction

Dependency parsing is a fundamental task in natural language processing that involves determining the grammatical structure of sentences. However, creating the necessary manually annotated treebanks is resource-intensive. Semi-supervised learning (SSL) offers a solution by leveraging unlabelled text. In recent years, the field has transitioned toward using pretrained contextualized word embeddings as the primary SSL mechanism. This research re-evaluates tri-training to determine if it has been rendered obsolete by these modern embeddings or if it offers complementary benefits, particularly for low-resource languages where every incremental gain in accuracy is critical.

Methodology

The core approach combines contextualized embeddings with an iterative tri-training process using the UDPipe-Future parser.

Contextualized Embeddings

The researchers utilized ELMo (language-specific) and mBERT (multilingual) to provide rich, context-aware word representations. These models serve as the baseline for comparison against tri-training enhancements.

Tri-training Framework

Tri-training involves three versions of the same parser. Diversity among these learners is achieved through different random seeds and varied sampling of the initial training data. In each iteration, if two "teacher" parsers agree on the parse of an unlabelled sentence, that sentence is added to the training set of the third "student" parser. This process rotates until the models converge. The final output is a single ensemble model created via a "linear tree combination" method.

Experimental Setup

The study focuses on low-resource settings using treebanks from Universal Dependencies (UD) v2.3.

Statistics of the labelled and unlabelled datasets used in the study.

As detailed in the table above, the experiments utilized Hungarian, Uyghur, and Vietnamese treebanks. Additionally, a subsampled version of the English Web Treebank was used to simulate a low-resource environment (~20k tokens). Unlabelled data was sourced from large-scale corpora like Wikipedia and Common Crawl.

Results and Analysis

The primary metric for evaluation is the Labeled Attachment Score (LAS). The results consistently show that tri-training and pretrained embeddings are "orthogonal"—they improve the model in distinct ways.

Performance distribution (LAS) across four languages comparing baseline models and tri-training variants.

Key Findings

  • Complementary Gains: While embeddings provide a massive baseline boost (2 to 5 LAS points), tri-training adds an additional 0.5 to 1.3 LAS points on top of those gains. For example, in Vietnamese, adding ELMo to the baseline (62.3) reached 67.3, and subsequent tri-training further improved the score to 68.3.
  • Error Correction and OOV: Tri-training is particularly effective at handling Out-of-Vocabulary (OOV) words. The "agreement" filter between teachers ensures high-quality pseudo-labeled data, preventing the model from propagating its own errors. Conversely, pretrained embeddings were found to be specifically helpful for identifying specific grammatical relations, such as flat relations in names and dates.
  • Language Specificity: For languages like Uyghur, language-specific ELMo models outperformed zero-shot mBERT, emphasizing the continued importance of dedicated language resources in low-resource settings.

Conclusion

Tri-training remains a valuable tool for dependency parsing, even when using state-of-the-art pretrained models. While it is computationally expensive—the authors estimate their experiments consumed roughly 2,500 GPU days—it provides statistically significant improvements that are complementary to the benefits of contextualized embeddings. Future work may focus on reducing these computational costs through model distillation and addressing the length bias inherent in teacher agreement filters, which currently favor shorter, simpler sentences.

Summary updated

BibTeX
@inproceedings{wagner2021revisiting,
  author = {Joachim Wagner and Jennifer Foster},
  title = {{Revisiting Tri-training of Dependency Parsers}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2021},
  doi = {10.18653/v1/2021.emnlp-main.745},
}
Figure