Influence Estimation in Self-Supervised Learning

Nidhin Harilal, Reza Akbarian Bafghi, Amit Kiran Rege, Maziar Raissi, Claire MonteleoniSSL @ NeurIPS 2024

TL;DR

This paper introduces a novel, label-free method to estimate the influence of individual training data points on self-supervised learning (SSL) models. This allows researchers to identify and potentially remove data that leads to detrimental memorization in SSL, ultimately improving model performance.

What Problem Does This Paper Address?

Self-supervised learning (SSL) has become a powerful technique for training robust feature extractors from vast amounts of unlabeled data. However, a growing concern is that SSL models might overfit to or even "memorize" specific training examples, much like supervised models can. While influence functions exist for supervised learning to pinpoint these influential data points, they rely on labels, making them inapplicable to the label-free nature of SSL. This gap leaves us without a clear understanding of which data points are disproportionately affecting SSL model behavior and whether this influence is beneficial or detrimental.

Methods

The core contribution of this paper is a new, label-free definition of influence functions specifically for SSL. Instead of relying on how removing a data point affects a model's prediction of a label, this new definition measures how removing a data point affects the model's ability to match different augmented views of the same data. This is achieved by adapting the concept of influence functions to SSL's objective, which often involves maximizing agreement between augmented views.

To efficiently compute these influence functions, the authors leverage Eigenvalue-corrected Kronecker-Factored Approximate Curvature (EK-FAC). This technique provides an efficient approximation for calculating the inverse Hessian, a key component in influence function estimation, without requiring computationally expensive retraining of the model. This makes their method applicable to any pre-trained SSL model.

Datasets

The paper uses the following datasets for training and/or evaluation:

  • CIFAR-10
  • CIFAR-100

The authors mention that their ultimate goal is to scale the method to ImageNet-1k, but due to its size, they focus on CIFAR-10 and CIFAR-100 for their experiments.

Key Insights and Ideas

  • SSL models can indeed suffer from detrimental memorization: The paper provides evidence that certain data points have a disproportionately large influence on SSL models, and removing them can actually improve performance, suggesting these points were leading to memorization.
  • Influence functions behave differently in SSL vs. supervised learning: Removing high-influence points improves SSL performance but degrades performance in supervised learning. This highlights the distinct learning objectives and how data influences them. In SSL, high-influence points might lead to overfitting on specific features, while in supervised learning, they are crucial for learning discriminative, task-specific features.
  • Low-influence examples are crucial for stable SSL representation learning: The paper's visualizations show that low-influence examples tend to cluster tightly, suggesting they contribute to consistent, well-represented regions in the feature space. Removing them can lead to a significant drop in accuracy, indicating their importance for generalization.
  • High-influence examples in SSL can be diverse and complex: These examples are more dispersed in the embedding space and, when removed, can prevent overfitting to specific features, leading to better generalization in SSL.

Key Results

  • Improved SSL performance by removing high-influence data: By removing the top 16,000 most influential points from SimCLR training on CIFAR-100, the authors observed a 2.3% improvement in linear evaluation accuracy compared to random removal. VICReg showed an even larger improvement of approximately 4%.
  • Detrimental effect of removing high-influence data in supervised learning: In contrast, removing high-influence points identified by SSL methods led to a performance drop in supervised training, underscoring the different roles of data in the two paradigms.
  • Visualization of influence: t-SNE plots reveal that low-influence images form tightly clustered groups, while high-influence images are more dispersed, offering a qualitative understanding of their impact.
  • Influence scores evolve during training: The distribution of influence scores shifts over training epochs, with high-influence examples becoming less impactful as training progresses.

Limitations and Future Work

  • Limited to smaller datasets and architectures: The current study is conducted on CIFAR-10 and CIFAR-100 with ResNet-18 backbones. The authors acknowledge that scaling this approach to larger datasets like ImageNet and more complex architectures is a crucial next step.
  • Further investigation into divergence: The paper calls for deeper investigation into why the trends for influential examples differ so significantly between SSL and supervised learning.
  • Exploring sparsity patterns: The authors suggest further examination of sparsity patterns in influential examples and their connection to memorization.
  • Broader application: While the method is designed to be general, further validation across a wider range of SSL frameworks and tasks would be beneficial.

Summary updated

BibTeX
@inproceedings{harilal2024influence,
  author = {Nidhin Harilal and Reza Akbarian Bafghi and Amit Kiran Rege and Maziar Raissi and Claire Monteleoni},
  title = {{Influence Estimation in Self-Supervised Learning}},
  booktitle = {SSL @ NeurIPS},
  year = {2024},
  url = {https://openreview.net/forum?id=JcEizOYIGI},
}

Loading related content...

Figure