Introduction
Dependency parsing is the foundational task of mapping the grammatical structure of sentences, identifying how words relate to one another as heads and dependents. Modern parsers rely heavily on word embeddings to capture these relationships. However, standard embeddings like word2vec are typically optimized for semantic similarity based on linear text windows (e.g., identifying that "apple" and "pear" are similar).
For the task of parsing, semantic similarity is often less important than syntactic function. Furthermore, many languages lack the massive corpora required to train robust semantic embeddings, or they possess complex morphological structures that lead to high out-of-vocabulary rates. The TurkuNLP team addressed these challenges in the CoNLL 2017 Shared Task by developing "syntax-aware" embeddings through delexicalized pre-training.
Methodology: Learning the Language of Syntax
The core innovation of the TurkuNLP system is the shift from predicting words to predicting grammatical roles. They introduced three primary techniques to enhance the UDPipe parsing pipeline:
1. Delexicalized Syntactic Contexts
Instead of a standard output layer that predicts specific neighboring words, the TurkuNLP model uses a delexicalized layer. The model is trained to predict a word's part-of-speech (POS) tags, morphological features, and syntactic functions. Crucially, they extended this to predict the specific actions a transition-based parser would take, such as "shift" or "left-arc."
By focusing on these structural markers, the embeddings learn a "structural fingerprint" of the language. This allows the model to understand how a sentence is constructed regardless of the specific vocabulary used, which is particularly beneficial for low-resource scenarios.
2. Character n-grams for Morphological Richness
To handle unseen words and complex morphology (common in languages like Finnish or Turkish), the team adopted a fastText-style approach. Words are decomposed into character n-grams (3–6 characters long). The final word vector is an average of its constituent n-gram vectors. This enables the model to infer the likely grammatical role of a new word based on familiar suffixes or prefixes.
3. Post-training Vector Adjustment
The authors implemented a mechanism to adjust the vectors of "unseen" words after the parser was trained. If the training process caused the vector of a known word to shift in a specific direction in the vector space, the model applied a proportional shift to its nearest neighbors. While theoretically sound for improving generalization, the authors noted the actual performance impact of this specific adjustment was marginal.
Datasets and Evaluation
The system was evaluated using the CoNLL 2017 Shared Task datasets, which included:
- Universal Dependencies (UD) v2.0: 70 treebanks spanning 50 languages.
- Raw Web-Crawled Text: Over 90 billion tokens of automatically parsed data for embedding induction.
- Parallel Test Sets (PUD): 1,000 sentences in 14 languages for cross-linguistic benchmarking.
- Surprise Languages: Four languages (Buryat, Kurmanji, North Sami, and Upper Sorbian) with extremely limited training data.
Key Results and Discussion
The TurkuNLP system demonstrated strong performance across the board, ranking 11th out of 33 participants with a macro-averaged Labeled Attachment Score (LAS) of 68.59%.
The strategy was most effective for Small Treebanks, where the team ranked 8th and achieved a 2.38% improvement over the baseline UDPipe system. This confirms that delexicalized pre-training is a powerful tool for low-resource languages where traditional semantic data is insufficient. Additionally, the system excelled in auxiliary tasks, ranking 6th in POS tagging and 2nd in morphological feature prediction.
One notable area for improvement was the "Surprise Languages" category, where the team ranked 26th. The authors attributed this to a "minimal effort" transfer approach, suggesting that future work should focus on more sophisticated cross-lingual mapping to better leverage delexicalized features across language boundaries.
Summary updated