Abstract
We train one multilingual model for dependency parsing and use it to parse sentences in several languages. The parsing model uses (i) multilingual word clusters and embeddings; (ii) token-level language information; and (iii) language-specific features (fine-grained POS tags). This input representation enables the parser not only to parse effectively in multiple languages, but also to generalize across languages based on linguistic universals and typological similarities, making it more effective to learn from limited annotations. Our parser's performance compares favorably to strong baselines in a range of data scenarios, including when the target language has a large treebank, a small treebank, or no treebank for training.
Introduction
Traditionally, Natural Language Processing (NLP) has followed a "one model per language" paradigm. This approach is increasingly problematic due to the inefficiency of maintaining dozens of language-specific models, the scarcity of annotated "treebanks" for many of the world's languages, and the failure to exploit structural similarities—or linguistic universals—shared across languages. To address these challenges, we present MALOPA (Many Languages, One Parser), a single transition-based neural dependency parser trained on a union of treebanks from multiple languages.
Methodology
MALOPA builds upon the Stack LSTM (S-LSTM) transition-based parser. The core innovation lies in an input representation that is both language-agnostic and language-aware:
- Multilingual Word Representations: Word embeddings from different languages are mapped into a shared vector space using "robust projection." This allows the model to transfer syntactic patterns across vocabularies (e.g., mapping "dog" in English to "perro" in Spanish).
- Language Embeddings: A learned Language ID embedding is fed into the parser to allow for language-specific "tweaks," such as handling varying adjective-noun orders. Research found that simple one-hot encodings often outperformed complex features from databases like WALS.
- Joint POS Tagging & Block Dropout: The model includes a built-in Bi-LSTM tagger to handle real-world scenarios where gold-standard Part-of-Speech (POS) tags are unavailable. To mitigate "cascading errors" from incorrect tags, we introduced Block Dropout, which stochastically zeros out the entire POS embedding during training, forcing the parser to remain robust to noise.
Experimental Setup
The study utilizes the Universal Dependency (UD) Treebanks (versions 1.2 and 2.0), focusing on German (de), English (en), Spanish (es), French (fr), Italian (it), Portuguese (pt), and Swedish (sv). We evaluated performance across three scenarios:
- High-resource: Full training data available for all languages.
- Low-resource: Only 3,000 tokens of training data for the target language.
- Zero-shot: No training data for the target language, relying entirely on cross-lingual transfer.
Results
The multilingual approach demonstrates that sharing knowledge across languages is a significant advantage. In high-resource settings, MALOPA achieved an average 84.3 Labeled Attachment Score (LAS), slightly outperforming the average of individual monolingual parsers (84.0).
In low-resource scenarios (3,000 tokens), MALOPA outperformed monolingual baselines by an average of 5.7 LAS points. Furthermore, in zero-shot settings, MALOPA surpassed previous state-of-the-art cross-lingual transfer parsers, demonstrating its ability to generalize based on learned linguistic universals.
Discussion and Limitations
While MALOPA shows strong performance, a significant gap remains when moving from "gold" annotations to predicted ones. As shown in the table below, the reliance on predicted POS tags and language IDs leads to a performance drop of approximately 5.1 LAS points on average (from 83.5 to 78.4 for POS).
Future work will focus on improving joint tagging and parsing to close this gap. Additionally, while the current model is theoretically well-suited for code-switched text, the lack of annotated code-switching treebanks prevented formal evaluation. Expanding the model to cover a broader range of language families beyond Indo-European remains a key objective for scaling massively multilingual parsing.
Summary updated