Research Article

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

Volume: 32 Number: 3 July 28, 2026

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

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. 

Keywords

References

  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

Details

Primary Language

English

Subjects

Medicinal and Aromatic Plants

Journal Section

Research Article

Publication Date

July 28, 2026

Submission Date

January 5, 2026

Acceptance Date

February 24, 2026

Published in Issue

Year 2026 Volume: 32 Number: 3

APA
Özbay, E., Altunbey Özbay, F., & Soleımanıan Gharehchopogh, F. (2026). Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model. Journal of Agricultural Sciences, 32(3), 682-700. https://doi.org/10.15832/ankutbd.1857033
AMA
1.Özbay E, Altunbey Özbay F, Soleımanıan Gharehchopogh F. Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model. J Agr Sci-Tarim Bili. 2026;32(3):682-700. doi:10.15832/ankutbd.1857033
Chicago
Özbay, Erdal, Feyza Altunbey Özbay, and Farhad Soleımanıan Gharehchopogh. 2026. “Automated Mango Leaf Disease Identification With Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model”. Journal of Agricultural Sciences 32 (3): 682-700. https://doi.org/10.15832/ankutbd.1857033.
EndNote
Özbay E, Altunbey Özbay F, Soleımanıan Gharehchopogh F (July 1, 2026) Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model. Journal of Agricultural Sciences 32 3 682–700.
IEEE
[1]E. Özbay, F. Altunbey Özbay, and F. Soleımanıan Gharehchopogh, “Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model”, J Agr Sci-Tarim Bili, vol. 32, no. 3, pp. 682–700, July 2026, doi: 10.15832/ankutbd.1857033.
ISNAD
Özbay, Erdal - Altunbey Özbay, Feyza - Soleımanıan Gharehchopogh, Farhad. “Automated Mango Leaf Disease Identification With Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model”. Journal of Agricultural Sciences 32/3 (July 1, 2026): 682-700. https://doi.org/10.15832/ankutbd.1857033.
JAMA
1.Özbay E, Altunbey Özbay F, Soleımanıan Gharehchopogh F. Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model. J Agr Sci-Tarim Bili. 2026;32:682–700.
MLA
Özbay, Erdal, et al. “Automated Mango Leaf Disease Identification With Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model”. Journal of Agricultural Sciences, vol. 32, no. 3, July 2026, pp. 682-00, doi:10.15832/ankutbd.1857033.
Vancouver
1.Erdal Özbay, Feyza Altunbey Özbay, Farhad Soleımanıan Gharehchopogh. Automated Mango Leaf Disease Identification with Improved Grey Wolf Optimizer in Hybrid MaxViT-Swin Transformer Model. J Agr Sci-Tarim Bili. 2026 Jul. 1;32(3):682-700. doi:10.15832/ankutbd.1857033

Journal of Agricultural Sciences is published as open access journal. All articles are published under the terms of the Creative Commons Attribution License (CC BY).