EMNLP Findings2022
Mask More and Mask Later: Efficient Pre-training of Masked Language Models by Disentangling the [MASK] Token
Baohao Liao, David Thulke, Sanjika Hewavitharana, Hermann Ney, Christof Monz
Abstract
The pre-training of masked language models (MLMs) consumes massive computation to achieve good results on downstream NLP tasks, resulting in a large carbon footprint. In the vanilla MLM, the virtual tokens, [MASK]s, act as placeholders and gather the contextualized information from unmasked tokens to restore the corrupted information. It raises the question of whether we can append [MASK]s at a later layer, to reduce the sequence length for earlier layers and make the pre-training more efficient. We show: (1) [MASK]s can indeed be appended at a later layer, being disentangled from the word embedding; (2) The gathering of contextualized information from unmasked tokens can be conducted with a few layers. By further increasing the masking rate from 15% to 50%, we can pre-train RoBERTabase and RoBERTa-large from scratch with only 78% and 68% of the original computational budget without any degradation on the GLUE benchmark. When pre-training with the original budget, our method outperforms RoBERTa for 6 out of 8 GLUE tasks, on average by 0.4%.
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.
5 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
- ApiQ: Finetuning of 2-Bit Quantized Large Language Model cites Parameter-Efficient Fine-Tuning without Introducing New Latency
- ApiQ: Finetuning of 2-Bit Quantized Large Language Model cites Make Pre-trained Model Reversible: From Parameter to Memory Efficient Fine-Tuning
- Make Pre-trained Model Reversible: From Parameter to Memory Efficient Fine-Tuning cites BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
- Make Pre-trained Model Reversible: From Parameter to Memory Efficient Fine-Tuning cites Parameter-Efficient Fine-Tuning without Introducing New Latency
- Representation Deficiency in Masked Language Modeling cites BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and Comprehension
- Representation Deficiency in Masked Language Modeling cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- Representation Deficiency in Masked Language Modeling cites ELECTRA: Pre-training Text Encoders as Discriminators Rather Than Generators
- ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Models cites ALBERT: A Lite BERT for Self-supervised Learning of Language Representations
- ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language Models cites Representation Deficiency in Masked Language Modeling
Cited by top-tier papers5
- Make Pre-trained Model Reversible: From Parameter to Memory Efficient Fine-TuningBaohao Liao, Shaomu Tan, Christof MonzNeurIPS 2023 · 38 citations
- Parameter-Efficient Fine-Tuning without Introducing New LatencyBaohao Liao, Yan Meng, Christof MonzACL 2023 · 26 citations
- Representation Deficiency in Masked Language ModelingYu Meng, Jitin Krishnan, Sinong Wang, Qifan Wang et al.ICLR 2024 · 12 citations
- ApiQ: Finetuning of 2-Bit Quantized Large Language ModelBaohao Liao, Christian Herold, Shahram Khadivi, Christof MonzEMNLP 2024 · 2 citations
- ExLM: Rethinking the Impact of [MASK] Tokens in Masked Language ModelsKangjie Zheng, Junwei Yang, Siyue Liang, Bin Feng et al.ICML 2025
Builds on10
- 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
- BART: Denoising Sequence-to-Sequence Pre-training for Natural Language Generation, Translation, and ComprehensionMike Lewis, Yinhan Liu, Naman Goyal, Marjan Ghazvininejad et al.ACL 2020 · 1,224 citations
- Large Batch Optimization for Deep Learning: Training BERT in 76 minutesYang You, Jing Li, Sashank J. Reddi, Jonathan Hseu et al.ICLR 2020 · 1,170 citations
- ELECTRA: Pre-training Text Encoders as Discriminators Rather Than GeneratorsKevin Clark, Minh-Thang Luong, Quoc V. Le, Christopher D. ManningICLR 2020 · 541 citations
- Incorporating BERT into Neural Machine TranslationJinhua Zhu, Yingce Xia, Lijun Wu, Di He et al.ICLR 2020 · 391 citations
Related papers
- How does the task complexity of masked pretraining objectives affect downstream performance?Atsuki Yamaguchi, Hiroaki Ozaki, Terufumi Morishita, Gaku Morio et al.ACL Findings 2023 · 3 citations
- Token Dropping for Efficient BERT PretrainingLe Hou, Richard Yuanzhe Pang, Tianyi Zhou, Yuexin Wu et al.ACL 2022
- Masking as an Efficient Alternative to Finetuning for Pretrained Language ModelsMengjie Zhao, Tao Lin, Fei Mi, Martin Jaggi et al.EMNLP 2020 · 61 citations
- Improving Language Plasticity via Pretraining with Active ForgettingYihong Chen, Kelly Marchisio, Roberta Raileanu, David Ifeoluwa Adelani et al.NeurIPS 2023 · 49 citations
- InforMask: Unsupervised Informative Masking for Language Model PretrainingNafis Sadeq, Canwen Xu, Julian J. McAuleyEMNLP 2022 · 12 citations
