Introduction
In machine learning, data attribution aims to answer a fundamental question: "Which training samples caused the model to make this specific prediction?" Understanding this relationship is critical for model debugging, identifying mislabeled data, and ensuring algorithmic fairness. Most existing methods, such as Influence Functions (IF), rely on a Leave-One-Out (LOO) strategy. These methods estimate the impact of a training point by calculating the change in model behavior when that single point is removed or infinitesimally perturbed.
However, traditional LOO methods suffer from significant theoretical and practical limitations. This paper introduces Integrated Influence (IIF), a framework that moves beyond local perturbations by defining a non-informative baseline and integrating influence along a path to the actual training set.
The Limitations of Leave-One-Out
The authors identify two major flaws in the standard LOO approach:
- Locality Bias: LOO methods are inherently "local." If a cluster of similar points collectively supports a prediction, removing just one might not change the model at all because the remaining points "fill the gap." Consequently, LOO methods often falsely report that a highly relevant point has zero influence.
- The "Zero-Error" Trap: For models trained with Mean Squared Error (MSE) loss, Influence Functions mathematically assign zero influence to any training point that the model fits perfectly (zero training error). This is counterintuitive, as a point can be vital to the model's structure even if the final error on that point is zero.
Methods: Integrated Influence (IIF)
Inspired by the concept of Integrated Gradients used in feature attribution, IIF shifts the focus from local changes to a global trajectory.
The Baseline and the Path
Instead of simply removing a point, IIF defines a "sanitized" baseline dataset where the unique information relevant to a specific test sample has been "unlearned." This is achieved by updating the model to maximize loss on the test sample while maintaining low training loss. The method then defines a continuous path (a trajectory) that transitions the baseline dataset back to the original training dataset.
Path Integral
Influence is calculated as the integral of the gradient of the loss along this path. This captures how the model's parameters evolve as information is gradually reintroduced, effectively "decoupling" shared dependencies in the data. To make this computationally feasible for deep learning, the authors employ several efficiency techniques:
- Discrete Approximation: Sampling a finite number of datasets along the path.
- Hessian Compression: Using low-rank approximations to avoid the massive cost of inverting the Hessian matrix.
- Warm-starting: Initializing intermediate models with weights from previous steps to speed up convergence.
Experimental Results
The paper evaluates IIF across synthetic regression, MNIST, and CIFAR-10 datasets.
Quantitative Performance
On the MNIST dataset, IIF achieved a Linear Datamodeling Score (LDS) of 0.1635, outperforming the next best method (TracIn) by approximately 18%. In synthetic experiments with high noise, IIF maintained high LDS scores (0.744 - 0.768) while traditional Influence Functions saw their performance plummet to as low as 0.423. Furthermore, IIF proved most effective at identifying mislabeled examples, achieving the highest Area Under the Curve (AUC) on both MNIST (0.885) and CIFAR-10 (0.736).
Qualitative Analysis
Qualitative results on MNIST demonstrate that IIF identifies more intuitive "opponents" (harmful images). For instance, when explaining a prediction for the digit "4," IIF identifies images of "9"s that are visually similar to the test image but belong to a different class. Traditional methods often pick less intuitive or visually unrelated examples.
Conclusion
Integrated Influence (IIF) provides a more robust and theoretically sound framework for data attribution than traditional LOO methods. By utilizing a baseline and path integration, it overcomes locality bias and the zero-error trap. While it introduces some computational overhead due to the need for intermediate model updates, its superior performance in noisy environments and mislabeled data detection makes it a powerful tool for modern machine learning interpretability.
Summary updated