Abstract
Data attribution aims to identify the training samples that most influence a machine learning model's predictions. Traditionally, this task has required training massive ensembles of models—sometimes up to 300,000—making it computationally prohibitive for large-scale datasets. This paper introduces a minimalist baseline that achieves state-of-the-art results using a single self-supervised model to identify visually similar images. By leveraging self-supervised features and Exemplar SVMs, the proposed method slashes computational costs and storage requirements by orders of magnitude while maintaining high accuracy.
Introduction: The Challenge of Model Interpretability
Machine learning models are often viewed as "black boxes," making them difficult to trust in high-stakes fields like healthcare or finance. Data attribution seeks to provide transparency by identifying the specific training samples that influenced a given prediction. The theoretical "gold standard" for this is a "leave-k-out" strategy, which involves retraining a model thousands of times while omitting different data subsets.
Because this is computationally impossible for large datasets, current state-of-the-art (SOTA) methods like Datamodels and TRAK use approximations. However, even these approximations require hundreds or thousands of model checkpoints, making them inaccessible for large-scale benchmarks like ImageNet. This paper proposes a simpler, more efficient alternative.
Methodology: Visual Similarity via Self-Supervision
The authors propose that data attribution can be effectively modeled as a search for visual similarity within a robust feature space. Their method involves three key design choices:
- Self-Supervised Feature Extractor: The researchers found that self-supervised models (specifically MoCo) provide much better "influence" features than standard supervised models. SSL features appear to capture a more robust representation of the data distribution.
- Class Filtering: To identify influential samples for a specific test image (e.g., an "airplane"), the method only considers training samples with the same label.
- Exemplar SVM (ESVM): Rather than using simple Euclidean distance, the authors train a linear SVM using the test image as the single positive sample and other images as negatives. The distance to the resulting hyperplane serves as the final attribution score.
This approach is model-agnostic, meaning the generated attribution scores can explain the behavior of various architectures (e.g., ResNet or MobileNet) without needing to re-run the process.
Key Results and Efficiency Gains
The proposed method demonstrates a superior balance between accuracy and computational efficiency compared to ensemble-based methods. On CIFAR-10, the single-model approach outperformed TRAK (using 20 models) and Datamodels (using 10,000 models) in identifying "data removal support"—the smallest set of images that, if removed, would cause the model to misclassify a test point.
As shown in Figure 1, the efficiency gains are dramatic: storage requirements were reduced from nearly a terabyte to less than 1 GB, and compute time was cut from weeks to minutes.
Insights and Future Work
A core insight of this work is that "influence" is not just a complex mathematical property hidden in gradients, but is closely tied to visual similarity. The success of self-supervised features suggests they align better with how models generalize across data.
While the method does not strictly outperform the absolute "gold standard" of Datamodels trained on 300,000 samples in every metric, the authors argue that the marginal gains of such massive ensembles are rarely worth the astronomical cost. Future work could involve extending this logic to other domains, such as Natural Language Processing, or exploring more advanced self-supervised architectures like DINOv2.
Summary updated