Probabilistic Graph-based Dependency Parsing with Convolutional Neural Network

Zhisong Zhang, Hai Zhao, Lianhui Qin

Abstract

This paper presents a novel neural probabilistic framework for graph-based dependency parsing. By moving beyond local word windows, the proposed model integrates a convolutional neural network (CNN) to capture global sentence-level context. Furthermore, the framework employs an ensemble of models across different orders (up to third-order) using a learned linear layer. Experimental results on standard English and Chinese benchmarks demonstrate that this approach achieves competitive accuracies, particularly in resolving long-distance dependencies.

Introduction

Dependency parsing is a fundamental task in natural language processing, aimed at identifying grammatical relationships between words in a sentence. Graph-based parsers typically address this by scoring potential head-modifier pairs (edges) and finding the maximum spanning tree. However, traditional graph-based parsers often rely on local features within a small window, struggling with long-distance dependencies and global sentence structure. Additionally, many neural parsers utilize max-margin training, which lacks a comprehensive probabilistic foundation.

This research introduces three primary innovations: a probabilistic training objective based on Maximum Likelihood Estimation (MLE), a distance-aware CNN for global context, and a learned stacking method for model ensembling.

Methodology

Probabilistic Training and Higher-Order Factors

Unlike traditional max-margin approaches, this framework treats the parser as a Conditional Random Field (CRF). The probability of a specific dependency tree is normalized across the space of all possible trees. Training is conducted via MLE, using the inside-outside algorithm to efficiently compute gradients.

The model incorporates higher-order dependency factors to improve accuracy. While first-order models only consider head-modifier pairs, higher-order models examine more complex structures, such as siblings and grand-siblings.

Comparison of 1st, 2nd, and 3rd-order dependency structures used in the parsing framework.

Distance-Aware CNN

To overcome the limitations of local feature windows, the authors implement a convolutional layer that processes the entire sentence. This CNN is "distance-aware," meaning it incorporates features representing the relative distance between the sliding window and the specific nodes in the dependency factor being scored. This global sentence representation is then combined with local features to inform the parser's decisions.

Architecture of the distance-aware CNN, illustrating the integration of lexical and distance features to capture global context.

Learned Model Ensembling

Higher-order parsers are more accurate but computationally intensive. The authors address this by training separate 1st, 2nd, and 3rd-order models and then "stacking" them. Rather than a simple summation of scores, the outputs and hidden layers of these models are fed into a final linear layer, which is trained using the structured average perceptron method. This allows the model to learn the optimal way to combine information from different levels of structural complexity.

Evaluation and Results

The models were evaluated on the English Penn Treebank (PTB) and the Chinese Penn Treebank (CTB5). To ensure robustness, the English results were tested across three conversion styles: Penn2Malt, Stanford Basic Dependencies (SD), and LTH.

On the PTB-SD benchmark, the third-order ensemble model achieved an Unlabeled Attachment Score (UAS) of 93.42% and a Labeled Attachment Score (LAS) of 91.29%. On the CTB benchmark, it reached a UAS of 87.65% and a LAS of 86.17%. Analysis indicates that the CNN enhancement significantly improves performance on long-range dependencies by providing the model with a broader view of the sentence structure.

Discussion and Conclusion

The probabilistic approach provides a "soft" alternative to max-margin training, considering the entire distribution of possible trees and leading to more stable parameter estimation. Furthermore, the stacking method demonstrates that lower-order model representations contain valuable features for higher-order decision-making.

Despite these successes, the current implementation is limited to projective parsing, where dependency lines do not cross. Extending this to non-projective parsing would require different decoding algorithms. Additionally, while the model is neural, it still utilizes some manual feature engineering, such as POS tags and distance buckets, which could potentially be replaced by end-to-end representations in future work.

Summary updated

BibTeX
@inproceedings{zhang2016probabilistic,
  author = {Zhisong Zhang and Hai Zhao and Lianhui Qin},
  title = {{Probabilistic Graph-based Dependency Parsing with Convolutional Neural Network}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-1131},
}
Figure