Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Datamodels: Predicting Predictions from Training Data

About

We present a conceptual framework, datamodeling, for analyzing the behavior of a model class in terms of the training data. For any fixed "target" example $x$, training set $S$, and learning algorithm, a datamodel is a parameterized function $2^S \to \mathbb{R}$ that for any subset of $S' \subset S$ -- using only information about which examples of $S$ are contained in $S'$ -- predicts the outcome of training a model on $S'$ and evaluating on $x$. Despite the potential complexity of the underlying process being approximated (e.g., end-to-end training and evaluation of deep neural networks), we show that even simple linear datamodels can successfully predict model outputs. We then demonstrate that datamodels give rise to a variety of applications, such as: accurately predicting the effect of dataset counterfactuals; identifying brittle predictions; finding semantically similar examples; quantifying train-test leakage; and embedding data into a well-behaved and feature-rich representation space. Data for this paper (including pre-computed datamodels as well as raw predictions from four million trained deep neural networks) is available at https://github.com/MadryLab/datamodels-data .

Andrew Ilyas, Sung Min Park, Logan Engstrom, Guillaume Leclerc, Aleksander Madry• 2022

Related benchmarks

TaskDatasetResultRank
Supervised Fine-tuningMMMLU Danish (test)
MMLU Score45.99
25
Supervised Fine-tuningMMMLU Marathi (test)
MMMLU Accuracy34.52
9
Supervised Fine-tuningMarathi Multilingual SFT (test)
Best-k Accuracy34.43
9
Supervised Fine-tuningDanish Multilingual SFT (test)
Best-k Accuracy45.99
9
Showing 4 of 4 rows

Other info

Follow for update