Introduction
Dependency parsing—the task of mapping grammatical relationships between words in a sentence—is a cornerstone of natural language processing. Historically, graph-based parsers have been the gold standard for accuracy. However, they face a significant trade-off: first-order models are computationally efficient ($O(n^3)$) but "blind" to context, while high-order models capture context through larger subgraphs but are significantly slower ($O(n^5)$ or higher) and require extensive manual feature engineering.
This paper demonstrates that computationally expensive high-order logic is not required to achieve state-of-the-art results. By using Bidirectional LSTMs (BLSTMs) to create context-aware word representations, the authors build a first-order graph-based parser that is both faster and more accurate than traditional high-order models.
The Challenge of High-Order Parsing
The complexity of high-order parsing arises from the need to look at subgraphs like siblings or grandparents to gain context. These structures require millions of hand-crafted features to be effective in traditional models.
The authors propose that the structural complexity of these models is essentially a workaround for the lack of context in individual word embeddings. By providing a "global" view of the sentence to every word via a BLSTM, the structural complexity of the parser can be greatly simplified.
Proposed Neural Architecture
The authors propose a neural architecture that replaces manual feature engineering with deep learning:
- BLSTM Feature Extraction: Every word is passed through a Bidirectional LSTM, ensuring that the representation of a word at any position contains information about the entire sentence.
- LSTM-Minus (Segment Embedding): To represent the context between a head word and its modifier, the authors introduce a novel technique. They run a forward LSTM over the sentence and subtract the hidden state at the start of a segment from the hidden state at the end. This provides a fixed-length vector representing a variable-length segment of text.
- Minimalist Features: Because the BLSTM is so powerful, the model only requires three atomic features: the head word vector, the modifier word vector, and the distance between them.
- First-Order Decoding: Since the model only scores single arcs (first-order factorization), it can use the standard, efficient Eisner algorithm for decoding.
Experimental Results
The model was evaluated on standard benchmarks for English (Penn Treebank) and Chinese (CTB5):
- Accuracy: On the English Penn-YM dataset, the model achieved a 93.51% UAS (Unlabeled Attachment Score), outperforming 4th-order models and even "unlimited-order" models that use complex search strategies.
- Speed: The model processes 61 sentences per second, making it roughly 3x faster than previous neural first-order models and orders of magnitude faster than high-order models.
- Long-Distance Mastery: The model significantly improved performance on long-distance dependencies, matching or exceeding 2nd-order models on arcs spanning 10 or more words.
Conclusion
This research proves that deep contextual representations can do the heavy lifting in dependency parsing. By leveraging BLSTMs, the authors achieved state-of-the-art performance with a simple first-order model, demonstrating that context often trumps structural complexity. Future work may explore incorporating labels or handling non-projective trees for languages with more flexible word orders.
Summary updated