Abstract
Modern data-centric AI needs precise per-sample influence. Standard SGD-IE approximates leave-one-out effects by summing per-epoch surrogates and ignores cross-epoch compounding, which misranks critical examples. We propose ACC-SGD-IE, a trajectory-aware estimator that propagates the leave-one-out perturbation across training and updates an accumulative influence state at each step. In smooth strongly convex settings it achieves geometric error contraction and, in smooth non-convex regimes, it tightens error bounds; larger mini-batches further reduce constants. Empirically, on Adult, 20 Newsgroups, and MNIST under clean and corrupted data and both convex and non-convex training, ACC-SGD-IE yields more accurate influence estimates, especially over long epochs. For downstream data cleansing it more reliably flags noisy samples, producing models trained on ACC-SGD-IE cleaned data that outperform those cleaned with SGD-IE.
Introduction
In the paradigm of Data-Centric AI, identifying which specific training examples drive a model's predictions—a task known as data attribution—is critical for debugging and improving performance. The gold standard for this is "Leave-One-Out" (LOO) retraining, where a model is retrained from scratch without a specific data point. However, for large-scale deep learning, this is computationally prohibitive.
Existing influence estimators, such as the SGD-Influence Estimator (SGD-IE), attempt to approximate the LOO effect by tracking the model's trajectory during a single training run. However, these methods often treat training epochs as independent events, summing disjoint proxies and ignoring the compounding "drift" that occurs when a sample is excluded. This leads to increasing inaccuracies over long training runs and the misranking of critical examples.
Methodology: Trajectory-Aware Influence Tracking
To address these limitations, we introduce the Accumulative SGD-Influence Estimator (ACC-SGD-IE). Unlike standard approaches, ACC-SGD-IE employs a recursive tracking mechanism that propagates the leave-one-out perturbation across the entire training trajectory.
The algorithm injects a Hessian-vector correction every time a sample is encountered, ensuring that the influence state is updated cumulatively. This is analogous to a GPS system that continuously updates coordinates by accounting for every course correction made since the start of the journey, rather than recalculating position at fixed intervals and forgetting previous adjustments. This trajectory-aware principle is portable and can be integrated into other estimators like TracIn or Adam-IE to enhance their precision.
Experimental Setup
We evaluated ACC-SGD-IE across diverse domains to ensure generalizability:
- Tabular: Adult census dataset.
- Text: 20-Newsgroups forum posts.
- Vision: MNIST handwritten digits and CIFAR-10 images.
To assess robustness, we tested the method on clean data as well as versions corrupted by Gaussian feature noise and label noise (10-30% mislabeling).
Results and Key Insights
Our empirical results demonstrate that ACC-SGD-IE significantly outperforms standard SGD-IE in both convex and non-convex settings.
Accuracy and Ranking Improvements
In non-convex deep learning scenarios, ACC-SGD-IE reduced the Root Mean Square Error (RMSE) by up to 17.24% and improved ranking correlation (Kendall’s Tau) by up to 38.46%. When identifying the top 10% most influential samples, the method improved the Jaccard Index by 19.10% over standard SGD-IE.
Theoretical and Practical Advantages
- Geometric Error Contraction: In convex settings, the error in ACC-SGD-IE shrinks geometrically over time, whereas standard methods show only sublinear decay.
- Large Batch Benefits: Theory and experiments confirm that larger mini-batches reduce constant error factors, further improving estimation accuracy.
- Effective Data Cleansing: ACC-SGD-IE more reliably identifies "poisonous" samples. On MNIST, removing just 10 noisy points identified by our method lowered the test error rate from 0.875% to 0.72%, a 20% relative improvement over previous state-of-the-art cleaning methods.
Discussion
While ACC-SGD-IE provides superior accuracy, it comes with increased computational costs. Tracking influence per-sample across a trajectory requires more memory and time than simpler estimators. Future research will focus on scaling this approach to Large Language Models (LLMs) and developing "sparse" trajectory tracking methods to maintain accuracy while reducing overhead. Additionally, we aim to extend this accumulative logic to a broader family of optimization algorithms beyond standard SGD.
Summary updated