DenseNet-BiFPN-ECA Fusion Network: An Enhanced Transfer Learning Approach for Tomato Leaf Disease Recognition
Abstract
1. Introduction
- (1)
- We propose a novel DenseNet-BiFPN-ECA Fusion Network architecture for tomato leaf disease recognition. This architecture strategically integrates a bidirectional feature pyramid network (BiFPN) and an efficient channel attention (ECA) mechanism into a transfer learning-based DenseNet121 backbone, specifically designed to address the challenges of multi-scale lesion representation and complex background interference prevalent in natural agricultural scenarios.
- (2)
- We constructed a tomato leaf disease image dataset named FC-TLFD (Fujian Changle Tomato Leaf Field Dataset), which was collected from complex greenhouse environments. The dataset encompasses diverse conditions such as variable weather, lighting, shooting distance, and camera perspectives, thereby supporting research on disease identification in real-world scenarios.
2. Materials and Methods
2.1. Datasets
2.2. The Proposed DenseNet-BiFPN-ECA Fusion Network
2.3. Experimental Settings
2.3.1. Training Settings
2.3.2. Evaluation Metrics
3. Results
3.1. Ablation Experiment
3.2. Comparison with State-of-the-Art Methods
4. Discussion
5. Conclusions
Author Contributions
Funding
Data Availability Statement
Conflicts of Interest
References
- Mengesha, A.T.; Mengistie, M.A. Applying Transfer Learning in CNN Model Architectures for Detecting Tomato Leaf Disease with Explainable Artificial Intelligence. Smart Agric. Technol. 2025, 11, 101034. [Google Scholar] [CrossRef]
- Shehu, H.A.; García-Díaz, V.; Casado-Vara, R.; Cánovas-García, M. YOLO for Early Detection and Management of Tuta absoluta-Induced Tomato Leaf Diseases. Front. Plant Sci. 2025, 16, 1524630. [Google Scholar] [CrossRef]
- Qi, J.; Qi, X.; Liu, Y. An Improved YOLOv5 Model Based on Visual Attention Mechanism: Application to Recognition of Tomato Virus Disease. Comput. Electron. Agric. 2022, 194, 106957. [Google Scholar] [CrossRef]
- Shehu, H.A.; Casado-Vara, R.; García-Díaz, V.; Cánovas-García, M. Artificial Intelligence for Early Detection and Management of Tuta absoluta-Induced Tomato Leaf Diseases: A Systematic Review. Eur. J. Agron. 2025, 170, 127669. [Google Scholar] [CrossRef]
- Sambana, B.; Kovvur, R.M.R.; Sairam, D.; Sridhar, G. An Efficient Plant Disease Detection Using Transfer Learning Approach. Sci. Rep. 2025, 15, 19082. [Google Scholar] [CrossRef]
- Sharma, J.; Ahmed, S.; Mahapatra, S.; Singh, S. Deep Learning Based Ensemble Model for Accurate Tomato Leaf Disease Classification by Leveraging ResNet50 and MobileNetV2 Architectures. Sci. Rep. 2025, 15, 13904. [Google Scholar] [CrossRef]
- Raval, H.; Chaki, J. Ensemble Transfer Learning Meets Explainable AI: A Deep Learning Approach for Leaf Disease Detection. Ecol. Inform. 2024, 84, 102925. [Google Scholar] [CrossRef]
- Dixit, A.K.; Verma, R. Advanced Hybrid Model for Multi Paddy Diseases Detection Using Deep Learning. EAI Endorsed Trans. Perv. Health Technol. 2023, 9, e5. [Google Scholar] [CrossRef]
- Sharma, R.; Naaz, S.; Vaidya, P. Harnessing Deep Learning with AlexNet for Tomato Leaf Disease Detection in the Indian Himalayan Terrain. J. Electr. Comput. Eng. 2025, 2025, 2807347. [Google Scholar] [CrossRef]
- Eliwa, E.H.I.; Hafeez, T.A.E. Advancing Crop Health with YOLOv11 Classification of Plant Diseases. Neural Comput. Appl. 2025, 37, 15223–15253. [Google Scholar] [CrossRef]
- Trivedi, N.K.; Anand, S.; Reema, J.K.; Bansal, P.; Pandey, R.K. Skill-Honey Badger Optimisation Algorithm-Enabled Deep Convolutional Neural Network for Multiclass Leaf Disease Detection in Tomato Plant. J. Phytopathol. 2024, 172, e70001. [Google Scholar] [CrossRef]
- Javidan, S.M.; Banakar, A.; Vakilian, K.A.; Ampatzidis, Y. Tomato Fungal Disease Diagnosis Using Few-Shot Learning Based on Deep Feature Extraction and Cosine Similarity. AgriEngineering 2024, 6, 4233–4247. [Google Scholar] [CrossRef]
- Jelali, M. Deep Learning Networks-Based Tomato Disease and Pest Detection: A First Review of Research Studies Using Real Field Datasets. Front. Plant Sci. 2024, 15, 1493322. [Google Scholar] [CrossRef]
- Reis, H.C. Advanced Tomato Disease Detection Using the Fusion of Multiple Deep-Learning and Meta-Learning Techniques. J. Crop Health 2024, 76, 1553–1567. [Google Scholar] [CrossRef]
- Karthika, J.; Asha, R.; Priyanka, N.; Amshavalli, R. Integrating NMSA Based Advanced Light-Weight Aggregated Fusion Channel Network for Robust Tomato Leaf Disease Detection. Multimed. Tools Appl. 2024, 84, 30227–30258. [Google Scholar]
- Nasr, M.; Torkey, H.; Ebeid, H. Comparative Analysis of Noise Estimation Methods in Computed Tomography Images: Histogram Analysis, L2 Norm, SSIM, and CNN-Based Classification with ResNet50. Digit. Signal Process. 2025, 166, 105242. [Google Scholar] [CrossRef]
- Kumari, B.S.; Komma, A.; Rajat, A.; Sethy, P.K. ResNet101-SVM: Hybrid Convolutional Neural Network for Citrus Fruits Classification. J. Intell. Fuzzy Syst. 2024, 46, 7035–7045. [Google Scholar]
- Arnob, A.S.; Al Mamun, M.A.; Rahman, M.A. Comparative Result Analysis of Cauliflower Disease Classification Based on Deep Learning Approach VGG16, Inception v3, ResNet, and a Custom CNN Model. Hybrid Adv. 2025, 10, 100440. [Google Scholar] [CrossRef]
- Mohanty, S.P.; Hughes, D.P.; Salathé, M. Using deep learning for image-based plant disease detection. Front. Plant Sci. 2025, 7, 1419. [Google Scholar] [CrossRef]
- Wang, Z.; Wu, W.; Wang, J.; Guo, Z. A Machine Learning-Based Irrigation Prediction Model for Cherry Tomatoes in Greenhouses: Leveraging Optimal Growth Data for Precision Irrigation. Comput. Electron. Agric. 2025, 237, 110558. [Google Scholar] [CrossRef]
- Veronica, C.; Palmitessa, O.D.; Leoni, B.; Renna, M.; Santamaria, P. Morpho-Physiological Classification of Italian Tomato Cultivars (Solanum lycopersicum L.) According to Drought Tolerance during Vegetative and Reproductive Growth. Plants 2021, 10, 1826. [Google Scholar] [CrossRef]
- Li, K.; Wang, C.; Fan, Y.; Han, Y.; Liu, J. Attention-Optimized DeepLab V3+ for Automatic Estimation of Cucumber Disease Severity. Plant Methods 2022, 18, 109. [Google Scholar] [CrossRef]
- Bao, H.; Huang, L.; Zhang, Y.; Pang, H. Early Discrimination and Visualization of Tomato Early Blight Based on Hyperspectral Images. Prog. Biochem. Biophys. 2025, 52, 513–524. [Google Scholar]
- Zhang, R.; Xu, L.; Huang, K.; Yang, S.; Kong, Q.; Yuan, S. Field Efficacy of Multiple Fungicides Against Tomato Late Blight in Yunnan. China Plant Prot. 2024, 44, 85–87+101. [Google Scholar]
- Zhao, D.; Zhang, Y.; Wang, Z.; Bai, X.; Wang, X. Detection Method for Tomato Leaf Mold During Latent Period Based on Hyperspectral Imaging. J. Agric. Mach. 2025, 56, 390–397. [Google Scholar]
- Zou, F.; Xiong, Z.; Wang, C.; Luo, X.; Ma, H.; He, L. Identification of Pathogen and Fungicide Efficacy for Tomato Gray Leaf Spot in Jiangxi Province. J. Hunan Agric. Univ. Nat. Sci. Ed. 2025, 51, 48–53. [Google Scholar]
- Shao, T.; Cai, Z.; Liu, Y.; Shi, X.; Wang, J. Prediction of Pathological Grade of Oral Squamous Cell Carcinoma and Construction of Prognostic Model Based on Deep Learning Algorithm. Discov. Oncol. 2025, 16, 976. [Google Scholar] [CrossRef] [PubMed]
- Chen, H.; Wang, H.; Shi, L.; Tang, J.; Xu, Z. A Robust YOLOv5 Model with SE Attention and BIFPN for Jishan Jujube Detection in Complex Agricultural Environments. Agriculture 2025, 15, 665. [Google Scholar] [CrossRef]
- Cui, W.; Li, Z.; Wang, Y.; Liu, J. Apple Yield Estimation Method Based on CBAM-ECA-Deeplabv3+ Image Segmentation and Multi-Source Feature Fusion. Sensors 2025, 25, 3140. [Google Scholar] [CrossRef] [PubMed]
- Gu, J.; Wu, Y.; Zhang, Y.; Wang, D. Research on the Quality Grading Method of Ginseng with Improved DenseNet121 Model. Electronics 2024, 13, 4504. [Google Scholar] [CrossRef]
- Huang, X.; Zhang, C.; Chen, X. Occluded Tomato Disease Image Recognition by Integrating Multi-Scale Features. J. Chin. Agric. Mech. 2024, 45, 194–200. [Google Scholar]
- Zhang, L.; Wang, J.; Liu, S.; Wang, G. DCF-Yolov8: An Improved Algorithm for Aggregating Low-Level Features to Detect Agricultural Pests and Diseases. Agronomy 2023, 13, 2012. [Google Scholar] [CrossRef]
- Li, M.; Liu, S.; Ouyang, Y.; Zhang, P. Efficient Lightweight Citrus Leaf Disease Detection Model Based on YOLOv8n. J. Zhejiang Agric. 2025, 37, 2198–2208. [Google Scholar]
- Ni, H.; Wang, G.; Cai, W.; Zhou, Y.; Gao, J. Classification of Typical Pests and Diseases of Rice Based on the ECA Attention Mechanism. Agriculture 2023, 13, 1066. [Google Scholar] [CrossRef]
- Terzioğlu, H.; Gölcük, A.; Shakarji, A.M.A.; Al-Bayati, M.Y. Comparative analysis of deep learning-based feature extraction and traditional classification approaches for tomato disease detection. Agronomy 2025, 15, 1509. [Google Scholar] [CrossRef]
- Zhang, R.; Pei, C.; Shi, J.; Wang, S. Construction and validation of a general medical image dataset for pretraining. J. Imaging Inform. Med. 2025, 38, 1051–1061. [Google Scholar] [CrossRef]
- Vabalas, A.; Gowen, E.; Poliakoff, E.; Casson, A.J. Machine learning algorithm validation with a limited sample size. PLoS ONE 2019, 14, e0224365. [Google Scholar] [CrossRef]
- Smith, L.N. A disciplined approach to neural network hyper-parameters: Part 1—Learning rate, batch size, momentum, and weight decay. arXiv 2018, arXiv:1803.09820. [Google Scholar]
- Zhao, N.; Bui, T.; Jia, Y.Y.; Dzieciolowski, K. Outperformance score: A universal standardization method for confusion-matrix-based classification performance metrics. arXiv 2025, arXiv:2505.07033. [Google Scholar]
- Tharwat, A. Classification assessment methods. Appl. Comput. Inform. 2021, 17, 168–192. [Google Scholar] [CrossRef]
- Liu, S.; Qiao, Y.; Li, J.; Zhang, H.; Zhang, M.; Wang, M. An improved lightweight network for real-time detection of apple leaf diseases in natural scenes. Agronomy 2022, 12, 2363. [Google Scholar] [CrossRef]
- Cristea, A.M.; Dobre, C. Federated Transfer Learning for Tomato Leaf Disease Detection Using Neuro-Graph Hybrid Model. AgriEngineering 2025, 7, 432. [Google Scholar] [CrossRef]
- Wang, Q.; Wu, B.; Zhu, P.; Li, P.; Zuo, W.; Hu, Q. ECA-Net: Efficient channel attention for deep convolutional neural networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Seattle, WA, USA, 13–19 June 2020; pp. 11534–11542. [Google Scholar]
- Minghao, Z.; Wei, Q.; Xiangdong, W.; Zhe, Y.; Xiaohong, X.; Liheng, Z.; Xing, H. Assessment of gully erosion susceptibility in Northeast China’s black soil region using new stacking model with multiple machine learning algorithms. Soil Tillage Res. 2026, 257, 106964. [Google Scholar] [CrossRef]
- Liao, J.; Liu, Y.; Wang, H.; He, X.; Huang, Y.; Han, Z.; Fang, J.; Chen, P.; Hu, J. AI-assisted transient emission prediction for diesel engines based on a novel hybrid model combined multiple machine learning algorithms and XGBoost. J. Environ. Chem. Eng. 2025, 13, 119649. [Google Scholar] [CrossRef]
- Too, E.C.; Yujian, L.; Njuki, S.; Yingchun, L. A comparative study of fine-tuning deep learning models for plant disease identification. Comput. Electron. Agric. 2019, 161, 272–279. [Google Scholar] [CrossRef]
- Dastres, E.; Esmaeili, H.; Sonboli, A.; Mirjalili, M.H. Optimizing cultivation areas for Salvia leriifolia using advanced spatial prediction and hybrid machine learning algorithms for maximum bioactive compound yield. Smart Agric. Technol. 2025, 12, 101482. [Google Scholar] [CrossRef]
- Hilaili, M.; Fathi-Najafabadi, A.; Nurwahyuningsih; Rahman, A.; Jahari, M.B.; Russo, L.; Kondo, N.; Fatchurrahman, D. The authentication of the local cured Nicotiana tabacum L. based on varieties by using machine learning algorithms. Next Res. 2025, 2, 101039. [Google Scholar] [CrossRef]
- Junyang, W.; Maskat, M.Y.; Mohd Ali, M. Non-destructive monitoring of postharvest quality changes in chili (Capsicum frutescens) during storage using image processing coupled with machine learning. Postharvest Biol. Technol. 2026, 234, 114140. [Google Scholar] [CrossRef]
- Herrera Ollachica, D.A.; Asiedu Asante, B.K.; Imamura, H. Advancing Water Hyacinth Recognition: Integration of Deep Learning and Multispectral Imaging for Precise Identification. Remote Sens. 2025, 17, 689. [Google Scholar]
- Wang, H.; Ruan, C.; Zhao, J.; Wang, Y.; Li, Y.; Dong, Y.; Huang, L. Utilizing interpretable machine learning algorithms and multiple features from multi-temporal Sentinel-2 imagery for predicting wheat fusarium head blight. Artif. Intell. Agric. 2026, 16, 224–239. [Google Scholar] [CrossRef]
- Türkoğlu, M.; Hanbay, D. Plant disease and pest detection using deep learning-based features. Turk. J. Electr. Eng. Comput. Sci. 2019, 27, 1636–1651. [Google Scholar] [CrossRef]
- Saurabh, K.; Mahapatra, S.; Tripathi, M.M. An Adaptive Bandwidth Scheduling Algorithm for IoT Devices Using Machine Learning Techniques. Frankl. Open 2026, 14, 100492. [Google Scholar] [CrossRef]
- Lu, Y.; Young, S. A survey of public datasets for computer vision tasks in precision agriculture. Comput. Electron. Agric. 2020, 178, 105760. [Google Scholar] [CrossRef]
- Elfouly, M.K.; AbdelAziz, A.M.; Gomaa, W.H.; Abdalla, M. A deep learning-based framework for large-scale plant disease detection using big data analytics in precision agriculture. J. Big Data 2025, 12, 205. [Google Scholar] [CrossRef]
- Zhang, J.; Xiao, C.; Liang, X.; Yang, W.; Fang, Z.; Zhang, L.; Dai, R.; Li, W.; Ni, H. Machine Learning Based on a Swarm Intelligence Algorithm and Explainable Ai for the Prediction of Reservoir Temperature. Energy 2025, 341, 139412. [Google Scholar] [CrossRef]







| Datasets | Models | Accuracy (%) | Final Loss | Parameters (M) | Inference Speed (ms/img) | Cross-Validation Accuracy (Mean ± SD, %) |
|---|---|---|---|---|---|---|
| FC TLFD | DenseNet-ECA | 83.59 | 0.039 | 7.1 | 5.2 | 82.96 (±0.0029) |
| DenseNet-BiFPN | 88.28 | 0.163 | 8.3 | 6.8 | 88.54 (±0.0030) | |
| DenseNet-BiFPN-ECA Fusion Network | 90.63 | 0.068 | 8.5 | 7.1 | 90.23 (±0.0025) | |
| Plant Village dataset | DenseNet-ECA | 97.92 | 0.017 | 7.1 | 5.2 | 96.58 (±0.0019) |
| DenseNet-BiFPN | 97.81 | 0.083 | 8.3 | 6.8 | 97.26 (±0.0023) | |
| DenseNet-BiFPN-ECA Fusion Network | 98.47 | 0.033 | 8.5 | 7.1 | 98.36 (±0.0016) |
| Datasets | Models | Accuracy (%) | Final Loss | Parameters (M) | Inference Speed (ms/img) | Cross-Validation Accuracy (Mean ± SD, %) |
|---|---|---|---|---|---|---|
| FC TLFD | DenseNet | 70.31 | 0.140 | 7.1 | 5.2 | 69.45 (±0.0031) |
| VGG16 | 83.59 | 0.022 | 138.4 | 15.8 | 83.63 (±0.0028) | |
| ResNet101 | 73.44 | 0.149 | 44.5 | 10.3 | 73.21 (±0.0021) | |
| DenseNet-BiFPN-ECA Fusion Network | 90.63 | 0.068 | 8.5 | 7.1 | 90.23 (±0.0025) | |
| Plant Village dataset | DenseNet | 72.66 | 0.561 | 7.1 | 5.2 | 72.35 (±0.0028) |
| VGG16 | 86.72 | 0.040 | 138.4 | 15.8 | 87.26 (±0.0029) | |
| ResNet101 | 95.63 | 0.007 | 44.5 | 10.3 | 95.66 (±0.0022) | |
| DenseNet-BiFPN-ECA Fusion Network | 98.47 | 0.033 | 8.5 | 7.1 | 98.36 (±0.0016) |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2026 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license.
Share and Cite
Liang, L.; Chen, J.; Tian, Y.; Wang, H.; Cai, Y.; Zhong, F.; Wang, S.; Hou, M.; Lu, J. DenseNet-BiFPN-ECA Fusion Network: An Enhanced Transfer Learning Approach for Tomato Leaf Disease Recognition. Horticulturae 2026, 12, 423. https://doi.org/10.3390/horticulturae12040423
Liang L, Chen J, Tian Y, Wang H, Cai Y, Zhong F, Wang S, Hou M, Lu J. DenseNet-BiFPN-ECA Fusion Network: An Enhanced Transfer Learning Approach for Tomato Leaf Disease Recognition. Horticulturae. 2026; 12(4):423. https://doi.org/10.3390/horticulturae12040423
Chicago/Turabian StyleLiang, Lina, Jingnan Chen, Ying Tian, Hongyan Wang, Yiting Cai, Fenglin Zhong, Senpeng Wang, Maomao Hou, and Junyang Lu. 2026. "DenseNet-BiFPN-ECA Fusion Network: An Enhanced Transfer Learning Approach for Tomato Leaf Disease Recognition" Horticulturae 12, no. 4: 423. https://doi.org/10.3390/horticulturae12040423
APA StyleLiang, L., Chen, J., Tian, Y., Wang, H., Cai, Y., Zhong, F., Wang, S., Hou, M., & Lu, J. (2026). DenseNet-BiFPN-ECA Fusion Network: An Enhanced Transfer Learning Approach for Tomato Leaf Disease Recognition. Horticulturae, 12(4), 423. https://doi.org/10.3390/horticulturae12040423
