Layer-Based Dependency Parsing

Ping Jian, Chengqing Zong

Abstract

This paper introduces a novel layer-based approach to dependency parsing that bridges the gap between graph-based and transition-based models. By utilizing sequence labeling techniques, specifically Conditional Random Fields (CRFs), to exhaustively search for depth-one sub-graphs layer by layer, the proposed parser achieves a balance between accuracy and speed. It mitigates the error propagation common in transition models while parsing significantly faster than traditional graph-based models.

Introduction

Dependency parsing has traditionally been dominated by two paradigms: graph-based and transition-based models. Graph-based models (e.g., MSTParser) offer high accuracy by scoring all possible dependency graphs but suffer from high computational complexity ($O(n^3)$). Conversely, transition-based models (e.g., MaltParser) are fast ($O(n)$) but prone to error propagation due to greedy, local decision-making.

The authors propose a middle ground: a parser that uses global, exhaustive search within restricted local windows to prevent cascading errors while maintaining high efficiency.

Methodology

The core of the proposed system is a bottom-up, layer-based parser. Instead of constructing the entire tree in one pass, the algorithm processes the sentence in discrete layers, where each layer consists of tokens with a dependency depth of at most one relative to their immediate neighbors.

Sequence Labeling for Trees

The parser treats dependency parsing as a sequence labeling task, akin to chunking. Within a single layer, linear-chain CRFs are employed to identify parent-child relations between adjacent tokens. Labels such as LH_NMOD (Left-Headed Noun Modifier) or RH_NMOD (Right-Headed Noun Modifier) indicate the direction and type of the dependency.

Dependency tree represented as sequence labels.

The Iterative Reduction Process

The parsing process follows a specific sequence of steps:

  1. Labeling: CRFs identify relations between adjacent tokens.
  2. Reduction: A secondary "Reduce" tagger determines if a child word has found its head and forms a complete sub-tree. If so, the word is "reduced" or removed from the active sequence.
  3. Transition: The remaining tokens (the heads) form the sequence for the next layer. This continues until only the root remains.
The iterative layer-based reduction process.

The authors also introduce LDP1div, a variant that uses separate CRF models for the first layer (parsing raw words) and subsequent layers (parsing phrases), recognizing the different linguistic characteristics at different depths.

Experimental Results

The models were evaluated on the Penn Treebank (English) and Penn Chinese Treebank 5.0.

Speed and Efficiency

The layer-based parser (LDP1div) demonstrated exceptional speed. On the Chinese dataset, it reached approximately 450 words per second—8 times faster than a 2nd-order MSTParser and 15 times faster than MaltParser. Crucially, its performance is resilient to sentence length; while MSTParser's speed dropped by 57% on sentences longer than 40 words, LDP1div only saw an 8% decrease.

Accuracy

LDP1div achieved competitive results, with an Unlabeled Attachment Score (UAS) of 89.68% on English, matching transition-based models. On Chinese, it reached 83.44% UAS, comparable to 1st-order graph models.

Discussion and Conclusion

By restricting exhaustive search to adjacent tokens within layers, the computational complexity is reduced to $O(R^2n^2)$, where $R$ is the number of relation types. This makes sequence labeling a viable tool for building hierarchical structures.

However, limitations remain. The deterministic transitions between layers can still lead to error propagation for long-distance dependencies. Additionally, the current model is restricted to projective dependencies. Future work involves developing more specialized models for higher layers and extending the framework to handle non-projective cases.

Summary updated

BibTeX
@inproceedings{jian2009layer,
  author = {Ping Jian and Chengqing Zong},
  title = {{Layer-Based Dependency Parsing}},
  booktitle = {PACLIC},
  year = {2009},
}
Figure