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

Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model

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 findings revealed that the proposed MaxViT Swin–IGWO hybrid framework detects mango leaf diseases with superior performance, outperforming both conventional and contemporary alternatives.

📌 3 Key Takeaways

🎯
Objective & Hypothesis:The identification of plant diseases plays a crucial role in sustaining agricultural productivity and minimizing economic losses.
📊
Key Findings & Data:MaxViT and Swin models derive 512 and 768 features from each image, which are then combined to form a 1280-dimensional feature vector.
💡
Conclusion & Impact:The findings revealed that the proposed MaxViT Swin–IGWO hybrid framework detects mango leaf diseases with superior performance, outperforming both conventional and contemporary alternatives.
🔬Design:Modeling & Simulation
📍Scope:Comprehensive Sample
⚙️Variables:Mango leaf disease · Vision transformer · Grey wolf optimization

Abstract

The identification of plant diseases plays a crucial role in sustaining agricultural productivity and minimizing economic losses. Traditional approaches, which often depend on visual assessment and the farmer’s experience, are typically inadequate for the timely recognition of infections, allowing diseases to progress and cause substantial damage. In overcoming these challenges, deep learning methods offer greater capability in solving complex classification problems than traditional machine learning algorithms. In this study, we propose a hybrid transformer-driven framework for high-precision disease detection on mango leaves. This approach combines mango leaf vein segmentation with transformer-based feature extraction. MaxViT and Swin models derive 512 and 768 features from each image, which are then combined to form a 1280-dimensional feature vector. The feature attention mechanism highlights the most informative components of the features, while the improved grey wolf optimizer reduces the increased dimensionality. 200 discriminative features were selected from the feature vector, and the decreasing features were classified using six machine learning classifiers. Experiments were performed on the MangoLeafBD dataset, which contains eight classes: seven diseases and a healthy class. The proposed MaxViT-Swin–IGWO hybrid framework achieved remarkable results, achieving 100% accuracy for the Linear Discriminant classifier and 99.98% accuracy for the Neural Network classifier. Performance analysis was accomplished using precision, recall, F1-score, dice, and ROC criteria. Furthermore, an ablation test was conducted to evaluate the impact of individual model variations on the preprocessing pipeline. The findings revealed that the proposed MaxViT Swin–IGWO hybrid framework detects mango leaf diseases with superior performance, outperforming both conventional and contemporary alternatives.

🔖

Cite This Article

Özbay, E., Özbay, F. A., Gharehchopogh, F. S. (2026). Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model. Journal of Agricultural Sciences, Volume: 32 Issue: 3. https://doi.org/10.15832/ankutbd.1857033

📄 Full Text PDF Viewer

📄

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

References (52)

  1. Adi K, Widodo A P, Widodo C E, Pamungkas A & Putranto A B (2018). Automatic vehicle counting using background subtraction method on gray scale images and morphology operation. In Journal of Physics: Conference Series (Vol. 1025, No. 1, p. 012025). IOP Publishing. https://doi.org/10.1088/1742-6596/1025/1/012025
  2. Ahmad M, Shabbir M, Ali H, Hashmi M B F, Ahmed M, Ahmad S & Malik A (2025). Climate-Induced Changes in Mango Production: Phenological Impacts, Pest Threats, and Mitigation Approaches. In Climate Change and Mango Production (pp. 773-802). Springer, Cham. https://doi.org/10.1007/978-3-031-87035-4_30
  3. Ahmed S I, Ibrahim M, Nadim M, Rahman M M, Shejunti M M, Jabit T, & Ali M S (2023). MangoLeafBD: A comprehensive image dataset to classify diseased and healthy mango leaves. Data in Brief, 47, 108941. https://doi.org/10.1016/j.dib.2023.108941
  4. Al N A, Amira H, Anamul S, Jesika D, Hasib F, Al Sakib A & Akber D M A (2025). ViX-MangoEFormer: An Enhanced Vision Transformer EfficientFormer and Stacking Ensemble Approach for Mango Leaf Disease Recognition with Explainable Artificial Intelligence. Computers 14(5): 171. https://doi.org/10.3390/computers14050171
  5. Arivazhagan S & Ligi S V (2018). Mango leaf diseases identification using convolutional neural network. International Journal of Pure and Applied Mathematics, 120(6): 11067-11079
  6. Babar T K (2025). Insect Pests of Mango: Identification, Biology, and Management Strategies. In Climate Change and Mango Production (pp. 563-616). Springer, Cham. https://doi.org/10.1007/978-3-031-87035-4_24
  7. Bhuyan P, Singh P K, Das S K (2024). Res4net-CBAM: A deep cnn with convolution block attention module for tea leaf disease diagnosis. Multimedia Tools and Applications, 83(16): 48925-48947. https://doi.org/10.1007/s11042-023-17472-6
  8. Bini K, Krishnan A G, Jacob J, Supriya R, Thomas K S (2024). Mango: The king of the tropics. In Economically Important Trees: Origin, Evolution, Genetic Diversity and Ecology (pp. 299-324). Singapore: Springer Nature. https://doi.org/10.1007/978-981-97-5940-8_8
  9. Bura S, Jasrotia A, Sharma S, Sharma A, Tutlani A (2023). Recent advances in breeding of mango (Mangifera indica): a review. Int J Environ Climate Change, 13, 521-38. https://doi.org/10.9734/ijecc/2023/v13i113196
  10. Delgado N O, Arboleda E R, Dioses Jr J L, Dellosa, R M (2019). Identification of mango leaves using artificial intelligence. Int. J. Sci. Technol. Res, 8(12): 2864-2868
  11. Ganesan G & Chinnappan J (2022). Hybridization of ResNet with YOLO classifier for automated paddy leaf disease recognition: An optimized model. Journal of Field Robotics, 39(7): 1085-1109. https://doi.org/10.1002/rob.22089
  12. Gautam V, Kaur P, Mishra A M, Shankar A, Singh L (2025). Mango leaf disease detection and classification using a federated learning based lightweight vision transformer model. Turkish Journal of Agriculture and Forestry, 49(6): 1079-1094. https://doi.org/10.55730/1300 011X.3325
  13. Gautam V, Ranjan R K, Dahiya P, Kumar A (2024). ESDNN: A novel ensembled stack deep neural network for mango leaf disease classification and detection. Multimedia Tools and Applications, 83(4): 10989-11015. https://doi.org/10.1007/s11042-023-16012-6
  14. Gupta S & Mazumdar S G (2013). Sobel edge detection algorithm. International journal of computer science and management Research, 2(2): 1578-1583
  15. Hossain M A, Sakib S, Abdullah H M, Arman S E (2024). Deep learning for mango leaf disease identification: A vision transformer perspective. Heliyon, 10(17). https://doi.org/10.1016/j.heliyon.2024.e36361
  16. Huang L, Bai X, Zeng J, Yu M, Pang W, Wang K (2024). FAM: Improving columnar vision transformer with feature attention mechanism. Computer Vision and Image Understanding, 242, 103981. https://doi.org/10.1016/j.cviu.2024.103981
  17. Junaid M D & Gokce A F (2024). Global agricultural losses and their causes. Bulletin of Biological and Allied Sciences Research, 2024(1), 66-66. https://doi.org/10.54112/bbasr.v2024i1.66
  18. Khanum R A, Jan M A, Aldegheishem A, Mehmood A, Alrajeh N, Khanan A (2019). Two new improved variants of grey wolf optimizer for unconstrained optimization. IEEE Access, 8, 30805-30825. https://doi.org/10.1109/ACCESS.2019.2958288
  19. Khaseeb J Y, Keshk A, Youssef A (2025). Improved Binary Grey Wolf Optimization Approaches for Feature Selection Optimization. Applied Sciences, 15(2), 489. https://doi.org/10.3390/app15020489
  20. Khatri P, Kumar P, Shakya K S, Kirlas M C, Tiwari K K (2024). Understanding the intertwined nature of rising multiple risks in modern agriculture and food system. Environment, Development and Sustainability, 26(9), 24107-24150. https://doi.org/10.1007/s10668-023 03638-7
  21. Koppal L B, Rajesh T M, Vedamurthy K B, Parwekar P (2023). Mango Leaf Images Quality Improvement Techniques Using Subjective Approach of Image Enhancement. In International Conference on Recent Trends in Computing (pp. 243-252). Singapore: Springer Nature Singapore. https://doi.org/10.1007/978-981-97-1724-8_22
  22. Kumar S, Gupta B, Grover R, Chhabra M (2024). Effective Machine Learning Model for Disease Recognition and Categorization of Mango Leaves. In 2024 International Conference on Computational Intelligence and Computing Applications (ICCICA) (Vol. 1, pp. 292-296). IEEE. https://doi.org/10.1109/ICCICA60014.2024.10585260
  23. Kusrini K, Suputa S, Setyanto A, Agastya I M A, Priantoro H, Chandramouli K, Izquierdo E (2020). Data augmentation for automated pest classification in Mango farms. Computers and Electronics in Agriculture, 179, 105842. https://doi.org/10.1016/j.compag.2020.105842 Lavanya K & Packialatha A (2024). IBSHC: Improved BIRCH‐based segmentation and hybrid classification model for Mango Disease Detection. Journal of Phytopathology, 172(2), e13290. https://doi.org/10.1111/jph.13290
  24. Lebaka V R, Wee Y J, Ye W, Korivi M (2021). Nutritional composition and bioactive compounds in three different parts of mango fruit. International journal of environmental research and public health, 18(2), 741. https://doi.org/10.3390/ijerph18020741
  25. Liu Z, Lin Y, Cao Y, Hu H, Wei Y, Zhang Z, Guo B (2021). Swin transformer: Hierarchical vision transformer using shifted windows. In Proceedings of the IEEE/CVF international https://doi.org/10.1109/ICCV48922.2021.00986 conference on computer vision (pp. 10012-10022).
  26. Lu Y, Yi S, Zeng N, Liu Y, Zhang Y (2017). Identification of rice diseases using deep convolutional neural networks. Neurocomputing, 267, 378-384. https://doi.org/10.1016/j.neucom.2017.06.023
  27. Maheshwari K & Shrivastava A (2020). A review on mango leaf diseases identification using convolution neural network. International Journal of Scientific Research & Engineering Trends, 6(3), 1399-1403.
  28. Mehta S, Kukreja V, Yadav R (2023). Advanced mango leaf disease detection and severity analysis with federated learning and cnn. In 2023 3rd International Conference on Intelligent Technologies (CONIT) (pp. 1-6). IEEE. https://doi.org/10.1109/CONIT59222.2023.10205922
  29. Mia M R, Roy S, Das S K, Rahman M A (2020). Mango leaf disease recognition using neural network and support vector machine. Iran Journal of Computer Science, 3(3), 185-193. https://doi.org/10.1007/s42044-020-00057-z
  30. Mishra S, Ellappan V, Satapathy S, Dengia G, Mulatu B T, Tadele F (2021). Identification and classification of mango leaf disease using wavelet transform based segmentation and wavelet neural network model. Annals of the Romanian Society for Cell Biology, 25(2): 1982 1989
  31. Mohapatra M, Parida A K, Mallick P K, Zymbler M, Kumar S (2022). Botanical leaf disease detection and classification using a convolutional neural network: A hybrid metaheuristic-enabled approach. Computers, 11(5), 82. https://doi.org/10.3390/computers11050082
  32. Nayak D, Yadav A, Kumar S, Lalhruaitluangi N, Mandal D (2023). Mango. In Tropical and Subtropical Fruit Crops (pp. 559-616). Apple Academic Press. https://doi.org/10.1201/9781003305033-8
  33. Noman A A, Hossain A, Sakib A, Debnath J, Fardin H, Sakib A A, Dewan M A A (2025). ViX-MangoEFormer: An Enhanced Vision Transformer–EfficientFormer and Stacking Ensemble Approach for Mango Leaf Disease Recognition with Explainable Artificial Intelligence. Computers, 14(5), 171. https://doi.org/10.3390/computers14050171
  34. Nurul A A, Fatimah K, Puteri S S, Zainal A K (2025). Adaptive Hybrid Vision Transformer For Precise Segmentation Of Mango Leaf Diseases. Journal of Theoretical and Applied Information Technology, 103(24).
  35. Özbay E (2023). An active deep learning method for diabetic retinopathy detection in segmented fundus images using artificial bee colony algorithm. Artificial Intelligence Review, 56(4), 3291-3318. https://doi.org/10.1007/s10462-022-10231-3
  36. Patel A, Ravikumar R N, Betgeri S, Singhal S, Singh S K, Takodara M (2024). Utilizing TFLite and machine learning for the early detection of mango leaf disease: an automated flutter application. In 2024 5th International Conference for Emerging Technology (INCET) (pp. 1 6). IEEE. https://doi.org/10.1109/INCET61516.2024.10593509
  37. Patel R K, Choudhary A, Chouhan S S, Pandey K K (2024). Mango leaf disease diagnosis using total variation filter based variational mode decomposition. Computers and Electrical Engineering, 120, 109795. https://doi.org/10.1016/j.compeleceng.2024.109795
  38. Paul S G, Biswas A A, Saha A, Zulfiker M S, Ritu N A, Zahan I, Islam M A (2023). A real-time application-based convolutional neural network approach for tomato leaf disease classification. Array, 19, 100313. https://doi.org/10.1016/j.array.2023.100313
  39. Pham T N, Van Tran L, Dao S V T (2020). Early disease classification of mango leaves using feed-forward neural network and hybrid metaheuristic feature selection. IEEE Access, 8, 189960-189973. https://doi.org/10.1109/ACCESS.2020.3031914
  40. Prabhu O, Manoj T, Shetty S (2025). An Investigation on Advances in Transfer Learning and Explainable AI for Mango Leaf Disease Detection. Smart Agricultural Technology, 101348. https://doi.org/10.1016/j.atech.2025.101348
  41. Prabu M & Chelliah B J (2022). Mango leaf disease identification and classification using a CNN architecture optimized by crossover-based levy flight distribution algorithm. Neural Computing and Applications, 34(9), 7311-7324. https://doi.org/10.1007/s00521-021-06726-9
  42. Rao U S, Swathi R, Sanjana V, Arpitha L, Chandrasekhar K, Naik P K (2021). Deep learning precision farming: grapes and mango leaf disease detection by transfer learning. Global transitions proceedings, 2(2), 535-544. https://doi.org/10.1016/j.gltp.2021.08.002
  43. Rizvee R A, Orpa T H, Ahnaf A, Kabir M A, Rashid M R A, Islam M M, Ali M S (2023). LeafNet: A proficient convolutional neural network for detecting seven prominent mango leaf diseases. Journal of Agriculture and Food Research, 14, 100787. https://doi.org/10.1016/j.jafr.2023.100787
  44. Salamai A A (2023). Enhancing mango disease diagnosis through eco-informatics: A deep learning approach. Ecological Informatics, 77, 102216. https://doi.org/10.1016/j.ecoinf.2023.102216
  45. Seetha J, Ramanathan R, Goyal V, Tholkapiyan M, Karthikeyan C, Kumar R (2024). Mango leaf disease classification using hybrid Coyote Grey Wolf optimization tuned neural network model. Multimedia Tools and Applications, 83(6), 17699-17725. https://doi.org/10.1007/s11042-023-16964-9
  46. Singh U P, Chouhan S S, Jain S, Jain S (2019). Multilayer convolution neural network for the classification of mango leaves infected by anthracnose disease. IEEE Access, 7, 43721-43729. https://doi.org/10.1109/ACCESS.2019.2907383
  47. Srunitha K & Bharathi D (2018). Mango leaf unhealthy region detection and classification. In Computational Vision and Bio Inspired Computing (pp. 422-436). Cham: Springer International Publishing. https://doi.org/10.1007/978-3-319-71767-8_35
  48. Swapno S M R, Nobel S N, Islam M B, Haque R, Meena V P, Benedetto F (2024). A novel machine learning approach for fast and efficient detection of mango leaf diseases. In 2024 IEEE 3rd international conference on computing and machine intelligence (ICMI) (pp. 1-7). IEEE. https://doi.org/10.1109/ICMI60790.2024.10585939
  49. Thaseentaj S & Ilango S S (2023). Deep Convolutional Neural Networks for South Indian Mango Leaf Disease Detection and Classification. Computers, Materials & Continua, 77(3). https://doi.org/10.32604/cmc.2023.042496
  50. Thaseentaj S & Ilango S S (2024). Mango Leaf Disease Classification with Transfer Learning, Feature Localization, and Visual Explanations. International Journal of Intelligent Engineering & Systems, 17(4). https://doi.org/10.22266/ijies2024.0831.78
  51. Tu Z, Talebi H, Zhang H, Yang F, Milanfar P, Bovik A, Li Y (2022). Maxvit: Multi-axis vision transformer. In European conference on computer vision (pp. 459-479). Cham: Springer Nature Switzerland. https://doi.org/10.1007/978-3-031-20053-3_27
  52. Wang G, Zhao Y, Tang C, Luo C, Zeng W (2022). When shift operation meets vision transformer: An extremely simple alternative to attention mechanism. In Proceedings of the AAAI conference on artificial intelligence (Vol. 36, No. 2, pp. 2423-2430). https://doi.org/10.48550/arXiv.2201.10801