A Pipeline Framework for Dependency Parsing

Ming-Wei Chang, Quang Do, Dan RothACL 2006

Abstract

Pipeline computation, in which a task is decomposed into several stages that are solved sequentially, is a common computational strategy in natural language processing. The key problem of this model is that it results in error accumulation and suffers from its inability to correct mistakes in previous stages. We develop a framework for decisions made via in pipeline models, which addresses these difficulties, and presents and evaluates it in the context of bottom up dependency parsing for English. We show improvements in the accuracy of the inferred trees relative to existing models. Interestingly, the proposed algorithm shines especially when evaluated globally, at a sentence level, where our results are significantly better than those of existing approaches.

Introduction

In Natural Language Processing (NLP), complex tasks are frequently decomposed into a sequence of smaller, manageable stages known as a "pipeline." While this modularity is intuitive, pipelines suffer from a critical flaw: error accumulation. A mistake in an early stage, such as part-of-speech tagging, often cascades, making subsequent parsing steps nearly impossible to get right. This fragility is particularly pronounced in "deep pipelines"—tasks requiring a long chain of interdependent predictions. This work, originating from the University of Illinois at Urbana-Champaign (2006), introduces a framework designed to mitigate these issues in the context of bottom-up dependency parsing.

Methodology

The proposed framework builds upon a bottom-up, shift-reduce parsing architecture, enhanced by three primary innovations aimed at reducing brittleness:

Optimal Focus Policy

The authors analyze parser movement across a sentence and demonstrate that a "Step Back" policy—moving one step left after creating a dependency edge—is mathematically optimal. By minimizing the total number of actions required to construct a tree, the model reduces the statistical opportunities for error.

Deferred Commitment (Wait Actions)

Traditional parsers often force immediate decisions. By introducing WaitLeft and WaitRight actions, the parser can acknowledge a relationship exists between two words while deferring finalization until the potential child words have identified their own dependents. This prevents the premature "orphaning" of words.

Look-Ahead Inference

To improve the reliability of local decisions, the framework employs a local search algorithm. Instead of a purely greedy approach, the parser explores future action sequences to a specified depth (typically 2–4 steps) and selects the path with the highest cumulative score.

Impact of look-ahead depth on parsing accuracy across various metrics.

Experimental Setup

The model was evaluated using the Penn Treebank (Sections 02-21 for training, Section 23 for testing). To simulate a realistic pipeline environment, part-of-speech tags were provided by a pre-existing tagger (Toutanova et al., 2003), ensuring the parser had to handle potentially noisy input.

Results and Discussion

The framework demonstrated consistent improvements over baseline models. A key finding was the impact of look-ahead depth; as shown in the data, increasing the search depth from 1 to 4 consistently boosted performance across Dependency Accuracy (DA), Root Accuracy (RA), and Complete Accuracy (CA).

The model's performance on global metrics was particularly noteworthy. It achieved a Complete Accuracy (CA) of 40.7%, representing a significant improvement over the 38.4% baseline established by Yamada & Matsumoto (2003). Furthermore, the system exhibited remarkable robustness on long sentences (over 40 words), a regime where traditional parsers often fail due to compounded errors.

Comparison of the current framework against existing dependency parsing systems.

Conclusion

This research demonstrates that pipeline models can be highly competitive when designed with error-mitigation strategies. By combining an efficient action policy with deferred commitment and look-ahead inference, the framework significantly improves both local and global parsing accuracy. Future work will address the current limitation to projective languages and explore the integration of additional pipeline stages, such as shallow parsing, to further enrich the feature set.

Summary updated

BibTeX
@inproceedings{chang2006pipeline,
  author = {Ming-Wei Chang and Quang Do and Dan Roth},
  title = {{A Pipeline Framework for Dependency Parsing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2006},
  url = {https://openreview.net/forum?id=Hybo93xubH},
}
Figure