← 返回论文检索
EMNLP 2023emnlpfindings

Frequency Balanced Datasets Lead to Better Language Models

Rodolfo Zevallos, Mireia Farrús, Núria Bel

PDF 由论文原始站点提供,PaperCompass 不保存论文文件。DOI 10.18653/v1/2023.findings-emnlp.527 ↗

摘要

This paper reports on the experiments aimed to improve our understanding of the role of the amount of data required for training attention-based transformer language models. Specifically, we investigate the impact of reducing the immense amounts of required pre-training data through sampling strategies that identify and reduce high-frequency tokens as different studies have indicated that the existence of very high-frequency tokens in pre-training data might bias learning, causing undesired effects. In this light, we describe our sampling algorithm that iteratively assesses token frequencies and removes sentences that contain still high-frequency tokens, eventually delivering a balanced, linguistically correct dataset. We evaluate the results in terms of model perplexity and fine-tuning linguistic probing tasks, NLP downstream tasks as well as more semantic SuperGlue tasks. The results show that pre-training with the resulting balanced dataset allows reducing up to three times the pre-training data.