Data Shapley in One Training Run

Jiachen T. Wang, Prateek Mittal, Dawn Song, Ruoxi Jia
6/16/2024
cs.LGcs.CLstat.ML

No official code found. Best implementation: Jiachen-T-Wang/GhostSuite (35 stars, MIT, last commit 2026-01-16).

Abstract

Data Shapley provides a principled framework for attributing data's contribution within machine learning contexts. However, existing approaches require re-training models on different data subsets, which is computationally intensive, foreclosing their application to large-scale models. Furthermore, they produce the same attribution score for any models produced by running the learning algorithm, meaning they cannot perform targeted attribution towards a specific model obtained from a single run of the algorithm. This paper introduces In-Run Data Shapley, which addresses these limitations by offering scalable data attribution for a target model of interest. In its most efficient implementation, our technique incurs negligible additional runtime compared to standard model training. This dramatic efficiency improvement makes it possible to perform data attribution for the foundation model pretraining stage for the first time. We present several case studies that offer fresh insights into pretraining data's contribution and discuss their implications for copyright in generative AI and pretraining data curation.

View on arXivView PDF

Code Implementations(1)

MIT

GhostSuite (Official Codebase for "Data Shapley in One Training Run", ICLR'25)

354PythonJul 12, 20259 months agoMIT

Cite this paper

@article{wang2024data,
  title  = {Data Shapley in One Training Run},
  author = {Jiachen T. Wang and Prateek Mittal and Dawn Song and Ruoxi Jia},
  year   = {2024},
  eprint = {2406.11011},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2406.11011v3},
  journal = {ICLR 2024 2024}
}

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/2406.11011.svg)](https://codeofpaper.com/paper/2406.11011)

Discussion