Introduction
The rapid advancement of "foundation" models has led to a reliance on web-scale datasets, making the computational cost of training increasingly unsustainable. While massive data is a cornerstone of modern deep learning success, not every sample contributes equally to the learning process at every stage. This paper introduces Evolved Sampling (ES), a plug-and-play framework designed to accelerate training by identifying and prioritizing the most informative samples in real-time.
The Challenge of Data Efficiency
Current approaches to data efficiency typically fall into two categories: static selection and dynamic selection. Static methods, or "coresets," prune the dataset before training begins, often requiring expensive pre-computation. Dynamic methods select data on the fly but frequently rely on simple "absolute" loss values. The authors argue that absolute loss is an insufficient metric because it ignores the temporal dynamics—the oscillations and variations—that indicate whether a model is actually making progress on a specific sample.
Evolved Sampling: A Signal Processing Approach
To address these limitations, the authors propose Evolved Sampling (ES) and its more aggressive variant, Evolved Sampling with Pruning (ESWP).
The "Evolved" Logic
Instead of merely sampling points with high current loss, ES incorporates first-order loss differences using a recursive update rule inspired by signal processing. This allows the system to determine if the model's error on a specific point is increasing (indicating underfitting) or decreasing (indicating successful learning).
Memory and Frequency Tuning
Crucially, ES maintains high memory efficiency. It uses a dynamical scheme to implicitly calculate loss differences without storing a massive history for every sample. Furthermore, by treating the loss over time as a "signal," the authors use Fourier analysis to tune hyperparameters ($\beta_1, \beta_2$). This enables the sampling mechanism to focus on high-frequency oscillations (representing hard, unstable samples) while maintaining a stable view of the overall learning trend.
Experimental Results
The framework was evaluated across diverse tasks, including Computer Vision (CIFAR, ImageNet-1K), NLP (GLUE), and LLM fine-tuning.
Performance and Speed
ESWP demonstrated significant wall-clock speedups, saving nearly 45% of training time on ALBERT/GLUE tasks and 40.7% on ImageNet-1K. Remarkably, these speedups did not come at the cost of accuracy. On ImageNet-1K, ESWP achieved 85.0% accuracy, surpassing the 84.4% baseline.
LLM Efficiency
In resource-constrained settings, such as fine-tuning a Qwen2.5-Math-1.5B model on a single A100 GPU, ESWP showed a clear advantage. It reached a 38.1% pass@1 rate on math benchmarks in approximately the same time the baseline took to reach only 31.6%.
Key Insights
The success of ES suggests that smart data selection acts as a form of regularization. By preventing the model from wasting capacity on redundant or "easy" samples, the framework allows for more effective use of computational resources. ES consistently outperformed other state-of-the-art dynamic sampling methods like InfoBatch and Ordered SGD in both speed and final accuracy.
Conclusion and Future Work
Evolved Sampling represents a significant step toward more sustainable deep learning. While the current results are promising, future work will focus on bridging the theoretical gap in the selection mechanism's analysis and exploring how ES handles complex domain mixtures in massive-scale pre-training.
Summary updated