Introduction
Dependency parsing—the task of mapping grammatical relationships between words—traditionally forces a choice between two paradigms. Graph-based models offer global optimality through algorithms like Maximum Directed Spanning Tree but are often restricted to simple "first-order" features (single arcs) to remain computationally tractable. Conversely, transition-based models can utilize rich, high-order features from the entire parsing history but suffer from error propagation due to their greedy, local decision-making.
This paper, presented at EMNLP 2017, introduces INDP (Incremental Neural Dependency Parsing), a method that bridges this gap. By starting with a first-order parse and iteratively refining it with high-order structural features, INDP achieves state-of-the-art accuracy while maintaining the benefits of global search.
Methods
The INDP model employs a multi-stage neural architecture designed for both efficiency and structural depth.
Feature Extraction and Scoring
Instead of standard Recurrent Neural Networks (RNNs), the model uses 1D Convolutional Neural Networks (CNNs) over word and Part-of-Speech (POS) embeddings. This captures local context efficiently, allowing for high parsing speeds. To overcome symmetry issues that often confuse single-scorer models, INDP uses two separate Multi-Layer Perceptrons (MLPs) to score "left-arcs" and "right-arcs" independently.
The Iterative Refinement Process
The "secret sauce" of INDP is its incremental approach to high-order features. Calculating these features for all possible tree configurations is NP-hard; however, calculating them based on a current "best guess" is straightforward.
- Initial Parse: The model generates a tree using only independent first-order arc scores.
- High-order Extraction: It extracts structural features such as siblings, grandparents, and "uncles" from this initial tree.
- Re-scoring: These features are fed back into the MLPs to update the arc scores.
- Global Optimization: A new tree is generated using the Chu-Liu-Edmonds algorithm.
This process typically converges within one or two iterations. If the first guess is "pretty good," the derived high-order features are accurate enough to correct the remaining complex errors.
Key Results
INDP was evaluated on the English Penn Treebank (PTB) and the Chinese Penn Treebank (CTB), using pre-trained Word2Vec embeddings for initialization. The model proved highly competitive with the leading architectures of the time:
- State-of-the-Art Accuracy: On the English PTB, it achieved a 95.53% Unlabeled Attachment Score (UAS). On the Chinese CTB, it set a new bar with an 89.42% UAS.
- The High-Order Boost: The transition from a first-order baseline to the high-order refined model was not marginal; it improved the Labeled Attachment Score (LAS) by roughly 5% to 6%.
- Efficiency: Despite the iterative nature, the model maintained speeds of 250–300 sentences per second, largely due to the fast CNN-based feature extraction.
Conclusion and Future Work
INDP demonstrates that global exhaustive inference can be successfully combined with high-order structural features through iterative refinement. While the model achieved top-tier structural accuracy (UAS), its labeled accuracy (LAS) trailed slightly behind some joint models. Future work may involve swapping CNNs for deeper architectures like Bi-LSTMs or implementing more sophisticated joint modeling of labels and structure to further push the boundaries of neural dependency parsing.
Summary updated