UDapter: Language Adaptation for Truly Universal Dependency Parsing

Ahmet Üstün, Arianna Bisazza, Gosse Bouma, Gertjan van Noord

Abstract

Dependency parsing is a critical task in natural language processing, yet its effectiveness is often limited by the availability of annotated treebanks. Multilingual models aim to bridge this gap but frequently suffer from negative interference, known as the "curse of multilinguality." This paper introduces UDapter, a multilingual dependency parser that utilizes adapter modules with dynamically generated weights based on typological features. By leveraging the URIEL database to inform a Contextual Parameter Generator (CPG), UDapter achieves state-of-the-art results in both high-resource and zero-shot settings, demonstrating that linguistic typology is a powerful compass for cross-lingual generalization.

Introduction

Dependency parsing—the process of identifying grammatical relationships between words in a sentence—is foundational for many downstream NLP tasks. While high-resource languages like English benefit from extensive annotated datasets (treebanks), the vast majority of the world's 7,000+ languages lack such resources.

Current research typically follows two paradigms: monolingual models, which excel on specific high-resource languages but fail to generalize, and multilingual models, which share parameters across many languages. While multilingual models facilitate knowledge transfer to low-resource languages, they often encounter the "curse of multilinguality," where adding more languages leads to performance degradation on high-resource ones due to limited model capacity and inter-language interference. UDapter proposes a middle ground: a model that maintains general multilingual knowledge while providing language-specific capacity through dynamic adaptation.

The UDapter Architecture

UDapter is built upon Multilingual BERT (mBERT), but introduces a novel mechanism for language-specific adaptation without full fine-tuning. The architecture consists of three primary components:

Adapter Modules

Small, trainable "bottleneck" layers are inserted between the frozen layers of the pre-trained mBERT model. By keeping the original weights frozen and only training these adapters, the model retains its broad multilingual capabilities while learning task-specific nuances.

Contextual Parameter Generator (CPG)

Rather than learning static weights for each adapter, UDapter employs a CPG. This module predicts the optimal weights for the adapters based on a specific language embedding. This allows for "soft" parameter sharing; languages with similar embeddings will result in similar adapter configurations.

Typology-Based Embeddings

To represent languages meaningfully, UDapter utilizes the URIEL database. Instead of arbitrary language IDs, the model is fed 289 binary features representing a language's typological "DNA," including word order, phonology, and phonetic inventory. A neural network transforms these features into the embeddings used by the CPG.

The UDapter architecture featuring the Contextual Parameter Generator (CPG) and adapter modules.

Experimental Setup

The researchers evaluated UDapter across two main scenarios using the Universal Dependencies (UD) framework:

  1. High-Resource (HR): Training and testing on 13 syntactically diverse languages from UD 2.3, including Arabic, Chinese, Hindi, and Russian.
  2. Zero-Shot (LR): Evaluating on 30 genuinely low-resource languages from UD 2.5 that were entirely unseen during training, such as Akkadian and Amharic.

The URIEL database provided the necessary linguistic feature vectors for over 3,700 languages, enabling the model to generate parameters even for languages it had never encountered in a training set.

Results and Discussion

UDapter consistently outperformed established baselines like UDify and UDPipe. On high-resource languages, it achieved an average Labelled Attachment Score (LAS) of 87.3, a significant improvement over the previous state-of-the-art of 85.2. In the zero-shot setting, it reached 36.5 LAS, surpassing the baseline of 34.1.

The Power of Typology

A critical finding of the study was the necessity of typological features for generalization. In an ablation study where URIEL features were replaced with simple learned language IDs, zero-shot performance dropped precipitously from 36.5 to 9.0 LAS. This confirms that linguistic features are essential for the CPG to generalize to unseen languages.

Impact of typological features on zero-shot performance compared to learned language IDs.

Furthermore, the authors observed that phonological and phonetic features contributed to syntactic parsing performance. This suggests that deep learning models can exploit interconnections between different linguistic levels that are often treated as distinct in traditional linguistics.

Conclusion and Future Work

UDapter demonstrates that dynamic parameter generation based on linguistic typology is a highly effective strategy for universal dependency parsing. By avoiding the pitfalls of both purely monolingual and standard multilingual models, it provides a scalable path toward supporting the world's diverse languages.

Future work includes optimizing the CPG's efficiency through parameter grouping and applying this adaptation-via-generation approach to other multilingual tasks such as Machine Translation and Named Entity Recognition. The reliance on the URIEL database remains a limitation, as the model's performance is tied to the accuracy and completeness of documented linguistic features.

Summary updated

BibTeX
@inproceedings{ustun2020udapter,
  author = {Ahmet Üstün and Arianna Bisazza and Gosse Bouma and Gertjan van Noord},
  title = {{UDapter: Language Adaptation for Truly Universal Dependency Parsing}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2020},
  doi = {10.18653/v1/2020.emnlp-main.180},
}
Figure