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

Estimating Training Data Influence by Tracing Gradient Descent

About

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.

Garima Pruthi, Frederick Liu, Mukund Sundararajan, Satyen Kale• 2020

Related benchmarks

TaskDatasetResultRank
Multiple-choice Question AnsweringMMLU 5-shot
Accuracy46.45
73
Image ClassificationANIMAL-10N
Accuracy0.8012
43
Image ClassificationCIFAR-100-N
Accuracy56.47
41
Data-to-text generationE2E (test)
BLEU34.9
39
Medical Image-Text ClassificationMedical Specialties
Ophthalmology Performance42.47
30
Image-Text RetrievalGeneral Domain
Retrieval Score26.36
30
Image ClassificationGeneral Domain 31 tasks
CLS Score47.26
30
Multilingual Question AnsweringTyDiQA 1-shot macro-averaged
F1 Score (1-shot macro)47.01
28
Image ClassificationGeneral CLS
Accuracy58.27
21
Medical Image ClassificationMedical CLS
Accuracy35.1
21
Showing 10 of 34 rows

Other info

Follow for update