Do not Mask Randomly: Effective Domain-adaptive Pre-training by Masking In-domain Keywords
Not on the map. Why?
Abstract (arXiv)
We propose a novel task-agnostic in-domain pre-training method that sits between generic pre-training and fine-tuning. Our approach selectively masks in-domain keywords, i.e., words that provide a compact representation of the target domain. We identify such keywords using KeyBERT (Grootendorst, 2020). We evaluate our approach using six different settings: three datasets combined with two distinct pre-trained language models (PLMs). Our results reveal that the fine-tuned PLMs adapted using our in-domain pre-training strategy outperform PLMs that used in-domain pre-training with random masking as well as those that followed the common pre-train-then-fine-tune paradigm. Further, the overhead of identifying in-domain keywords is reasonable, e.g., 7-15% of the pre-training time (for two epochs) for BERT Large (Devlin et al., 2019).
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). Builds on 19 of its 50 references that are in the map. First posted on arXiv 14 Jul 2023.
Builds on
19 of 50 references.
References · 19
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2018GLUE: A Multi-Task Benchmark and Analysis Platform for Natural Language Understandingcited by 4,854
- 2018Deep contextualized word representationscited by 2,285
- 2019BioBERT: a pre-trained biomedical language representation model for biomedical text miningcited by 1,935
- 2020Don't Stop Pretraining: Adapt Language Models to Domains and Taskscited by 1,548
- 2019SciBERT: A Pretrained Language Model for Scientific Textcited by 1,404
- 2019PEGASUS: Pre-training with Extracted Gap-sentences for Abstractive Summarizationcited by 1,100
- 2019Publicly Available Clinical BERT Embeddingscited by 995
- 2019SpanBERT: Improving Pre-training by Representing and Predicting Spanscited by 832
- 2019FinBERT: Financial Sentiment Analysis with Pre-trained Language Modelscited by 378
- 2019ERNIE: Enhanced Representation through Knowledge Integrationcited by 301
7 more
- 2018Pathologies of Neural Models Make Interpretations Difficultcited by 140
- 2020Explainable Automated Fact-Checking: A Surveycited by 83
- 2020Train No Evil: Selective Masking for Task-Guided Pre-Trainingcited by 36
- 2021Boosting Low-Resource Biomedical QA via Entity-Aware Masking Strategiescited by 21
- 2020Example-Based Named Entity Recognitioncited by 19
- 2020Conceptualized Representation Learning for Chinese Biomedical Text Miningcited by 19
- 2020Improving Self-supervised Pre-training via a Fully-Explored Masked Language Modelcited by 2
Built on by
Citing papers per year: 2024: 2; 2025: 2; 2026: 1.
5 papers.
- 2024On the Rigour of Scientific Writing: Criteria, Analysis, and Insightscited by 5
- 2024TransformLLM: Adapting Large Language Models via LLM-Transformed Reading Comprehension Textcited by 2
- 2025Linguistic Entity Masking to Improve Cross-Lingual Representation of Multilingual Language Models for Low-Resource Languagescited by 1
- 2025IKnow: Instruction-Knowledge-Aware Continual Pretraining for Effective Domain Adaptationcited by 0
- 2026DECSELFMASK: Leveraging Unlabeled Text via Self-Relevance-Guided Masking for Decoder-Only Classificationcited by 0
- 2026DECSELFMASK: Leveraging Unlabeled Text via Self-Relevance-Guided Masking for Decoder-Only Classification8 Jun 2026
- 2025IKnow: Instruction-Knowledge-Aware Continual Pretraining for Effective Domain Adaptation23 Oct 2025
- 2025Linguistic Entity Masking to Improve Cross-Lingual Representation of Multilingual Language Models for Low-Resource Languages10 Jan 2025
- 2024TransformLLM: Adapting Large Language Models via LLM-Transformed Reading Comprehension Text28 Oct 2024
- 2024On the Rigour of Scientific Writing: Criteria, Analysis, and Insights7 Oct 2024