Lexicalized Semi-incremental Dependency Parsing

Hany Hassan, Khalil Sima'an, Andy WayRANLP 2009

Introduction

Natural language parsing is a critical component of many AI systems, yet it often faces a trade-off between speed and accuracy. Most high-accuracy parsers are "non-incremental," requiring the entire sentence to be processed before determining its structure. While precise, this approach is computationally expensive and creates significant lag in real-time applications like speech recognition or machine translation. Conversely, traditional "incremental" parsers, which build structure word-by-word, often suffer from "greedy" errors—making early decisions that prove incorrect as more context is revealed.

This paper introduces a "semi-incremental" approach using Combinatory Categorial Grammar (CCG). By relaxing strict incrementality to allow a small two-word lookahead, the authors achieve a 10x speedup over contemporary state-of-the-art parsers while maintaining competitive accuracy.

Methodology

The proposed system decomposes the parsing process into two primary components:

  1. Supertag-Operator Tagger: A Maximum Entropy statistical model that assigns two labels to each word: a supertag (a complex syntactic category) and an operator (a rule defining how to combine the word with the existing partial structure).
  2. State-Realizer: A deterministic function that executes the assigned operators to construct the final dependency graph.
Figure 2: The supertag-operator tagging process and state realization for a sample sentence.

CCG is uniquely suited for this task because its operations, such as type raising and composition, allow almost any sentence prefix to be treated as a complete, connected constituent. The researchers explored several configurations, including Joint vs. Cascaded prediction (predicting tags and operators simultaneously vs. sequentially) and Local vs. Global search strategies (immediate per-word decisions vs. Viterbi decoding).

Experimental Setup

The models were evaluated using the CCGbank, a version of the Penn Treebank (Wall Street Journal articles) translated into CCG format. Sections 02–21 were used for training, Section 00 for development, and Section 23 for final testing.

Results and Discussion

The experimental results highlight the critical role of lookahead and architectural choices in balancing performance and efficiency.

Figure 6: Performance comparison across different architectures, lookahead settings, and search strategies.

The Impact of Lookahead

The most significant finding was that lookahead is essential for accuracy. As shown in the results table, models without lookahead saw accuracy drops of approximately 30%. Peeking just two words ahead provided sufficient context to resolve the majority of greedy parsing errors.

Architecture and Speed

The Cascaded architecture, which predicts the supertag before the operator, consistently outperformed the Joint approach. Furthermore, the researchers found that "Local" decision-making was nearly as accurate as "Global" Viterbi searching. This allows the parser to operate in linear time without maintaining a massive forest of possibilities.

Key performance metrics include:

  • Accuracy: The best model achieved an unlabeled dependency F-score of 86.7%.
  • Speed: The parser processed the test set in just 11 seconds, roughly 10 times faster than the leading non-incremental parsers of the era (e.g., Clark & Curran at 1.9 minutes).
  • Robustness: The supertagger maintained a high F-score of 91.7%, even with the added complexity of custom tags for coordination.

Conclusion

While the semi-incremental model still trails slightly behind the most complex "bottom-up" chart parsers in pure precision, its dramatic speed advantage makes it a powerful candidate for real-time applications. Future work may involve implementing "flexible" lookahead—waiting only when syntax is truly ambiguous—and integrating the parser into machine translation decoders to evaluate its impact on translation quality.

Summary updated

BibTeX
@inproceedings{hassan2009lexicalized,
  author = {Hany Hassan and Khalil Sima'an and Andy Way},
  title = {{Lexicalized Semi-incremental Dependency Parsing}},
  booktitle = {RANLP},
  year = {2009},
}
Figure