Reranking an n-gram supertagger

John Chen, Srinivas Bangalore, Michael Collins, Owen Rambow2002

Abstract

This paper introduces a reranking approach to "supertagging"—the process of assigning complex structural tags from Tree Adjoining Grammar (TAG) to words to provide an "almost parse." By utilizing the RankBoost algorithm to re-order the outputs of a standard n-gram supertagger, the authors successfully incorporate long-distance linguistic features that local n-gram models typically miss. This method significantly improves supertagging accuracy and enhances the efficiency of full sentence parsing.

Introduction

In natural language processing, supertagging serves as a high-stakes version of part-of-speech tagging. Instead of simple labels like "Noun" or "Verb," words are assigned "supertags"—elementary trees from a TAG that encode local syntactic constraints such as subcategorization. Because supertags are highly informative, correct assignment is often referred to as "almost parsing."

However, two major hurdles exist in this domain:

  1. The Sparse Data Problem: Automatically extracted grammars can contain thousands of unique supertags (nearly 4,000 in this study). Standard n-gram models struggle to estimate probabilities for such a large set.
  2. Local Blindness: N-gram models typically look at a small, fixed window (e.g., two words back), missing long-distance dependencies—such as a verb's relationship with a distant subject—that are crucial for selecting the correct structural tag.

Methodology

The researchers propose a two-stage pipeline to address these issues. First, a standard trigram model generates the top $n$ (e.g., 8) most likely supertag candidates for each word, along with confidence scores. Second, a reranking stage uses the RankBoost algorithm to re-order these $n$ candidates. Unlike n-grams, RankBoost can efficiently handle a massive variety of features without falling into the "curse of dimensionality."

Feature Engineering

Several feature templates were designed to capture different linguistic contexts:

  • SHORT: Local trigram-style features focusing on the current word and its immediate neighbors.
  • LONG (WIN/FAR): Features that look for specific supertags up to 16 words away, allowing the model to perceive broader sentence structure.
  • POS Features: Simplified Part-of-Speech tags used to mitigate data sparsity.
  • Smoothing: Experiments with smoothing the initial n-gram model helped handle word-tag combinations not seen during training.

Experimental Setup

The study utilized the Penn Treebank for training (Sections 02–21), tuning (Section 12 and 13–14), and testing (Section 22). The grammar used was an automatically extracted TAG containing 3,964 tree frames, representing a significantly more complex challenge than the hand-written grammars used in previous research.

Key Results and Discussion

The baseline 1-best trigram accuracy was 80.20%. Reranking with the optimal feature set (LONG $\cup$ SHORT) raised this to 81.73%. When combining smoothing with reranking, the authors achieved a peak accuracy of 82.99%, representing a 14.1% error reduction over the unsmoothed, non-reranked baseline.

Supertagging accuracy across feature sets

A critical insight from the study is the non-linear relationship between supertagging accuracy and parsing success. The authors identified a "sweet spot" where increasing supertagging accuracy from 88% to 92% results in a massive jump in the percentage of sentences a full parser can successfully process.

Parsing success vs. supertagging accuracy

Furthermore, the researchers found that "LONG" features were only effective when combined with "SHORT" features. This suggests that local lexical context provides the necessary "anchor" for long-distance structural features to function correctly. From a practical standpoint, the paper demonstrates that keeping $n \leq 3$ candidates is the limit for n-best supertagging; beyond this, the ambiguity becomes too high for a full parser to handle efficiently.

Conclusion

This work proves that reranking is a viable strategy for overcoming the local limitations of n-gram supertaggers. By integrating long-distance features, the system achieves higher accuracy and significantly improves the viability of downstream parsing. Future work will explore bilexical features and the integration of information from other NLP tools, such as chunkers, to further refine the reranking process.

Summary updated

BibTeX
@inproceedings{chen2002reranking,
  author = {John Chen and Srinivas Bangalore and Michael Collins and Owen Rambow},
  title = {{Reranking an n-gram supertagger}},
  booktitle = {TAG+},
  year = {2002},
}
Figure