A Comparative Study of Fine-Tuning Deep Learning Models for Leaf Disease Identification and Classification
Received: 16 September 2024 | Revised: 12 October 2024, 31 October 2024, and 8 November 2024 | Accepted: 26 November 2024 | Online: 2 February 2025
Corresponding author: Bh. Prashanthi
Abstract
Innovative agricultural solutions are needed to detect and classify leaf diseases early across crop species and environments. This study compares deep learning approaches, focusing on Convolutional Neural Networks (CNN) and Vision Transformers (VTs), to identify leaf diseases early and accurately for scalable crop management and productivity. Optimizing CNNs, Explainable Transfer Learning (ETPLDNet) using ResNet50 architecture, and LEViT leaf disease diagnosis are compared. The CNN model, optimized with dynamic hyperparameters, achieved an impressive 99.58% accuracy for leaf disease classification, demonstrating its effectiveness in feature extraction and classification precision. On the other hand, the VT-based LEViT model, which leverages self-attention mechanisms and Explainable AI (XAI), achieved 95.22% accuracy but offers enhanced interpretability and generalization capabilities due to its transformer-based architecture. This distinction illustrates that while CNNs excel in accuracy, VTs provide a more transparent decision-making process and better handle the complex variances in plant leaf diseases, making them ideal for precision agriculture. The combined use of CNNs and VTs showcases the strengths of each model, with CNN focusing on high classification precision and VTs offering improved interpretability and adaptability for various leaf disease conditions. The use of XAI enables the models to highlight important areas in plant leaf images that influence the model's decisions, offering a transparent and interpretable decision-making process that allows researchers and farmers to understand why a particular diagnosis or classification was made. This ability to visualize and explain the reasoning behind the model predictions is crucial to increasing trust in AI-driven solutions in agriculture. By combining the high precision of CNN and the interpretability of VT with XAI, this study offers a robust approach to improving crop disease management and precision agriculture.
Keywords:
leaf diseases, convolutional neural networks, transfer learning, vision transformers, explainable artificial intelligence, classificationDownloads
References
R. G. Dawod and C. Dobre, "Upper and Lower Leaf Side Detection with Machine Learning Methods," Sensors, vol. 22, no. 7, Jan. 2022, Art. no. 2696.
L. V. Madden, G. Hughes, and F. van den Bosch, The Study of Plant Disease Epidemics. American Phytopathological Society, 2007.
G. Bhadur and R. Rani, "Agricultural Crops Disease Identification and Classification through Leaf Images using Machine Learning and Deep Learning Technique: A Review," in Proceedings of the International Conference on Innovative Computing & Communications (ICICC) 2020, Mar. 2020.
A. R. B. Patil et al., "A Literature Review on Detection of Plant Diseases," European Journal of Molecular & Clinical Medicine, vol. 7, no. 7, pp. 1605–1614, 2020.
Y. M. Abd Algani, O. J. Marquez Caro, L. M. Robladillo Bravo, C. Kaur, M. S. Al Ansari, and B. Kiran Bala, "Leaf disease identification and classification using optimized deep learning," Measurement: Sensors, vol. 25, Feb. 2023, Art. no. 100643.
J. Liu and X. Wang, "Plant diseases and pests detection based on deep learning: a review," Plant Methods, vol. 17, no. 1, Feb. 2021, Art. no. 22.
S. P. Mohanty, D. P. Hughes, and M. Salathé, "Using Deep Learning for Image-Based Plant Disease Detection," Frontiers in Plant Science, vol. 7, Sep. 2016.
J. Boulent, S. Foucher, J. Théau, and P.-L. St-Charles, "Convolutional Neural Networks for the Automatic Identification of Plant Diseases," Frontiers in Plant Science, vol. 10, Jul. 2019.
R. Sharma et al., "Plant Disease Diagnosis and Image Classification Using Deep Learning," Computers, Materials & Continua, vol. 71, no. 2, pp. 2125–2140, 2022.
A. Ahmad, D. Saraswat, and A. El Gamal, "A survey on using deep learning techniques for plant disease diagnosis and recommendations for development of appropriate tools," Smart Agricultural Technology, vol. 3, Feb. 2023, Art. no. 100083.
A. Dosovitskiy et al., "An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale." arXiv, 2020.
T. Lin, Y. Wang, X. Liu, and X. Qiu, "A survey of transformers," AI Open, vol. 3, pp. 111–132, Jan. 2022.
H. Wu et al., "CvT: Introducing Convolutions to Vision Transformers," in 2021 IEEE/CVF International Conference on Computer Vision (ICCV), Montreal, Canada, Oct. 2021, pp. 22–31.
P. S. Thakur, P. Khanna, T. Sheorey, and A. Ojha, "Explainable vision transformer enabled convolutional neural network for plant disease identification: PlantXViT." arXiv, Jul. 16, 2022.
S. Alqethami, B. Almtanni, W. Alzhrani, and M. Alghamdi, "Disease Detection in Apple Leaves Using Image Processing Techniques," Engineering, Technology & Applied Science Research, vol. 12, no. 2, pp. 8335–8341, Apr. 2022.
Bh. Prashanthi, A. V. P. Krishna, and Ch. M. Rao, "LEViT- Leaf Disease identification and classification using an enhanced Vision transformers(ViT) model," Multimedia Tools and Applications, Aug. 2024.
S. Bhattarai, "New Plant Diseases Dataset." Kaggle, [Online]. Available: https://www.kaggle.com/datasets/vipoooool/new-plant-diseases-dataset.
"Data augmentation," TensorFlow. https://www.tensorflow.org/tutorials/images/data_augmentation.
J. Meshram, "jayant1211/Image-Tampering-Detection-using-ELA-and-Metadata-Analysis." Oct. 30, 2024, [Online]. Available: https://github.com/jayant1211/Image-Tampering-Detection-using-ELA-and-Metadata-Analysis.
W. S. Jeon and S.-Y. Rhee, "Plant Leaf Recognition Using a Convolution Neural Network," The International Journal of Fuzzy Logic and Intelligent Systems, vol. 17, no. 1, pp. 26–34, Mar. 2017.
K. He, X. Zhang, S. Ren, and J. Sun, "Deep Residual Learning for Image Recognition," in 2016 IEEE Conference on Computer Vision and Pattern Recognition (CVPR), Las Vegas, NV, USA, Jun. 2016, pp. 770–778.
"Vision Transformers (ViT) Explained," Pinecone, https://www.pinecone.io/learn/series/image-search/vision-transformers/.
E. Daglarli, "Explainable Artificial Intelligence (xAI) Approaches and Deep Meta-Learning Models for Cyber-Physical Systems," in Artificial Intelligence Paradigms for Smart Cyber-Physical Systems, IGI Global Scientific Publishing, 2021, pp. 42–67.
K. Balavani, D. Sriram, M. B. Shankar, and D. S. Charan, "An Optimized Plant Disease Classification System Based on Resnet-50 Architecture and Transfer Learning," in 2023 4th International Conference for Emerging Technology (INCET), Belgaum, India, May 2023, pp. 1–5.
G. Wang, Y. Sun, and J. Wang, "Automatic Image-Based Plant Disease Severity Estimation Using Deep Learning," Computational Intelligence and Neuroscience, vol. 2017, no. 1, 2017, Art. no. 2917536.
Downloads
How to Cite
License
Copyright (c) 2024 Bh. Prashanthi, Anne Venkata Praveen Krishna, Ch. Mallikarjuna Rao

This work is licensed under a Creative Commons Attribution 4.0 International License.
Authors who publish with this journal agree to the following terms:
- Authors retain the copyright and grant the journal the right of first publication with the work simultaneously licensed under a Creative Commons Attribution License that allows others to share the work with an acknowledgement of the work's authorship and initial publication in this journal.
- Authors are able to enter into separate, additional contractual arrangements for the non-exclusive distribution of the journal's published version of the work (e.g., post it to an institutional repository or publish it in a book), with an acknowledgement of its initial publication in this journal.
- Authors are permitted and encouraged to post their work online (e.g., in institutional repositories or on their website) after its publication in ETASR with an acknowledgement of its initial publication in this journal.