Efficient Pre-training of Masked Language Model via Concept-based Curriculum Masking

Mingyu Lee, Jun-Hyung Park, Junho Kim, Kang-Min Kim, SangKeun Lee
12/15/2022
cs.CL

Official code: KoreaMGLEE/Concept-based-curriculum-masking (13 stars, Python, PyTorch, last commit 2023-02-05).

Abstract

Masked language modeling (MLM) has been widely used for pre-training effective bidirectional representations, but incurs substantial training costs. In this paper, we propose a novel concept-based curriculum masking (CCM) method to efficiently pre-train a language model.

Show full abstract

CCM has two key differences from existing curriculum learning approaches to effectively reflect the nature of MLM. First, we introduce a carefully-designed linguistic difficulty criterion that evaluates the MLM difficulty of each token. Second, we construct a curriculum that gradually masks words related to the previously masked words by retrieving a knowledge graph. Experimental results show that CCM significantly improves pre-training efficiency. Specifically, the model trained with CCM shows comparative performance with the original BERT on the General Language Understanding Evaluation benchmark at half of the training cost.

View on arXivView PDF

Code Implementations(1)

PyTorch

Efficient Pre-training of Masked Language Model via Concept-based Curriculum Masking

131Python, ShellJun 25, 20223 years ago
bertcurriculum-learningdeep-learninglanguage-modelnlp+2 more

Similar Papers

Cite this paper

@article{lee2022efficient,
  title  = {Efficient Pre-training of Masked Language Model via Concept-based Curriculum Masking},
  author = {Mingyu Lee and Jun-Hyung Park and Junho Kim and Kang-Min Kim and SangKeun Lee},
  year   = {2022},
  eprint = {2212.07617},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2212.07617}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2212.07617.svg)](https://codeofpaper.com/paper/2212.07617)

Discussion