Dependency Language Models for Transition-based Dependency Parsing

Juntao Yu, Bernd Bohnet

Abstract

This paper demonstrates a significant boost in the accuracy of transition-based dependency parsers by incorporating "Dependency Language Models" (DLMs) trained on massive, automatically parsed datasets. By capturing structural relationships rather than just linear word sequences, the proposed approach achieves state-of-the-art results for Chinese parsing and substantial improvements for English benchmarks.

Introduction

Dependency parsing—the process of mapping grammatical "head-modifier" relationships—is a foundational task in Natural Language Processing (NLP). Traditionally, parsers are trained on small, manually annotated "treebanks." Because human labeling is expensive, researchers often turn to unlabeled data to improve performance. While common techniques like word embeddings or clustering help, they often ignore the underlying syntactic structure. Previous attempts to use Dependency Language Models (which predict the next "child" of a word based on its "head") were mostly limited to graph-based parsers. Transition-based parsers are generally faster and more efficient, but adapting DLMs to them is challenging because they build the tree step-by-step through a series of actions. This study bridges that gap by integrating DLM-based features into a high-performance transition-based system.

Methodology

The researchers integrated DLM-based features into the Mate parser, a strong transition-based system. Their approach involves several key steps:

  1. Building the DLM: Millions of unlabeled sentences were parsed using a base model. From this "silver" data, the system calculates the probability of a word having a specific child given its head and its previously assigned siblings (N-gram DLM).
  2. Feature Engineering: Instead of using raw probabilities, DLM scores were binned into four classes: High Probability (PH), Medium (PM), Low (PL), and Out-of-vocabulary (PO). These are combined with the parser's current state (stack items, POS tags, and dependency labels) into feature templates.
  3. Quality Filtering (Consensus Method): To ensure the DLM wasn't learning from the parser's own mistakes, the authors extracted DLMs only from sentences where two different parsing models (Mate and Berkeley) agreed on the structure. This high-quality filter proved more effective than using larger, noisier datasets.
  4. Multi-DLM Integration: The system can utilize multiple DLMs (unigram, bigram, and trigram) simultaneously during the parsing process, providing a more comprehensive structural context.

Experimental Results

Chinese Parsing Performance

The enhanced parser showed clear improvements on the Chinese Treebank 5 (CTB5). The model gained over 1.0 absolute point in Unlabeled Attachment Score (UAS), reaching a state-of-the-art 83.28%. It also improved part-of-speech tagging accuracy by 0.42%.

Comparison of parsing performance on the Chinese Treebank (CTB5).

English Parsing Performance

On the Penn English Treebank (PTB), the model gained 0.45 points in UAS, reaching 93.74%. The approach maintained the speed advantages of transition-based parsing while narrowing the accuracy gap with more computationally expensive neural or graph-based systems.

Comparison of parsing performance on the Penn English Treebank (PTB).

Key Insights

  • Structure Over Sequence: Standard language models look at linear word sequences, whereas DLMs look at parent-child relationships. This structural perspective is more relevant to the internal logic of a parser.
  • The Power of Agreement: Using two parsers to filter unlabeled data yielded better features than training on a larger but noisier dataset. When different algorithms agree, the parse is much more likely to be correct.
  • Binning Probabilities: Converting continuous probabilities into discrete categories allowed the transition-based model to learn robust feature weights without overfitting to specific frequency numbers.

Conclusion and Future Work

While the "agreement" method provided high-quality data, it significantly reduced the amount of usable Chinese data, suggesting that for some languages, the filter might be too strict. Future work may explore Neural Dependency Language Models to capture even deeper semantic relationships and reduce the reliance on large beam sizes for optimal performance.

Summary updated

BibTeX
@inproceedings{yu2017dependency,
  author = {Juntao Yu and Bernd Bohnet},
  title = {{Dependency Language Models for Transition-based Dependency Parsing}},
  booktitle = {IWPT},
  year = {2017},
}
Figure