MDAPT: Multilingual Domain Adaptive Pretraining in a Single Model

Rasmus Kær Jørgensen, Mareike Hartmann, Xiang Dai, Desmond Elliott
9/14/2021
cs.CL

Official code: RasmusKaer/mDAPT_supplements (0 stars, Apache-2.0, last commit 2023-01-24).

Abstract

Domain adaptive pretraining, i.e. the continued unsupervised pretraining of a language model on domain-specific text, improves the modelling of text for downstream tasks within the domain. Numerous real-world applications are based on domain-specific text, e.g. working with financial or biomedical documents, and these applications often need to support multiple languages.

Show full abstract

However, large-scale domain-specific multilingual pretraining data for such scenarios can be difficult to obtain, due to regulations, legislation, or simply a lack of language- and domain-specific text. One solution is to train a single multilingual model, taking advantage of the data available in as many languages as possible. In this work, we explore the benefits of domain adaptive pretraining with a focus on adapting to multiple languages within a specific domain. We propose different techniques to compose pretraining corpora that enable a language model to both become domain-specific and multilingual. Evaluation on nine domain-specific datasets-for biomedical named entity recognition and financial sentence classification-covering seven different languages show that a single multilingual domain-specific model can outperform the general multilingual model, and performs close to its monolingual counterpart. This finding holds across two different pretraining methods, adapter-based pretraining and full model pretraining.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

mDAPT: Multilingual Domain Adaptive Pretraining in a Single Model

00Sep 1, 20213 years agoApache-2.0

Similar Papers

Cite this paper

@article{jrgensen2021mdapt,
  title  = {MDAPT: Multilingual Domain Adaptive Pretraining in a Single Model},
  author = {Rasmus Kær Jørgensen and Mareike Hartmann and Xiang Dai and Desmond Elliott},
  year   = {2021},
  eprint = {2109.06605},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.06605}
}

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/2109.06605.svg)](https://codeofpaper.com/paper/2109.06605)

Discussion