Original Research · 2026
Under Review, Springer Book Proceedings
Agriculture loses 40% of its yield to disease. GPUs power modern AI, but they stay out of reach for farmers in developing regions who rely on basic laptops. We benchmark ResNet-50, ConvNeXt-Tiny, and FastViT-T8 on consumer CPU hardware, looking for models that balance accuracy with real-world deployability.
Introduction
Earlier studies ran their models on NVIDIA Tesla or RTX GPUs. Most farmers in South Asia and Africa can't buy that hardware; they have ordinary laptops and phones. We looked for a model that stays accurate and fast on a plain CPU, so disease detection can reach the 180M+ ton global tomato market.
Method
We evaluated three architectures on an AMD Ryzen 5 5600G (6C/12T, no GPU).
Traditional CNN. Stable but computationally heavy for CPU inference.
Transformer-inspired architecture with 7×7 kernels. Highest parameter count.
CNN-Transformer hybrid. 6× smaller. Optimized for edge inference.
Dataset
PlantVillage subset, 16,012 images across 10 disease classes. Class imbalance ratio of 8.6:1 (Yellow Leaf Curl: 3,209 vs Mosaic Virus: 373). Standard 70/15/15 train/val/test split.
Results
FastViT-T8 gives the best balance of speed and accuracy: 99.66% accuracy at 0.022s per image (45 FPS), 57% faster than ConvNeXt-Tiny while giving up only 0.22% accuracy. ConvNeXt-Tiny reaches 99.88% but takes 0.051s per image.
| Model | Accuracy | Precision | Recall | F1 | Latency |
|---|---|---|---|---|---|
| ConvNeXt-Tiny | 99.88% | 0.999 | 0.998 | 0.998 | 0.051s |
| FastViT-T8 | 99.66% | 0.997 | 0.996 | 0.996 | 0.022s |
| ResNet-50 | 97.69% | 0.978 | 0.976 | 0.976 | 0.055s |
Limitations
A few honest caveats before you trust these numbers:
Citation
If this work is useful in your research, please cite: