English

Unsupervised Domain Clusters in Pretrained Language Models

Computation and Language 2020-05-04 v2

Abstract

The notion of "in-domain data" in NLP is often over-simplistic and vague, as textual data varies in many nuanced linguistic aspects such as topic, style or level of formality. In addition, domain labels are many times unavailable, making it challenging to build domain-specific systems. We show that massive pre-trained language models implicitly learn sentence representations that cluster by domains without supervision -- suggesting a simple data-driven definition of domains in textual data. We harness this property and propose domain data selection methods based on such models, which require only a small set of in-domain monolingual data. We evaluate our data selection methods for neural machine translation across five diverse domains, where they outperform an established approach as measured by both BLEU and by precision and recall of sentence selection with respect to an oracle.

Keywords

Cite

@article{arxiv.2004.02105,
  title  = {Unsupervised Domain Clusters in Pretrained Language Models},
  author = {Roee Aharoni and Yoav Goldberg},
  journal= {arXiv preprint arXiv:2004.02105},
  year   = {2020}
}

Comments

Accepted as a long paper in ACL 2020

R2 v1 2026-06-23T14:39:39.551Z