Revisiting Methods for Finding Influential Examples

Karthikeyan K, Anders SøgaardarXiv 2021

Abstract

Several instance-based explainability methods for finding influential training examples for test-time decisions have been proposed recently, including Influence Functions, TraceIn, Representer Point Selection, Grad-Dot, and Grad-Cos. Typically these methods are evaluated using LOO influence (Cook's distance) as a gold standard, or using various heuristics. In this paper, we show that all of the above methods are unstable, i.e., extremely sensitive to initialization, ordering of the training data, and batch size. We suggest that this is a natural consequence of how in the literature, the influence of examples is assumed to be independent of model state and other examples -- and argue it is not. We show that LOO influence and heuristics are, as a result, poor metrics to measure the quality of instance-based explanations, and instead propose to evaluate such explanations by their ability to detect poisoning attacks. Further, we provide a simple, yet effective baseline to improve all of the above methods and show how it leads to very significant improvements on downstream tasks.

Introduction

In the quest for "explainable AI," researchers aim to identify specific training examples that drive a model's prediction for a given test point. This capability is vital for debugging data, identifying algorithmic bias, and detecting malicious "poisoned" examples. Current literature has converged on several techniques, such as Influence Functions (IF) and TraceIn, typically evaluating them against Leave-One-Out (LOO) influence—the change in prediction resulting from retraining the model after removing a specific point. However, this research reveals that these methods are fundamentally brittle: changing a random seed or data ordering can completely alter the set of "most influential" examples.

The Instability of Influence

The study quantifies this instability across five major methods: Influence Functions, TraceIn (Ideal and CP), Representer Point Selection (RPS), and gradient-based heuristics (Grad-Dot and Grad-Cos). On the MNIST dataset, the Spearman correlation of LOO influence across different seeds was found to be a mere 0.037, with Influence Functions performing even worse at 0.014. This suggests that many current explanations are essentially random noise, depending more on the model's specific initialization than on the underlying data relationship.

Rethinking Influence: The Identical Instance Fallacy

A common assumption in explainability is the "Identical Instance" test: a copy of a training point should be its own most influential example. The authors debunk this, showing that influence is state-dependent. In neural networks, points that define the decision boundary—similar to support vectors in SVMs—often exert more influence on a prediction than an identical copy of the test instance itself.

The Identical Instance Fallacy: A training example (the cross) can be more influential than a copy of the test instance (the triangle) because it more significantly defines the decision boundary.

Proposed Solution: Expected Influence

To address this instability, the authors propose calculating Expected Influence by averaging scores across multiple models trained with different initializations. This simple baseline dramatically improves stability; for example, Expected RPS and Expected Grad-Cos achieved correlations above 0.99. By treating influence as a distribution rather than a point estimate, the explanations become reliable enough for downstream utility.

Evaluating via Backdoor Poisoning Detection

Given the unreliability of LOO as a benchmark, the authors propose a new evaluation framework: the ability to detect "poisoned" training examples in a backdoor attack scenario. A robust influence method should consistently identify the malicious points that triggered a misclassification.

Evaluating influence metrics using backdoor poisoning on the CoMNIST dataset. While many methods succeed on simple tasks, only TraceIn and Gradient-Cosine methods remain effective on more challenging datasets.

Results on the CoMNIST dataset (Cyrillic vs. Latin letters) show that Expected TraceIn is the most effective at identifying poisoned points. While simpler methods work on MNIST, they often fail as task complexity increases, highlighting the need for more rigorous evaluation metrics like poisoning detection.

Conclusion

Influence is not a static property of a data point but a state-dependent relationship. Moving forward, the research community should shift away from LOO as a gold standard and toward utility-based metrics. While calculating Expected Influence is computationally expensive—requiring multiple training runs—it is a necessary step toward making instance-based explanations trustworthy for high-stakes decision-making.

Summary updated

BibTeX
@misc{k2021revisiting,
  author = {Karthikeyan K and Anders Søgaard},
  title = {{Revisiting Methods for Finding Influential Examples}},
  year = {2021},
  eprint = {2111.04683},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2111.04683},
}
Figure