Neural Mask Generator: Learning to Generate Adaptive Word Maskings for Language Model Adaptation
Minki Kang, Moonsu Han, Sung Ju Hwang
Abstract
We propose a method to automatically generate a domain-and task-adaptive maskings of the given text for self-supervised pre-training, such that we can effectively adapt the language model to a particular target task (e.g. question answering). Specifically, we present a novel reinforcement learning-based framework which learns the masking policy, such that using the generated masks for further pre-training of the target language model helps improve task performance on unseen texts. We use off-policy actor-critic with entropy regularization and experience replay for reinforcement learning, and propose a Transformer-based policy network that can consider the relative importance of words in a given text. We validate our Neural Mask Generator (NMG) on several question answering and text classification datasets using BERT and DistilBERT as the language models, on which it outperforms rule-based masking strategies, by automatically learning optimal adaptive maskings. 1
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
4 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Meta-learning to Improve Pre-training cites On the Influence of Masking Policies in Intermediate Pre-training
- Self-Distillation for Further Pre-training of Transformers cites On the Influence of Masking Policies in Intermediate Pre-training
- Self-Distillation for Further Pre-training of Transformers cites Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
- On the Influence of Masking Policies in Intermediate Pre-training cites Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
- On the Influence of Masking Policies in Intermediate Pre-training cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
- When FLUE Meets FLANG: Benchmarks and Large Pretrained Language Model for Financial Domain cites Span Selection Pre-training for Question Answering
- When FLUE Meets FLANG: Benchmarks and Large Pretrained Language Model for Financial Domain cites Don't Stop Pretraining: Adapt Language Models to Domains and Tasks
- When FLUE Meets FLANG: Benchmarks and Large Pretrained Language Model for Financial Domain cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
Cited by top-tier papers4
- When FLUE Meets FLANG: Benchmarks and Large Pretrained Language Model for Financial DomainRaj Sanjay Shah, Kunal Chawla, Dheeraj Eidnani, Agam Shah et al.EMNLP 2022 · 63 citations
- Meta-learning to Improve Pre-trainingAniruddh Raghu, Jonathan Lorraine, Simon Kornblith, Matthew McDermott et al.NeurIPS 2021 · 39 citations
- Self-Distillation for Further Pre-training of TransformersSeanie Lee, Minki Kang, Juho Lee, Sung Ju Hwang et al.ICLR 2023 · 4 citations
- On the Influence of Masking Policies in Intermediate Pre-trainingQinyuan Ye, Belinda Z. Li, Sinong Wang, Benjamin Bolte et al.EMNLP 2021 · 2 citations
Builds on5
- ALBERT: A Lite BERT for Self-supervised Learning of Language RepresentationsZhenzhong Lan, Mingda Chen, Sebastian Goodman, Kevin Gimpel et al.ICLR 2020 · 7,418 citations
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 citations
- Data Valuation using Reinforcement LearningJinsung Yoon, Sercan Ömer Arik, Tomas PfisterICML 2020 · 236 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
- Span Selection Pre-training for Question AnsweringMichael R. Glass, Alfio Gliozzo, Rishav Chakravarti, Anthony Ferritto et al.ACL 2020 · 9 citations
Related papers
- PALM: Pre-training an Autoencoding&Autoregressive Language Model for Context-conditioned GenerationBin Bi, Chenliang Li, Chen Wu, Ming Yan et al.EMNLP 2020 · 41 citations
- Self-Evolution Learning for Discriminative Language Model PretrainingQihuang Zhong, Liang Ding, Juhua Liu, Bo Du et al.ACL Findings 2023 · 7 citations
- Difference-Masking: Choosing What to Mask in Continued PretrainingAlex Wilf, Syeda Nahida Akter, Leena Mathur, Paul Pu Liang et al.EMNLP Findings 2023 · 6 citations
- Exploiting Structured Knowledge in Text via Graph-Guided Representation LearningTao Shen, Yi Mao, Pengcheng He, Guodong Long et al.EMNLP 2020 · 60 citations
- Effective Unsupervised Domain Adaptation with Adversarially Trained Language ModelsThuy-Trang Vu, Dinh Phung, Gholamreza HaffariEMNLP 2020 · 19 citations
