[Paper Review] 75 Languages, 1 Model: Parsing Universal Dependencies Universally
UDify is a multilingual, multi-task transformer model fine-tuned on a single unified dataset of 124 Universal Dependencies treebanks across 75 languages. By leveraging a multilingual BERT encoder with task-specific layer attention and strong regularization, it achieves state-of-the-art or competitive performance on UPOS, UFeats, lemmas, UAS, and LAS across all languages, with significant gains for low-resource languages and strong zero-shot generalization to unseen languages.
We present UDify, a multilingual multi-task model capable of accurately predicting universal part-of-speech, morphological features, lemmas, and dependency trees simultaneously for all 124 Universal Dependencies treebanks across 75 languages. By leveraging a multilingual BERT self-attention model pretrained on 104 languages, we found that fine-tuning it on all datasets concatenated together with simple softmax classifiers for each UD task can result in state-of-the-art UPOS, UFeats, Lemmas, UAS, and LAS scores, without requiring any recurrent or language-specific components. We evaluate UDify for multilingual learning, showing that low-resource languages benefit the most from cross-linguistic annotations. We also evaluate for zero-shot learning, with results suggesting that multilingual training provides strong UD predictions even for languages that neither UDify nor BERT have ever been trained on. Code for UDify is available at https://github.com/hyperparticle/udify.
Motivation & Objective
- To develop a unified multilingual model that can jointly predict universal part-of-speech, morphological features, lemmas, and dependency trees across 75 languages.
- To evaluate whether training on all UD treebanks concatenated together improves performance, especially for low-resource languages.
- To assess zero-shot generalization to languages not seen during training, leveraging cross-lingual transfer from multilingual pretraining.
- To investigate whether self-attention mechanisms in multilingual BERT can capture syntactic patterns generalizable across diverse languages.
- To reduce the need for training separate models per language by demonstrating a single-model solution with strong performance across all languages.
Proposed method
- Fine-tuning a multilingual BERT base model (104 languages) on a concatenated dataset of all 124 UD treebanks, using shared contextual embeddings for all languages.
- Applying task-specific layer-wise attention to extract language-agnostic syntactic representations for each UD annotation task.
- Using simple softmax classifiers for each task (UPOS, UFeats, Lemmas, Deps) on top of BERT’s contextualized token representations.
- Implementing strong regularization: input masking, increased dropout, weight freezing, discriminative fine-tuning, and layer dropout to prevent overfitting.
- Training the entire model end-to-end on the full multilingual dataset to enable multi-task learning across all UD annotation types.
- Evaluating zero-shot performance on treebanks without training data, assessing generalization to unseen languages.
Experimental results
Research questions
- RQ1Can a single multilingual transformer model achieve state-of-the-art performance across 75 languages for all major UD annotation tasks?
- RQ2Does joint training on all UD treebanks improve performance, especially for low-resource languages?
- RQ3To what extent can the model generalize to languages not seen during training (zero-shot learning)?
- RQ4How effective is multilingual pretraining with BERT in capturing cross-lingual syntactic generalizations for dependency parsing?
- RQ5Does task-specific layer attention improve performance compared to standard classification heads on BERT embeddings?
Key findings
- UDify achieves state-of-the-art or competitive results on UPOS, UFeats, lemmas, UAS, and LAS across 75 languages, with especially strong gains in UAS and LAS.
- Low-resource languages benefit the most from multilingual training, showing significant performance improvements over monolingual baselines.
- The model generalizes effectively to zero-shot languages, producing high-quality predictions even without any fine-tuning on those languages.
- Strong regularization, including layer dropout and weight freezing, is critical for preventing overfitting during fine-tuning on the large multilingual dataset.
- The self-attention mechanism in multilingual BERT captures syntactic patterns that generalize across languages, enabling effective cross-lingual transfer.
- Fine-tuning monolingually on BERT weights from the multilingual UDify model further improves performance on individual languages, suggesting transferability of learned representations.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.