English

Typhoon: Towards an Effective Task-Specific Masking Strategy for Pre-trained Language Models

Computation and Language 2023-03-29 v1 Artificial Intelligence

Abstract

Through exploiting a high level of parallelism enabled by graphics processing units, transformer architectures have enabled tremendous strides forward in the field of natural language processing. In a traditional masked language model, special MASK tokens are used to prompt our model to gather contextual information from surrounding words to restore originally hidden information. In this paper, we explore a task-specific masking framework for pre-trained large language models that enables superior performance on particular downstream tasks on the datasets in the GLUE benchmark. We develop our own masking algorithm, Typhoon, based on token input gradients, and compare this with other standard baselines. We find that Typhoon offers performance competitive with whole-word masking on the MRPC dataset. Our implementation can be found in a public Github Repository.

Keywords

Cite

@article{arxiv.2303.15619,
  title  = {Typhoon: Towards an Effective Task-Specific Masking Strategy for Pre-trained Language Models},
  author = {Muhammed Shahir Abdurrahman and Hashem Elezabi and Bruce Changlong Xu},
  journal= {arXiv preprint arXiv:2303.15619},
  year   = {2023}
}

Comments

9 pages, 2 figures

R2 v1 2026-06-28T09:36:53.251Z