On Training Data Influence of GPT Models

Yekun Chai, Qingyi Liu, Shuohuan Wang, Yu Sun, Qiwei Peng +1 more
4/11/2024
cs.CLcs.LG

Official code: ernie-research/gptfluence (11 stars, MIT, last commit 2025-06-06). 1 more implementation below.

Abstract

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.

View on arXivView PDF

Code Implementations(2)

MIT

[EMNLP'24 oral] On Training Data Influence of GPT Models

110Shell, PythonApr 23, 20241 years agoMIT
EleutherAI/pythiaCommunity100%
Apache-2.0

The hub for EleutherAI's work on interpretability and learning dynamics

2,968225Shell, PythonDec 25, 202111 months agoApache-2.0

Similar Papers

Cite this paper

@article{chai2024training,
  title  = {On Training Data Influence of GPT Models},
  author = {Yekun Chai and Qingyi Liu and Shuohuan Wang and Yu Sun and Qiwei Peng and Hua Wu},
  year   = {2024},
  eprint = {2404.07840},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.07840v3}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.07840.svg)](https://codeofpaper.com/paper/2404.07840)

Discussion