TL;DR
Standard optimization methods like SGD suffer from "simplicity bias," where they over-rely on easy-to-learn features and ignore more complex, predictive ones. This paper introduces USEFUL (UpSample Early For Uniform Learning), a simple yet effective method that identifies "slow-learnable" examples early in training and upsamples them to force the model to learn a more diverse and robust feature set, achieving state-of-the-art results across several competitive benchmarks.
What Problem Does This Paper Address?
Deep learning models are notoriously biased toward simplicity. When training with Gradient Descent (GD) or its variants, models tend to learn simple features (like textures or large background patterns) much faster than complex, semantic features (like the specific shape of an object). This "simplicity bias" can lead the model to reach a global minimum that generalizes poorly because it ignores subtle but crucial information.
While advanced optimizers like Sharpness-Aware Minimization (SAM) improve generalization by finding "flatter" minima, they are computationally expensive (doubling training time) and still don't fully escape this bias. The authors ask: Can we instead modify the training data distribution itself to encourage more uniform feature learning?
Methods
The authors propose a method called USEFUL (UpSample Early For Uniform Learning). The algorithm follows a straightforward three-step process:
- Early Identification: Train the model on the original dataset for a small number of "separating epochs" (typically 5-10% of total training time).
- Clustering: Apply $k$-means clustering ($k=2$) to the model's last-layer activation vectors for each class. This separates "fast-learnable" examples (easy, clear representatives) from "slow-learnable" ones (ambiguous, complex, or hard-to-identify).
- One-Shot Upsampling: Upsample the "slow-learnable" cluster (typically by a factor of 2) and restart the training process from scratch on this new, modified distribution.
This approach is grounded in a theoretical analysis of a two-layer CNN, where the authors prove that SAM learns features more uniformly than GD, and that these different feature types are linearly separable in the model's output space early in training.
Datasets
The authors evaluated USEFUL across a wide range of standard image classification benchmarks:
- CIFAR-10 & CIFAR-100: Standard small-scale image datasets.
- STL-10: A dataset with fewer labeled examples and higher resolution.
- CINIC-10: A larger-scale alternative to CIFAR-10.
- Tiny-ImageNet: A subset of ImageNet with 200 classes.
- Waterbirds: Used to test performance under spurious correlations (distribution shift).
Key Insights and Ideas
- SAM as a Uniform Learner: A major theoretical contribution is proving that SAM is less susceptible to simplicity bias than GD. It naturally forces the model to learn "slow" and "fast" features at a more balanced speed.
- Early Separability: The "aha moment" is that you don't need to train a model to completion to know which examples are "hard." As shown in the TSNE visualizations below, fast- and slow-learnable examples become distinct in the latent space very early in the training process.
- Distribution vs. Optimization: The paper shows that changing the data can achieve similar (and often better) effects than changing the optimizer. By upsampling hard examples, they effectively "simulate" the flatter trajectory that SAM seeks, but often with less total compute than standard SAM.
Key Results
USEFUL consistently improves generalization performance for both SGD and SAM across all tested architectures (ResNet, VGG, DenseNet, and ViT).
- State-of-the-Art (SOTA): When combined with SAM and TrivialAugment (TA), USEFUL achieved SOTA performance for ResNet18 on CIFAR-10, STL-10, CINIC-10, and Tiny-ImageNet.
- Efficiency: Training SGD with USEFUL often outperforms standard SAM while being significantly faster (roughly 1.3x - 1.6x the cost of SGD, compared to 2x for SAM).
- Robustness: The method also showed promise in Out-of-Distribution (OOD) settings, improving performance on the Waterbirds dataset by reducing reliance on spurious background correlations.
Limitations and Future Work
- Theoretical Scope: The rigorous proofs provided are limited to two-layer non-linear CNNs. While empirical results hold for deeper architectures like ResNets and Transformers, a general theory for deep networks remains open.
- Training Overhead: Although more efficient than SAM in some cases, USEFUL requires a "warm-up" phase and then a full restart, which adds to the total training time compared to standard SGD.
- Hyperparameter Sensitivity: While the authors found a separating epoch of 5-10% and an upsampling factor of 2 to be robust, these might still require tuning for vastly different datasets or tasks.
- Future Directions: The authors suggest exploring multi-stage clustering and applying these insights to other domains like Natural Language Processing.
Summary updated