Exploiting Partial Annotations with EM Training

Dirk Hovy, Eduard Hovy2012

TL;DR

This paper explores how to improve EM-trained HMMs for NLP tasks by using "partial annotations" – a small number of pre-labeled words in the training data. They demonstrate that even limited, strategically placed annotations can significantly boost accuracy and reduce the need for computationally expensive random restarts, making training faster and more reliable.

What Problem Does This Paper Address?

Many Natural Language Processing (NLP) tasks, like Part-of-Speech (POS) tagging or word sense disambiguation, often rely on Hidden Markov Models (HMMs) trained with the Expectation-Maximization (EM) algorithm. A major challenge with EM is its tendency to get stuck in "local maxima," meaning it might find a good model, but not the absolute best one. To escape this, researchers often resort to either numerous "random restarts" (training the model from scratch many times with different initializations) or complex "constraint-based" methods that require significant re-engineering of the training process. Random restarts are time-consuming, and constraint-based methods can be difficult to implement. This paper investigates a simpler, more practical approach: using a small amount of "partial annotation" – labeling just a few words in the training data – to guide the EM training process.

Methods

The core of the paper's methodology lies in how they incorporate partial annotations into the EM training of HMMs. Instead of simply replacing a word with its label (which can skew emission probabilities), they introduce a technique called "parameter tying." This method links the partially annotated word to its original form, ensuring that the information from the annotation is correctly integrated into the model's emission probabilities. This prevents probability mass from being siphoned away to incorrect or rare labels. They then systematically vary the amount and distribution of these partial annotations to see how they impact accuracy and training efficiency.

Datasets

The authors evaluate their approach on two distinct NLP tasks:

  • Preposition Sense Disambiguation (PSD): They use the SemEval task data, which includes a training set of 16,000 sentences and a test set of 8,000 sentences, focusing on the 34 most frequent English prepositions. The training data is partially labeled using the sense inventory from "The Preposition Project."
  • Part-of-Speech (POS) Tagging: They utilize the Brown corpus, a standard benchmark for POS tagging, containing approximately 57,000 sentences and 1.16 million words. They use a simplified tag set of 38 tags.

Key Insights and Ideas

  • Parameter Tying is Crucial: Simply replacing words with their labels in partial annotations can actually harm accuracy by skewing emission probabilities. Parameter tying is essential to correctly leverage this information.
  • Partial Annotations are a "Sweet Spot": They offer a significant accuracy boost over purely unsupervised methods without the complexity of full supervision or advanced constraint methods.
  • Distribution Matters More Than Just Quantity: While more annotations generally lead to better results, the way these annotations are distributed across different senses or labels is critical. Annotating a diverse set of senses is more effective than focusing on just one.
  • Reduced Need for Random Restarts: Partial annotations provide a strong enough constraint to guide the model towards better solutions, significantly reducing the need for numerous random restarts, which directly translates to faster training times.

Key Results

  • Accuracy Improvement: For PSD, partial annotations led to significant accuracy improvements over unsupervised baselines, reaching up to 84.50% with supervised methods for comparison. For POS tagging, their semi-supervised models achieved accuracies in the high 80s, significantly outperforming the random baseline (62.46%) and unsupervised methods (82.77%).
  • Training Speedup: The paper demonstrates that partial annotations can reduce the need for random restarts, leading to considerable speedups in training time. The difference in accuracy between using no restarts and 100 restarts became insignificant when partial annotations were employed.
  • Annotation Amount: Accuracy for PSD improved linearly with the amount of partial annotations, with significant gains observed around 27% annotated training examples.
  • Annotation Distribution: For PSD, labeling one example of each sense yielded better results (53.55%) than labeling multiple examples of only the most frequent sense (49.69%).

Limitations and Future Work

  • Limitations: The authors acknowledge that the optimal amount and distribution of annotations likely vary by task and dataset. They also note that adding more unsupervised data did not always improve performance, suggesting potential issues with data heterogeneity or model complexity. They also mention that heuristic-based partial annotations can sometimes introduce errors, highlighting the need for careful selection.
  • Future Work: The paper suggests exploring how this procedure could be integrated into active learning frameworks to intelligently suggest which instances to annotate next. They also propose investigating upper bounds for the number of random restarts needed given a certain amount of annotation.

Summary updated

Abstract

For many NLP tasks, EM-trained HMMs are the common models. However, in order to escape local maxima and find the best model, we need to start with a good initial model. Researchers suggested repeated random restarts or constraints that guide the model evolution. Neither approach is ideal. Restarts are time-intensive, and most constraint-based approaches require serious re-engineering or external solvers. In this paper we measure the effectiveness of very limited initial constraints: specifically, annotations of a small number of words in the training data. We vary the amount and distribution of initial partial annotations, and compare the results to unsupervised and supervised approaches. We find that partial annotations improve accuracy and can reduce the need for random restarts, which speeds up training time considerably. 1
BibTeX
@misc{hovy2012exploiting,
  author = {Dirk Hovy and Eduard Hovy},
  title = {{Exploiting Partial Annotations with EM Training}},
  year = {2012},
}
Figure