[Paper Review] Repeated Random Sampling for Minimizing the Time-to-Accuracy of Learning
This paper introduces Repeated Sampling of Random Subsets (RS2), a simple yet highly effective method that samples random training subsets independently for each epoch to minimize time-to-accuracy in deep learning. RS2 outperforms state-of-the-art data pruning and distillation methods across multiple datasets, achieving up to 29% higher accuracy and 7× faster training at less than 10% data usage on ImageNet, while also providing theoretical convergence and generalization bounds.
Methods for carefully selecting or generating a small set of training data to learn from, i.e., data pruning, coreset selection, and data distillation, have been shown to be effective in reducing the ever-increasing cost of training neural networks. Behind this success are rigorously designed strategies for identifying informative training examples out of large datasets. However, these strategies come with additional computational costs associated with subset selection or data distillation before training begins, and furthermore, many are shown to even under-perform random sampling in high data compression regimes. As such, many data pruning, coreset selection, or distillation methods may not reduce 'time-to-accuracy', which has become a critical efficiency measure of training deep neural networks over large datasets. In this work, we revisit a powerful yet overlooked random sampling strategy to address these challenges and introduce an approach called Repeated Sampling of Random Subsets (RSRS or RS2), where we randomly sample the subset of training data for each epoch of model training. We test RS2 against thirty state-of-the-art data pruning and data distillation methods across four datasets including ImageNet. Our results demonstrate that RS2 significantly reduces time-to-accuracy compared to existing techniques. For example, when training on ImageNet in the high-compression regime (using less than 10% of the dataset each epoch), RS2 yields accuracy improvements up to 29% compared to competing pruning methods while offering a runtime reduction of 7x. Beyond the above meta-study, we provide a convergence analysis for RS2 and discuss its generalization capability. The primary goal of our work is to establish RS2 as a competitive baseline for future data selection or distillation techniques aimed at efficient training.
Motivation & Objective
- To address the inefficiency of existing data pruning and distillation methods in minimizing time-to-accuracy, especially in high-compression regimes.
- To challenge the assumption that complex data selection strategies are necessary for efficient training, by revisiting and improving upon random sampling.
- To establish a strong, simple baseline—RS2—that outperforms state-of-the-art techniques in both accuracy and training speed.
- To provide theoretical justification for RS2’s empirical success through convergence and generalization error analysis.
Proposed method
- RS2 samples a new, uniformly random subset of training data for each training epoch, without replacement within each epoch.
- The method uses standard stochastic gradient descent with mini-batches drawn from the randomly resampled subset at each epoch.
- The approach is data-independent and non-adaptive, making it computationally lightweight and free from pre-processing overhead.
- Theoretical analysis shows that RS2 achieves a convergence rate of $\mathcal{O}\left(\frac{\beta||w^{0}-w^{*}||^{2}}{r^{2}T^{2}X^{2}} + \frac{\sigma||w^{0}-w^{*}||}{\sqrt{brTX}}\right)$, where $r$ is the subset ratio and $T$ is the number of epochs.
- Generalization error is bounded via stability analysis, showing $|\epsilon_{\mathrm{gen}}| \leq \frac{1}{N} \cdot 2Ce^{C\beta_{f}}L_{f}^{2}(rTX)^{C\beta_{f}} \min\{1 + \frac{1}{C\beta_{f}}, \log(e r T X)\}$ for non-convex, smooth, and Lipschitz losses.
- The method is evaluated across four datasets, including ImageNet, under varying data compression regimes, with ablation and comparison to 30 SOTA methods.
Experimental results
Research questions
- RQ1Does repeated random sampling across epochs significantly reduce time-to-accuracy compared to static subset selection or data distillation?
- RQ2Can a simple, low-overhead random sampling strategy outperform complex, computationally expensive data pruning and distillation methods in high-compression regimes?
- RQ3What is the theoretical convergence and generalization behavior of repeated random sampling in stochastic optimization?
- RQ4How does RS2 compare to existing baselines in terms of accuracy, training speed, and robustness across diverse datasets and compression levels?
Key findings
- RS2 reduces time-to-accuracy by up to 29% compared to state-of-the-art pruning methods when training on less than 10% of ImageNet per epoch.
- RS2 achieves a 7× runtime reduction compared to competing methods under the same high-compression regime on ImageNet.
- RS2 outperforms all evaluated pruning and distillation methods in the high-compression regime (r < 0.1), where many existing methods underperform.
- Theoretical analysis confirms that RS2 converges with a rate of $\mathcal{O}\left(\frac{\beta||w^{0}-w^{*}||^{2}}{r^{2}T^{2}X^{2}} + \frac{\sigma||w^{0}-w^{*}||}{\sqrt{brTX}}\right)$, supporting its empirical performance.
- RS2 generalization error is bounded by $\frac{1}{N} \cdot 2Ce^{C\beta_{f}}L_{f}^{2}(rTX)^{C\beta_{f}} \min\{1 + \frac{1}{C\beta_{f}}, \log(e r T X)\}$, indicating strong generalization capability.
- RS2 establishes a new competitive baseline for future data selection and distillation methods, demonstrating that simplicity can outperform complexity in efficiency-critical settings.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.