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

Himmet Toprak Kesgin, Mehmet Fatih Amasyali
1/3/2024
cs.CLcs.AIcs.LG

No confident code implementation found for this paper.

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.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{kesgin2024iterative,
  title  = {Iterative Mask Filling: An Effective Text Augmentation Method Using Masked Language Modeling},
  author = {Himmet Toprak Kesgin and Mehmet Fatih Amasyali},
  year   = {2024},
  eprint = {2401.01830},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.01830v1}
}

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/2401.01830.svg)](https://codeofpaper.com/paper/2401.01830)

Discussion