CLAIFeb 28, 2023

Weighted Sampling for Masked Language Modeling

arXiv:2302.14225v26 citationsh-index: 171
Originality Incremental advance
AI Analysis

This addresses the problem of poor representation learning for rare tokens in pre-trained language models, which is incremental as it builds on existing MLM methods.

The paper tackled the frequency bias issue in Masked Language Modeling (MLM) by proposing Weighted Sampling strategies based on token frequency and training loss, resulting in WSBERT that significantly improves sentence embeddings on the STS benchmark and enhances transfer learning on GLUE.

Masked Language Modeling (MLM) is widely used to pretrain language models. The standard random masking strategy in MLM causes the pre-trained language models (PLMs) to be biased toward high-frequency tokens. Representation learning of rare tokens is poor and PLMs have limited performance on downstream tasks. To alleviate this frequency bias issue, we propose two simple and effective Weighted Sampling strategies for masking tokens based on the token frequency and training loss. We apply these two strategies to BERT and obtain Weighted-Sampled BERT (WSBERT). Experiments on the Semantic Textual Similarity benchmark (STS) show that WSBERT significantly improves sentence embeddings over BERT. Combining WSBERT with calibration methods and prompt learning further improves sentence embeddings. We also investigate fine-tuning WSBERT on the GLUE benchmark and show that Weighted Sampling also improves the transfer learning capability of the backbone PLM. We further analyze and provide insights into how WSBERT improves token embeddings.

Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes