Abstract
Stanford’s entry for the CoNLL 2017 Shared Task achieved first place across all five primary metrics for Universal Dependency (UD) parsing. The system utilizes a deep biaffine neural architecture integrated with a novel character-level word representation and custom-trained Part-of-Speech (POS) taggers. By focusing on a clean, high-performance single-model approach rather than complex ensembles, the team demonstrated the efficacy of graph-based parsing for diverse, morphologically rich languages.
Introduction
The CoNLL 2017 Shared Task presented the challenge of Universal Dependency (UD) parsing across 81 treebanks covering a wide variety of language families. Dependency parsing involves identifying the grammatical structure of a sentence by linking words (dependents) to their "heads" (the words they modify).
Two major hurdles exist in multilingual parsing: the Rare Word Problem, where morphologically rich languages (like Finnish or Turkish) produce many word forms not seen in training, and Tagging Quality, as off-the-shelf POS taggers often bottleneck the parser's potential. Stanford's system addresses these by enhancing the input representation and training custom linguistic signal generators.
System Architecture
The core of the system is the Deep Biaffine Parser, an evolution of the architecture proposed by Dozat & Manning (2017). The model is designed to be elegantly straightforward, avoiding "bells and whistles" like lemmas or complex morphological features.
The architecture consists of:
- Input Layer: Words are represented by a combination of three embeddings: a pretrained word vector (word2vec), a holistic trainable word embedding, and a character-level representation.
- The Core: A multilayer bidirectional LSTM (BiLSTM) processes these inputs to create context-aware vector representations for every word in the sentence.
- Biaffine Classifiers: Instead of standard linear layers, the system uses biaffine transformations to predict the most likely "head" for a given dependent and the specific grammatical label for that relationship (e.g., "nsubj" or "obj").
Input Representations and Custom Taggers
To handle the diversity of the 81 test sets, the authors emphasized high-quality inputs. They trained their own POS taggers using an architecture nearly identical to the parser itself, ensuring the parser received the most accurate linguistic signals possible.
A key innovation is the Character-level Attention mechanism. Rather than using only the final state of a character-LSTM, the model employs a linear attention mechanism over all hidden states of the character sequence. This allows the model to "focus" on specific morphemes, such as prefixes or suffixes, that signal grammatical function—a crucial feature for handling rare words in morphologically rich languages.
Key Insights
Graph-based vs. Transition-based Parsing
The paper provides a compelling analysis of parsing strategies. Graph-based parsers, like the Stanford system, are shown to be fundamentally superior at handling nonprojectivity (sentences where dependency arcs cross). As the density of crossing arcs increases, the performance gap between this graph-based approach and traditional transition-based parsers widens significantly.
Morphological Complexity and Heaps' Law
The authors used Heaps' Law—which relates vocabulary size to document length—to quantify morphological complexity across languages. Their analysis validated that the character-level attention model provides the most significant accuracy boosts in languages with high morphological richness, justifying the added architectural complexity for those specific cases.
Results
The Stanford system swept the competition, taking 1st place in all five official metrics macro-averaged across all treebanks:
- UPOS (Universal POS) Tagging: 93.09%
- XPOS (Language-specific POS) Tagging: 82.27%
- UAS (Unlabeled Attachment Score): 81.30%
- LAS (Labeled Attachment Score): 76.30%
- CLAS (Content word LAS): 72.57%
The system proved particularly robust on large treebanks, where it achieved an 85.16% UAS.
Limitations and Future Work
Despite its success, the model faces challenges with small data overfitting. On very small treebanks, the high capacity of the deep BiLSTM can lead to poor generalization, suggesting a need for stronger regularization or reduced capacity in low-resource settings. Additionally, the system currently relies on external tokenization; errors in initial segmentation (e.g., in Chinese or Vietnamese) can propagate through the parser. Future work will focus on integrating more formal nonprojective decoding algorithms, such as the Chu-Liu/Edmonds algorithm, to replace current cycle-fixing heuristics.
Summary updated