mlsanityData to 7 Oct 2026

Train No Evil: Selective Masking for Task-Guided Pre-Training

arXiv 2004.09733 ↗First posted 21 Apr 2020cs.CLcited by 36

Not on the map. Why?

Abstract (arXiv)

Recently, pre-trained language models mostly follow the pre-train-then-fine-tuning paradigm and have achieved great performance on various downstream tasks. However, since the pre-training stage is typically task-agnostic and the fine-tuning stage usually suffers from insufficient supervised data, the models cannot always well capture the domain-specific and task-specific patterns. In this paper, we propose a three-stage framework by adding a task-guided pre-training stage with selective masking between general pre-training and fine-tuning. In this stage, the model is trained by masked language modeling on in-domain unsupervised data to learn domain-specific patterns and we propose a novel selective masking strategy to learn task-specific patterns. Specifically, we design a method to measure the importance of each token in sequences and selectively mask the important tokens. Experimental results on two sentiment analysis tasks show that our method can achieve comparable or even better performance with less than 50% of computation cost, which indicates our method is both effective and efficient. The source code of this paper can be obtained from https://github.com/thunlp/SelectiveMasking.

Key facts. Cited by 36 papers in the map (data through 7 Oct 2026). First posted on arXiv 21 Apr 2020.

Builds on

No reference list yet.

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2021: 7; 2022: 10; 2023: 7; 2024: 5; 2025: 4; 2026: 3.

36 papers.

Sort:

By area:

  1. 2021Pre-Trained Models: Past, Present and Futurecited by 319
  2. 2024Rho-1: Not All Tokens Are What You Needcited by 132
  3. 2021CLEVE: Contrastive Pre-training for Event Extractioncited by 36
  4. 2021NLP From Scratch Without Large-Scale Pretraining: A Simple and Efficient Frameworkcited by 34
  5. 2021On the Influence of Masking Policies in Intermediate Pre-trainingcited by 12
  6. 2023Teaching the Pre-trained Model to Generate Simple Texts for Text Simplificationcited by 10
  7. 2023EcomGPT-CT: Continual Pre-training of E-commerce Large Language Models with Semi-structured Datacited by 9
  8. 2022Scheduled Multi-task Learning for Neural Chat Translationcited by 7
  9. 2024KidLM: Advancing Language Models for Children -- Early Insights and Future Directionscited by 7
  10. 2021CSS-LM: A Contrastive Framework for Semi-supervised Fine-tuning of Pre-trained Language Modelscited by 5
  11. 2021Improving Social Meaning Detection with Pragmatic Masking and Surrogate Fine-Tuningcited by 5
  12. 2022Fortunately, Discourse Markers Can Enhance Language Models for Sentiment Analysiscited by 5
24 more
  1. 2022APOLLO: A Simple Approach for Adaptive Pretraining of Language Models for Logical Reasoningcited by 5
  2. 2023Do not Mask Randomly: Effective Domain-adaptive Pre-training by Masking In-domain Keywordscited by 5
  3. 2024How Useful is Continued Pre-Training for Generative Unsupervised Domain Adaptation?cited by 5
  4. 2022A Survey on Dropout Methods and Experimental Verification in Recommendationcited by 4
  5. 2022Continual Knowledge Distillation for Neural Machine Translationcited by 4
  6. 2023Difference-Masking: Choosing What to Mask in Continued Pretrainingcited by 4
  7. 2022Knowledgeable Salient Span Mask for Enhancing Language Models as Knowledge Basecited by 2
  8. 2022Using Selective Masking as a Bridge between Pre-training and Fine-tuningcited by 2
  9. 2023BIOptimus: Pre-training an Optimal Biomedical Language Model with Curriculum Learning for Named Entity Recognitioncited by 2
  10. 2024Ignore Me But Don't Replace Me: Utilizing Non-Linguistic Elements for Pretraining on the Cybersecurity Domaincited by 2
  11. 2025TiTok: Transfer Token-level Knowledge via Contrastive Excess to Transplant LoRAcited by 2
  12. 2022Task-guided Disentangled Tuning for Pretrained Language Modelscited by 1
  13. 2022SimpleBERT: A Pre-trained Model That Learns to Generate Simple Wordscited by 1
  14. 2023Lil-Bevo: Explorations of Strategies for Training Language Models in More Humanlike Wayscited by 1
  15. 2024CPRM: A LLM-based Continual Pre-training Framework for Relevance Modeling in Commercial Searchcited by 1
  16. 2021MoCA: Incorporating Multi-stage Domain Pretraining and Cross-guided Multimodal Attention for Textbook Question Answeringcited by 0
  17. 2022KESA: A Knowledge Enhanced Approach For Sentiment Analysiscited by 0
  18. 2023An Anchor Learning Approach for Citation Field Learningcited by 0
  19. 2025The Efficiency of Pre-training with Objective Masking in Pseudo Labeling for Semi-Supervised Text Classificationcited by 0
  20. 2025MOSAIC: Masked Objective with Selective Adaptation for In-domain Contrastive Learningcited by 0
  21. 2025ChemFixer: Correcting Invalid Molecules to Unlock Previously Unseen Chemical Spacecited by 0
  22. 2026Entropy-aware Masking for Masked Language Modelingcited by 0
  23. 2026DECSELFMASK: Leveraging Unlabeled Text via Self-Relevance-Guided Masking for Decoder-Only Classificationcited by 0
  24. 2026KItCAT: Knowledge Injection via Input Corruption for Auto-regressive Trainingcited by 0