Domain adaptation for part-of-speech tagging of noisy user-generated text

Luisa März, Dietrich Trautmann, Benjamin RothNAACL 2019

Abstract

Part-of-Speech (POS) tagging on noisy user-generated text, such as Twitter, remains a significant challenge for models trained on canonical data. This paper presents a hybrid neural architecture that combines bidirectional Long Short-Term Memory (Bi-LSTM) networks with manual feature engineering and a novel domain adaptation strategy via L2-regularization. By using weights from a news-trained model as a "prior" to guide learning on sparse Twitter data, the proposed model achieves a state-of-the-art accuracy of 90.3% on German Twitter text, significantly outperforming standard neural baselines.

Introduction

While modern POS taggers achieve near-perfect accuracy (97%+) on canonical texts like newspaper articles, their performance drops sharply when applied to the "noisy" environment of social media. User-generated text is characterized by misspellings, abbreviations, hashtags, and non-standard grammar. In German, this is further complicated by the frequent omission of capitalization, which is a primary linguistic cue for identifying nouns. This study addresses the problem of domain adaptation: transferring knowledge from a large, clean dataset (news) to a small, messy dataset (Twitter).

Methods

The researchers developed a hybrid neural architecture designed to handle low-data regimes through three primary components:

  1. Core Architecture: A bidirectional LSTM (Bi-LSTM) network serves as the sequence labeler.
  2. Domain-Specific L2-Regularization: To transfer knowledge from the source domain (TIGER news corpus), the authors apply a penalty term to the loss function. This term discourages the Twitter model's weights ($W$) from deviating significantly from the pre-trained news model's weights ($\hat{W}$), providing a stable inductive bias.
  3. Feature Fusion: The model explicitly incorporates task-specific information, including character-level embeddings for sub-word patterns, manual binary features (e.g., hashtags, URLs, casing), and a combination of FastText and Word2Vec embeddings.
The hybrid neural architecture, illustrating the flow from preprocessing to the Bi-LSTM layers and final label prediction.

Datasets

The study utilizes the TIGER Corpus (approx. 888,000 tokens of clean news text) for source domain training and a German Twitter Corpus (approx. 20,000 tokens from 1,426 tweets) for target domain adaptation.

Results and Key Insights

The final model achieved a new state-of-the-art accuracy of 90.3% for German Twitter POS tagging, a substantial improvement over the 63.4% achieved by a baseline neural model and the previous 88.8% benchmark.

Key findings include:

  • The Necessity of Features: In low-data scenarios, pure neural networks often underperform compared to traditional models. Adding manual features provides the necessary "nudge" for the network to learn patterns that are too sparse in the training data.
  • Regularization is Critical: The researchers found that a high dropout rate (75%) and L2-regularization were essential for preventing overfitting on the small Twitter dataset.
  • Error Reduction: The integration of character embeddings and manual features significantly reduced errors in categories sensitive to casing and social media syntax, such as nouns (NN) and proper nouns (NE).
Error counts across different POS tags, showing how the addition of features, embeddings, and regularization (nn-dropout) consistently reduces errors compared to the baseline (nn-bl).

Conclusion

This research demonstrates that effective domain adaptation for noisy text requires a balance between modern deep learning and traditional feature engineering. By treating source-domain knowledge as a regularizing prior, models can maintain linguistic "common sense" while adapting to the unique quirks of user-generated content. Future work will focus on improving the handling of ambiguous hashtag functions and complex Twitter-specific syntax.

Summary updated

BibTeX
@inproceedings{marz2019domain,
  author = {Luisa März and Dietrich Trautmann and Benjamin Roth},
  title = {{Domain adaptation for part-of-speech tagging of noisy user-generated text}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2019},
  doi = {10.18653/v1/n19-1345},
}
Figure