TL;DR
This paper systematically investigates how to best share parameters between neural dependency parsers for related languages. They found that sharing the "decision-making" part of the parser (the transition classifier) is universally beneficial, while sharing the "representation-learning" parts (word and character LSTMs) is more nuanced and depends on the language pair. This leads to a proposed architecture that hardwires transition classifier sharing and learns the optimal level of word/character parameter sharing.
What Problem Does This Paper Address?
Developing high-performing dependency parsers for all languages is a significant challenge, especially for low-resource languages with limited annotated data. A promising avenue is to leverage knowledge from related languages through parameter sharing in neural models. However, there's been no clear consensus on which parameters to share to maximize performance gains. This paper aims to fill this gap by exhaustively evaluating various parameter sharing strategies for neural dependency parsers across multiple related language pairs.
Methods
The authors use the Uppsala dependency parser, a transition-based neural parser with three main components:
- Character-based BiLSTM: Learns representations from characters within words.
- Word-based BiLSTM: Learns representations from words, incorporating character-level information.
- MLP (Multi-Layer Perceptron): Acts as the transition classifier, deciding the next parsing action based on the current state.
They explore 27 different parameter sharing strategies by considering all combinations of sharing (or not sharing) these three components. Additionally, they introduce two modes of sharing:
- Hard Sharing: Parameters are completely shared across languages.
- Soft Sharing (Language Embedding): A language-specific embedding is concatenated with the input to the shared parameters, allowing for more nuanced, partial sharing.
Based on their findings, they propose a novel architecture where the MLP (transition classifier) is always hard-shared, and the sharing of word and character LSTMs is controlled by a tunable parameter.
Datasets
The experiments were conducted using treebanks from the Universal Dependencies (UD) project. They selected 10 languages, organized into five pairs of related languages from different language families:
- Semitic: Arabic, Hebrew
- Finnic: Estonian, Finnish
- Slavic: Croatian, Russian
- Romance: Italian, Spanish
- Germanic: Dutch, Norwegian
To ensure comparability, they down-sampled the training data for all languages to 5000 sentences, mimicking a low-resource scenario. They also repeated experiments with pairs of unrelated languages.
Key Insights and Ideas
- Transition Classifier is King: Sharing the MLP (transition classifier) parameters consistently improves performance, regardless of whether the languages are related or not. This suggests that the core logic of deciding parsing actions is highly transferable.
- Representation Learning is Nuanced: The benefit of sharing word and character LSTM parameters is highly dependent on the specific language pair. This makes intuitive sense, as these components are more sensitive to phonological and morphosyntactic differences.
- Less is More (Sometimes): For unrelated languages, sharing too many parameters can actually hurt performance. This highlights the importance of carefully selecting what to share.
- A Tunable Architecture: The proposed architecture, which always shares the transition classifier and learns the optimal level of sharing for word/character representations, offers a principled way to balance performance gains and linguistic specificity.
Key Results
- On average, all tested sharing strategies improved performance over a monolingual baseline by minor to major margins (0.16 to 0.86 LAS points).
- The top 10 best-performing strategies all involved sharing the MLP.
- The proposed model (sharing MLP, tunable word/character sharing) achieved a 0.6 LAS improvement on average and was significantly better than the monolingual baseline (p < 0.01).
- For unrelated languages, sharing the MLP was still beneficial, but sharing all parameters did not yield improvements.
Limitations and Future Work
- Small, Balanced Datasets: The experiments were conducted on small, balanced datasets (5000 sentences per language). This setting might overestimate the benefits of sharing when larger treebanks are available.
- Limited Architectures: The study focused on a specific parser architecture and fixed hyperparameters. Future work could explore different architectures and hyperparameter tuning.
- More Languages: Investigating sharing strategies across more than two languages at a time is a natural next step.
- Unbalanced Datasets: Exploring scenarios with unbalanced dataset sizes would provide a more realistic evaluation.
- Fine-grained Typological Information: The current work sticks to sharing within language families. Future research could explore sharing based on more detailed typological features.
Summary updated