A Neural Probabilistic Structured-Prediction Model for Transition-Based Dependency Parsing

Hao Zhou, Yue Zhang, Shujian Huang, Jiajun Chen

Introduction

Transition-based dependency parsing constructs grammatical structures through a sequence of discrete actions, such as shifting words onto a stack or reducing them into parent-child relationships. Historically, researchers faced a significant trade-off between two paradigms:

  1. Linear Models: These utilized global search (beam search) to find optimal action sequences but required millions of hand-crafted, sparse features.
  2. Greedy Neural Models: These automatically learned dense feature representations but made local, "greedy" decisions. This often led to error propagation, where a single early mistake could derail the entire parse.

This paper bridges this gap by introducing a neural probabilistic model that optimizes for entire sequences of actions rather than individual steps, combining the automatic feature learning of neural networks with the global optimization of structured prediction.

The proposed model occupies the 'neural dense' and 'structured prediction' quadrant, filling a gap in existing parsing literature.

Methodology

The authors propose a Neural Probabilistic Structured-Prediction Model defined by several key technical components:

  • Global Action Scoring: Instead of local decisions, the model calculates a score for the entire sequence of actions.
  • Sentence-Level Log-Likelihood: A global softmax function is used to model the probability distribution of all possible action sequences for a given sentence.
  • Contrastive Learning: Since calculating every possible parse tree is mathematically intractable, the authors approximate the total probability by focusing only on the action sequences currently held in the beam search.
  • Early Update Strategy: During training, if the correct ("gold") action sequence falls out of the beam, the model stops and updates its parameters immediately to correct the error.
  • Cube Activation: The model utilizes the cube activation function $(h = (Wx + b)^3)$ to effectively capture interactions between word, POS-tag, and label features.

Experimental Results

The model was evaluated on the standard English Penn Treebank (PTB) benchmark. The structured neural parser achieved an Unlabeled Attachment Score (UAS) of 93.28%, a significant 1.8% absolute improvement over the competitive greedy neural baseline.

UAS results showing the clear advantage of beam contrastive learning over greedy and ranking-based neural baselines.

Key Insights

  • Integration of Search and Learning: The authors discovered that simply adding beam search to a pre-trained greedy neural model provides only a tiny benefit. To see real accuracy gains, the model must be trained with the search process in mind (global learning).
  • Efficiency vs. Accuracy: While the structured model is slower than a greedy one due to the beam search, it is far more accurate. Conversely, it is much more memory-efficient than linear models, requiring only 25 MB compared to the 250 MB typically needed for sparse linear systems.
  • Beam Size Impact: Increasing the beam size significantly improved the structured model's performance, whereas it had diminishing returns on the greedy model.

Conclusion

This work demonstrates that global structured prediction can be effectively combined with dense neural representations. By using contrastive learning and beam search during training, the model successfully mitigates error propagation. While the approach is computationally more intensive than greedy parsing, its superior accuracy and compact model size represent a major step forward for transition-based dependency parsing.

Summary updated

BibTeX
@inproceedings{zhou2015neural,
  author = {Hao Zhou and Yue Zhang and Shujian Huang and Jiajun Chen},
  title = {{A Neural Probabilistic Structured-Prediction Model for Transition-Based Dependency Parsing}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2015},
  doi = {10.3115/v1/p15-1117},
}
Figure