Abstract
Dependency parsing has traditionally relied on complex, manually engineered feature templates to capture linguistic context. This paper demonstrates that replacing these templates with simple Bidirectional LSTM (BiLSTM) representations leads to state-of-the-art performance. By training the BiLSTM jointly with the parsing objective, the model automatically learns task-specific contextual features. We evaluate this approach on transition-based and graph-based parsers using English and Chinese benchmarks, showing that architectural simplicity can coexist with high accuracy.
1. Introduction
In dependency parsing—the task of identifying grammatical "head-modifier" relationships within a sentence—the design of the "feature function" has historically been a significant challenge. Researchers typically spent considerable effort designing feature templates to specify which words and contexts the model should consider (e.g., "the word on top of the stack and the second word in the buffer"). Even early neural network parsers relied on 18 to 20+ of these hand-picked core features. This work investigates whether feature engineering can be replaced by architectural engineering, allowing models to automatically learn the contextual information necessary for parsing decisions.
2. Methodology
The proposed approach utilizes Bidirectional LSTMs (BiLSTMs) as a unified feature extractor. The process involves three main stages:
- Input Representation: Each word in a sentence is represented by concatenating its word embedding with its Part-of-Speech (POS) tag embedding.
- BiLSTM Encoding: These embeddings are processed through a 2-layer BiLSTM. Because BiLSTMs process the sentence in both forward and backward directions, the resulting vector for each word encodes its entire sentential context.
- Parser Architectures: This feature representation is applied to two dominant parsing paradigms:
- Transition-based: A greedy parser that builds the dependency tree step-by-step. It uses a minimal feature set, concatenating only four BiLSTM vectors: the top three items on the stack and the first item on the buffer.
- Graph-based: A globally optimized parser that scores every possible arc between words. Its feature function is remarkably simple, requiring only two vectors: the BiLSTM representations of the head and the modifier.
Crucially, the BiLSTM is trained jointly with the parser rather than being pre-trained and frozen. This forces the network to learn representations specifically optimized for identifying grammatical dependencies.
3. Experimental Evaluation
The models were evaluated on two standard benchmarks: the Penn Treebank (PTB) for English and the Penn Chinese Treebank 5.1 (CTB5) for Chinese. The authors followed standard training and testing protocols to ensure a fair comparison with existing state-of-the-art (SOTA) models such as the Stack-LSTM and TurboParser.
4. Results and Discussion
The BiLSTM-based parsers matched or surpassed the performance of significantly more complex systems:
- English (PTB): The model achieved 93.9% Unlabeled Attachment Score (UAS) when utilizing external word embeddings, ranking among the top results at the time.
- Chinese (CTB): The model achieved 87.6% UAS, establishing a new state-of-the-art for the dataset.
Key Insights
- Contextual Integration: The BiLSTM vector for a word inherently contains information about its neighbors, eliminating the need for explicit templates that look at adjacent words.
- Minimalism and Efficiency: The graph-based parser achieves SOTA results using only two feature vectors. This reduction in complexity allows for faster scoring, as the $n^2$ arc calculations can be optimized into efficient matrix-vector operations.
- Multi-task Benefits: Sharing the BiLSTM encoder between structure and label predictors significantly improved accuracy for labeled parsing tasks.
- Dynamic Oracles: For transition-based parsing, the use of a dynamic oracle—which trains the model to recover from errors—was essential for achieving high performance.
5. Conclusion and Future Work
This research demonstrates that BiLSTM representations can effectively replace hand-crafted feature templates in dependency parsing, leading to simpler and more accurate models. While the current system relies on external POS tags, future work may explore end-to-end architectures that remove this dependency. Additionally, the authors noted that while external embeddings benefited the transition-based parser, they slightly hindered the graph-based model, suggesting further investigation into semi-supervised learning strategies is warranted.
Summary updated