ACL Findings2021
Adapt-and-Distill: Developing Small, Fast and Effective Pretrained Language Models for Domains
Yunzhi Yao, Shaohan Huang, Wenhui Wang, Li Dong, Furu Wei
Abstract
Large pretrained models have achieved great success in many natural language processing tasks. However, when they are applied in specific domains, these models suffer from domain shift and bring challenges in fine-tuning and online serving for latency and capacity constraints. In this paper, we present a general approach to developing small, fast and effective pretrained models for specific domains. This is achieved by adapting the offthe-shelf general pretrained models and performing task-agnostic knowledge distillation in target domains. Specifically, we propose domain-specific vocabulary expansion in the adaptation stage and employ corpus level occurrence probability to choose the size of incremental vocabulary automatically. Then we systematically explore different strategies to compress the large pretrained models for specific domains. We conduct our experiments in the biomedical and computer science domain. The experimental results demonstrate that our approach achieves better performance over the BERT BASE model in domain-specific tasks while 3.3× smaller and 5.1× faster than BERT BASE . The code and pretrained models are available at https://aka.ms/adalm.
Ask Lune
Ask anything. The answer quotes the paper.
Lune reads all of it and the papers around it, then shows you the passages behind every answer.
Lune answers from
the full paper · 6 top-tier papers that cite it · related work
Free to start. No credit card required.
Cited by top-tier papers6
- Adapting Large Language Models via Reading ComprehensionDaixuan Cheng, Shaohan Huang, Furu WeiICLR 2024 · 146 citations
- SaulLM-54B & SaulLM-141B: Scaling Up Domain Adaptation for the Legal DomainPierre Colombo, Telmo Pessoa Pires, Malik Boudiaf, Rui Melo et al.NeurIPS 2024 · 58 citations
- Collaborate to Adapt: Source-Free Graph Domain Adaptation via Bi-directional AdaptationZhen Zhang, Meihan Liu, Anhui Wang, Hongyang Chen et al.WWW 2024 · 25 citations
- Beyond English-Centric Bitexts for Better Multilingual Language Representation LearningBarun Patra, Saksham Singhal, Shaohan Huang, Zewen Chi et al.ACL 2023 · 8 citations
- AdaSent: Efficient Domain-Adapted Sentence Embeddings for Few-Shot ClassificationYongxin Huang, Kexin Wang, Sourav Dutta, Raj Nath Patel et al.EMNLP 2023 · 3 citations
Builds on6
- MiniLM: Deep Self-Attention Distillation for Task-Agnostic Compression of Pre-Trained TransformersWenhui Wang, Furu Wei, Li Dong, Hangbo Bao et al.NeurIPS 2020 · 2,727 citations
- TinyBERT: Distilling BERT for Natural Language UnderstandingXiaoqi Jiao, Yichun Yin, Lifeng Shang, Xin Jiang et al.EMNLP Findings 2020 · 1,787 citations
- MobileBERT: a Compact Task-Agnostic BERT for Resource-Limited DevicesZhiqing Sun, Hongkun Yu, Xiaodan Song, Renjie Liu et al.ACL 2020 · 660 citations
- Byte Pair Encoding is Suboptimal for Language Model PretrainingKaj Bostrom, Greg DurrettEMNLP Findings 2020 · 180 citations
- Don't Stop Pretraining: Adapt Language Models to Domains and TasksSuchin Gururangan, Ana Marasovic, Swabha Swayamdipta, Kyle Lo et al.ACL 2020 · 93 citations
Related papers
- VE-KD: Vocabulary-Expansion Knowledge-Distillation for Training Smaller Domain-Specific Language ModelsPengju Gao, Tomohiro Yamasaki, Kazunori ImotoEMNLP Findings 2024 · 1 citation
- Adversarial Data Augmentation for Task-Specific Knowledge Distillation of Pre-trained TransformersMinjia Zhang, Uma-Naresh Niranjan, Yuxiong HeAAAI 2022 · 16 citations
- Learning to Augment for Data-scarce Domain BERT Knowledge DistillationLingyun Feng, Minghui Qiu, Yaliang Li, Hai-Tao Zheng et al.AAAI 2021 · 12 citations
- NewsBERT: Distilling Pre-trained Language Model for Intelligent News ApplicationChuhan Wu, Fangzhao Wu, Yang Yu, Tao Qi et al.EMNLP Findings 2021 · 34 citations
- Domain Knowledge Transferring for Pre-trained Language Model via Calibrated Activation Boundary DistillationDongha Choi, Hongseok Choi, Hyunju LeeACL 2022
