arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03083cs.CLcs.AI
收藏

利用高质量数据扩展参数受限语言模型的规模

Scaling Parameter-Constrained Language Models with Quality Data

AI at Meta(Meta人工智能团队);Iowa State University(爱荷华州立大学);Virginia Tech(弗吉尼亚理工大学)

Ernie Chang, Matteo Paltenghi, Yang Li, Pin-Jie Lin, Changsheng Zhao, Patrick Huber, Zechun Liu, Rastislav Rabatin, Yangyang Shi, Vikas Chandra

AI总结:

本文提出用有效训练token(结合文本多样性与合成性)扩展规模法则,通过预训练200多个模型验证其与推理任务准确率高度相关,为参数受限模型的数据质量优化提供理论依据。

摘要:

语言建模中的规模法则传统上将训练损失量化为数据集规模和模型参数的函数,提供了计算最优估计,但往往忽略了数据质量对模型泛化的影响。在本文中,我们通过在原始公式——有效训练token——中提供数据质量的微观视角,扩展了对规模法则的传统理解,我们认为这是参数受限语言模型性能的关键决定因素。具体而言,我们将所提出的有效训练token这一术语表述为两个易于计算的文本指标的组合:(i) 文本多样性,以及 (ii) 由教师模型衡量的合成性。我们在多样化的采样合成数据集上预训练了超过200个参数规模从25M到1.5B的模型,并估计了将文本质量、模型规模、训练token与八个推理任务准确率分数相关联的常数。我们证明了所估计的常数与真实准确率之间产生了+0.83的皮尔逊相关系数,并在涉及广泛使用的数据技术(如旨在提高数据质量的数据采样和合成)的场景中对其进行了分析。

英文摘要:

Scaling laws in language modeling traditionally quantify training loss as a function of dataset size and model parameters, providing compute-optimal estimates but often neglecting the impact of data quality on model generalization. In this paper, we extend the conventional understanding of scaling law by offering a microscopic view of data quality within the original formulation -- effective training tokens -- which we posit to be a critical determinant of performance for parameter-constrained language models. Specifically, we formulate the proposed term of effective training tokens to be a combination of two readily-computed indicators of text: (i) text diversity and (ii) syntheticity as measured by a teacher model. We pretrained over $200$ models of 25M to 1.5B parameters on a diverse set of sampled, synthetic data, and estimated the constants that relate text quality, model size, training tokens, and eight reasoning task accuracy scores. We demonstrated the estimated constants yield +0.83 Pearson correlation with true accuracies, and analyzed it in scenarios involving widely-used data techniques such as data sampling and synthesis which aim to improve data quality.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑