Estimating Training Data Influence by Tracing Gradient Descent
Garima Pruthi, Frederick Liu, Satyen Kale, Mukund Sundararajan
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. Code is available at [1] .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext f968ff16-b926-4f93-af1b-5aae7796d826Cited by top-tier papers248
- Deep Learning on a Data Diet: Finding Important Examples Early in TrainingMansheej Paul, Surya Ganguli, Gintare Karolina DziugaiteNeurIPS 2021 · 806 citations
- LESS: Selecting Influential Data for Targeted Instruction TuningMengzhou Xia, Sadhika Malladi, Suchin Gururangan, Sanjeev Arora et al.ICML 2024 · 460 citations
- TRAK: Attributing Model Behavior at ScaleSung Min Park, Kristian Georgiev, Andrew Ilyas, Guillaume Leclerc et al.ICML 2023 · 260 citations
- Machine Unlearning for Random ForestsJonathan Brophy, Daniel LowdICML 2021 · 222 citations
- If Influence Functions are the Answer, Then What is the Question?Juhan Bae, Nathan Ng, Alston Lo, Marzyeh Ghassemi et al.NeurIPS 2022 · 185 citations
Related papers
- Step-Resolved Data Attribution for Looped TransformersGeorgios Kaissis, David Mildenberger, Felipe Gomez, Martin Menten et al.ICML 2026 · 3 citations
- First is Better Than Last for Language Data InfluenceChih-Kuan Yeh, Ankur Taly, Mukund Sundararajan, Frederick Liu et al.NeurIPS 2022 · 39 citations
- A Bayesian Approach To Analysing Training Data Attribution In Deep LearningElisa Nguyen, Minjoon Seo, Seong Joon OhNeurIPS 2023 · 16 citations
- Understanding Influence Functions and Datamodels via Harmonic AnalysisNikunj Saunshi, Arushi Gupta, Mark Braverman, Sanjeev AroraICLR 2023 · 1 citation
- Understanding Instance-based Interpretability of Variational Auto-EncodersZhifeng Kong, Kamalika ChaudhuriNeurIPS 2021 · 32 citations
