A Transition-Based Dependency Parser Using a Dynamic Parsing Strategy

Francesco Sartorio, Giorgio Satta, Joakim NivreACL 2013

Abstract

We present a novel transition-based, greedy dependency parser which implements a flexible mix of bottom-up and top-down strategies. The new strategy allows the parser to postpone difficult decisions until the relevant information becomes available. The novel parser has a 12% error reduction in unlabeled attachment score over an arc-eager parser, with a slow-down factor of 2.8.

Introduction

Dependency parsing is a fundamental task in Natural Language Processing (NLP) that involves identifying grammatical relationships between words in a sentence. Traditionally, parsers fall into two main categories: graph-based models, which are highly accurate but computationally expensive, and transition-based models, which are extremely fast but prone to early "search errors."

A primary source of these errors is the requirement for static parsers to commit to an attachment at a fixed point in time, often before sufficient context is available. A classic example is Prepositional Phrase (PP) attachment. In a sentence like "I saw the man with a telescope," a static parser often has to decide if "with a telescope" modifies "saw" or "man" before it has even processed the word "telescope," leading to permanent mistakes.

Ambiguity in prepositional phrase attachment where multiple attachment points (α2, α3) are possible for the preposition P.

The Dynamic Transition System

To address these limitations, we propose a transition system that moves beyond rigid top-down or bottom-up constraints. The core of this approach is the Spine Representation. Instead of treating subtrees as opaque blocks where only the root is accessible, the parser maintains access to the "spines"—the leftmost and rightmost paths of the tree. This richer interface allows for a more granular interaction between words.

The spine representation allows for flexible attachments within subtrees by organizing nodes into paths (colored regions).

By introducing dynamic transitions (LEFT-ARCk and RIGHT-ARCk), where $k$ represents the depth in the spine, the parser can attach a new word to any ancestor along the spine, not just the root. This flexibility is crucial for a postponement strategy: the parser can "SHIFT" words onto the stack and wait for more information from the buffer before deciding exactly where they belong. Furthermore, the training process utilizes an "easy-first" strategy. Unlike traditional training that forces a single "correct" path, this method allows the learner to prioritize the most certain attachments first. If multiple sequences of actions lead to the same correct tree (spurious ambiguity), the learner is encouraged to choose the most informative path.

Evaluation and Results

The model was evaluated on the gold standard for English parsing: the Penn Treebank (WSJ), converted into Stanford Basic Dependencies. Sections 2-21 were used for training, with section 22 for development and 23 for testing.

The dynamic parser achieved an Unlabeled Attachment Score (UAS) of 91.33%, a significant improvement over the Arc-Eager baseline of 90.18%. This represents a 12% reduction in error, a substantial gain for a greedy parser. Despite the increased complexity of the transition space—where the number of possible transitions can grow with tree depth—the parser remains highly efficient. It maintains an expected linear time complexity ($O(n)$) relative to sentence length and runs only 2.8 times slower than the simplest greedy models. Ablation studies confirmed that both the spine representation and the easy-first training strategy are critical to these performance gains, contributing independently to the overall accuracy.

Conclusion

By bridging the gap between local transition-based parsing and global graph-based insights through a flexible spine representation, this work demonstrates that accuracy can be significantly improved without sacrificing the efficiency of greedy parsing. While the number of possible transitions grows with the depth of the tree, the system remains practical for real-world sentence lengths. Future work will explore the integration of dynamic oracles to further enhance the parser's robustness to its own errors.

Summary updated

BibTeX
@inproceedings{sartorio2013transition,
  author = {Francesco Sartorio and Giorgio Satta and Joakim Nivre},
  title = {{A Transition-Based Dependency Parser Using a Dynamic Parsing Strategy}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2013},
  url = {https://openreview.net/forum?id=HkbuQhldZB},
}
Figure