Journals / Journal of Agricultural Sciences / 2026 / Volume: 32 Issue: 3

Explainable Deep Learning for Plant Leaf Diseases: A Comparative Study of Grad CAM

Adnan Gökten(Çukurova Üniversitesi)0000-0001-8988-9720
Erkut Tekeli(ADANA ALPARSLAN TURKES SCIENCE AND TECHNOLOGY UNIVERSITY)0000-0001-9468-5378
Pages
—
Publication Date
2026-07-28
🏛️Bibliographic metadata and full text access for this article are provided via DergiPark.
DergiPark Record ↗
✨

AI Summary & Key Takeaways

AI Insight
⚡ TL;DR(Too Long; Didn't Read)

The experimental results demonstrate that ConvNeXt-Tiny achieves 99-100% accuracy across all plant species, MobileNetV2 attains 97-100% accuracy with lower computational requirements, and VGG16 yields 97-99.5% accuracy.

📌 3 Key Takeaways

🎯
Objective & Hypothesis:Plant disease detection is critical for sustainable agriculture and food security.
📊
Key Findings & Data:This study presents a comparative evaluation of three convolutional neural network architectures (ConvNeXt-Tiny, MobileNetV2, and VGG16) for classifying potato, maize, and pepper leaf diseases, with emphasis on explainability through Gradient-weighted Class Activation Mapping (Grad-CAM).
💡
Conclusion & Impact:The experimental results demonstrate that ConvNeXt-Tiny achieves 99-100% accuracy across all plant species, MobileNetV2 attains 97-100% accuracy with lower computational requirements, and VGG16 yields 97-99.5% accuracy.
🔬Design:Modeling & Simulation
📍Scope:Comprehensive Sample
⚙️Variables:Explainable artificial intelligence · Grad-CAM · Plant disease classification

Abstract

Plant disease detection is critical for sustainable agriculture and food security. While deep learning models achieve high accuracy in leaf disease classification, their black box nature poses limitations for trust and adoption among agricultural practitioners. This study presents a comparative evaluation of three convolutional neural network architectures (ConvNeXt-Tiny, MobileNetV2, and VGG16) for classifying potato, maize, and pepper leaf diseases, with emphasis on explainability through Gradient-weighted Class Activation Mapping (Grad-CAM). The experimental results demonstrate that ConvNeXt-Tiny achieves 99-100% accuracy across all plant species, MobileNetV2 attains 97-100% accuracy with lower computational requirements, and VGG16 yields 97-99.5% accuracy. Grad-CAM visualizations reveal that modern architectures precisely focus on lesion regions, whereas older models occasionally attend to irrelevant features such as leaf veins and edges. Misclassification analysis identifies shadows and natural leaf patterns as primary error sources. This research demonstrates that explainable artificial intelligence is not merely complementary but essential for developing trustworthy agricultural decision support systems.

🔖

Cite This Article

Gökten, A., Tekeli, E., Dönmez, H. B. (2026). Explainable Deep Learning for Plant Leaf Diseases: A Comparative Study of Grad CAM. Journal of Agricultural Sciences, Volume: 32 Issue: 3. https://doi.org/10.15832/ankutbd.1819492

📄 Full Text PDF Viewer

📄

PDF görüntüleyici hazırlanıyor...

References (45)

  1. Adadi A & Berrada M (2018). Peeking inside the black-box: A survey on explainable artificial intelligence (XAI). IEEE Access 6: 52138 52160. https://doi.org/10.1109/ACCESS.2018.2870052
  2. Ahmad A, Saraswat D & El Gamal A (2023). A survey on using deep learning techniques for plant disease diagnosis and recommendations for development of appropriate tools. Smart Agricultural Technology, 3, 100083. https://doi.org/10.1016/j.atech.2022.100083
  3. Alhammad S M, Khafaga D S, El-hady W M, Samy F M & Hosny K M (2025). Deep learning and explainable AI for classification of potato leaf diseases. Frontiers in Artificial Intelligence, 7, 1449329. https://doi.org/10.3389/frai.2024.1449329
  4. Barbedo J G A (2016). A review on the main challenges in automatic plant disease identification based on visible range images. Biosystems Engineering 144: 52–60. https://doi.org/10.1016/j.biosystemseng.2016.01.017
  5. Başağaoğlu H, Chakraborty D, Do Lago C, Gutierrez L, Şahinli M A, Mirchi A, Moriasi D & Şengör S S (2022). A Review on Interpretable and Explainable Artificial Intelligence in Hydroclimatic Applications. Water, 14(8), 1230. https://doi.org/10.3390/w14081230
  6. Benos L, Tagarakis A C, Dolias G, Berruto R, Kateris D & Bochtis D (2021). Machine learning in agriculture: A comprehensive updated review. Sensors, 21(11), 3758. https://doi.org/10.3390/s21113758
  7. Breiman L (2001). Statistical modeling: The two cultures. Statistical Science, 16(3), 199–215.
  8. Cartolano A, Cuzzocrea A & Pilato G (2024). Analyzing and assessing explainable AI models for smart agriculture environments. Multimedia Tools and Applications, 83, 37225–37246. https://doi.org/10.1007/s11042-023-17978-z
  9. Doshi-Velez F & Kim B (2017). Towards a rigorous science of interpretable machine learning. arXiv. https://doi.org/10.48550/arXiv.1702.08608
  10. Ferentinos K P (2018). Deep learning models for plant disease detection and diagnosis. Computers and Electronics in Agriculture, 145, 311 318. https://doi.org/10.1016/j.compag.2018.01.009
  11. Fraiwan M, Dinh A, Wahid K A & Bhowmik P (2022). Classification of corn diseases from leaf images using deep transfer learning. Plants, 11(20), 2668. https://doi.org/10.3390/plants11202668
  12. Gardezi M, Joshi B, Rizzo D M, Ryan, M, Prutzer E, Brugler S & Dadkhah A (2023). Artificial intelligence in farming: Challenges and opportunities for building trust. Agronomy Journal, 116(3), 1217–1228. https://doi.org/10.1002/agj2.21353
  13. Gildenblat J (2021). PyTorch library for CAM methods. GitHub. https://github.com/jacobgil/pytorch-grad-cam
  14. Hughes D P & Salathé M (2015). An open access repository of images on plant health to enable the development of mobile disease diagnostics. arXiv. https://doi.org/10.48550/arXiv.1511.08060
  15. Hunter J D (2007). Matplotlib: A 2D Graphics Environment. Computing in Science & Engineering, 9(3), 90–95. https://doi.org/10.1109/MCSE.2007.55
  16. Karim M J, Goni M O F, Nahiduzzaman M, Ahsan M, Haider J & Kowalski, M (2024). Enhancing agriculture through real-time grape leaf disease classification via an edge device with a lightweight CNN architecture and Grad-CAM. Scientific Reports, 14, 16022. https://doi.org/10.1038/s41598-024-66989-9
  17. Krizhevsky A, Sutskever I & Hinton, G E (2012). ImageNet classification with deep convolutional neural networks. Advances in Neural Information Processing Systems, 25, 1097-1105. https://doi.org/10.1145/3065386
  18. Kundu N, Rani G, Dhaka V S, Gupta K, Nayak S C, Verma S, Ijaz M F & Woźniak M (2021). IoT and interpretable machine learning based framework for disease prediction in pearl millet. Sensors, 21(16), 5386. https://doi.org/10.3390/s21165386
  19. Kundu N, Rani G, Dhaka V S, Gupta K, Nayaka S C, Vocaturo E & Zumpano E (2022). Disease detection, severity prediction, and crop loss estimation in MaizeCrop using deep learning. Artificial Intelligence in Agriculture, 6, 276–291. https://doi.org/10.1016/j.aiia.2022.11.002
  20. Liakos K G, Busato P, Moshou D, Pearson S & Bochtis D (2018). Machine learning in agriculture: A review. Sensors, 18(8), 2674. https://doi.org/10.3390/s18082674
  21. Lin K, Gong L, Huang Y, Liu C & Pan J (2019). Deep learning-based segmentation and quantification of cucumber powdery mildew using convolutional neural network. Frontiers in Plant Science, 10, 155. https://doi.org/10.3389/fpls.2019.00155
  22. Linardatos P, Papastefanopoulos V & Kotsiantis S (2020). Explainable AI: A review of machine learning interpretability methods. Entropy, 23(1), 18. https://doi.org/10.3390/e23010018
  23. Liu Z, Mao H, Wu C Y, Feichtenhofer C, Darrell T & Xie S (2022). A ConvNet for the 2020s. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, 11976–11986. https://doi.org/10.1109/CVPR52688.2022.01167
  24. Lundberg S M & Lee S I (2017). A unified approach to interpreting model predictions. arXiv. https://doi.org/10.48550/arXiv.1705.07874
  25. Meske C & Bunde E (2020). Transparency and trust in human-AI interaction: The role of model interpretability, explainability and trust. arXiv. https://doi.org/10.48550/arXiv.2002.01543
  26. Mohanty S P, Hughes D P & Salathe M (2016). Using Deep Learning for Image-Based Plant Disease Detection. Frontiers in Plant Science, 7, 1419. https://doi.org/10.3389/fpls.2016.01419
  27. Natarajan S, Chakrabarti P, & Margala M (2024). Robust diagnosis and meta visualizations of plant diseases through deep neural architecture with explainable AI. Scientific Reports, 14, 13695. https://doi.org/10.1038/s41598-024-64601-8
  28. Paszke A, Gross S, Massa F, Lerer A, Bradbury J, Chanan G, Killeen T, Lin Z, Gimelshein N, Antiga L, Desmaison A, Köpf A, Yang E, DeVito Z, Raison M, Tejani A, Chilamkurthy S, Steiner B, Fang L, … Chintala S (2019). PyTorch: An Imperative Style, High-Performance Deep Learning Library. Advances in Neural Information Processing Systems, 32, 8024–8035. https://doi.org/10.48550/arXiv.1912.01703
  29. Pedregosa F, Varoquaux G, Gramfort A, Michel V, Thirion B, Grisel O, Blondel M, Prettenhofer P, Weiss R, Dubourg V, Vanderplas J, Passos A, Cournapeau D, Brucher M, Perrot M & Duchesnay E (2011). Scikit-learn: Machine Learning in Python. https://doi.org/10.48550/arXiv.1201.0490
  30. Quach L D, Quoc K N, Quynh A N, Thai-Nghe N & Nguyen T G (2023). Explainable deep learning models with gradient-weighted class activation mapping for smart agriculture. IEEE Access, 11, 83752–83762. https://doi.org/10.1109/ACCESS.2023.3296792
  31. Rahman M M, Yan Z, Aziz M T, Siddick M A B, Truong T, Sharif M M, Datta N, Mahmud T, Pecho R D C & Farid S M (2024). Explainable Deep Transfer Learning Framework for Rice Leaf Disease Diagnosis and Classification. International Journal of Advanced Computer Science and Applications, 15(12), 862–884. https://doi.org/10.14569/IJACSA.2024.0151287
  32. Ribeiro M T, Singh S & Guestrin C (2016). “Why should I trust you?”: Explaining the predictions of any classifier. Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 1135–1144. https://doi.org/10.1145/2939672.2939778
  33. Rudin C (2019). Stop explaining black box machine learning models for high stakes decisions and use interpretable models instead. Nature Machine Intelligence, 1(5), 206–215. https://doi.org/10.1038/s42256-019-0048-x
  34. Rudin C, Chen C, Chen Z, Huang H, Semenova L & Zhong C (2022). Interpretable machine learning: Fundamental principles and 10 grand challenges. Statistics Surveys, 16, 1–85. https://doi.org/10.1214/21-SS133
  35. Ryo M (2022). Explainable artificial intelligence and interpretable machine learning for agricultural data analysis. Artificial Intelligence in Agriculture, 6, 257–265. https://doi.org/10.1016/j.aiia.2022.11.003
  36. Ryo M & Rillig M C (2017). Statistically reinforced machine learning for nonlinear patterns and variable interactions. Ecosphere, 8(11), e01976. https://doi.org/10.1002/ecs2.1976
  37. Sabrina F, Sohail S, Farid F, Jahan S, Ahamed F & Gordon S (2022). An interpretable artificial intelligence-based smart agriculture system. Computers, Materials & Continua, 72(2), 3777–3797. https://doi.org/10.32604/cmc.2022.026363
  38. Sandler M, Howard A, Zhu M, Zhmoginov A & Chen L C. (2018). MobileNetV2: Inverted residuals and linear bottlenecks. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 4510–4520. https://doi.org/10.1109/CVPR.2018.00474
  39. Savary S, Willocquet L, Pethybridge S J, Esker P D, McRoberts N & Nelson A (2019). The global burden of pathogens and pests on major food crops. Nature Ecology & Evolution, 3, 430–439. https://doi.org/10.1038/s41559-018-0793-y
  40. Selvaraju R R, Cogswell M, Das A, Vedantam R, Parikh D & Batra D (2017). Grad-CAM: Visual explanations from deep networks via gradient-based localization. Proceedings of the IEEE International Conference on Computer Vision, 618–626. https://doi.org/10.1109/ICCV.2017.74
  41. Simonyan K & Zisserman A (2015). Very deep convolutional networks for large-scale image recognition. arXiv. https://doi.org/10.48550/arXiv.1409.1556
  42. Sokolova M & Lapalme G (2009). A systematic analysis of performance measures for classification tasks. Information Processing & Management, 45(4), 427–437. https://doi.org/10.1016/j.ipm.2009.03.002
  43. Waskom M L (2021). seaborn: statistical data visualization. Journal of Open Source Software, 6(60), 3021. https://doi.org/10.21105/joss.03021
  44. Wei K, Chen B, Zhang J, Fan S, Wu K, Liu G & Chen D (2022). Explainable deep learning study for leaf disease classification. Agronomy, 12(5), 1035. https://doi.org/10.3390/agronomy12051035
  45. Xu Y, Li D, Li C, Yuan Z & Dai Z (2025). LiSA-MobileNetV2: an extremely lightweight deep learning model with Swish activation and attention mechanism for accurate rice disease classification. Frontiers in Plant Science, 16, 1619365. https://doi.org/10.3389/fpls.2025.1619365