NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Dynamic Programming Algorithms for Transition-Based Dependency Parsers

Marco Kuhlmann, Carlos Gómez-Rodríguez, Giorgio SattaACL 2011

Introduction

Dependency parsing is a cornerstone of natural language processing, tasked with identifying the grammatical structure of sentences by linking words via directed links. Historically, the field has been divided between two paradigms: fast, greedy transition-based parsers and robust, exhaustive graph-based parsers. This paper bridges that gap by introducing a general framework to "tabularize" transition-based systems using dynamic programming (DP).

The Dependency Parsing Landscape

Transition-based parsers are prized for their linear-time efficiency. They process sentences left-to-right, applying a sequence of local actions like "Shift" or "Reduce" to a stack. However, their greedy nature makes them prone to error propagation. In contrast, graph-based or tabular parsers use DP to explore the entire search space, ensuring global optimality at the cost of higher computational complexity.

A dependency tree representation for the sentence 'This news had little effect on the markets'.

The authors aim to combine the intuitive logic of transition systems with the mathematical rigor of DP, allowing for exact search within transition-based models.

Methods: The Push Computation Framework

The core innovation is the Push Computation. A push computation is defined as a sequence of transitions that begins with a specific stack and concludes with that same stack plus exactly one new node on top. Crucially, the intermediate steps never expose the original stack elements.

Visualization of a transition sequence (push computation) for a dependency parser, showing the evolution of stack states through shift (sh), left-arc (la), and right-arc (ra) operations.

By viewing a full parse as a composition of these modular "push" units, the authors define a formal deduction system. This system uses logic rules to combine small fragments into larger ones. To ensure efficiency, they employ a simulation technique based on Lang (1974), storing intermediate results in a "chart" to avoid redundant computations.

The framework was applied to two primary models:

  • Arc-Standard: A bottom-up approach shown to be equivalent to CKY algorithms for bilexicalized context-free grammars.
  • Arc-Eager: A more complex model for which this paper provides the first-ever polynomial-time tabular specification.

Key Insights and Complexity

A significant finding is the theoretical complexity of these models when tabularized. While the Arc-Standard model has a complexity of $O(n^5)$ (reducible to $O(n^4)$), the Arc-Eager model—despite its perceived complexity—achieves a cubic time complexity of $O(n^3)$ and $O(n^2)$ space. This is due to structural properties where the head of a computation remains consistent with its starting point.

The authors also explore "feature compatibility." While transition-based parsers often use deep-stack features, these can break the independence assumptions required for DP. The paper defines the specific conditions under which feature models remain "tabulatable" without causing a state-space explosion.

Conclusion

This work establishes a formal link between transition-based parsing and classical chart parsing. While $O(n^3)$ is slower than greedy linear-time parsing, the ability to perform exact search and generate parse forests opens new avenues for hybrid systems. Future work will focus on empirical validation and managing the trade-off between feature richness and computational tractability.

Summary updated

BibTeX
@inproceedings{kuhlmann2011dynamic,
  author = {Marco Kuhlmann and Carlos Gómez-Rodríguez and Giorgio Satta},
  title = {{Dynamic Programming Algorithms for Transition-Based Dependency Parsers}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2011},
}
Figure