Introduction
The current trajectory of deep learning often follows a "bigger is better" philosophy: increasingly overparametrized models trained on ever-larger datasets. However, this massive scale creates a roadblock to the democratization of AI due to the immense computational and memory resources required.
A natural question arises: How much of this data is actually necessary?
Previous attempts to identify "coresets" (the most important subset of training data) often relied on "forgetting scores"—tracking how often a model misclassifies an example it previously got right. The catch is that you usually have to train the model nearly to completion to calculate these scores, which defeats the purpose of saving time. This paper demonstrates that you can prune up to 50% of a training dataset within the first few epochs of training—or even at initialization—without sacrificing test accuracy. By using two simple metrics, researchers can identify which examples are "important" for learning and which are merely noise or redundant.
Methods: Scoring Example Importance
The authors propose two primary scoring methods to rank the importance of training examples using only local information early in training:
- GraNd (Gradient Normed) Score: This measures the expected L2 norm of the loss gradient with respect to the model weights. Essentially, it quantifies how much a specific training example would change the model's weights if it were used in a gradient descent step.
- EL2N (Error L2-Norm) Score: A simpler, computationally cheaper approximation of GraNd. It is the L2 norm of the error vector (the difference between the model's predicted probabilities and the actual one-hot label).
The "secret sauce" to making these metrics robust is averaging the scores over several random weight initializations. By doing this, the researchers filter out the noise of a specific starting point and identify examples that are inherently important to the data distribution itself.
Key Insights and Ideas
- Importance is visible at birth: Remarkably, GraNd scores calculated at initialization (before any training happens) are significantly better than random at identifying a useful subset of data.
- The EL2N Shortcut: While GraNd is theoretically grounded, the authors found that after just a few epochs, the EL2N score (which only requires a forward pass) becomes an excellent proxy for GraNd.
- Cross-Architecture Generalization: Scores are not strictly model-specific. EL2N scores calculated on a small ResNet18 can be used to prune data for a much larger ResNet50, suggesting that "importance" is a property of the data, not just the model.
- The "Too Hard" Problem: The highest-scoring examples aren't always the best to keep. In datasets with label noise, the examples with the absolute highest scores are often outliers or mislabeled.
As shown above, pruning a small percentage of these "hardest" examples (offsetting the dataset fraction) actually improves final test accuracy when label noise is present.
Key Results
The study evaluates these methods on three standard computer vision benchmarks: CIFAR-10, CIFAR-100, and CINIC-10.
- CIFAR-10: The authors could prune 50% of the training set using EL2N scores calculated at epoch 20 and still achieve the same (or slightly better) test accuracy as training on the full set.
- CIFAR-100: They could prune 25% of the data with zero loss in accuracy.
- Efficiency: These methods outperform "forgetting scores" while requiring a fraction of the computation. For instance, GraNd at initialization is well-defined before training even starts, whereas forgetting scores aren't stable until at least 25–75 epochs in.
Limitations and Future Work
While highly effective, the approach has a few limitations. To get stable scores, the authors average over 10 initializations. While this is done early (e.g., at epoch 0 or 20), it still requires some upfront computational overhead. Furthermore, while the results on CINIC-10 are promising, the paper focuses primarily on CIFAR-scale datasets. Testing these metrics on massive, web-scale datasets like ImageNet or LAION is a logical next step. Finally, while the paper provides an infinitesimal analysis connecting GraNd to loss reduction, a complete theoretical understanding of why these scores work so well at initialization remains an open question.
Summary updated