Incremental Parsing with Minimal Features Using Bi-Directional LSTM

James Cross, Liang HuangACL 2016

Introduction

Traditional parsing systems—the computational methods used to determine the grammatical structure of sentences—have historically relied on extensive "feature engineering." Even early neural network-based parsers required dozens of hand-crafted "atomic features," such as the word two positions to the left or the part-of-speech tag of a head word's leftmost child. These local windows often failed to capture global context, and constituency parsing (building phrase-structure trees) typically required a pre-processing step called "binarization" to accommodate standard shift-reduce algorithms.

This paper addresses these limitations by simplifying the parsing pipeline. The authors demonstrate that by using Bi-Directional LSTMs (Bi-LSTMs) to represent sentence context, state-of-the-art greedy parsers can be built using as few as three positional features.

Methods

The core innovation lies in the use of Bi-LSTMs to create context-sensitive representations for every word in a sentence. Instead of relying on individual word embeddings, the model processes the entire sentence through a Bi-LSTM, where each resulting vector captures information from both the left and right context.

Minimalist Features

Because the Bi-LSTM vectors are inherently rich in context, the parser requires significantly fewer features. For dependency parsing, the model only examines three positions: the top two items on the stack ($s_0, s_1$) and the next word in the queue ($q_0$). For constituency parsing, only two additional features representing tree spans are added.

Shift-Promote-Adjoin System

The authors introduce a novel transition system for constituency parsing called Shift-Promote-Adjoin. Unlike standard systems that rely on "Shift" and "Reduce" operations, this system utilizes:

  • Shift: Moves a word from the queue to the stack.
  • Promote: Creates a new phrase node (e.g., converting a word into a Noun Phrase).
  • Adjoin: Attaches a constituent to an existing phrase, handling "sister" relationships.

This approach allows the model to handle n-ary trees (trees with any number of branches) directly, eliminating the need for artificial binarization.

Shift-Promote-Adjoin transition sequence for a sample sentence.

Results and Key Insights

The models were evaluated on the English Penn Treebank (PTB) and the Penn Chinese Treebank (CTB-5). The Bi-LSTM-based greedy parser achieved state-of-the-art results for its class:

  • Dependency Parsing (English): 93.42% UAS and 91.36% LAS on the PTB, significantly outperforming the seminal Chen & Manning (2014) neural parser.
  • Constituency Parsing: 89.95 F1 on English and 80.13 F1 on Chinese, the highest reported scores for greedy constituency parsers at the time.

Long-Distance Accuracy

A key insight from this work is that global context is far more valuable than a high volume of local, hand-engineered features. The Bi-LSTM model is particularly effective at identifying long-distance dependencies. As shown in the performance analysis, the Bi-LSTM maintains higher recall as arc length increases compared to previous models that relied on limited local windows.

Recall vs. Arc Length comparison between the Bi-LSTM model and Chen and Manning (2014).

Conclusion

The success of this minimalist approach suggests that representing words in the context of the entire sentence allows models to automatically identify crucial structural aspects. While greedy parsers still trail behind those using beam search or global optimization, the Bi-LSTM architecture provides a simpler, more resilient foundation for incremental parsing. Future work may explore eliminating the reliance on part-of-speech tags entirely, further simplifying the pipeline.

Summary updated

BibTeX
@inproceedings{cross2016incremental,
  author = {James Cross and Liang Huang},
  title = {{Incremental Parsing with Minimal Features Using Bi-Directional LSTM}},
  booktitle = {Annual Meeting of the Association for Computational Linguistics},
  year = {2016},
  doi = {10.18653/v1/p16-2006},
}
Figure