The Trade-offs of Domain Adaptation for Neural Language Models
David Grangier, Dan Iter
2022Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers)15 citationsDOIOpen Access PDF
Abstract
This work connects language model adaptation with concepts of machine learning theory. We consider a training setup with a large outof-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 pretraining 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.
Topics & Concepts
Computer scienceGeneralizationAdaptation (eye)Domain (mathematical analysis)Domain adaptationSet (abstract data type)Selection (genetic algorithm)Artificial intelligenceMachine learningSimilarity (geometry)Language modelTraining setTheoretical computer scienceMathematicsProgramming languageClassifier (UML)Mathematical analysisPhysicsImage (mathematics)OpticsTopic ModelingNatural Language Processing TechniquesSpeech Recognition and Synthesis