Dynamic Data Selection for Efficient SSL via Coarse-to-Fine Refinement

Aditay Tripathi, Pradeep Shenoy, Anirban ChakrabortyECCV 2024

Abstract

Self-supervised learning (SSL) has significantly advanced computer vision by leveraging unlabeled data, yet it remains computationally expensive, often requiring hundreds of epochs to converge. This paper introduces DySCoF, a dynamic data selection framework that optimizes training efficiency by identifying the most informative samples in real-time. By utilizing an unsupervised proxy model and a coarse-to-fine scheduling strategy, DySCoF reduces computational load by up to 31.6% while maintaining or exceeding the accuracy of models trained on full datasets.

Introduction

While SSL frameworks like SimCLR and BYOL eliminate the need for manual labels, they introduce a massive hidden cost in compute. Training a state-of-the-art SSL model typically requires significantly more data passes than supervised learning. Previous attempts to mitigate this through static data subset selection often rely on supervised labels or fail to account for the evolving needs of a model as it learns. DySCoF addresses these limitations by making data selection both dynamic and entirely unsupervised.

The DySCoF Framework

DySCoF operates on the principle that what is "informative" to a model changes throughout the training process. The framework employs three core components:

  1. Unsupervised Importance Scoring: Instead of labels, DySCoF uses a small, pretrained "proxy model" (e.g., a ResNet-10). It calculates importance by measuring the discrepancy between the target model’s representation of an image and the proxy’s representation. Samples that the target model has not yet mastered relative to the proxy are prioritized.
  2. Coarse-to-Fine Scheduling: Borrowing from curriculum learning, DySCoF starts training on a large portion of the data to capture the broad distribution. As training progresses, it follows a cosine-based decay schedule to shrink the active training set, focusing the model on increasingly challenging and informative samples.
  3. Proxy-Guided Training Regularizer (PGTR): To accelerate early-stage learning, a loss term encourages the target model to align its representations with the proxy model, providing a "jump-start" to the training process.
Figure 4: The coarse-to-fine scheduling mechanism showing how the fraction of data per epoch decays over time for different schedules.

Experimental Results

The researchers validated DySCoF across standard benchmarks, including CIFAR-10, CIFAR-100, STL-10, and Tiny ImageNet. The results demonstrate a superior Pareto frontier for the accuracy-compute trade-off compared to existing methods like Static Average Selection (SAS).

Figure 3: Performance comparison on CIFAR-10 and CIFAR-100 showing that DySCoF (Ours) achieves higher accuracy with significantly fewer FLOPs than the SAS baseline.

Key Findings

  • Compute Efficiency: On Tiny ImageNet, DySCoF reduced computational load by 31.6% compared to SAS while maintaining similar accuracy. On CIFAR-10, the method required 45.6% fewer mini-batches to reach convergence.
  • Accuracy Gains: In several configurations, DySCoF outperformed training on the full dataset. This suggests that dynamic selection acts as a form of "hard negative mining," forcing the model to learn more robust features by focusing on difficult examples.
  • Robust Proxies: The proxy model does not need to be high-capacity; even a very small ResNet-10 can effectively guide the training of a much larger ResNet-50.

Conclusion and Future Work

DySCoF demonstrates that high-performance SSL does not require processing every image in every epoch. By focusing on the "right" data at the "right" time, the framework significantly lowers the barrier to entry for large-scale model training. Future research will explore scaling DySCoF to Vision Transformers (ViTs) and massive datasets like ImageNet-1k to further test its generalizability in industrial-scale environments.

Summary updated

BibTeX
@inproceedings{tripathi2024dynamic,
  author = {Aditay Tripathi and Pradeep Shenoy and Anirban Chakraborty},
  title = {{Dynamic Data Selection for Efficient SSL via Coarse-to-Fine Refinement}},
  booktitle = {European Conference on Computer Vision},
  year = {2024},
  doi = {10.1007/978-3-031-73636-0\_22},
}
Figure