Abstract
Training deep learning models on massive datasets is a significant computational bottleneck. Coreset selection—identifying a small, representative subset of data—offers a solution, but existing methods often struggle with high computational overhead or lack theoretical grounding. We present Correlation of Loss Differences (CLD), a novel metric that selects data by analyzing the learning trajectory of samples. By measuring how a training sample's loss changes in sync with a held-out validation set, CLD identifies high-quality data without expensive gradient computations. Our results on ImageNet-1k show that CLD matches state-of-the-art performance while being orders of magnitude more efficient in storage and compute.
Introduction: The Coreset Selection Challenge
Deep learning's success relies on large-scale data, yet training on millions of images is resource-intensive. Coreset selection aims to find the most impactful 10-20% of a dataset to maintain performance while slashing costs. Current approaches typically fall into two categories: fast but unprincipled heuristics (e.g., selecting "hard" examples) or theoretically sound but computationally expensive optimization methods (e.g., gradient matching). CLD bridges this gap, offering a principled approach that is as efficient as simple heuristics.
Methodology: Learning in Sync
The core of our approach is the CLD metric, which focuses on the trajectory of learning rather than a single snapshot. During a proxy training run, we record the per-epoch loss for each training sample and a small validation set. We then calculate the Pearson correlation between the change in loss (loss difference) of a sample and the average loss difference of the validation set for its class.
Samples that "move in sync" with the validation set are deemed highly representative. This gradient-free process only requires saving scalar loss values, making it significantly lighter on memory than methods requiring high-dimensional gradient vectors.
Key Results and Transferability
We evaluated CLD on CIFAR-100 and ImageNet-1k using various architectures, including ResNet, VGG, and DenseNet. CLD-selected coresets consistently outperformed state-of-the-art methods like D2-Pruning and DUAL, particularly at aggressive compression levels (5-10% data).
A critical finding is the transferability of CLD coresets. A coreset selected using a lightweight proxy model (e.g., ResNet-18) can be used to train much larger models (e.g., ResNet-50) with negligible performance loss.
Discussion: Efficiency and Stability
CLD offers several practical advantages:
- Storage Efficiency: For ImageNet, CLD requires only ~0.46 GB of loss logs, compared to over 700 GB for some feature-based methods.
- Early Stability: CLD scores stabilize early in training. Selection can be performed using only the first 30-45 epochs of a standard 90-epoch run, effectively halving the selection cost.
- Theoretical Grounding: We provide formal proofs showing that training on high-CLD samples minimizes the alignment gap between the coreset gradient and the true population risk gradient.
Conclusion
CLD provides a highly efficient, scalable, and theoretically sound method for data selection in deep learning. While it currently requires a validation set and is designed for supervised vision tasks, its success suggests that learning dynamics are a powerful proxy for data quality. Future work will explore adapting CLD for non-vision domains and unsupervised settings.
Summary updated