A Two-Stage Method for Active Learning of Statistical Grammars

Markus Becker, Miles OsborneIJCAI 2005

Abstract

Statistical parsers are traditionally data-hungry, requiring extensive manual annotation to achieve high accuracy. This paper introduces a novel Two-Stage Selection Method for active learning that significantly reduces this burden. By combining a "failure filter" to identify unreliable model regions with standard uncertainty sampling, the proposed method achieves a 32.6% reduction in the data required to reach high performance levels compared to random sampling. Experimental results on the Penn Treebank demonstrate that this approach outperforms previous state-of-the-art uncertainty sampling methods by over 10%.

Introduction

State-of-the-art statistical parsers rely on massive datasets like the Penn Treebank. Active Learning (AL) seeks to lower annotation costs by selecting only the most informative examples for human labeling. While uncertainty sampling (selecting examples with the highest entropy) is the standard AL approach, it has a critical flaw: it assumes the model's confidence is a reliable proxy for informativeness. In reality, if a parser encounters a rare linguistic structure, it may assign a high-probability (high certainty) to an incorrect analysis because its statistical view is too narrow. In these instances, standard entropy measures fail to identify truly informative examples.

The Two-Stage Selection Method

To address the limitations of standard uncertainty sampling, the authors propose a two-stage process that prioritizes model robustness:

  1. Stage 1: The "Failure" Filter: The system utilizes a "bagged" version of the parser trained on a bootstrap replicate. It identifies sentences that this limited parser cannot parse but the full model can. These sentences represent "unreliable" regions where the model's logic is likely based on low-frequency events. These are prioritized for annotation.
  2. Stage 2: Uncertainty Sampling: For sentences the bagged model can handle, the system reverts to standard tree entropy. It selects sentences where the probability distribution of possible parses is most spread out, indicating model confusion.

To ensure results are not biased by sentence length—as longer sentences naturally have higher entropy—the authors implemented Length Balanced Sampling to maintain a consistent length distribution across batches.

Experimental Results

The study evaluated the method using the Penn Wall Street Journal (WSJ) Treebank and the PARSEVAL metric (F-measure). The primary measure of cost was the number of "constituents" (building blocks of the parse tree) required.

The Entropy Trap

Initial experiments revealed that entropy alone can be a poor predictor of informativeness. As shown in the table below, using entropy in isolation can actually perform worse than random sampling, increasing the cost of reaching a target performance level.

Table 1: Cost and reduction for baseline methods reaching 80% F-measure. Note that entropy alone increases cost by 5.7% compared to random sampling.

Performance at Scale

The Two-Stage method effectively overcomes this trap. To reach an 80% F-measure, it required 30.6% less data than random sampling. More importantly, it maintained this lead as the model scaled. When aiming for a high F-measure of 85.5%, the Two-Stage method required approximately 77,900 constituents, compared to the 115,600 required by random sampling—a significant reduction in manual labor.

Figure 1: F-measure performance comparison. The two-stage method consistently outperforms both random sampling and the previous state-of-the-art (entropy/unparsed).

Discussion and Future Work

The Two-Stage method proves that targeting "unparsable" sentences is a powerful baseline for expanding a model's grammatical vocabulary. Furthermore, this approach is computationally cheaper than complex ensemble-based methods like KL-divergence, as it does not require running a full committee of parsers for every selection.

Future research could involve combining this method with density estimation to guard against outliers—sentences that are difficult but unrepresentative of general language use. Additionally, while these experiments used the Collins lexicalized parser, the logic of identifying "unreliable events" may be applicable to neural architectures and other NLP tasks like machine translation.

Summary updated

BibTeX
@inproceedings{becker2005two,
  author = {Markus Becker and Miles Osborne},
  title = {{A Two-Stage Method for Active Learning of Statistical Grammars}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2005},
}
Figure