MultiBranchFusionNet: A Lightweight Attention-Guided Dual-Branch Framework for Tomato Leaf Disease Classification Using Heterogeneous Field and Public Images
DOI:
https://doi.org/10.64229/1k870c91Keywords:
Tomato leaf disease, MobileNetV2, Attention mechanism, Feature fusion, Deep learning, Precision agricultureAbstract
Tomato foliar diseases reduce yield, degrade fruit quality, and cause major economic losses, especially in regions such as Nigeria where diagnosis still relies largely on manual visual inspection. Although deep learning has improved automated plant disease recognition, many models are trained on controlled datasets that do not capture field variability. This study presents an attention-guided multi-branch transfer learning framework for tomato leaf disease classification using a heterogeneous dataset of 20,245 images from South-West Nigerian farms and public sources, spanning ten disease categories. Field-acquired labels were assigned through visual symptom assessment with expert adjudication of uncertain cases and should therefore be interpreted as symptom-based classifications rather than pathogen-confirmed diagnoses. During preliminary backbone screening, MobileNetV2 was selected as the pretrained feature-extraction pathway because it combined strong recorded classification performance with a compact model profile. MultiBranchFusionNet integrates a frozen ImageNet-pretrained MobileNetV2 branch enhanced with Squeeze-and-Excitation attention and a custom convolutional branch, with feature-level fusion used to improve discrimination among visually similar disease classes. Under the evaluated mixed-source image-level protocol, the proposed model achieved 97.28% test accuracy, with macro-precision, macro-recall, and macro-F1-score values of 96.75%, 96.69%, and 96.66%, respectively. Calibration and qualitative Grad-CAM analyses were used to examine model behaviour. The image-level partitioning strategy, together with the absence of systematically retained plant- and acquisition-group identifiers, prevented verification of independence at the plant, farm, acquisition-session, state, collection-phase, or source level. Although combining field-acquired and public images increased acquisition diversity within the assembled dataset, it did not constitute source-independent external validation. The reported performance should therefore be interpreted as internal mixed-source image-level performance rather than evidence of independent field-domain generalisation. The model has a compact size of approximately 15.28 MB, supporting its characterisation as architecturally lightweight; however, practical mobile or edge deployment remains to be established through direct device-level evaluation.
References
[1]Akotowanou OCA, Adjou ES, Olubi AB, Kougblenou SD, Ahoussi ED, Sohounhloué DC. The tomato (Solanum lycopersicum L.) in community development: An overview focuscent achievements and future prospective. International Journal of Frontiers in Biology and Pharmacy Research, 2022, 3(2), 8-16. DOI: 10.53294/ijfbpr.2022.3.2.0061
[2]Collins EJ, Bowyer C, Tsouza A, Chopra M. Tomatoes: An extensive review of the associated health impacts of tomatoes and factors that can affect their cultivation. Biology, 2022, 11(2), 239. DOI: 10.3390/biology11020239
[3]Khan UM, Sevindik M, Zarrabi A, Nami M, Ozdemir B, Kaplan DN, et al. Lycopene: Food sources, biological activities, and human health benefits. Oxidative medicine and cellular longevity, 2021, 2021(1), 2713511. DOI: 10.1155/2021/2713511
[4]Mohammed KO, Alim AS, Abubakar ZU, Ibrahim T. Impact analysis of tomato contract farming on farmers welfare in Kano State, Nigeria. Journal of Entomology and Agronomy Studies, 2026, 11(1), 23-40. DOI: 10.70382/bjeas.v11i1.036
[5]Modiba MP, Bell T, Glick B, Babalola OO. Ralstonia solanacearum and Xanthomonas perforans as causal agents of bacterial disease of tomato. MicrobiologyOpen, 2025, 14(6), e70195. DOI: 10.1002/mbo3.70195
[6]Oladipo EK, Oladipo B, Ojumu TV, Caleb OJ. Postharvest losses of tomato: Causes, spoilage mechanisms, and advances in conventional and emerging technologies for preservation. Food Research International, 2026, 227, 118247. DOI: 10.1016/j.foodres.2025.118247
[7]Khan M, Gulan F, Arshad M, Zaman A, Riaz A. Early and late blight disease identification in tomato plants using a neural network-based model to augmenting agricultural productivity. Science Progress, 2024, 107(3), 368504241275371. DOI: 10.1177/00368504241275371
[8]Panthee DR, Pandey A, Paudel R. Multiple foliar fungal disease management in tomatoes: A comprehensive approach. International Journal of Plant Biology, 2024, 15(1), 69-93. DOI: 10.3390/ijpb15010007
[9]Jonathan SG, Okunola TT, Nwaokolo VM, Omeonu FC, Adegoke BA, Salaam SM. Challenges confronting plant disease management in Nigeria. Journal of Agriculture and Aquaculture, 2025, 7(1), 1-7. DOI: 10.5281/zenodo.14955777
[10]Lahlali R, Taoussi M, Laasli S, Gachara G, Ezzouggari R, Belabess Z, et al. Effects of climate change on plant pathogens and host-pathogen interactions. Crop and Environment, 2024, 3(3), 159-170. DOI: 10.1016/j.crope.2024.05.003
[11]Zhou J, Zhang X, Qu Z, Zhang C, Wang F, Gao T, et al. Progress in research on prevention and control of crop fungal diseases in the context of climate change. Agriculture, 2024, 14(7), 1108. DOI: 10.3390/agriculture14071108
[12]Sawadogo S, Tiendrebeogo F, Tibiri EB, Name PE, Djigma F, Traoré L, et al. Artificial intelligence tool for cassava viral diseases diagnosis using participatory surveillance in Burkina Faso. Frontiers in Sustainable Food Systems, 2025, 9, 1597039. DOI: 10.3389/fsufs.2025.1597039
[13]Adesoba OC. A deep learning approach for disease detection in maize crops. IT Journal Research and Development, 2025, 10(1), 53-66. DOI: 10.25299/itjrd.2025.22875
[14]Das A, Pathan F, Jim JR, Kabir MM, Mridha M. Deep learning-based classification, detection, and segmentation of tomato leaf diseases: A state-of-the-art review. Artificial Intelligence in Agriculture, 2025, 15(2), 192-220. DOI: 10.1016/j.aiia.2025.02.006
[15]Ghimire S, Lamsal R, Sankuratri A, Lakkarsu P, Vutla S. Artificial intelligence-driven plant disease detection and diagnosis: A comprehensive review of deep learning approaches, multimodal sensing technologies, and future perspectives in precision agriculture. The Plant Pathology Journal, 2026, 42(2), 121-137. DOI: 10.5423/PPJ.RW.01.2026.0004
[16]Mamo TY. Plant pathology: Crossing the boundaries with novel approaches and perspectives for scientists. Pathology and Laboratory Medicine, 2024, 8(1), 1-8. DOI: 10.11648/j.plm.20240801.11
[17]Adesoba OC, Apena WO, Dahunsi FM, Ajayi AM. Hybrid deep learning models for efficient detection and classification of tomato plant leaf diseases. Journal of Artificial Intelligence and System Modelling, 2026, 4(1), 18-42. DOI: 10.22034/jaism.2026.552056.1164
[18]Gunasekaran H, Rajkumar S, Kirubhadharsini BL. Lightweight deep learning for tomato disease detection: Trends, challenges, and edge AI perspectives. Frontiers in Plant Science, 2026, 16, 1737208. DOI: 10.3389/fpls.2025.1737208
[19]Tian K, Zeng J, Song T, Li Z, Evans A, Li J. Tomato leaf diseases recognition based on deep convolutional neural networks. Journal of Agricultural Engineering, 2023, 54(1), 1432. DOI: 10.4081/jae.2022.1432
[20]Dhanya R, Mythili S, Rexeena X, Devadas D. Detection of tomato leaf diseases using deep learning and spatial attention mechanisms. International Journal of Research and Scientific Innovation, 2025, 12(7), 1144-1153. DOI: 10.51244/IJRSI.2025.120700118
[21]Jelali M. Deep learning networks-based tomato disease and pest detection: A first review of research studies using real field datasets. Frontiers in Plant Science, 2024, 15, 1493322. DOI: 10.3389/fpls.2024.1493322
[22]Vithalani SK, Dabhi VK. A novel deep learning approach for tomato leaf disease detection using optimized CNN architecture. Journal of Computer Science, 2026, 22(1), 47-60. DOI: 10.3844/jcssp.2026.47.60
[23]Mallick MT, Banerjee S, Thakur N, Saha HN, Chakrabarti A. Evaluation of state-of-the-art deep learning techniques for plant disease and pest detection. Computers, Materials & Continua, 2025, 85(1), 121-180. DOI: 10.32604/cmc.2025.065250
[24]Mohanty SP, Hughes DP, Salathé M. Using deep learning for image-based plant disease detection. Frontiers in Plant Science, 2016, 7, 1419. DOI: 10.3389/fpls.2016.01419
[25]Ferentinos KP. Deep learning models for plant disease detection and diagnosis. Computers and Electronics in Agriculture, 2018, 145, 311-318. DOI: 10.1016/j.compag.2018.01.009
[26]Too EC, Yujian L, Njuki S, Yingchun L. A comparative study of fine-tuning deep learning models for plant disease identification. Computers and Electronics in Agriculture, 2019, 161, 272-279. DOI: 10.1016/j.compag.2018.03.032
[27]Deb N, Rahman T. An efficient VGG16-based deep learning model for automated potato pest detection. Smart Agricultural Technology, 2025, 12, 101409. DOI: 10.1016/j.atech.2025.101409
[28]Assaduzzaman M, Bishshash P, Nirob MAS, Marouf AA, Rokne JG, Alhajj R. XSE-TomatoNet: An explainable AI-based tomato leaf disease classification method using EfficientNetB0 with squeeze-and-excitation blocks and multi-scale feature fusion. MethodsX, 2025, 14, 103159. DOI: 10.1016/j.mex.2025.103159
[29]Zhao J, Xu L, Ma Z, Li J, Wang X, Liu Y, et al. A review of plant leaf disease identification by deep learning algorithms. Frontiers in Plant Science, 2025, 16, 1637241. DOI: 10.3389/fpls.2025.1637241
[30]Desai J, Ganatra A. Comprehensive study of various machine learning models for plant disease detection: Analysis of deep models on tomato plant. International Journal of Innovative Research and Scientific Studies, 2025, 8(3), 4962-4976. DOI: 10.53894/ijirss.v8i3.7697
[31]Barbedo JGA. Plant disease identification from individual lesions and spots using deep learning. Biosystems Engineering, 2019, 180, 96-107. DOI: 10.1016/j.biosystemseng.2019.02.002
[32]Song X, Yan L, Liu S, Gao T, Han L, Jiang X, et al. Agricultural image processing: Challenges, advances, and future trends. Applied Sciences, 2025, 15(16), 9206. DOI: 10.3390/app15169206
[33]Vijayakanthan G, Nasser M, Algbear AF, Alosaimi HM, Ibrahim AO, Ravi V. Explainable and lightweight deep learning models for tea leaf disease detection: A systematic review and future research directions. Smart Agricultural Technology, 2026, 14, 102042. DOI: 10.1016/j.atech.2026.102042
[34]Poonam, Nayak SK, Mishra R. A deep learning approach for optimizing edge computing for real-time IoT applications. International Journal of Research and Review in Applied Science, Humanities, and Technology, 2025, 2(2), 43-51. DOI: 10.71143/w40tra50
[35]Li L, Liu CZ, Cao K, Zhou Z, Alrowaily M. Artificial intelligence of things for smart agriculture with optimal embedded edge intelligence. Computers & Electrical Engineering, 2026, 133, 111039. DOI: 10.1016/j.compeleceng.2026.111039
[36]Tiwari V, Joshi RC, Dutta MK. Dense convolutional neural networks based multiclass plant disease detection and classification using leaf images. Ecological Informatics, 2021, 63, 101289. DOI: 10.1016/j.ecoinf.2021.101289
[37]Abetu MT, Abebe TU, Tune KK. Efficient and robust deep learning for field-level wheat disease classification on resource-constrained devices. Smart Agricultural Technology, 2026, 14, 102091. DOI: 10.1016/j.atech.2026.102091
[38]Karimanzira D. Context-aware tomato leaf disease detection using deep learning in an operational framework. Electronics, 2025, 14(4), 661. DOI: 10.3390/electronics14040661
[39]Ashurov AY, Al-Gaashani MSAM, Samee NA, Alkanhel R, Atteia G, Abdallah HA, et al. Enhancing plant disease detection through deep learning: A depthwise CNN with squeeze and excitation integration and residual skip connections. Frontiers in Plant Science, 2025, 15, 1505857. DOI: 10.3389/fpls.2024.1505857.
[40]Lu X, Yang M, Chen Y, Xiong S, Lu X. Multibranch fusion-based feature enhance for remote-sensing scene classification. IEEE Transactions on Geoscience and Remote Sensing, 2025, 63, 1-17. DOI: 10.1109/TGRS.2025.3546638
[41]Hu J, Shen L, Albanie S, Sun G, Wu E. Squeeze-and-Excitation networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2020, 42(8), 2011-2023. DOI: 10.1109/TPAMI.2019.2913372
[42]Sun W, Xu Z, Xu K, Ru L, Yang R, Wang R, et al. Ultra-lightweight tomatoes disease recognition method based on efficient attention mechanism in complex environment. Frontiers in Plant Science, 2025, 15, 1491593. DOI: 10.3389/fpls.2024.1491593
[43]Batool A, Kim J, Byun YC. A compact deep learning approach integrating depthwise convolutions and spatial attention for plant disease classification. Plant Methods, 2025, 21, 48. DOI: 10.1186/s13007-025-01325-4
[44]Deng L, Qin J, Li K, Zhu J, Wang Z. DAMSLNet: Dual-attention multi-scale lightweight network for plant disease classification. Engineering Applications of Artificial Intelligence, 2025, 159, 111590. DOI: 10.1016/j.engappai.2025.111590
[45]Adithiyaa D, Lakshhmi Narayanan T, Prusty MR. An attention-augmented lightweight convolutional framework for fine-grained plant leaf disease classification. Frontiers in Plant Science, 2026, 17, 1762956. DOI: 10.3389/fpls.2026.1762956
[46]Chaudhry C. PlantVillage tomato leaf dataset. Kaggle. 2021. Available from: https://www.kaggle.com/datasets/charuchaudhry/plantvillage-tomato-leaf-dataset (accessed on 22 June 2025).
[47]Guo C, Pleiss G, Sun Y, Weinberger KQ. On calibration of modern neural networks. Proceedings of the 34th International Conference on Machine Learning. Proceedings of Machine Learning Research, 2017, 70, 1321-1330. Available from https://proceedings.mlr.press/v70/guo17a.html (accessed on 12 July 2025).
[48]Karthikeyan S, Charan R, Narayanan S, Jani Anbarasi L. Enhanced plant disease classification with attention-based convolutional neural network using squeeze and excitation mechanism. Frontiers in Artificial Intelligence, 2025, 8, 1640549. DOI: 10.3389/frai.2025.1640549
[49]Hoang T, Bui V, Nguyen V, Doan D, Dang H, Pham A. A comprehensive evaluation of lightweight deep learning models for tomato disease classification on edge computing environments. Scientific Reports, 2026, 16, 12320. DOI: 10.1038/s41598-026-42439-6
[50]Tunio MH, Li JP, Zeng X, Awais A, Shah SA, Shaikh H-U, et al. Advancing plant disease classification: A robust and generalized approach with transformer-fused convolution and Wasserstein domain adaptation. Computers and Electronics in Agriculture, 2024, 227, 109574. DOI: 10.1016/j.compag.2024.109574
[51]Ergün E, Okumus H, Cinar OE, Batan N. Confidence and uncertainty aware deep learning for reliable grape leaf disease diagnosis under real world field conditions. Frontiers in Plant Science, 2026, 17, 1839652. DOI: 10.3389/fpls.2026.1839652
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Olayiwola Charles Adesoba, Waliu Olalekan Apena, Folasade Mojisola Dahunsi, Ayodele Martins Ajayi (Author)

This work is licensed under a Creative Commons Attribution 4.0 International License.