What pretrained backbones, augmentation and seed ensembles actually buy on a small
grayscale benchmark, and what they cost in calibration and robustness. Every number is a mean over
several random seeds, with confidence intervals and paired tests.
Pretraining is what moves accuracy past about 94%. ImageNet weights improve every
backbone on every seed: +1.3 to +3.8 points for CNNs and
+15.6 for ViT-Tiny, which collapses to 79.7% from scratch.
Among models trained from scratch, ResNet-18 is clearly best
(94.12%), with a confidence interval that does not overlap TinyVGG's. The original
single-seed claim that TinyVGG was best does not hold.
Whether random cropping helps depends on model size. Removing it gains
+1.5 for MiniCNN and +1.0 for TinyVGG (about 0.1M parameters each),
but costs ResNet-18 0.5 points, on every seed.
Seed ensembles add accuracy but can hurt calibration. Averaging five models worsens
calibration for every group trained with Mixup/CutMix and improves it for those trained without,
reproducing Wen et al. (ICLR 2021).
Clean accuracy hides robustness differences. At near-identical accuracy, ResNet-18
makes 16–17 points fewer errors than TinyVGG under contrast and brightness shifts.
How the models compare
Test accuracy by model
Dots are means over seeds; whiskers are 95% confidence intervals.
Trained from scratch
ImageNet-pretrained
Seed ensemble
† Measured on the pre-fix augmentation pipeline; the two best backbones were re-run after
the fix and did not change. The best classical baseline, kNN on PCA features, reaches 85.8%.
Show as table
Test accuracy on the official 10,000-image test set
Model
Group
Test accuracy
95% CI (±)
Seeds
Params
Note
ViT-Tiny/16
ImageNet-pretrained
95.28%
0.22
3
5.43M
ConvNeXt-Tiny
ImageNet-pretrained
95.03%
0.20
3
27.82M
TinyVGG, no crop, 5-seed ensemble
Seed ensemble
94.21%
–
5
0.71M
one ensemble of 5 members
ResNet-18 (custom)
Trained from scratch
94.12%
0.23
5
11.17M
EfficientNet-B0
ImageNet-pretrained
93.97%
0.52
3
4.02M
pre-fix pipeline
TinyVGG, no crop
Trained from scratch
93.62%
0.45
5
0.14M
ResNet-18 (timm)
ImageNet-pretrained
93.41%
0.48
3
11.18M
pre-fix pipeline
TinyVGG
Trained from scratch
92.73%
0.44
5
0.14M
MiniCNN, no crop
Trained from scratch
92.36%
0.69
5
0.11M
MiniCNN
Trained from scratch
90.90%
0.52
5
0.11M
Random cropping: it depends on model size
The same augmentation that the two small CNNs are better off without is worth half a point to ResNet.
Fashion-MNIST items are already centred and size-normalised, so shifted crops mostly add noise for a
model with about 0.1M parameters, while a larger one can use them as regularisation.
Accuracy change from removing random crop
Paired by seed against the same model with crop, ordered by parameter count.
Show as table
Paired by seed against the same model trained with random crop
Model
Params
Δ from removing crop (points)
95% CI
p (paired t)
Seeds better
MiniCNN
0.11M
+1.46
[+0.95, +1.97]
0.001
5 / 5
TinyVGG
0.14M
+1.00
[−0.04, +2.04]
0.055
4 / 5
ViT-Tiny/16 (pretrained)
5.43M
−0.34
[−0.58, −0.10]
0.027
0 / 3
ResNet-18 (custom)
11.17M
−0.50
[−0.92, −0.08]
0.029
0 / 5
ConvNeXt-Tiny (pretrained)
27.82M
−0.06
[−0.43, +0.30]
0.532
1 / 3
Pretraining
From scratch versus ImageNet-pretrained
Each row is one backbone; the label is the gain in points.
From scratch
Pretrained
Show as table
Mean of 3 seeds, pre-fix augmentation pipeline (each pair shares it)
Backbone
From scratch
Pretrained
Δ (points)
Params
ViT-Tiny/16
79.65%
95.25%
+15.6
5.4M
EfficientNet-B0
90.20%
93.97%
+3.8
4.0M
ConvNeXt-Tiny
91.89%
95.06%
+3.2
27.8M
ResNet-18 (timm)
92.08%
93.41%
+1.3
11.2M
Ensembles and calibration
Training with Mixup or CutMix leaves single models slightly underconfident. Averaging several of them
compounds this, so the ensemble is worse calibrated than its members. Without Mixup/CutMix, single models are
overconfident and averaging corrects them.
Calibration error of single models and their five-seed ensemble
Hollow dot: average single model. Filled dot: ensemble. Lower is better.
Trained with Mixup/CutMix
Trained without Mixup/CutMix
Average single model
Five-seed ensemble
With Mixup/CutMix, ECE rises from 0.007–0.010
to 0.016–0.028; without it, ECE falls to
0.004–0.009.
Show as table
Five-seed ensembles, fixed augmentation pipeline
Group
Mixup/CutMix
Member ECE
Ensemble ECE
Member acc.
Ensemble acc.
TinyVGG, pre-fix pipeline
yes
0.0100
0.0279
92.27%
93.49%
TinyVGG, full recipe
yes
0.0077
0.0208
92.62%
93.52%
TinyVGG, no horizontal flip
yes
0.0068
0.0205
92.33%
93.26%
TinyVGG, no rotation
yes
0.0077
0.0204
93.24%
94.09%
TinyVGG, no random crop
yes
0.0074
0.0165
93.62%
94.21%
TinyVGG, no augmentation
no
0.0331
0.0091
91.69%
93.47%
TinyVGG, no Mixup/CutMix
no
0.0166
0.0038
92.57%
93.40%
Methods and corrections
The official training images are split 48,000 / 12,000 into train and validation with a seeded split. The
official 10,000 test images are used once per run, on the best-validation checkpoint. Comparisons use paired
t-tests across shared seeds. Every run records its git commit, full configuration and per-epoch curves.
Two bugs were found and fixed during the study. The original accuracy
metric averaged per-batch accuracies, over-weighting the last partial batch. The augmentation pipeline applied
one random crop, flip and rotation to a whole batch and padded with grey instead of black. The fix was
measured against an exact reproduction of the old pipeline: it gains ResNet 1.6 points and changes one
conclusion, the ResNet versus TinyVGG ranking. Details are in the
write-up.
Reproduce
git clone https://github.com/SatvikPraveen/FashionMNIST-Analysis.git
cd FashionMNIST-Analysis
pip install -r requirements.txt
python src/cli/prepare_data.py --output-dir data/processed
python src/cli/sweep.py expand sweeps/baseline_fixed.yaml # 15 runs
python src/cli/sweep.py run sweeps/baseline_fixed.yaml --all # or as a SLURM job array
python src/cli/aggregate.py runs/baseline_fixed --out results/sweeps/baseline_fixed