mlsanityData to 7 Oct 2026

Efficient Hierarchical Domain Adaptation for Pretrained Language Models

arXiv 2112.08786 ↗First posted 16 Dec 2021cs.CLcited by 32

Not on the map. Why?

Abstract (arXiv)

The remarkable success of large language models has been driven by dense models trained on massive unlabeled, unstructured corpora. These corpora typically contain text from diverse, heterogeneous sources, but information about the source of the text is rarely used during training. Transferring their knowledge to a target domain is typically done by continuing training in-domain. In this paper, we introduce a method to permit domain adaptation to many diverse domains using a computationally efficient adapter approach. Our method is based on the observation that textual domains are partially overlapping, and we represent domains as a hierarchical tree structure where each node in the tree is associated with a set of adapter weights. When combined with a frozen pretrained language model, this approach enables parameter sharing among related domains, while avoiding negative interference between unrelated ones. Experimental results with GPT-2 and a large fraction of the 100 most represented websites in C4 show across-the-board improvements in-domain. We additionally provide an inference time algorithm for a held-out domain and show that averaging over multiple paths through the tree enables further gains in generalization, while adding only a marginal cost to inference.

Key facts. Cited by 32 papers in the map (data through 7 Oct 2026). Builds on 34 of its 52 references that are in the map. First posted on arXiv 16 Dec 2021.

Builds on

34 of 52 references.

References · 34

  1. 2017Attention Is All You Needcited by 59,932
  2. 2015Deep Residual Learning for Image Recognitioncited by 51,809
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
  4. 2014Adam: A Method for Stochastic Optimizationcited by 36,960
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,491
  6. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,084
  7. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
  8. 2020Scaling Laws for Neural Language Modelscited by 6,411
  9. 2016Layer Normalizationcited by 5,579
  10. 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
  11. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,195
  12. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,878
22 more
  1. 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,898
  2. 2018Deep contextualized word representationscited by 2,285
  3. 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
  4. 2020GShard: Scaling Giant Models with Conditional Computation and Automatic Shardingcited by 1,601
  5. 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
  6. 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
  7. 2021BitFit: Simple Parameter-efficient Fine-tuning for Transformer-based Masked Language-modelscited by 1,234
  8. 2021Towards a Unified View of Parameter-Efficient Transfer Learningcited by 863
  9. 2017Learning multiple visual domains with residual adapterscited by 553
  10. 2021Documenting Large Webtext Corpora: A Case Study on the Colossal Clean Crawled Corpuscited by 481
  11. 2020MAD-X: An Adapter-Based Framework for Multi-Task Cross-Lingual Transfercited by 443
  12. 2021DExperts: Decoding-Time Controlled Text Generation with Experts and Anti-Expertscited by 434
  13. 2020K-Adapter: Infusing Knowledge into Pre-Trained Models with Adapterscited by 318
  14. 2019Simple, Scalable Adaptation for Neural Machine Translationcited by 239
  15. 2020Unsupervised Domain Clusters in Pretrained Language Modelscited by 160
  16. 2021DEMix Layers: Disentangling Domains for Modular Language Modelingcited by 130
  17. 2020UDapter: Language Adaptation for Truly Universal Dependency Parsingcited by 77
  18. 2019Adapt or Get Left Behind: Domain Adaptation through BERT Language Model Finetuning for Aspect-Target Sentiment Classificationcited by 62
  19. 2020Common Sense or World Knowledge? Investigating Adapter-Based Knowledge Injection into Pretrained Transformerscited by 57
  20. 2016What to do about non-standard (or non-canonical) language in NLPcited by 35
  21. 2020Recipes for Adapting Pre-trained Monolingual and Multilingual Models to Machine Translationcited by 28
  22. 2021Multilingual Unsupervised Neural Machine Translation with Denoising Adapterscited by 22

Built on by

Cited by year

Citing papers per year: 2022: 8; 2023: 14; 2024: 8; 2025: 2.

32 papers.

Sort:

By area:

  1. 2024OLMo: Accelerating the Science of Language Modelscited by 599
  2. 2022Branch-Train-Merge: Embarrassingly Parallel Training of Expert Language Modelscited by 187
  3. 2023AdapterSoup: Weight Averaging to Improve Generalization of Pretrained Language Modelscited by 84
  4. 2023Modular Deep Learningcited by 82
  5. 2024Towards Modular LLMs by Building and Reusing a Library of LoRAscited by 72
  6. 2022Mix and Match: Learning-free Controllable Text Generation using Energy Language Modelscited by 66
  7. 2022NLPeer: A Unified Resource for the Computational Study of Peer Reviewcited by 60
  8. 2023Scaling Expert Language Models with Unsupervised Domain Discoverycited by 59
  9. 2023Guiding Language Model Reasoning with Planning Tokenscited by 58
  10. 2023Paloma: A Benchmark for Evaluating Language Model Fitcited by 53
  11. 2022M2D2: A Massively Multi-domain Language Modeling Datasetcited by 26
  12. 2023Efficient Language Model Training through Cross-Lingual and Progressive Transfer Learningcited by 26
20 more
  1. 2022On the Domain Adaptation and Generalization of Pretrained Language Models: A Surveycited by 22
  2. 2022Geographic Adaptation of Pretrained Language Modelscited by 14
  3. 2024AdapterSwap: Continuous Training of LLMs with Data Removal and Access-Control Guaranteescited by 14
  4. 2024DALLMi: Domain Adaption for LLM-based Multi-label Classifiercited by 7
  5. 2023Plug-and-Play Document Modules for Pre-trained Modelscited by 6
  6. 2023Plug-and-Play Knowledge Injection for Pre-trained Language Modelscited by 6
  7. 2023TRAM: Bridging Trust Regions and Sharpness Aware Minimizationcited by 6
  8. 2024AgentGroupChat: An Interactive Group Chat Simulacra For Better Eliciting Emergent Behaviorcited by 6
  9. 2023A Block Metropolis-Hastings Sampler for Controllable Energy-based Text Generationcited by 5
  10. 2023From Adversarial Arms Race to Model-centric Evaluation: Motivating a Unified Automatic Robustness Evaluation Frameworkcited by 3
  11. 2022Mixed-effects transformers for hierarchical adaptationcited by 2
  12. 2023GMNLP at SemEval-2023 Task 12: Sentiment Analysis with Phylogeny-Based Adapterscited by 2
  13. 2024A critical review of methods and challenges in large language modelscited by 2
  14. 2022Effective Transfer Learning for Low-Resource Natural Language Understandingcited by 1
  15. 2023Population Expansion for Training Language Models with Private Federated Learningcited by 1
  16. 2023Diversifying Knowledge Enhancement of Biomedical Language Models using Adapter Modules and Knowledge Graphscited by 1
  17. 2024Towards Generalized Offensive Language Identificationcited by 1
  18. 2025Minifinetuning: Low-Data Generation Domain Adaptation through Corrective Self-Distillationcited by 1
  19. 2024Adapter-based Approaches to Knowledge-enhanced Language Models -- A Surveycited by 0
  20. 2025A Lightweight Multi-Expert Generative Language Model System for Engineering Information and Knowledge Extractioncited by 0