Skip to main content
QUICK REVIEW

[Paper Review] Estimating Training Data Influence by Tracking Gradient Descent

Garima Pruthi, Frederick Liu|arXiv (Cornell University)|Feb 19, 2020
Adversarial Robustness in Machine LearningComputer Science29 references6 citations
TL;DR

TracIn is a scalable method that estimates the influence of individual training data points on model predictions by tracking gradient descent dynamics. It uses first-order approximations, model checkpoints, and selective layer analysis to efficiently compute influence scores across any deep learning model trained with stochastic gradient descent, enabling interpretable and actionable data curation.

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.

Motivation & Objective

  • To develop a method for estimating the influence of individual training examples on model predictions.
  • To enable efficient and scalable influence estimation without requiring model retraining or architectural modifications.
  • To support data-centric AI workflows by identifying influential or problematic training examples.
  • To provide a general-purpose solution applicable to any model trained with SGD, regardless of architecture or task.

Proposed method

  • TracIn computes influence by tracking how the test loss changes during training when a specific training example is updated.
  • It uses a first-order approximation of the influence score to reduce computational cost, avoiding exact second-order derivatives.
  • The method leverages saved model checkpoints from standard training to reconstruct gradient trajectories efficiently.
  • It applies cherry-picking to select only the most relevant layers of a deep network, reducing computational overhead.
  • The influence score is derived from the inner product of gradients on the test example and the gradients from the training example during optimization.
  • The approach is agnostic to model architecture, loss function, and learning task, enabling broad applicability.

Experimental results

Research questions

  • RQ1How can we efficiently estimate the influence of individual training examples on model predictions?
  • RQ2Can influence estimation be made scalable and practical for large deep learning models?
  • RQ3Does the method generalize across different architectures, datasets, and learning tasks?
  • RQ4Can influence scores help identify mislabeled or outlier training examples?

Key findings

  • TracIn provides a scalable and accurate approximation of training data influence using only gradients and checkpoints, without requiring model retraining.
  • The method achieves high correlation with exact influence scores in experiments, even with first-order approximations.
  • TracIn successfully identifies mislabeled examples and influential training instances across diverse datasets and architectures.
  • The approach is computationally efficient and applicable to any model trained with SGD, including vision and language models.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.