Rice (Oryza sativa) is a staple food for approximately half of the world’s population, which makes rapid and accurate detection of rice diseases essential. Most existing rice disease classifiers are trained and evaluated on images collected in a single region, so little evidence is available on their behavior across acquisition sources. This study combines two public field datasets, Paddy Doctor (India) and the Microsoft Rice Disease Classification Challenge dataset (Egypt). The three Egyptian classes are mapped to their equivalent Paddy Doctor categories, which yields a ten-class dataset of 13,077 RGB images. The original images are split into stratified training, validation, and held-out test subsets before any augmentation, augmentation-based class balancing is applied to the training subset only, and all images are processed with Gaussian smoothing and Contrast Limited Adaptive Histogram Equalization (CLAHE). Seven ImageNet-pretrained CNNs (EfficientNetB4, InceptionV3, MobileNetV2, ResNet50, ResNet101, ResNet152, and VGG19) and the transformer-based Swin-Tiny are fine-tuned under an identical two-stage protocol. On the held-out test set, Swin-Tiny achieves the best performance, with an accuracy of 94.17± 0.34% and a macro-F1 score of 94.16 ± 0.39% over three random seeds, compared with 91.54 ± 0.64% for the best CNN, EfficientNetB4. When predictions with low softmax scores are referred to an expert, Swin-Tiny classifies 84.8% of the test images with an accuracy of 98.44%. A leave-one-source-out experiment shows that a model trained on one source performs close to chance level on the other, whereas training on the merged dataset reaches 90.94% accuracy on the Egyptian test images. A factorial ablation with EfficientNetB4 shows that CLAHE does not improve accuracy on the merged dataset, and the Grad-CAM explanations are checked with a deletion test.
Youssef, E., Gomaa, W. H., & Mohamed, H. (2026). Multi-Source Rice Disease Detection Using Fine-Tuned Swin-Tiny with Grad-CAM Explainability. International Journal of Advanced Computer Science and Applications, 17(10). https://doi.org/10.14569/IJACSA.2026.01710120
Youssef, Engy, et al.. "Multi-Source Rice Disease Detection Using Fine-Tuned Swin-Tiny with Grad-CAM Explainability." International Journal of Advanced Computer Science and Applications, vol. 17, no. 10, 2026, https://doi.org/10.14569/IJACSA.2026.01710120.
@article{Youssef2026,
title = {Multi-Source Rice Disease Detection Using Fine-Tuned Swin-Tiny with Grad-CAM Explainability},
journal = {International Journal of Advanced Computer Science and Applications},
volume = {17},
number = {10},
year = {2026},
publisher = {The Science and Information Organization},
author = {Engy Youssef and Wael Hassan Gomaa and Hagar Mohamed},
doi = {10.14569/IJACSA.2026.01710120},
url = {https://doi.org/10.14569/IJACSA.2026.01710120}
}
Open Access — licensed under a
Creative Commons Attribution 4.0 International License.
Unrestricted use, distribution, and reproduction in any medium, even commercially, as long as the original work is properly cited.