Abstract
This paper presents the winning strategy for the ICLR "Hardware Aware Efficient Training" challenge, focusing on maximizing model generalization under extreme data and time constraints. By integrating Sharpness Aware Minimization (SAM) with a suite of improved preprocessing (IP) techniques, we achieved 88% accuracy on image classification tasks in under 10 minutes using only 5,000 training images. Our findings demonstrate that optimizing for flat minima and refining data representation are critical for training high-capacity models from scratch in low-data regimes.
Introduction
In the current deep learning landscape, the "bigger is better" paradigm often necessitates massive datasets and weeks of compute time. However, this approach is impractical for edge devices or online learning scenarios where memory is limited, data is scarce, and training must be near-instantaneous.
The primary challenge in these environments is overfitting. When training a high-capacity model like ResNet-9 on a tiny dataset (e.g., 10% of CIFAR-10), the model tends to memorize noise rather than learning generalizable features. This study explores methods to reach peak performance under two strict constraints: a total training time of less than 10 minutes and a dataset of only 5,000 images, with no permitted use of pre-trained weights.
Methods
We utilized ResNet-9 as the baseline architecture due to its efficiency. To maximize performance, we implemented a multi-pronged strategy:
- Sharpness Aware Minimization (SAM): Unlike standard optimizers that seek the absolute lowest point in a loss landscape, SAM identifies regions that are both low and flat. Flat minima are empirically linked to better generalization on unseen data.
- Gradient Centralization (GC): This technique shifts gradients to have a zero mean, acting as a regularizer that stabilizes the training process.
- Improved Preprocessing (IP): This includes Label Smoothing to prevent overconfidence, CELU activations for smoother gradient flow, and PCA-based Input Patch Whitening to reduce redundancy in the initial convolution layers.
- Meta-Learning (MLTP): Training was reframed as a meta-learning problem, where the dataset is partitioned into sub-tasks to encourage the model to learn representations common across different classes.
Datasets and Evaluation
The model was trained on a randomly sampled 10% subset of the CIFAR-10 dataset (5,000 images). Evaluation was conducted on a "secret" dataset provided by competition organizers, consisting of 1,000 mini-ImageNet images resized to $32 \times 32$ pixels.
Results and Discussion
The experimental results indicate a substantial improvement over the baseline. While standard SGD often gets trapped in sharp minima that fail to generalize, SAM’s ability to find "wide" valleys in the loss landscape was the most effective individual tool for boosting accuracy.
As shown in the table above, the SAM+IP configuration yielded the highest overall performance, achieving 88.0% accuracy on mini-ImageNet. This represents a nearly 10% improvement over the baseline ResNet-9 (80.3%) within the same 10-minute training window. Notably, the authors observed that SAM, GC, and IP are "orthogonal"—their benefits are additive, allowing for stacked improvements in model robustness.
Conclusion
This work demonstrates that high-accuracy training on small datasets is achievable through a combination of landscape-aware optimization and sophisticated preprocessing. The SAM+IP approach successfully mitigated overfitting while remaining within strict hardware-aware time limits. Future research will focus on exploring hybrid combinations of Meta-learning with SAM and GC to further push the accuracy ceiling for ultra-fast training scenarios.
Summary updated