Adaptation au domaine pour l'analyse morpho-syntaxique

Éléonore Bartenlian, Margot Lacour, Matthieu Labeau, Alexandre Allauzen, Guillaume Wisniewski, François YvonHAL 2017

TL;DR

This paper investigates why Part-of-Speech (PoS) taggers, highly accurate within their training domain, perform poorly on out-of-domain data. They propose that "lexicalized features" (word-specific information) mask "non-lexicalized features" (morphological, contextual cues), hindering generalization. The authors then introduce and evaluate methods to mitigate this "masking effect" for better domain adaptation.

What Problem Does This Paper Address?

Part-of-Speech (PoS) tagging, the task of assigning grammatical categories to words in a sentence, is a fundamental Natural Language Processing (NLP) task. While statistical PoS taggers achieve near-perfect accuracy on data from their training domain, their performance drastically degrades when applied to text from a different domain (e.g., news articles vs. social media posts). This "out-of-domain" performance drop is a significant challenge for deploying NLP systems in real-world, diverse scenarios. The paper aims to understand the root cause of this degradation and propose solutions.

Methods

The authors hypothesize that the performance drop is due to a "masking effect." They propose that features directly related to specific words (lexicalized features), which are highly predictive within the training domain, overshadow features that capture more general linguistic patterns (non-lexicalized features like word endings or surrounding tags). These non-lexicalized features are more robust to domain shifts but have weaker predictive power on their own.

To test this, they design a "toy experiment" focusing on words ending in "-ent" to see if a model can distinguish between verbs and adverbs using only contextual information (non-lexicalized features) versus word-specific information (lexicalized features).

They then propose and evaluate three domain adaptation methods:

  1. SPEC: A specialization approach where two perceptrons are used: one for in-domain words (using all features) and another for out-of-domain (HV - out-of-vocabulary) words (using only non-lexicalized features).
  2. DROPOUT-T/DROPOUT-A: Inspired by feature noising techniques, these methods randomly suppress features during training. DROPOUT-T suppresses features based on their probability difference between training and test sets, aiming to make the model more robust to domain shifts. DROPOUT-A uses a fixed suppression probability.
  3. NEURONAL: A neural network-based approach that models words directly from their character sequences, aiming to bypass the limitations of word-level features.

Datasets

The experiments were conducted on French data.

  • Training Corpus: The Universal Dependencies (UD) corpus was used for training the baseline model.
  • Evaluation Corpora:
    • In-domain: The test set of the UD corpus.
  • Out-of-domain: * User-Generated Content (UGC) from Marmiton (recipes) and Minecraft (gaming).
  • Tweets from two specific domains: FOOT (football) and NATDIS (natural disasters).
  • Additional Corpus for Toy Experiment: UD and SPMRL (a French treebank for morphologically rich languages).

Key Insights and Ideas

  • Lexicalized Features Mask Non-Lexicalized Features: The core insight is that highly predictive, word-specific features can prevent the model from learning more generalizable, but initially weaker, features. This is analogous to the "explaining-away" phenomenon in Bayesian networks.
  • Out-of-Vocabulary (HV) Words are a Major Hurdle: The performance drop is particularly pronounced for words not seen during training (HV words), highlighting the challenge of generalization.
  • Non-Lexicalized Features are Key for Adaptation: Features like word endings and surrounding tags are crucial for adapting to new domains, but they are often overshadowed by lexicalized features.
  • Simple Models Can Be Surprisingly Robust: The authors note that even simple models can achieve competitive results, suggesting that the problem lies more in feature selection and adaptation than in model complexity.

Key Results

  • The baseline PoS tagger's error rate increases significantly (2 to 4 times) on out-of-domain corpora compared to the in-domain test set.
  • The "toy experiment" confirmed the masking hypothesis: a model using only non-lexicalized features performed better on unseen words than a model using lexicalized features, despite the latter having a lower overall error rate on seen words.
  • None of the proposed domain adaptation methods (SPEC, DROPOUT-T/A, NEURONAL) significantly outperformed a simple perceptron on out-of-domain data, which was a surprising finding. The authors suggest this might be due to systematic differences in data preparation or a misunderstanding of what constitutes a truly robust feature.

Limitations and Future Work

  • Limited Success of Adaptation Methods: The paper acknowledges that their proposed adaptation methods did not yield significant improvements, which is a surprising and important finding.
  • Potential Data Preparation Issues: The authors speculate that systematic differences in data preparation (segmentation, annotation) between corpora might be a contributing factor to the lack of improvement.
  • Understanding Robust Features: A key area for future work is to better understand and model features that are truly robust to domain shifts, and to investigate whether sentence structure is preserved across domains.
  • Further Experiments: The authors are conducting further experiments to investigate the impact of data preparation and to better understand the nature of domain-invariant features.

Summary updated

Abstract

National audience
BibTeX
@inproceedings{bartenlian2017adaptation,
  author = {Éléonore Bartenlian and Margot Lacour and Matthieu Labeau and Alexandre Allauzen and Guillaume Wisniewski and François Yvon},
  title = {{Adaptation au domaine pour l'analyse morpho-syntaxique}},
  booktitle = {HAL},
  year = {2017},
}
Figure