EMNLP 2023long findings0 citations

Frequency Balanced Datasets Lead to Better Language Models

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

Abstract

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.

Language Modelsword frequencypre-training corpuslow-resource languages
BibTeX
@inproceedings{
zevallos2023frequency,
title={Frequency Balanced Datasets Lead to Better Language Models},
author={Rodolfo Joel Zevallos and Mireia Farr{\'u}s and N{\'u}ria Bel},
booktitle={The 2023 Conference on Empirical Methods in Natural Language Processing},
year={2023},
url={https://openreview.net/forum?id=W4GlqAnXqv}
}
Frequency Balanced Datasets Lead to Better Language Models · EMNLP 2023