Datamodels: Predicting Predictions from Training Data

Andrew Ilyas, Sung Min Park, Logan Engstrom, Guillaume Leclerc, Aleksander Madry
2/1/2022
stat.MLcs.CVcs.LG

Official code: MadryLab/datamodels-data (97 stars, Python, MIT, last commit 2023-05-25).

Abstract

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$.

Show full abstract

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 .

View on arXivView PDF

Code Implementations(1)

MIT

Data for "Datamodels: Predicting Predictions with Training Data"

973PythonJan 30, 20223 years agoMIT

Similar Papers

Cite this paper

@article{ilyas2022datamodels,
  title  = {Datamodels: Predicting Predictions from Training Data},
  author = {Andrew Ilyas and Sung Min Park and Logan Engstrom and Guillaume Leclerc and Aleksander Madry},
  year   = {2022},
  eprint = {2202.00622},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2202.00622}
}

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

Discussion