English

In-Run Data Shapley for Adam Optimizer

Machine Learning 2026-03-10 v3 Artificial Intelligence

Abstract

Reliable data attribution is essential for mitigating bias and reducing computational waste in modern machine learning, with the Shapley value serving as the theoretical gold standard. While recent "In-Run" methods bypass the prohibitive cost of retraining by estimating contributions dynamically, they heavily rely on the linear structure of Stochastic Gradient Descent (SGD) and fail to capture the complex dynamics of adaptive optimizers like Adam. In this work, we demonstrate that data attribution is inherently optimizer-dependent: we show that SGD-based proxies diverge significantly from true contributions under Adam (Pearson R0.11R \approx 0.11), rendering them ineffective for modern training pipelines. To bridge this gap, we propose Adam-Aware In-Run Data Shapley. We derive a closed-form approximation that restores additivity by redefining utility under a fixed-state assumption and enable scalable computation via a novel Linearized Ghost Approximation. This technique linearizes the variance-dependent scaling term, allowing us to compute pairwise gradient dot-products without materializing per-sample gradients. Extensive experiments show that our method achieves near-perfect fidelity to ground-truth marginal contributions (R>0.99R > 0.99) while retaining \sim95\% of standard training throughput. Furthermore, our Adam-aware attribution significantly outperforms SGD-based baselines in data attribution downstream tasks.

Keywords

Cite

@article{arxiv.2602.00329,
  title  = {In-Run Data Shapley for Adam Optimizer},
  author = {Meng Ding and Zeqing Zhang and Di Wang and Lijie Hu},
  journal= {arXiv preprint arXiv:2602.00329},
  year   = {2026}
}

Comments

16 pages

R2 v1 2026-07-01T09:28:46.710Z