Two-stage Transfer Learning for Chilli Leaf Disease Classification using CNN and Vision Transformer

Authors

DOI:

https://doi.org/10.29207/resti.v10i5.7674

Keywords:

convolutional neural network, plant disease classification, precision agriculture, transfer learning, vision transformer

Abstract

Chili cultivation is considerably affected by leaf diseases, making timely and reliable disease identification essential for maintaining agricultural productivity. While deep learning has demonstrated strong capabilities in plant disease recognition, many existing studies primarily focus on modifying network architectures rather than optimizing the training process. This study introduces a two-stage transfer learning framework that combines frozen-backbone adaptation with controlled fine-tuning to enhance classification performance. The experiments utilized a publicly available dataset comprising 12,000 augmented chili leaf images representing six disease categories. Several deep learning architectures were investigated, including DenseNet121, EfficientNetB0, MobileNetV2, ResNet152V2, and the Vision Transformer (ViT-B16). The experimental results indicate that the proposed two-stage training strategy improves classification performance consistently across the evaluated architectures. Among the models, ViT-B16 obtained the highest test accuracy of 99.61%, together with stable macro-averaged precision, recall, and F1-score values. Furthermore, the confusion matrix and ROC analysis revealed strong discrimination among the disease classes, with only limited errors occurring between visually similar categories. These findings highlight the importance of optimizing the training schedule when adapting pretrained models for plant disease recognition. Overall, the proposed framework provides an effective and scalable approach for chili leaf disease classification while offering an alternative to approaches that primarily rely on architectural modifications.

Downloads

Download data is not yet available.

References

[1] V. K. Velpula, S. Prasad, J. Vadlamudi, S. Gurrala, A. V. Priya, and K.Srinidhi, “Chilli Leaf Disease Prediction System using Deep Learning Model,” in 2025 International Conference on Emerging Smart Computing and Informatics (ESCI), IEEE, Mar. 2025, pp. 1–6. doi: 10.1109/ESCI63694.2025.10988404.

[2] N. Krishnan et al., “Prevalence of chilli leaf curl virus and tomato leaf curl New Delhi virus with chilli leaf curl disease in India,” Physiology and Molecular Biology of Plants, vol. 31, no. 8, pp. 1363–1374, Aug. 2025, doi: 10.1007/s12298-025-01570-w.

[3] S. Saha and K. Tayung, “First report of Fusarium proliferatum causing leaf blight of chilli (Capsicum annuum) in India,” Crop Protection, vol. 190, p. 107094, Apr. 2025, doi: 10.1016/j.cropro.2024.107094.

[4] B. N. Naik, R. Malmathanraj, and P. Palanisamy, “Detection and classification of chilli leaf disease using a squeeze-and-excitation-based CNN model,” Ecol. Inform., vol. 69, p. 101663, Jul. 2022, doi: 10.1016/j.ecoinf.2022.101663.

[5] S. A. Amjad, T. Anuradha, T. M. Datta, and U. M. Babu, “Chilli Leaf Disease Detection Using Deep Learning,” 2024, pp. 81–89. doi: 10.1007/978-3-031-56703-2_7.

[6] V. K. Pratap and N. S. Kumar, “High-precision multiclass classification of chili leaf disease through customized EffecientNetB4 from chili leaf images,” Smart Agricultural Technology, vol. 5, p. 100295, Oct. 2023, doi: 10.1016/j.atech.2023.100295.

[7] W. S. Hettiarachchi and H. M. D. S. Herath, “AI-based Chilli Leaf Disease Detection and Remedy Recommendation System,” in 2025 IEEE International Conference on Artificial Intelligence in Engineering and Technology (IICAIET), IEEE, Aug. 2025, pp. 449–454. doi: 10.1109/IICAIET67254.2025.11265591.

[8] Z. Gulzar, S. Chandu, and K. Ravi, “Classification and Analysis of Chilli Plant Disease Detection Using Convolution Neural Networks,” 2023, pp. 677–696. doi: 10.1007/978-981-99-7093-3_45.

[9] R. Thyagaraj., T. Y. Satheesha, and S. Bhairannawar, “Plant Leaf Disease Classification Using Modified SVM With Post Processing Techniques,” in 2023 International Conference on Applied Intelligence and Sustainable Computing (ICAISC), 2023, pp. 1–4. doi: 10.1109/ICAISC58445.2023.10201001.

[10] N. V., Y. G., N. N. B., M. R., and P. P., “Empirical Analysis of Squeeze and Excitation-Based Densely Connected CNN for Chili Leaf Disease Identification,” IEEE Transactions on Artificial Intelligence, vol. 5, no. 4, pp. 1681–1692, Apr. 2024, doi: 10.1109/TAI.2024.3364126.

[11] M. Srinivasulu and S. Maiti, “RNDDNet: A residual nested dilated DenseNet based deep-learning model for chilli plant disease classification,” Engineering Research Express, vol. 6, no. 3, p. 035204, Sep. 2024, doi: 10.1088/2631-8695/ad5f03.

[12] S. Bandopadhyay, A. K. Gaula, I. Haider, and G. Kumar, “Chili-Net: An Approach for Classifying Chili Leaf Diseases Using Deep Neural Networks,” 2024, pp. 45–55. doi: 10.1007/978-3-031-66594-3_5.

[13] S. A. Hamim and A. I. Jony, “Enhanced deep learning model architecture for plant disease detection in Chilli plants,” Journal of Edge Computing, vol. 3, no. 2, pp. 136–146, Nov. 2024, doi: 10.55056/jec.758.

[14] N. Lokeswari, D. Pramesti, and H. Fakhrurroja, “Enhancing the Accuracy of Chili Plant Disease Classification using Convolutional Neural Networks and Image Augmentation,” in 2025 IEEE International Conference on Industry 4.0, Artificial Intelligence, and Communications Technology (IAICT), IEEE, Jul. 2025, pp. 123–128. doi: 10.1109/IAICT65714.2025.11100595.

[15] N. F. Aminuddin, H. Abdul Kadir, M. R. Md Tomari, A. Joret, and Z. Tukiran, “Towards Improved Disease Identification With Pretrained Convolutional Neural Networks As Feature Extractors For Chili Leaf Images,” J. Teknol., vol. 86, no. 2, pp. 89–100, Jan. 2024, doi: 10.11113/jurnalteknologi.v86.19853.

[16] I. I. Adnan, M. Z. Waughfa, and T. Ahmed, “Enhancing Chili Plant Disease Detection: A Comprehensive Ensemble Approach Utilizing Pre-Trained Deep Learning Models,” in 2024 IEEE International Conference on Power, Electrical, Electronics and Industrial Applications (PEEIACON), IEEE, Sep. 2024, pp. 1–6. doi: 10.1109/PEEIACON63629.2024.10800382.

[17] M. K M, A. Ranjan, and R. Machavaram, “In-field Chilli Crop Disease Detection Using YOLOv5 Deep Learning Technique,” in 2023 IEEE 8th International Conference for Convergence in Technology (I2CT), IEEE, Apr. 2023, pp. 1–6. doi: 10.1109/I2CT57861.2023.10126468.

[18] S. Rahman et al., “Reducing Computational Cost in Chili Leaf Disease Classification Using Optimized RegNet,” IAENG Int. J. Comput. Sci., vol. 52, no. 12, pp. 4940–4951, Dec. 2025, Accessed: Sep. 20, 2026. [Online]. Available: https://www.iaeng.org/IJCS/issues_v52/issue_12/IJCS_52_12_36.pdf

[19] T. R, G. G. Devadhas, and T. Y. Satheesha, “EGMEO: Exponential Groupers and Moray Eels Optimization Based Googlenet for Chili Leaf Disease Classification,” in 2025 International Conference on Next Generation Computing Systems (ICNGCS), IEEE, Aug. 2025, pp. 1–7. doi: 10.1109/ICNGCS64900.2025.11183425.

[20] M. Ahmad, T. M. A. Zulcaffle, and M. A. Khan, “Advance Agricultural Precision: Chili Plant Disease Prediction by DenseNet121 with images,” in 2025 IEEE International Conference on Emerging Trends in Engineering and Computing (ETECOM), IEEE, Oct. 2025, pp. 1–7. doi: 10.1109/ETECOM66111.2025.11319030.

[21] S. Mehdipour, S. A. Mirroshandel, and S. A. Tabatabaei, “Vision transformers in precision agriculture: A comprehensive survey,” Intelligent Systems with Applications, vol. 29, p. 200617, Mar. 2026, doi: 10.1016/j.iswa.2025.200617.

[22] S. Aboelenin, F. A. Elbasheer, M. M. Eltoukhy, W. M. El-Hady, and K. M. Hosny, “A hybrid Framework for plant leaf disease detection and classification using convolutional neural networks and vision transformer,” Complex & Intelligent Systems, vol. 11, no. 2, p. 142, Feb. 2025, doi: 10.1007/s40747-024-01764-x.

[23] T. K. V, B. C, and M. S. Srividya, “Detection of Chilli Leaf Diseases Using Vision Transformers and Attention Mechanisms,” in 2025 9th International Conference on Computational System and Information Technology for Sustainable Solutions (CSITSS), IEEE, Nov. 2025, pp. 1–5. doi: 10.1109/CSITSS67709.2025.11294055.

[24] T. Sanida, A. Sideris, M. V. Sanida, and M. Dasygenis, “Tomato leaf disease identification via two–stage transfer learning approach,” Smart Agricultural Technology, vol. 5, p. 100275, Oct. 2023, doi: 10.1016/j.atech.2023.100275.

[25] J. Meng, Z. Tan, Y. Yu, P. Wang, and S. Liu, “TL-med: A Two-stage transfer learning recognition model for medical images of COVID-19,” Biocybern. Biomed. Eng., vol. 42, no. 3, pp. 842–855, Jul. 2022, doi: 10.1016/j.bbe.2022.04.005.

[26] X. Zhang, Z. Chen, J. Gao, W. Huang, P. Li, and J. Zhang, “A two-stage deep transfer learning model and its application for medical image processing in Traditional Chinese Medicine,” Knowl. Based. Syst., vol. 239, p. 108060, Mar. 2022, doi: 10.1016/j.knosys.2021.108060.

[27] M. A. S. Nirob, A. K. M. F. K. Siam, P. Bishshash, and M. Assaduzzaman, “Chili Plant Leaf Disease and Growth Stage Dataset from Bangladesh,” 2025, Mendeley Data. doi: 10.17632/w9mr3vf56s.1.

[28] N. Paul, G. C. Sunil, D. Horvath, and X. Sun, “Deep learning for plant stress detection: A comprehensive review of technologies, challenges, and future directions,” Comput. Electron. Agric., vol. 229, p. 109734, Feb. 2025, doi: 10.1016/j.compag.2024.109734.

[29] K. Hong, Y. Zhou, and H. Han, “The pipelines of deep learning-based plant image processing,” Quantitative Plant Biology, vol. 6, p. e23, Jul. 2025, doi: 10.1017/qpb.2025.10018.

[30] W. Liu, Z. Wang, X. Liu, N. Zeng, Y. Liu, and F. E. Alsaadi, “A survey of deep neural network architectures and their applications,” Neurocomputing, vol. 234, pp. 11–26, Apr. 2017, doi: 10.1016/j.neucom.2016.12.038.

[31] A. Dhillon and G. K. Verma, “Convolutional neural network: a review of models, methodologies and applications to object detection,” Progress in Artificial Intelligence, vol. 9, no. 2, pp. 85–112, Jun. 2020, doi: 10.1007/s13748-019-00203-0.

[32] A. Dosovitskiy et al., “An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale,” in ArXiv, 2020. doi: 10.48550/arXiv.2010.11929.

[33] K. T. Chitty-Venkata, S. Mittal, M. Emani, V. Vishwanath, and A. K. Somani, “A survey of techniques for optimizing transformer inference,” Journal of Systems Architecture, vol. 144, p. 102990, Nov. 2023, doi: 10.1016/j.sysarc.2023.102990.

[34] S. Khan, M. Naseer, M. Hayat, S. W. Zamir, F. S. Khan, and M. Shah, “Transformers in Vision: A Survey,” ACM Comput. Surv., vol. 54, no. 10s, pp. 1–41, Jan. 2022, doi: 10.1145/3505244.

Downloads

Published

2026-10-04

Issue

Section

Computer Vision and Pattern Recognition

How to Cite

Kurniawan, R., Samsuryadi, S., Mohamad, F. S., Intan, B., & Daulay, N. K. (2026). Two-stage Transfer Learning for Chilli Leaf Disease Classification using CNN and Vision Transformer. Jurnal RESTI (Rekayasa Sistem Dan Teknologi Informasi), 10(5), 1328-1339. https://doi.org/10.29207/resti.v10i5.7674

Most read articles by the same author(s)