CNN architectures on CIFAR-10
Which convolutional network works best on small, low-resolution images, and how much do tuning and augmentation help?
- Dataset
- CIFAR-10: 60,000 images, 32 × 32 pixels, 10 classes
- Models
- ResNet-18, MobileNet, EfficientNet
- Training
- CrossEntropyLoss, SGD with momentum, 10 epochs, 80/20 train-validation split
- When
- 2024
The goals
Compare architectures
Evaluate how well each network extracts features from CIFAR-10.
Tune hyperparameters
Find the best learning rate and weight decay for the strongest model.
Augment the data
Test how much more varied training images improve robustness.
Experiment 1: architectures
All three models trained for 10 epochs. ResNet-18's residual connections gave the most stable training. MobileNet was efficient but limited, and EfficientNet-B0 underperformed on this dataset.
| Model | Training accuracy | Validation accuracy |
|---|---|---|
| ResNet-18 | 92.36% | 68.59% |
| MobileNet | 66.02% | 59.45% |
| EfficientNet | 35.93% | 39.27% |
Experiment 2: tuning ResNet-18
A learning rate of 0.01 with weight decay of 1e-4 gave the best balance between accuracy and overfitting.
| Learning rate | Weight decay | Validation accuracy |
|---|---|---|
| 0.01 | 0 | 67.65% |
| 0.01 | 1e-4 | 69.35% |
| 0.001 | 0 | 59.47% |
| 0.001 | 1e-4 | 57.55% |
Experiment 3: augmentation
Moderate augmentation added variety without making the task too hard, and scored highest.
| Augmentation | Validation accuracy |
|---|---|
| Basic | 68.00% |
| Moderate (horizontal flips) | 72.20% |
| Aggressive | 68.58% |
Result
The optimised ResNet-18 reached a test accuracy of 55.03%. It recalled distinctive classes such as automobile and ship well, but struggled to separate visually similar classes such as cat and dog.
Next steps would be deeper networks like ResNet-34, ensembles, and stronger augmentation such as cutout and mixup.
Where this sits in the story
- Master of Data Science · Learn · 2023–25