Globally Normalized Transition-Based Neural Networks

Daniel Andor, Chris Alberti, David Weiss, Aliaksei Severyn, Alessandro Presta, Kuzman Ganchev, Slav Petrov, Michael Collins

Abstract

We introduce a globally normalized transition-based neural network model that achieves state-of-the-art part-of-speech tagging, dependency parsing and sentence compression results. Our model is a simple feed-forward neural network that operates on a task-specific transition system, yet achieves comparable or better accuracies than recurrent models. We discuss the importance of global as opposed to local normalization: a key insight is that the label bias problem implies that globally normalized models can be strictly more expressive than locally normalized models.

Introduction

Transition-based models have long been favored in Natural Language Processing (NLP) for their efficiency in structured prediction tasks like dependency parsing and part-of-speech (POS) tagging. However, most traditional transition-based models rely on local normalization, where the model makes a sequence of greedy decisions. This paper demonstrates that by switching to global normalization via a Conditional Random Field (CRF) objective, simple feed-forward neural networks can outperform complex recurrent architectures like LSTMs.

The Label Bias Problem

The primary limitation of locally normalized models is the label bias problem. In a locally normalized system, the probabilities of all possible next actions at any given state must sum to one. This means the model cannot easily "penalize" a sequence of decisions based on evidence that appears later in the sentence. If a model makes an incorrect high-probability choice early on, it may be forced into a low-probability region of the search space with no mechanism to revise its path.

The authors provide a formal proof showing that globally normalized models are strictly more expressive than locally normalized ones. No amount of "lookahead" features can fully compensate for the lack of global normalization.

Methodology: Global Normalization with Feed-Forward Networks

The proposed architecture combines a standard feed-forward neural network with a global CRF objective:

  1. Transition System: The model uses standard transition systems (e.g., arc-standard for parsing) to move through a sequence of states.
  2. Global Normalization (CRF): Instead of normalizing at each step, the model computes a score for the entire sequence of decisions. The probability of a sequence is the exponentiated sum of scores for all steps, divided by a partition function representing all valid sequences.
  3. Beam Search & Early Updates: To handle the intractable partition function, the authors use beam search. During training, if the correct ("gold") path falls out of the beam, an "early update" is performed to adjust the weights immediately.
  4. Full Backpropagation: Unlike previous methods that only trained the final layer globally, this work performs full backpropagation through the entire network, including word embeddings, using the global CRF loss.

Experimental Results

Part-of-Speech Tagging

The model was evaluated on the English Wall Street Journal (WSJ), Treebank Union, and CoNLL ’09 multi-lingual datasets. The globally normalized model consistently outperformed locally normalized baselines and previous state-of-the-art methods.

POS Tagging Results

Dependency Parsing

On the Wall Street Journal benchmark, the model achieved a 94.61% Unlabeled Attachment Score (UAS), setting a new state-of-the-art record at the time of publication. This model served as the foundation for Google’s "Parsey McParseface" parser.

Dependency Parsing Results

Sentence Compression and Speed

In sentence compression tasks, the feed-forward model was approximately 100x faster than a 3-layer stacked LSTM while maintaining comparable accuracy. Locally normalized models often failed by producing "empty" compressions because they couldn't anticipate future dead ends; the globally normalized model effectively assigned these paths near-zero probability.

Conclusion

This research highlights that recurrence is not a mandatory requirement for state-of-the-art NLP performance. By addressing the label bias problem through global normalization and beam search training, simple feed-forward networks can achieve superior accuracy and speed compared to more complex recurrent models. The key takeaway is that the training objective and normalization structure are often more critical than the specific neural architecture.

Summary updated

BibTeX
@inproceedings{andor2016globally,
  author = {Daniel Andor and Chris Alberti and David Weiss and Aliaksei Severyn and Alessandro Presta and Kuzman Ganchev and Slav Petrov and Michael Collins},
  title = {{Globally Normalized Transition-Based Neural Networks}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  url = {https://openreview.net/forum?id=HJZ4sigOZB},
}
Figure