Tree-Based Deterministic Dependency Parsing - An Application to Nivre's Method -

Kotaro Kitagawa, Kumiko Tanaka-IshiiACL 2010

Abstract

Nivre's method was improved by enhancing deterministic dependency parsing through application of a tree-based model. The model considers all words necessary for selection of parsing actions by including words in the form of trees. It chooses the most probable head candidate from among the trees and uses this candidate to select a parsing action. In an evaluation experiment using the Penn Treebank (WSJ section), the proposed model achieved higher accuracy than did previous deterministic models. Although the proposed model's worst-case time complexity is $O(n^2)$, the experimental results demonstrated an average parsing time not much slower than $O(n)$.

Introduction

Dependency parsing involves mapping the grammatical relationships between words in a sentence. Historically, researchers have faced a trade-off between high-accuracy global optimization methods (often $O(n^3)$) and high-speed deterministic transition-based methods (typically $O(n)$). While deterministic methods like Nivre’s are efficient, their "greedy" nature often leads to local errors that cannot be corrected later.

This paper presents a middle ground: a tree-based deterministic parser that incorporates global awareness to boost accuracy while maintaining near-linear speed. By allowing the parser to look "inside" previously constructed subtrees, the model avoids the limitations of purely word-based local decisions.

Methodology: The Tree-Based Model

The core innovation is shifting from word-based decisions to tree-based ones. In standard transition-based parsing, the stack contains individual words. In the proposed model, the stack contains partial trees, allowing the parser to reach into the internal structure of subtrees.

The Tournament Model (MPHC)

When deciding how to attach a word from the buffer ($w_j$) to a structure on the stack, the parser identifies the Most Probable Head Candidate (MPHC) within that stack tree. This is achieved through a "tournament model" where a binary classifier compares pairs of words within the tree to determine the most likely head for $w_j$.

The tournament model selects the most probable head candidate (MPHC) from a partial tree.

Transition Selection

Once the MPHC is identified, a classifier determines the next action. A key difference from Nivre's method is the Right-Arc transition. Instead of attaching the buffer word to the root of the stack element, the MPHC becomes the head of the buffer word, allowing for internal attachments.

The proposed Right-Arc transition allows attaching a buffer word to an internal node (MPHC) of a stack tree.

This approach simplifies the transition set to Left-Arc, Right-Arc, and Shift, eliminating the need for the "Reduce" operation and its associated preconditions found in the original Nivre method.

Experimental Evaluation

The model was evaluated using the Penn Treebank (WSJ section), with sections 2-21 for training and section 23 for testing. Constituent-based trees were converted to unlabeled dependency trees using Yamada’s head rules.

Results

The proposed method significantly outperformed previous deterministic models and approached the performance of state-of-the-art global models:

  • Accuracy: The model achieved 91.3% unlabeled attachment score, surpassing Nivre’s method (87.1%) and Yamada & Matsumoto (90.4%).
  • Complete Match: The percentage of fully correct sentences rose to 41.7%, a substantial improvement over Nivre’s 30.4%.
  • Efficiency: Despite a theoretical worst-case complexity of $O(n^2)$, the average parsing time was 8.9 seconds, comparable to Nivre’s 7.9 seconds. This confirms that in practice, natural language subtrees are rarely deep enough to significantly degrade performance.

Conclusion

By treating subtrees as searchable units, the tree-based deterministic parser bridges the gap between speed and accuracy. It successfully generalizes tournament-based head selection to projective languages like English, offering a robust and efficient solution for dependency parsing. Future work may explore extending this model to handle non-projective languages.

Summary updated

BibTeX
@inproceedings{kitagawa2010tree,
  author = {Kotaro Kitagawa and Kumiko Tanaka-Ishii},
  title = {{Tree-Based Deterministic Dependency Parsing - An Application to Nivre's Method -}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2010},
  url = {https://openreview.net/forum?id=HyWTIhed-H},
}
Figure