Papers › Estimating Training Data Influence by Tracing Gradient Descent

Estimating Training Data Influence by Tracing Gradient Descent

19 Feb 2020NeurIPS 2020 12arXiv:2002.08484archive 2025-07-28

Garima Pruthi, Frederick Liu, Mukund Sundararajan, Satyen Kale

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.

PaperPDFConference PDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2002.08484")

Code

Syntology Ran 1 of 13 code samples harvested from 2 repositories linked to this paper; 12 have no recorded run. Of those that ran: 1 ran · our draft was wrong.

By repository: official repository: 8 samples from 1 repository, 0 ran; community (archive-listed): 5 samples from 1 repository, 1 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

frederick0329/TracIn officialmentioned in papermentioned on GitHubtfApache-2.0 report
frederick0329/TrackIn mentioned on GitHubtfApache-2.0 report
pytorch/captum mentioned on GitHubpytorchBSD-3-Clause report
rollovd/TracIn-PyTorch mentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

13 samples harvested; 1 ran; 0 honoured the contract we drafted; 12 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · our draft was wrong
12unverified

Licence: 5 of the 13 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from 2 repositories linked to this paper, official or community; each sample names its own and says which. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

configure_cluster frederick0329/TracIn/imagenet/resnet50/distribution_utils.py official repository unverified Apache-2.0 (permissive) · a3908ed79b55f793 · report
conv_block frederick0329/TracIn/imagenet/resnet50/resnet.py official repository unverified Apache-2.0 (permissive) · 6418d1ea781bab93 · report
get_distribution_strategy frederick0329/TracIn/imagenet/resnet50/distribution_utils.py official repository unverified Apache-2.0 (permissive) · db9d71dd2270776a · report
identity_block frederick0329/TracIn/imagenet/resnet50/resnet.py official repository unverified Apache-2.0 (permissive) · bc5c578afb5bb8b6 · report
mean_image_subtraction frederick0329/TracIn/imagenet/resnet50/preprocessing.py official repository unverified Apache-2.0 (permissive) · e8512af53323cac3 · report
normalize_images frederick0329/TracIn/imagenet/resnet50/preprocessing.py official repository unverified Apache-2.0 (permissive) · 1ae302f00326beec · report
resnet50 frederick0329/TracIn/imagenet/resnet50/resnet.py official repository unverified Apache-2.0 (permissive) · 4c1214758a0f6151 · report
standardize_image frederick0329/TracIn/imagenet/resnet50/preprocessing.py official repository unverified Apache-2.0 (permissive) · 252a762d9fe4f7a2 · report
calculate_train_grads_per_checkpoint rollovd/TracIn-PyTorch/src/tracin.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · 6def3c9b3d79c36d · report
load_checkpoint rollovd/TracIn-PyTorch/src/tracin.py community (archive-listed) unverified no licence file found · pointer only · 425a8b4fb346cc50 · report
precompute_models_with_weights rollovd/TracIn-PyTorch/src/tracin.py community (archive-listed) unverified no licence file found · pointer only · cd0404df91f2edcf · report
precompute_test_gradients rollovd/TracIn-PyTorch/src/tracin.py community (archive-listed) unverified no licence file found · pointer only · ba995f8393ec29e3 · report
vectorized_calculate_tracin_score rollovd/TracIn-PyTorch/src/tracin.py community (archive-listed) unverified no licence file found · pointer only · bd5f57e1f5a91dc3 · report

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Test

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections