Entropy-based Training Data Selection for Domain Adaptation

Yan Song, Prescott Klassen, Fei Xia, Chunyu Kit2012

TL;DR

This paper tackles the challenge of domain adaptation in NLP by proposing novel entropy-based measures to intelligently select training data. Their findings show that these methods can significantly improve performance on tasks like Chinese word segmentation and part-of-speech tagging compared to random selection, especially when using a small portion of the training data.

What Problem Does This Paper Address?

Natural Language Processing (NLP) systems often struggle when the data they are trained on differs significantly from the data they encounter in real-world applications. This phenomenon is known as "domain shift," and it leads to a drop in performance. Domain adaptation techniques aim to bridge this gap. One effective approach is "training data selection," where the goal is to pick a subset of the available training data that is most relevant to the target domain (the data the system will eventually process). The core challenge here is finding a reliable way to measure the "similarity" or "relevance" between potential training data points and the target domain data. Without a good measure, selecting data randomly might not yield optimal results.

Methods

The authors propose and evaluate four entropy-based measures for training data selection. These measures aim to quantify how well a training sentence aligns with the characteristics of the test (target) data.

  • Difference of Entropy (DE): This measure calculates the absolute difference between the entropy of a training sentence's information units (characters or words) when modeled by the training data's probability distribution versus the test data's probability distribution. Intuitively, sentences with low DE are those whose information units are similarly probable in both the training and test domains.
  • Cross Entropy (CE): Similar to DE, CE measures the "surprise" of the test data's probability distribution when encountering information units from a training sentence, based on the training data's model.
  • Average Entropy Gain (AEG): This measure quantifies how much the entropy of the overall corpus changes when a new sentence is added. If adding a sentence doesn't significantly alter the corpus's entropy, it suggests the sentence is similar to the existing data. AEG normalizes this gain by sentence length.
  • Descriptive Length Gain (DLG)-based Similarity: This measure, adapted from previous work on lexical acquisition, assesses the "informativeness" of substrings within a training sentence with respect to the test corpus. Sentences with substrings that have high DLG scores are considered more similar to the test data.

For evaluation, they rank training sentences using these measures and select the top x% of the data. They then train a model on this selected data and compare its performance to a model trained on x% of randomly selected data.

Datasets

The primary dataset used in this study is the Chinese Penn Treebank (CTB) version 7.0. This dataset is a comprehensive resource for Chinese NLP, containing over a million words across five genres: Broadcast Conversation (BC), Broadcast News (BN), Magazine (MZ), Newswire (NW), and Weblog (WB).

For their experiments, they specifically use the Broadcast Conversation (BC) genre as the test set, while the training data is a union of the training portions of the other four genres (BN, MZ, NW, WB). This setup allows them to study domain adaptation from multiple source domains to a single target domain.

Key Insights and Ideas

  • Entropy as a Proxy for Similarity: The core idea is that entropy-based measures can effectively capture the similarity between training and test data. If a training sentence's information units have similar probabilities under both the training and test data distributions, it's likely to be a good candidate for the target domain.
  • The Power of Small Data Subsets: The experiments reveal that entropy-based selection methods, particularly DLG and AEG, can provide statistically significant improvements over random selection even when only a small percentage (e.g., 5-10%) of the training data is used. This suggests these methods are good at identifying the most informative samples.
  • Task and Measure Dependency: Not all entropy-based measures perform equally well. The effectiveness of a measure can vary depending on the specific NLP task (e.g., word segmentation vs. POS tagging) and the specific variant of the measure used (e.g., character n-grams vs. word n-grams).
  • Inverse Correlation with Performance: For POS tagging, the paper demonstrates a strong inverse correlation between cross-entropy and system performance, providing empirical support for using entropy-based metrics.

Key Results

The paper reports results on two tasks: Chinese Word Segmentation (CWS) and Part-of-Speech (POS) Tagging.

  • Chinese Word Segmentation: The DLG measure showed the most consistent improvements, with seven out of ten results being statistically significant at p=0.05, and four at p=0.01, compared to random selection. Other measures showed varying degrees of success.
  • POS Tagging: Similar to CWS, measures like DLG and AEG-2J often provided small but statistically significant gains over random selection. Some measures, like DE-2J, did not perform better than random selection.
  • Significance Testing: The authors used a ten-partition paired t-test to assess the statistical significance of their results, indicating confidence levels for improvements.

Limitations and Future Work

  • Measure Variants: The paper acknowledges that they only tested a subset of possible variants for their entropy-based measures (e.g., different n-gram sizes, normalization strategies). Further exploration of these variants could yield even better results.
  • Task and Language Specificity: The authors emphasize that the effectiveness of domain adaptation techniques, including training data selection, can be highly dependent on the NLP task, the language, and the specific differences between the training and test domains. It's unlikely that one measure will be universally superior.
  • Future Work: The authors propose to investigate the link between task/language factors and the behavior of their entropy-based measures. They aim to develop methods to predict which measures will work best in particular settings. They also plan to explore the impact of different probability distribution estimation methods and information units.

Summary updated

Abstract

Training data selection is a common method for domain adaptation, the goal of which is to choose a subset of training data that works well for a given test set. It has been shown to be effective for tasks such as machine translation and parsing. In this paper, we propose several entropy-based measures for training data selection and test their effectiveness on two tasks: Chinese word segmentation and part-of-speech tagging. The experimental results on the Chinese Penn Treebank indicate that some of the measures provide a statistically significant improvement over random selection for both tasks.
BibTeX
@misc{song2012entropy,
  author = {Yan Song and Prescott Klassen and Fei Xia and Chunyu Kit},
  title = {{Entropy-based Training Data Selection for Domain Adaptation}},
  year = {2012},
}
Figure