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

GPT模型训练数据影响研究

On Training Data Influence of GPT Models

Baidu Inc.(百度公司);Sun Yat-sen University(中山大学);University of Copenhagen(哥本哈根大学)

Yekun Chai, Qingyi Liu, Shuohuan Wang, Yu Sun, Qiwei Peng, Hua Wu

AI总结:

本文提出GPTfluence方法,通过特征化模拟训练动态来评估训练数据对GPT模型的影响,在1400万至28亿参数模型上验证了其对未见数据的鲁棒泛化能力。

摘要:

在生成式语言模型快速发展的背景下,关于训练数据如何影响GPT模型性能的研究仍处于起步阶段。本文提出了GPTfluence,这是一种利用特征化模拟来评估训练样本对GPT模型训练动态影响的新方法。我们的方法不仅能够追踪单个训练实例对目标测试点上性能轨迹(如损失和其他关键指标)的影响,还能在参数量从1400万到28亿不等的GPT模型上,跨多个下游任务,与现有方法在各种训练场景中进行全面比较。与早期难以泛化到新数据的方法不同,GPTfluence引入了训练动态的参数化模拟,展现出对未见训练数据的鲁棒泛化能力。这种适应性在微调和指令微调场景中均得到体现,涵盖自然语言理解和生成任务。我们在https://github.com/ernie-research/gptfluence上公开了代码和数据。

英文摘要:

Amidst the rapid advancements in generative language models, the investigation of how training data shapes the performance of GPT models is still emerging. This paper presents GPTfluence, a novel approach that leverages a featurized simulation to assess the impact of training examples on the training dynamics of GPT models. Our approach not only traces the influence of individual training instances on performance trajectories, such as loss and other key metrics, on targeted test points but also enables a comprehensive comparison with existing methods across various training scenarios in GPT models, ranging from 14 million to 2.8 billion parameters, across a range of downstream tasks. Contrary to earlier methods that struggle with generalization to new data, GPTfluence introduces a parameterized simulation of training dynamics, demonstrating robust generalization capabilities to unseen training data. This adaptability is evident across both fine-tuning and instruction-tuning scenarios, spanning tasks in natural language understanding and generation. We make our code and data publicly available at https://github.com/ernie-research/gptfluence.

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

↑