Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Don't Stop Pretraining: Adapt Language Models to Domains and Tasks

About

Language models pretrained on text from a wide variety of sources form the foundation of today's NLP. In light of the success of these broad-coverage models, we investigate whether it is still helpful to tailor a pretrained model to the domain of a target task. We present a study across four domains (biomedical and computer science publications, news, and reviews) and eight classification tasks, showing that a second phase of pretraining in-domain (domain-adaptive pretraining) leads to performance gains, under both high- and low-resource settings. Moreover, adapting to the task's unlabeled data (task-adaptive pretraining) improves performance even after domain-adaptive pretraining. Finally, we show that adapting to a task corpus augmented using simple data selection strategies is an effective alternative, especially when resources for domain-adaptive pretraining might be unavailable. Overall, we consistently find that multi-phase adaptive pretraining offers large gains in task performance.

Suchin Gururangan, Ana Marasovi\'c, Swabha Swayamdipta, Kyle Lo, Iz Beltagy, Doug Downey, Noah A. Smith• 2020

Related benchmarks

TaskDatasetResultRank
Sentiment AnalysisIMDB (test)
Accuracy95.79
248
Sentiment AnalysisSST-2 (test)
Accuracy96
136
Text ClassificationAGNews
Accuracy93.9
119
Language model detoxificationRealToxicityPrompts (test)
Distinct-157
54
Language Modeling(val)
Perplexity7.32
30
Toxicity EvaluationRealToxicityPrompts--
29
Sentiment SteeringOpenWebText Neutral to Negative (test)
Perplexity (PPL)32.86
27
Sentiment SteeringOpenWebText Neutral to Positive (test)
Perplexity (PPL)30.52
27
Sentiment AnalysisAmazon Reviews (test)
Average Accuracy90.78
24
DetoxificationRealToxicityPrompts
Avg Max Toxicity0.47
22
Showing 10 of 60 rows

Other info

Follow for update