Parameter sharing between dependency parsers for related languages

Miryam de Lhoneux, Johannes Bjerva, Isabelle Augenstein, Anders Søgaard

Introduction

Training accurate neural dependency parsers typically requires large annotated treebanks, a resource that many languages lack. Cross-lingual learning offers a solution by training a single parser on multiple languages to leverage combined data. However, modern parsers comprise several distinct components—character-level encoders, word-level encoders, and transition classifiers—and it is not immediately clear which of these should be shared. Sharing too much can lead to negative transfer, while sharing too little misses multi-task learning benefits. This paper systematically explores the parameter-sharing design space to identify the most effective strategies.

Methods

The researchers employed the "Uppsala parser," a transition-based neural model with three main parameter sets:

  1. Character BiLSTM (C): Encodes word representations from characters.
  2. Word BiLSTM (W): Contextualizes word representations within sentences.
  3. MLP Transition Classifier (S): Predicts parsing actions based on LSTM outputs.

They evaluated three sharing modes across these components: No sharing ($\times$), Hard sharing ($\checkmark$), and Soft sharing (ID), where a language ID embedding is used. This combinatorial approach resulted in $3^3 = 27$ distinct strategies. Based on their findings, the authors proposed a tunable architecture where the MLP is always hard-shared, and the sharing strategy for the LSTMs is treated as a hyperparameter.

Experimental Setup

The study used Universal Dependencies (UD) treebanks for 10 languages across 5 families: Semitic (ar, he), Finnic (et, fi), Slavic (hr, ru), Romance (it, es), and Germanic (nl, no). To simulate low-resource settings, training sets were down-sampled to 5,000 sentences.

Key Results

The systematic evaluation demonstrated that sharing the MLP transition classifier (S) consistently improves performance. As illustrated in Figure 2, configurations that include sharing the state/MLP parameters generally outperform the monolingual baseline across various language pairs.

Performance of various parameter-sharing strategies across 10 languages.

The proposed tunable model achieved an average Labeled Attachment Score (LAS) of 78.8%, a statistically significant improvement of 0.6 LAS points over the monolingual baseline of 78.2%. Figure 3 details the performance of this model and the specific sharing configurations selected for each language.

Comparison of the proposed tunable model (OURS) against the monolingual baseline (MONO).

Discussion and Insights

  • The MLP as a Universal Structural Translator: The most significant finding is that sharing the MLP transition classifier always helps. The MLP learns abstract hierarchical rules that transfer well even between unrelated languages, as they abstract away from specific linguistic idiosyncrasies.
  • Representation Sensitivity: Character and word LSTMs are highly sensitive to phonological and morphosyntactic differences. Whether to share these layers depends heavily on the specific language pair.
  • Negative Transfer in Unrelated Pairs: While sharing the MLP still helps for unrelated languages, sharing all parameters (including LSTMs) can cause negative transfer, leading to performance worse than monolingual models.

Conclusion

This research highlights that strategic parameter sharing—particularly of the transition classifier—is a powerful tool for low-resource dependency parsing. The authors suggest that future work should investigate training on more than two languages simultaneously and explore dynamic architecture search for more fine-grained sharing.

Summary updated

BibTeX
@inproceedings{lhoneux2018parameter,
  author = {Miryam de Lhoneux and Johannes Bjerva and Isabelle Augenstein and Anders Søgaard},
  title = {{Parameter sharing between dependency parsers for related languages}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2018},
}
Figure