English

Representation Deficiency in Masked Language Modeling

Computation and Language 2024-03-19 v2 Machine Learning

Abstract

Masked Language Modeling (MLM) has been one of the most prominent approaches for pretraining bidirectional text encoders due to its simplicity and effectiveness. One notable concern about MLM is that the special [MASK]\texttt{[MASK]} symbol causes a discrepancy between pretraining data and downstream data as it is present only in pretraining but not in fine-tuning. In this work, we offer a new perspective on the consequence of such a discrepancy: We demonstrate empirically and theoretically that MLM pretraining allocates some model dimensions exclusively for representing [MASK]\texttt{[MASK]} tokens, resulting in a representation deficiency for real tokens and limiting the pretrained model's expressiveness when it is adapted to downstream data without [MASK]\texttt{[MASK]} tokens. Motivated by the identified issue, we propose MAE-LM, which pretrains the Masked Autoencoder architecture with MLM where [MASK]\texttt{[MASK]} tokens are excluded from the encoder. Empirically, we show that MAE-LM improves the utilization of model dimensions for real token representations, and MAE-LM consistently outperforms MLM-pretrained models across different pretraining settings and model sizes when fine-tuned on the GLUE and SQuAD benchmarks.

Keywords

Cite

@article{arxiv.2302.02060,
  title  = {Representation Deficiency in Masked Language Modeling},
  author = {Yu Meng and Jitin Krishnan and Sinong Wang and Qifan Wang and Yuning Mao and Han Fang and Marjan Ghazvininejad and Jiawei Han and Luke Zettlemoyer},
  journal= {arXiv preprint arXiv:2302.02060},
  year   = {2024}
}

Comments

ICLR 2024

R2 v1 2026-06-28T08:31:50.581Z