Estimating Training Data Influence by Tracing Gradient Descent

Garima Pruthi, Frederick Liu, Mukund Sundararajan, Satyen Kale
2/19/2020
cs.LGstat.ML

Official code: frederick0329/TracIn (248 stars, Apache-2.0, last commit 2022-02-14).

Abstract

We introduce a method called TracIn that computes the influence of a training example on a prediction made by the model. The idea is to trace how the loss on the test point changes during the training process whenever the training example of interest was utilized. We provide a scalable implementation of TracIn via: (a) a first-order gradient approximation to the exact computation, (b) saved checkpoints of standard training procedures, and (c) cherry-picking layers of a deep neural network. In contrast with previously proposed methods, TracIn is simple to implement; all it needs is the ability to work with gradients, checkpoints, and loss functions. The method is general. It applies to any machine learning model trained using stochastic gradient descent or a variant of it, agnostic of architecture, domain and task. We expect the method to be widely useful within processes that study and improve training data.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Implementation of Estimating Training Data Influence by Tracing Gradient Descent (NeurIPS 2020)

24819Python, Jupyter NotebookJun 30, 20204 years agoApache-2.0
data-qualityinfluence

Similar Papers

Cite this paper

@article{pruthi2020estimating,
  title  = {Estimating Training Data Influence by Tracing Gradient Descent},
  author = {Garima Pruthi and Frederick Liu and Mukund Sundararajan and Satyen Kale},
  year   = {2020},
  eprint = {2002.08484},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.08484}
}

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

Discussion