UDALM: Unsupervised Domain Adaptation through Language Modeling

Constantinos Karouzos, Georgios Paraskevopoulos, Alexandros Potamianos
4/14/2021
cs.CL

Official code: ckarouzos/slp_daptmlm (8 stars, Python, MIT, last commit 2021-09-17).

Abstract

In this work we explore Unsupervised Domain Adaptation (UDA) of pretrained language models for downstream tasks. We introduce UDALM, a fine-tuning procedure, using a mixed classification and Masked Language Model loss, that can adapt to the target domain distribution in a robust and sample efficient manner.

Show full abstract

Our experiments show that performance of models trained with the mixed loss scales with the amount of available target data and the mixed loss can be effectively used as a stopping criterion during UDA training. Furthermore, we discuss the relationship between A-distance and the target error and explore some limitations of the Domain Adversarial Training approach. Our method is evaluated on twelve domain pairs of the Amazon Reviews Sentiment dataset, yielding $91.74\%$ accuracy, which is an $1.11\%$ absolute improvement over the state-of-the-art.

View on arXivView PDF

Code Implementations(1)

MIT
82Python, ShellSep 22, 20205 years agoMIT

Similar Papers

Cite this paper

@article{karouzos2021udalm,
  title  = {UDALM: Unsupervised Domain Adaptation through Language Modeling},
  author = {Constantinos Karouzos and Georgios Paraskevopoulos and Alexandros Potamianos},
  year   = {2021},
  eprint = {2104.07078},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.07078}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.07078.svg)](https://codeofpaper.com/paper/2104.07078)

Discussion