The Trade-offs of Domain Adaptation for Neural Language Models
Not on the map. Why?
Abstract (arXiv)
This work connects language model adaptation with concepts of machine learning theory. We consider a training setup with a large out-of-domain set and a small in-domain set. We derive how the benefit of training a model on either set depends on the size of the sets and the distance between their underlying distributions. We analyze how out-of-domain pre-training before in-domain fine-tuning achieves better generalization than either solution independently. Finally, we present how adaptation techniques based on data selection, such as importance sampling, intelligent data selection and influence functions, can be presented in a common framework which highlights their similarity and also their subtle differences.
Key facts. Cited by 14 papers in the map (data through 7 Oct 2026). Builds on 24 of its 52 references that are in the map. First posted on arXiv 21 Sep 2021.
Builds on
24 of 52 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
- 2021Convex optimizationcited by 2,479
- 2017Understanding Black-box Predictions via Influence Functionscited by 1,714
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2017Get To The Point: Summarization with Pointer-Generator Networkscited by 1,281
- 2020AdapterFusion: Non-Destructive Task Composition for Transfer Learningcited by 780
12 more
- 2016Language Modeling with Gated Convolutional Networkscited by 688
- 2018Learning to Reweight Examples for Robust Deep Learningcited by 670
- 2020Estimating Training Data Influence by Tracing Gradient Descentcited by 565
- 2018Not All Samples Are Created Equal: Deep Learning with Importance Samplingcited by 323
- 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
- 2020Conditionally Adaptive Multi-Task Learning: Improving Transfer Learning in NLP Using Fewer Parameters & Less Datacited by 50
- 2018Policy Optimization via Importance Samplingcited by 47
- 2018Denoising Neural Machine Translation Training with Trusted Data and Online Data Selectioncited by 43
- 2017Dynamic Data Selection for Neural Machine Translationcited by 33
- 2017Regularization techniques for fine-tuning in neural machine translationcited by 27
- 2021On the Complementarity of Data Selection and Fine Tuning for Domain Adaptationcited by 10
- 2021Gradient-guided Loss Masking for Neural Machine Translationcited by 8
Built on by
Citing papers per year: 2022: 3; 2023: 6; 2024: 3; 2025: 2.
14 papers.
Sort:
By area:
- 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Surveycited by 22
- 2023In-Context Demonstration Selection with Cross Entropy Differencecited by 17
- 2025Towards General Continuous Memory for Vision-Language Modelscited by 14
- 2022Influence Functions for Sequence Tagging Modelscited by 9
- 2023Can LMs Generalize to Future Data? An Empirical Analysis on Text Summarizationcited by 9
- 2024DALLMi: Domain Adaption for LLM-based Multi-label Classifiercited by 7
- 2024Need a Small Specialized Language Model? Plan Early!cited by 4
- 2022Generalizing through Forgetting -- Domain Generalization for Symptom Event Extraction in Clinical Notescited by 2
- 2023A Formalism and Approach for Improving Robustness of Large Language Models Using Risk-Adjusted Confidence Scorescited by 2
- 2023Domain Adaptation for Arabic Machine Translation: The Case of Financial Textscited by 1
- 2024Defining and Evaluating Decision and Composite Risk in Language Models Applied to Natural Language Inferencecited by 1
- 2025Transferable text data distillation by trajectory matchingcited by 1
- 2025Towards General Continuous Memory for Vision-Language Models23 May 2025
- 2025Transferable text data distillation by trajectory matching14 Apr 2025
- 2024Defining and Evaluating Decision and Composite Risk in Language Models Applied to Natural Language Inference4 Aug 2024
- 2024DALLMi: Domain Adaption for LLM-based Multi-label Classifier3 May 2024
- 2024Need a Small Specialized Language Model? Plan Early!2 Feb 2024
- 2023Source Prompt: Coordinated Pre-training of Language Models on Diverse Corpora from Multiple Sources16 Nov 2023
- 2023A Formalism and Approach for Improving Robustness of Large Language Models Using Risk-Adjusted Confidence Scores5 Oct 2023
- 2023Domain Adaptation for Arabic Machine Translation: The Case of Financial Texts22 Sep 2023
- 2023Epi-Curriculum: Episodic Curriculum Learning for Low-Resource Domain Adaptation in Neural Machine Translation6 Sep 2023
- 2023In-Context Demonstration Selection with Cross Entropy Difference24 May 2023
- 2023Can LMs Generalize to Future Data? An Empirical Analysis on Text Summarization3 May 2023
- 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Survey6 Nov 2022
- 2025Towards General Continuous Memory for Vision-Language Modelscited by 14
- 2025Towards General Continuous Memory for Vision-Language Models23 May 2025
- 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Surveycited by 22
- 2023In-Context Demonstration Selection with Cross Entropy Differencecited by 17
- 2022Influence Functions for Sequence Tagging Modelscited by 9
- 2023Can LMs Generalize to Future Data? An Empirical Analysis on Text Summarizationcited by 9
- 2024DALLMi: Domain Adaption for LLM-based Multi-label Classifiercited by 7
- 2024Need a Small Specialized Language Model? Plan Early!cited by 4
- 2022Generalizing through Forgetting -- Domain Generalization for Symptom Event Extraction in Clinical Notescited by 2
- 2023A Formalism and Approach for Improving Robustness of Large Language Models Using Risk-Adjusted Confidence Scorescited by 2
- 2023Domain Adaptation for Arabic Machine Translation: The Case of Financial Textscited by 1
- 2024Defining and Evaluating Decision and Composite Risk in Language Models Applied to Natural Language Inferencecited by 1
- 2025Transferable text data distillation by trajectory matchingcited by 1
- 2023Epi-Curriculum: Episodic Curriculum Learning for Low-Resource Domain Adaptation in Neural Machine Translationcited by 0
12 most cited of 13 All 13 (JSON)
- 2025Transferable text data distillation by trajectory matching14 Apr 2025
- 2024Defining and Evaluating Decision and Composite Risk in Language Models Applied to Natural Language Inference4 Aug 2024
- 2024DALLMi: Domain Adaption for LLM-based Multi-label Classifier3 May 2024
- 2024Need a Small Specialized Language Model? Plan Early!2 Feb 2024
- 2023Source Prompt: Coordinated Pre-training of Language Models on Diverse Corpora from Multiple Sources16 Nov 2023
- 2023A Formalism and Approach for Improving Robustness of Large Language Models Using Risk-Adjusted Confidence Scores5 Oct 2023
- 2023Domain Adaptation for Arabic Machine Translation: The Case of Financial Texts22 Sep 2023
- 2023Epi-Curriculum: Episodic Curriculum Learning for Low-Resource Domain Adaptation in Neural Machine Translation6 Sep 2023
- 2023In-Context Demonstration Selection with Cross Entropy Difference24 May 2023
- 2023Can LMs Generalize to Future Data? An Empirical Analysis on Text Summarization3 May 2023
- 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Survey6 Nov 2022
- 2022Influence Functions for Sequence Tagging Models25 Oct 2022
12 newest of 13 All 13 (JSON)