Explainable Deep Transfer Learning for Robust Tomato Leaf Disease Classification
DOI:
https://doi.org/10.65780/bima.v1i1.4Keywords:
deep learning, tomato leaf disease, VGG19, transfer learning, precision agriculture, image classificationAbstract
Automated identification of plant diseases is crucial for advancing precision agriculture and enabling farmers to make informed, timely decisions. This study presents a deep learning-based framework for multi-class classification of tomato leaf diseases using transfer learning with the VGG-19 architecture. A dataset comprising 10,000 images across ten classes, including nine disease categories and one healthy class, was preprocessed and augmented to improve model robustness and generalization. The training strategy employed a two-stage approach: initial feature extraction with frozen, pre-trained layers, followed by selective fine-tuning to adapt the convolutional features to the target domain. Comprehensive evaluation using accuracy, precision, recall, F1-score, and confusion matrices demonstrated the model’s high discriminative capability, achieving an overall accuracy of 93% on the validation set. The results further revealed strong performance in identifying most disease categories, while highlighting classification challenges between visually similar classes, such as Tomato Mosaic Virus and Tomato Target Spot. The contributions of this research include the development of an optimized training pipeline, a reproducible evaluation framework, and insights into the role of transfer learning for agricultural image classification. The findings highlight the potential of deep learning to support automated tomato disease monitoring, with implications for improving crop health management and enhancing agricultural productivity
Downloads
References
[1] B. Sundararaman, S. Jagdev, and N. Khatri, ‘Transformative Role of Artificial Intelligence in Advancing Sustainable Tomato (Solanum lycopersicum) Disease Management for Global Food Security: A Comprehensive Review’, Sustainability, vol. 15, no. 15, p. 11681, Jan. 2023, doi: 10.3390/su151511681.
[2] N. K. Trivedi et al., ‘Early Detection and Classification of Tomato Leaf Disease Using High-Performance Deep Neural Network’, Sensors, vol. 21, no. 23, p. 7987, Jan. 2021, doi: 10.3390/s21237987.
[3] G. R. Aby and S. F. Issa, ‘Safety of Automated Agricultural Machineries: A Systematic Literature Review’, Safety, vol. 9, no. 1, p. 13, Mar. 2023, doi: 10.3390/safety9010013.
[4] W. Shafik, A. Tufail, A. Namoun, L. C. De Silva, and R. A. A. H. M. Apong, ‘A Systematic Literature Review on Plant Disease Detection: Motivations, Classification Techniques, Datasets, Challenges, and Future Trends’, IEEE Access, vol. 11, pp. 59174–59203, 2023, doi: 10.1109/ACCESS.2023.3284760.
[5] K. M. Hosny, W. M. El-Hady, F. M. Samy, E. Vrochidou, and G. A. Papakostas, ‘Multi-Class Classification of Plant Leaf Diseases Using Feature Fusion of Deep Convolutional Neural Network and Local Binary Pattern’, IEEE Access, vol. 11, pp. 62307–62317, 2023, doi: 10.1109/ACCESS.2023.3286730.
[6] E. Elfatimi, R. Eryiğit, and L. Elfatimi, ‘Deep multi-scale convolutional neural networks for automated classification of multi-class leaf diseases in tomatoes’, Neural Comput & Applic, vol. 36, no. 2, pp. 803–822, Jan. 2024, doi: 10.1007/s00521-023-09062-2.
[7] Y. M. Wang, B. Ostendorf, D. Gautam, N. Habili, and V. Pagay, ‘Plant Viral Disease Detection: From Molecular Diagnosis to Optical Sensing Technology—A Multidisciplinary Review’, Remote Sensing, vol. 14, no. 7, p. 1542, Jan. 2022, doi: 10.3390/rs14071542.
[8] M. Albahar, ‘A Survey on Deep Learning and Its Impact on Agriculture: Challenges and Opportunities’, Agriculture, vol. 13, no. 3, p. 540, Mar. 2023, doi: 10.3390/agriculture13030540.
[9] C. Rudin, C. Chen, Z. Chen, H. Huang, L. Semenova, and C. Zhong, ‘Interpretable machine learning: Fundamental principles and 10 grand challenges’, Statistics Surveys, vol. 16, no. none, pp. 1–85, Jan. 2022, doi: 10.1214/21-SS133.
[10] O. Attallah, ‘Tomato Leaf Disease Classification via Compact Convolutional Neural Networks with Transfer Learning and Feature Selection’, Horticulturae, vol. 9, no. 2, p. 149, Jan. 2023, doi: 10.3390/horticulturae9020149.
[11] P. V. et al., ‘Improved tomato leaf disease classification through adaptive ensemble models with exponential moving average fusion and enhanced weighted gradient optimization’, Front. Plant Sci., vol. 15, p. 1382416, May 2024, doi: 10.3389/fpls.2024.1382416.
[12] S. Ahmed, Md. B. Hasan, T. Ahmed, Md. R. K. Sony, and Md. H. Kabir, ‘Less is More: Lighter and Faster Deep Neural Architecture for Tomato Leaf Disease Classification’, IEEE Access, vol. 10, pp. 68868–68884, 2022, doi: 10.1109/ACCESS.2022.3187203.
[13] Z. Li, W. Tao, J. Liu, F. Zhu, G. Du, and G. Ji, ‘Tomato Leaf Disease Recognition via Optimizing Deep Learning Methods Considering Global Pixel Value Distribution’, Horticulturae, vol. 9, no. 9, p. 1034, Sept. 2023, doi: 10.3390/horticulturae9091034.
[14] B. Liu, S. Wei, F. Zhang, N. Guo, H. Fan, and W. Yao, ‘Tomato leaf disease recognition based on multi-task distillation learning’, Front. Plant Sci., vol. 14, p. 1330527, Jan. 2024, doi: 10.3389/fpls.2023.1330527.
[15] S. Ledbin Vini and P. Rathika, ‘TrioConvTomatoNet: A robust CNN architecture for fast and accurate tomato leaf disease classification for real time application’, Scientia Horticulturae, vol. 330, p. 113079, Apr. 2024, doi: 10.1016/j.scienta.2024.113079.
[16] F. Zou, J. Hua, Y. Zhu, J. Deng, and R. He, ‘ECVNet: A Fusion Network of Efficient Convolutional Neural Networks and Visual Transformers for Tomato Leaf Disease Identification’, Agronomy, vol. 14, no. 12, p. 2985, Dec. 2024, doi: 10.3390/agronomy14122985.
[17] D. Peng, W. Li, H. Zhao, G. Zhou, and C. Cai, ‘Recognition of Tomato Leaf Diseases Based on DIMPCNET’, Agronomy, vol. 13, no. 7, p. 1812, July 2023, doi: 10.3390/agronomy13071812.
[18] S. Hossain, M. Tanzim Reza, A. Chakrabarty, and Y. J. Jung, ‘Aggregating Different Scales of Attention on Feature Variants for Tomato Leaf Disease Diagnosis from Image Data: A Transformer Driven Study’, Sensors, vol. 23, no. 7, p. 3751, Apr. 2023, doi: 10.3390/s23073751.
[19] A. Ouamane et al., ‘Knowledge Pre-Trained CNN-Based Tensor Subspace Learning for Tomato Leaf Diseases Detection’, IEEE Access, vol. 12, pp. 168283–168302, 2024, doi: 10.1109/ACCESS.2024.3492037.
[20] Md. K. A. Mazumder, M. F. Mridha, S. Alfarhood, M. Safran, Md. Abdullah-Al-Jubair, and D. Che, ‘A robust and lightweight transfer learning-based architecture for accurate detection of leaf diseases across multiple plants using less amount of images’, Front. Plant Sci., vol. 14, p. 1321877, Jan. 2024, doi: 10.3389/fpls.2023.1321877.
[21] S. Natarajan, P. Chakrabarti, and M. Margala, ‘Robust diagnosis and meta visualizations of plant diseases through deep neural architecture with explainable AI’, Sci Rep, vol. 14, no. 1, p. 13695, June 2024, doi: 10.1038/s41598-024-64601-8.
[22] J. Li et al., ‘A Multi-Modal Open Object Detection Model for Tomato Leaf Diseases with Strong Generalization Performance Using PDC-VLD’, Plant Phenomics, vol. 6, p. 0220, 2024, doi: 10.34133/plantphenomics.0220.
[23] K. Nagasubramanian, S. Jones, A. K. Singh, S. Sarkar, A. Singh, and B. Ganapathysubramanian, ‘Plant disease identification using explainable 3D deep learning on hyperspectral images’, Plant Methods, vol. 15, no. 1, p. 98, Dec. 2019, doi: 10.1186/s13007-019-0479-8.
[24] Y. Liu et al., ‘High-Precision Tomato Disease Detection Using NanoSegmenter Based on Transformer and Lightweighting’, Plants, vol. 12, no. 13, p. 2559, July 2023, doi: 10.3390/plants12132559.
[25] G. Dai, Z. Tian, J. Fan, C. K. Sunil, and C. Dewi, ‘DFN-PSAN: Multi-level deep information feature fusion extraction network for interpretable plant disease classification’, Computers and Electronics in Agriculture, vol. 216, p. 108481, Jan. 2024, doi: 10.1016/j.compag.2023.108481.
[26] Q. Zeng, J. Sun, and S. Wang, ‘DIC-Transformer: interpretation of plant disease classification results using image caption generation technology’, Front. Plant Sci., vol. 14, p. 1273029, Jan. 2024, doi: 10.3389/fpls.2023.1273029.
[27] M. S. Alzahrani and F. W. Alsaade, ‘Transform and Deep Learning Algorithms for the Early Detection and Recognition of Tomato Leaf Disease’, Agronomy, vol. 13, no. 5, p. 1184, Apr. 2023, doi: 10.3390/agronomy13051184.
Downloads
Published
Issue
Section
License
Copyright (c) 2025 BIMA (Bulletin of Intelligent Machines and Algorithms)

This work is licensed under a Creative Commons Attribution 4.0 International License.