Traceprop: Training Data Attribution in a Single Pass
Abstract
Data attribution tools used in practice, TRAK, LoGRA/LogIX, and EK-FAC, run after training: they recompute per-sample gradients in a separate pass over the training set, and curvature-aware variants need a further pass to estimate covariance. Traceprop records projected per-sample gradients and K-FAC covariance statistics inside the training backward pass itself. On Pythia-1B LoRA fine-tunes on an A100, this adds 2.6% to training time, against 10.7% for LogIX's best inline configuration, random-init (4.1x lower, one-sided Mann-Whitney p = 9e-5, n = 10 per arm); at Pythia-6.9B the numbers are 11.3% and 27.0% (p = 0.004). LogIX's default configuration, PCA-init, is both slower and lower quality than random-init, so we compare against random-init throughout. On a small transformer where LDS is measurable, Traceprop matches LogIX's best configuration: pooled LDS difference +0.0022, 95% CI [-0.0038, +0.0075]. Two things do not work: at Pythia-160M/SST-2, every method is indistinguishable from a low noise ceiling, and on planted-backdoor and mislabel detection, gradient attribution does not beat gradient norm or representation similarity. The contribution here is systems, not a new estimator: LogIX's attribution quality, in one pass instead of two.
Create a lesson
Metadata
- Comments
- 12 pages including appendix. Code: https://github.com/AmitoVrito/Traceprop. v2: revised evaluation against an inline LogIX baseline (overhead 2.6% at Pythia-1B and 11.3% at Pythia-6.9B, A100); adds inline K-FAC preconditioning; earlier ~1% overhead and 60-242x speedup claims are superseded
Related papers
TrajRoformer: Learning-based Sparse Trajectory Recovery without Dense Training Data
Shared title terminologycs.LGYan Lin, Liwei Deng, Jilin Hu et al.
Scalable Attribution and Control of Model Behavior During Training
Shared title terminologycs.LGSleem Abdelghafar
Learning Dynamics of Continual Learning: A Unified View of Data Attribution, Forgetting, and Plasticity Loss
Shared title terminologycs.LGYi Ren, Wenlong Deng, Guanzhe Hong et al.
Active Feature Acquisition With Incomplete Training Data
Shared title terminologycs.LGReza Rezvan, Valter Schütz, Han Wu et al.
Grokking Is a High-Overlap, High-Capacity Regime of Ordinary Training
Shared title terminologycs.LGMian Wang
Air Pollution Nowcasting via Multimodal Learning with Temporal and Visual Data
Shared title terminologycs.LGSojeong Kim, Jaewan Chun, Jongha Lee et al.