An End-to-End Multi-Task ResNet-FPN Network for Simultaneous Plant Type, Disease Type, and Severity Classification
Main Article Content
Abstract
Accurate and rapid diagnosis of plant diseases is critical for food security and sustainable agriculture. This paper proposes a multi-task deep learning framework that simultaneously classifies plant species, disease type, and three severity levels (mild, medium, severe) from leaf images. The model employs a ResNet101 backbone enhanced with a Feature Pyramid Network (FPN) to extract multi-scale features, followed by three task-specific classification heads. Severity labels are automatically generated using a semantic segmentation approach based on adaptive thresholding in LAB and HSV color spaces, eliminating the need for manual annotation. To address class imbalance, the dataset is balanced via oversampling with on-the-fly data augmentation. Extensive experiments on the PlantVillage dataset demonstrate that the multi-task model achieves near‑perfect plant classification (macro F1 0.9995) and disease classification (macro F1 0.9978), and 99.1% macro F1 for severity estimation, outperforming single-task baselines while using 66% fewer parameters. Comprehensive evaluation including confusion matrices, per-class precision/recall/F1, ROC curves, and sample predictions are provided. The proposed framework offers an integrated solution for plant health monitoring with high accuracy and efficiency.
Downloads
Article Details
Section

This work is licensed under a Creative Commons Attribution 4.0 International License.
All articles published in Interdisciplinary Journal of AI, Machine Learning & Data Science (IJAIMLDS) are licensed under the terms of the Creative Commons Attribution 4.0 International License (CC BY 4.0).
This license allows others to share, copy, distribute, and adapt the work, provided that proper credit is given to the original author(s) and the source.
Authors retain copyright and grant Interdisciplinary Journal of AI, Machine Learning & Data Science (IJAIMLDS) the right of first publication.
How to Cite
References
[1] S. Savary et al., "The global burden of pathogens and pests on major food crops," Nature Ecology & Evolution, vol. 3, pp. 430–439, 2019. DOI: https://doi.org/10.1038/s41559-018-0793-y
[2] A. Kamilaris and F. X. Prenafeta-Boldú, "Deep learning in agriculture: A survey," Computers and Electronics in Agriculture, vol. 147, pp. 70–90, 2018. DOI: https://doi.org/10.1016/j.compag.2018.02.016
[3] S. P. Mohanty, D. P. Hughes, and M. Salathé, "Using deep learning for image-based plant disease detection," Frontiers in Plant Science, vol. 7, p. 1419, 2016. DOI: https://doi.org/10.3389/fpls.2016.01419
[4] K. P. Ferentinos, "Deep learning models for plant disease detection and diagnosis," Computers and Electronics in Agriculture, vol. 145, pp. 311–318, 2018. DOI: https://doi.org/10.1016/j.compag.2018.01.009
[5] M. H. Saleem, J. Potgieter, and K. M. Arif, "Plant disease detection and classification by deep learning," Plants, vol. 8, no. 11, p. 468, 2019. DOI: https://doi.org/10.3390/plants8110468
[6] J. Liu and X. Wang, "Plant diseases and pests detection based on deep learning: a review," Plant Methods, vol. 17, no. 1, p. 22, 2021. DOI: https://doi.org/10.1186/s13007-021-00722-9
[7] A. Fuentes, S. Yoon, S.C. Kim, D.K. Park, and S.I. Oh, "Deep learning for plant disease detection: a comprehensive review," Computers and Electronics in Agriculture, vol. 183, p. 106019, 2021.
[8] Y. Zhang and Q. Yang, "A survey on multi-task learning," IEEE Transactions on Knowledge and Data Engineering, vol. 34, no. 12, pp. 5586–5609, 2022. DOI: https://doi.org/10.1109/TKDE.2021.3070203
[9] R. Fu et al., "PMJDM: a multi-task joint detection model for plant disease identification," Frontiers in Plant Science, vol. 16, p. 1599671, 2025. DOI: https://doi.org/10.3389/fpls.2025.1599671
[10] Sue-Chayapak, W., Suhren, W. and Srikaew, A., 2024, October. A Novel Multi-Task Deep Learning for Plant Classification and Disease Diagnosis from Leaf Images. In 2024 International Conference on Power, Energy and Innovations (ICPEI) (pp. 109-113). IEEE. DOI: https://doi.org/10.1109/ICPEI61831.2024.10749297
[11] C. H. Bock, G. H. Poole, P. E. Parker, and T. R. Gottwald, "Plant disease severity estimated visually, by digital photography and image analysis, and by hyperspectral imaging," Critical Reviews in Plant Sciences, vol. 29, no. 2, pp. 59–107, 2010. DOI: https://doi.org/10.1080/07352681003617285
[12] K. He, X. Zhang, S. Ren, and J. Sun, "Deep residual learning for image recognition," in Proc. IEEE CVPR, 2016, pp. 770–778. DOI: https://doi.org/10.1109/CVPR.2016.90
[13] T. Y. Lin, P. Dollár, R. Girshick, K. He, B. Hariharan, and S. Belongie, "Feature pyramid networks for object detection," in Proc. IEEE CVPR, 2017, pp. 2117–2125. DOI: https://doi.org/10.1109/CVPR.2017.106
[14] J. G. A. Barbedo, "Digital image processing techniques for detecting, quantifying and classifying plant diseases," SpringerPlus, vol. 2, no. 1, p. 660, 2013. DOI: https://doi.org/10.1186/2193-1801-2-660
[15] S. S. Sannakki, V. S. Rajpurohit, V. B. Nargund, and A. R. Kulkarni, "Leaf disease grading by machine vision and fuzzy logic," International Journal of Computer Applications, vol. 52, no. 4, pp. 35–40, 2012.
[16] H. Al-Hiary, S. Bani-Ahmad, M. Reyalat, M. Braik, and Z. ALRahamneh, "Fast and accurate detection and classification of plant diseases," International Journal of Computer Applications, vol. 17, no. 1, pp. 31–38, 2011. DOI: https://doi.org/10.5120/2183-2754
[17] A. K. Singh, A. Ganapathysubramanian, S. Sarkar, and A. Singh, "Deep learning for plant stress phenotyping: trends and future perspectives," Trends in Plant Science, vol. 23, no. 10, pp. 883–898, 2018. DOI: https://doi.org/10.1016/j.tplants.2018.07.004
[18] A. Krizhevsky, I. Sutskever, and G. E. Hinton, "ImageNet classification with deep convolutional neural networks," in Proc. NIPS, 2012, pp. 1097–1105.
[19] K. Simonyan and A. Zisserman, "Very deep convolutional networks for large-scale image recognition," in Proc. ICLR, 2015.
[20]Bera, A., Bhattacharjee, D. and Krejcar, O., 2024. An attention-based deep network for plant disease classification. Machine Graphics & Vision, 33(1), pp.47-67. DOI: https://doi.org/10.22630/MGV.2024.33.1.3
[21] S. Ren, K. He, R. Girshick, and J. Sun, "Faster R-CNN: towards real-time object detection with region proposal networks," in Proc. NIPS, 2015, pp. 91–99.
[22] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, "You only look once: unified, real-time object detection," in Proc. IEEE CVPR, 2016, pp. 779–788. DOI: https://doi.org/10.1109/CVPR.2016.91
[23] A. Fuentes, S. Yoon, S. C. Kim, and D. S. Park, "A robust deep-learning-based detector for real-time tomato plant diseases and pests recognition," Sensors, vol. 17, no. 9, p. 2022, 2017. DOI: https://doi.org/10.3390/s17092022
[24]Lawal, M.O., 2021. Tomato detection based on modified YOLOv3 framework. Scientific Reports, 11(1), p.1447. DOI: https://doi.org/10.1038/s41598-021-81216-5
[25] Lamba, S., Kukreja, V., Baliyan, A., Rani, S. and Ahmed, S.H., 2023. A novel hybrid severity prediction model for blast paddy disease using machine learning. Sustainability, 15(2), p.1502. DOI: https://doi.org/10.3390/su15021502
[26] O. Ronneberger, P. Fischer, and T. Brox, "U-Net: convolutional networks for biomedical image segmentation," in Proc. MICCAI, 2015, pp. 234–241. DOI: https://doi.org/10.1007/978-3-319-24574-4_28
[27]Hasan, R.I., Yusuf, S.M. and Alzubaidi, L., 2020. Review of the state of the art of deep learning for plant diseases: A broad analysis and discussion. Plants, 9(10), p.1302. DOI: https://doi.org/10.3390/plants9101302
[28] W. Liu, T. Ye, and Q. Li, "Tomato leaf disease detection method based on improved SOLO v2," Transactions of the Chinese Society for Agricultural Machinery, vol. 52, no. 8, pp. 213–220, 2021.
[29]Venkateswara, S.M. and Padmanabhan, J., 2025. Deep learning based agricultural pest monitoring and classification. Scientific Reports, 15(1), p.8684. DOI: https://doi.org/10.1038/s41598-025-92659-5
[30] D. P. Hughes and M. Salathé, "An open access repository of images on plant health to enable the development of mobile disease diagnostics," arXiv preprint arXiv:1511.08060, 2015.
[31] IEEE DataPort, "Identification of plant leaf diseases," IEEE Dataport, 2025.
[32] D. Singh et al., "PlantDoc: a dataset for visual plant disease detection," in Proc. ACM India Joint International Conference on Data Science and Management of Data, 2020, pp. 249–252. DOI: https://doi.org/10.1145/3371158.3371196