English

Unsupervised Domain Adaptation of Contextualized Embeddings for Sequence Labeling

Computation and Language 2019-09-06 v2 Digital Libraries Machine Learning

Abstract

Contextualized word embeddings such as ELMo and BERT provide a foundation for strong performance across a wide range of natural language processing tasks by pretraining on large corpora of unlabeled text. However, the applicability of this approach is unknown when the target domain varies substantially from the pretraining corpus. We are specifically interested in the scenario in which labeled data is available in only a canonical source domain such as newstext, and the target domain is distinct from both the labeled and pretraining texts. To address this scenario, we propose domain-adaptive fine-tuning, in which the contextualized embeddings are adapted by masked language modeling on text from the target domain. We test this approach on sequence labeling in two challenging domains: Early Modern English and Twitter. Both domains differ substantially from existing pretraining corpora, and domain-adaptive fine-tuning yields substantial improvements over strong BERT baselines, with particularly impressive results on out-of-vocabulary words. We conclude that domain-adaptive fine-tuning offers a simple and effective approach for the unsupervised adaptation of sequence labeling to difficult new domains.

Keywords

Cite

@article{arxiv.1904.02817,
  title  = {Unsupervised Domain Adaptation of Contextualized Embeddings for Sequence Labeling},
  author = {Xiaochuang Han and Jacob Eisenstein},
  journal= {arXiv preprint arXiv:1904.02817},
  year   = {2019}
}

Comments

EMNLP 2019

R2 v1 2026-06-23T08:29:53.492Z