TL;DR
Deep learning training is inherently stochastic, yet traditional data attribution methods treat it as deterministic. This paper introduces Distributional Training Data Attribution (d-TDA), a framework that predicts how dataset modifications alter the entire distribution of trained models. Crucially, the authors prove that classical Influence Functions (IFs) are "secretly distributional," explaining why they remain remarkably effective in non-convex deep learning landscapes.
What Problem Does This Paper Address?
If a neural network misbehaves or excels on a specific test case, how do we know which training examples are responsible? This is the goal of Training Data Attribution (TDA).
Traditional TDA methods, like Influence Functions (IFs), frame this as a deterministic counterfactual question: How would the model's unique optimal weights change if we removed a specific training point? However, modern deep learning is anything but deterministic. Due to random weight initialization and stochastic mini-batch shuffling, training a model multiple times on the exact same dataset yields a distribution of different final models.
By ignoring this stochasticity, classical TDA struggles in non-convex landscapes and treats training randomness as a nuisance. It fails to answer critical questions, such as how removing a datapoint affects model variance or prediction uncertainty.
Methods
The authors introduce Distributional Training Data Attribution (d-TDA), redefining training as sampling from a probability distribution over final model weights ($\mu_\mathcal{D}$). Instead of tracking a single point shift, d-TDA tracks shifts in the entire distribution using metrics like Mean influence, Variance increase influence, and Wasserstein influence.
To operationalize d-TDA without prohibitively expensive retraining, the paper utilizes and connects two main techniques:
- Unrolled Differentiation (UD): This tracks and differentiates directly through the stochastic gradient descent (SGD) trajectory. The authors show that UD can be framed as a Markov chain, allowing it to be computed in linear time and constant space using forward-mode automatic differentiation.
- Influence Functions (IFs) as Asymptotic Proxies: The core theoretical contribution is proving that classical IFs are actually shortcuts for d-TDA. They provide two perspectives:
- Trajectory Perspective: As SGD training time grows, unrolled differentiation converges almost surely to the classical influence function formula (plus a component in the Hessian nullspace).
- Optimal Transport Perspective: IFs define the mathematically optimal transport map that shifts a low-temperature Boltzmann distribution of models trained on a full dataset to one trained on a perturbed dataset.
Datasets
The framework and its applications were evaluated on several standard datasets:
- UCI Concrete: Used for a 1D regression task to empirically validate trajectory convergence and demonstrate distributional tracking.
- MNIST: Used with a multi-layer perceptron (MLP) to identify training examples responsible for high variance in model outputs.
- CIFAR-10: Used to evaluate data pruning performance on a SWIN Vision Transformer.
- ArtBench-10: Used to identify influential training examples for a Latent Diffusion Model.
Key Insights and Ideas
- Influence Functions are "Secretly Distributional": For years, researchers wondered why classical IFs worked well in deep learning despite violating the strict convexity assumptions required for their original derivation. This paper provides the "aha!" moment: IFs work because they approximate the asymptotic limit of stochastic training trajectories, making them natively suited for distributional attribution.
- Variance is an Untapped Signal: Removing a training point might not shift a model's average prediction, but it can drastically alter its variance (uncertainty). By using Wasserstein or variance-based influence metrics, d-TDA uncovers highly influential points that traditional mean-shift metrics completely miss.
- Leave-One-Out (LOO) Retraining Isn't Broken: Prior work suggested that IFs fail to predict the effect of removing a single training example because correlations with actual retraining were near zero. The authors show that the signal isn't missing; it's just drowned out by stochastic noise. Averaging predictions over multiple random seeds recovers a strong correlation (~90%) between predicted and true LOO effects.
Key Results
- Superior Data Pruning: On CIFAR-10 with a SWIN Vision Transformer, pruning 5,000 images using d-TDA (which optimizes validation loss on average across the model distribution) achieved significantly better test accuracy and lower validation loss than traditional fixed-seed TDA.
- Empirical Verification of Convergence: The authors verified that as training time increases, the Pearson correlation between unrolled differentiation and classical IFs climbs to approximately 90%, confirming their main theoretical convergence theorem.
Limitations and Future Work
- Hessian Nullspace Omission: The theoretical convergence of unrolled differentiation to IFs leaves behind a component in the Hessian nullspace (flat directions in the loss landscape). While the authors show empirically that this component is tiny and negligible for their downstream tasks, it remains a theoretical gap.
- Computational Scaling: While using IFs as a proxy makes d-TDA scalable, computing exact unrolled differentiation for very large models remains computationally demanding.
- Benchmarking Standards: The authors suggest that the Wasserstein Linear Datamodelling Score (LDS) should become the new default benchmark for data attribution, but wide adoption across massive models (like LLMs) remains to be demonstrated.
Summary updated