arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.01582cs.CLcs.AIcs.LG
收藏

基于文本质量剪枝的语言模型高效训练方法

Text Quality-Based Pruning for Efficient Training of Language Models

FAIR, Meta(FAIR,Meta)

Vasu Sharma, Karthik Padthe, Newsha Ardalani, Kushal Tirumala, Russell Howes, Hu Xu, Po-Yao Huang, Shang-Wen Li, Armen Aghajanyan, Gargi Ghosh, Luke Zettlemoyer

AI总结:

针对语言模型训练计算量大、效率低的问题,提出模型无关的文本质量评估与剪枝框架,剔除低质量数据,在多个数据集上实现了数据用量减少、训练速度提升且下游任务准确率提高的效果。

摘要:

近年来,语言模型(LMs)的训练依赖于在海量数据集上进行的高计算量训练,这使得训练过程极为耗时费力。本文提出了一种新颖的方法,以模型无关的方式对大型无标注自然语言处理数据集中的文本质量进行数值评估,为文本样本分配“质量分数”。\n 通过提出该文本质量度量指标,本文构建了一个识别并剔除低质量文本样本的框架,从而提升语言模型的训练效率。在多个模型和数据集上的实验结果证明了该方法的有效性,展现出训练效果的显著提升,并凸显了资源高效型语言模型训练的潜力。\n 例如,我们观察到,在OpenWebText数据集上训练时,多个语言模型在14个下游评估任务上的平均绝对准确率提升了0.9%,同时数据使用量减少40%,训练速度提升42%;在Wikipedia数据集上训练时,平均绝对准确率提升0.8%,数据使用量减少20%,训练速度提升21%。

英文摘要:

In recent times training Language Models (LMs) have relied on computationally heavy training over massive datasets which makes this training process extremely laborious. In this paper we propose a novel method for numerically evaluating text quality in large unlabelled NLP datasets in a model agnostic manner to assign the text instances a "quality score". By proposing the text quality metric, the paper establishes a framework to identify and eliminate low-quality text instances, leading to improved training efficiency for LM models. Experimental results over multiple models and datasets demonstrate the efficacy of this approach, showcasing substantial gains in training effectiveness and highlighting the potential for resource-efficient LM training. For example, we observe an absolute accuracy improvement of 0.9% averaged over 14 downstream evaluation tasks for multiple LM models while using 40% lesser data and training 42% faster when training on the OpenWebText dataset and 0.8% average absolute accuracy improvement while using 20% lesser data and training 21% faster on the Wikipedia dataset.

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

↑