English

Iterative Mask Filling: An Effective Text Augmentation Method Using Masked Language Modeling

Computation and Language 2024-01-04 v1 Artificial Intelligence Machine Learning

Abstract

Data augmentation is an effective technique for improving the performance of machine learning models. However, it has not been explored as extensively in natural language processing (NLP) as it has in computer vision. In this paper, we propose a novel text augmentation method that leverages the Fill-Mask feature of the transformer-based BERT model. Our method involves iteratively masking words in a sentence and replacing them with language model predictions. We have tested our proposed method on various NLP tasks and found it to be effective in many cases. Our results are presented along with a comparison to existing augmentation methods. Experimental results show that our proposed method significantly improves performance, especially on topic classification datasets.

Keywords

Cite

@article{arxiv.2401.01830,
  title  = {Iterative Mask Filling: An Effective Text Augmentation Method Using Masked Language Modeling},
  author = {Himmet Toprak Kesgin and Mehmet Fatih Amasyali},
  journal= {arXiv preprint arXiv:2401.01830},
  year   = {2024}
}

Comments

Published in International Conference on Advanced Engineering, Technology and Applications (ICAETA 2023). The final version is available online at https://link.springer.com/chapter/10.1007/978-3-031-50920-9_35

R2 v1 2026-06-28T14:07:57.380Z