Lightweight Hybrid Deep Learning for Strawberry Disease Recognition and Edge Deployment Using Dynamic Multi-Scale CNN–Transformer Fusion
Abstract
1. Introduction
2. Related Work
2.1. Strawberry Disease Recognition with CNNs and Lesion Localization
2.2. Transformer-Based Global Reasoning and Hybrid Local–Global Fusion
2.3. Objectives
3. Materials and Methods
3.1. Image Dataset
3.2. Disease Categories and Annotation Protocol
3.3. Overview of the Proposed StrawberryDualNet Framework
3.4. Dual-Branch Feature Extraction
3.4.1. Local Branch: Dynamic Multi-Scale Convolution Module (DMSCM)
3.4.2. Global Branch: Lightweight Transformer Encoder
3.5. Network Architecture
3.6. Training Objective
3.7. Validation Protocol and Best-Split Selection
| Algorithm 1: Best-Split K-Fold Selection |
![]() |
3.8. Fusion Module and Optimization Strategy
3.9. Layer Configuration (Compact Design)
3.10. Image Processing and Disease Localization
| Algorithm 2: Disease detection and approximate lesion mapping with StrawberryDualNet. |
![]() |
4. Results
4.1. Experimental Setup
4.1.1. Evaluation Metrics
4.1.2. Implementation Details
4.2. Comparative Performance Against Baseline CNNs
Seed Sensitivity and Learning Dynamics
4.3. Computational Efficiency and Feasibility for Edge Deployment
4.3.1. Model Complexity and Storage Efficiency
4.3.2. Inference Latency Analysis
- It is 20% faster than MobileNetV2 (210.50 ms).
- It is 21% faster than ShuffleNetV2 (215.51 ms).
- It attains latency comparable to MobileNetV3 (169.99 ms) while being 5.7× smaller in storage.
4.3.3. Quantized Inference for Edge Deployment
4.4. Qualitative Analysis
4.5. Ablation Study
5. Discussion
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Acknowledgments
Conflicts of Interest
Abbreviations
| CNN | Convolutional Neural Network |
| TE | Transformer Encoder |
| DMSC | Dynamic Multi-Scale Convolution |
| FusionGate | Adaptive feature fusion gate |
| SDN | StrawberryDualNet |
| SDN-KFold | StrawberryDualNetKFold |
| K-Fold | K-Fold cross-validation |
| GAP | Global Average Pooling |
| MLP | Multi-Layer Perceptron |
| BN | Batch Normalization |
| LN | Layer Normalization |
| ReLU | Rectified Linear Unit |
| MSA | Multi-Head Self-Attention |
| FFN | Feed-Forward Network |
| RGB | Red–Green–Blue |
| HSV | Hue–Saturation–Value |
| ROI | Region of Interest |
| GPU | Graphics Processing Unit |
| t-SNE | t-distributed Stochastic Neighbor Embedding |
| UMAP | Uniform Manifold Approximation and Projection |
References
- Du, Y.-c.; Yuan, C.-s.; Song, Y.-q.; Yang, Y.; Zheng, Q.-s.; Hou, Q.; Wang, D.; Wang, L. Enhancing soil health and strawberry disease resistance: The impact of calcium cyanamide treatment on soil microbiota and physicochemical properties. Front. Microbiol. 2024, 15, 1366814. [Google Scholar] [CrossRef]
- Chang, Y.K.; Mahmud, M.S.; Shin, J.; Nguyen-Quang, T.; Price, G.W.; Prithiviraj, B. Comparison of Image Texture Based Supervised Learning Classifiers for Strawberry Powdery Mildew Detection. AgriEngineering 2019, 1, 434–452. [Google Scholar] [CrossRef]
- Yang, Y.; Mali, P.; Arthur, L.; Molaei, F.; Atsyo, S.; Geng, J.; He, L.; Ghatrehsamani, S. Advanced technologies for precision tree fruit disease management: A review. Comput. Electron. Agric. 2025, 229, 109704. [Google Scholar] [CrossRef]
- Toda, Y.; Okura, F. How Convolutional Neural Networks Diagnose Plant Disease. Plant Phenomics 2019, 2019, 9237136. [Google Scholar] [CrossRef]
- Yang, T.; Wang, Y.; Lian, J. Plant Diseased Lesion Image Segmentation and Recognition Based on Improved Multi-Scale Attention Net. Appl. Sci. 2024, 14, 1716. [Google Scholar] [CrossRef]
- Liu, C.; Cao, Y.; Wu, E.; Yang, R.; Xu, H.; Qiao, Y. A Discriminative Model for Early Detection of Anthracnose in Strawberry Plants Based on Hyperspectral Imaging Technology. Remote Sens. 2023, 15, 4640. [Google Scholar] [CrossRef]
- Zhang, M.; Liu, C.; Li, Z.; Yin, B. From Convolutional Networks to Vision Transformers: Evolution of Deep Learning in Agricultural Pest and Disease Identification. Agronomy 2025, 15, 1079. [Google Scholar] [CrossRef]
- Lv, Z.; Yang, S.; Ma, S.; Wang, Q.; Sun, J.; Du, L.; Han, J.; Guo, Y.; Zhang, H. Efficient Deployment of Peanut Leaf Disease Detection Models on Edge AI Devices. Agriculture 2025, 15, 332. [Google Scholar] [CrossRef]
- Yue, X.; Qi, K.; Na, X.; Zhang, Y.; Liu, Y.; Liu, C. Improved YOLOv8-Seg Network for Instance Segmentation of Healthy and Diseased Tomato Plants in the Growth Stage. Agriculture 2023, 13, 1643. [Google Scholar] [CrossRef]
- Teodorescu, V.; Obreja Brașoveanu, L. Assessing the Validity of k-Fold Cross-Validation for Model Selection: Evidence from Bankruptcy Prediction Using Random Forest and XGBoost. Computation 2025, 13, 127. [Google Scholar] [CrossRef]
- Zhang, M.; Lin, Z.; Tang, S.; Lin, C.; Zhang, L.; Dong, W.; Zhong, N. Dual-Attention-Enhanced MobileViT Network: A Lightweight Model for Rice Disease Identification in Field-Captured Images. Agriculture 2025, 15, 571. [Google Scholar] [CrossRef]
- Truong-Dang, V.L.; Thai, H.T.; Le, K.H. TinyResViT: A lightweight hybrid deep learning model for on-device corn leaf disease detection. Internet Things 2025, 30, 101495. [Google Scholar] [CrossRef]
- Upadhyay, A.; Chandel, N.S.; Singh, K.P.; Chakraborty, S.K.; Nandede, B.M.; Kumar, M.; Subeesh, A.; Upendar, K.; Salem, A.; Elbeltagi, A. Deep learning and computer vision in plant disease detection: A comprehensive review of techniques, models, and trends in precision agriculture. Artif. Intell. Rev. 2025, 58, 92. [Google Scholar] [CrossRef]
- Xiao, J.R.; Chung, P.C.; Wu, H.Y.; Phan, Q.H.; Yeh, J.L.A.; Hou, M.T.K. Detection of Strawberry Diseases Using a Convolutional Neural Network. Plants 2021, 10, 31. [Google Scholar] [CrossRef]
- Wu, G.; Fang, Y.; Jiang, Q.; Cui, M.; Li, N.; Ou, Y.; Diao, Z.; Zhang, B. Early identification of strawberry leaves disease utilizing hyperspectral imaging combing with spectral features, multiple vegetation indices and textural features. Comput. Electron. Agric. 2023, 204, 107553. [Google Scholar] [CrossRef]
- Li, Y.; Wang, J.; Wu, H.; Yu, Y.; Sun, H.; Zhang, H. Detection of powdery mildew on strawberry leaves based on DAC-YOLOv4 model. Comput. Electron. Agric. 2022, 202, 107418. [Google Scholar] [CrossRef]
- Chen, S.; Liao, Y.; Lin, F.; Huang, B. An Improved Lightweight YOLOv5 Algorithm for Detecting Strawberry Diseases. IEEE Access 2023, 11, 54080–54092. [Google Scholar] [CrossRef]
- Mihajlovic, M.; Marjanovic, M. Enhancing Instance Segmentation in High-Resolution Images Using Slicing-Aided Hyper Inference and Spatial Mask Merging Optimized via R-Tree Indexing. Mathematics 2025, 13, 3079. [Google Scholar] [CrossRef]
- Hu, X.; Wang, R.; Du, J.; Hu, Y.; Jiao, L.; Xu, T. Class-attention-based lesion proposal convolutional neural network for strawberry diseases identification. Front. Plant Sci. 2023, 14, 1091600. [Google Scholar] [CrossRef] [PubMed]
- Yang, B.; Wang, Z.; Guo, J.; Guo, L.; Liang, Q.; Zeng, Q.; Zhao, R.; Wang, J.; Li, C. Identifying plant disease and severity from leaves: A deep multitask learning framework using triple-branch Swin Transformer and deep supervision. Comput. Electron. Agric. 2023, 209, 107809. [Google Scholar] [CrossRef]
- Li, G.; Jiao, L.; Chen, P.; Liu, K.; Wang, R.; Dong, S.; Kang, C. Spatial convolutional self-attention-based transformer module for strawberry disease identification under complex background. Comput. Electron. Agric. 2023, 212, 108121. [Google Scholar] [CrossRef]
- Jia, S.; Wang, G.; Li, H.; Liu, Y.; Shi, L.; Yang, S. ConvTransNet-S: A CNN-Transformer Hybrid Disease Recognition Model for Complex Field Environments. Plants 2025, 14, 2252. [Google Scholar] [CrossRef]
- Li, X.; Li, S. Transformer Help CNN See Better: A Lightweight Hybrid Apple Disease Identification Model Based on Transformers. Agriculture 2022, 12, 884. [Google Scholar] [CrossRef]
- Gookyi, D.A.N.; Wulnye, F.A.; Wilson, M.; Danquah, P.; Danso, S.A.; Gariba, A.A. Enabling Intelligence on the Edge: Leveraging Edge Impulse to Deploy Multiple Deep Learning Models on Edge Devices for Tomato Leaf Disease Detection. AgriEngineering 2024, 6, 3563–3585. [Google Scholar] [CrossRef]
- Zhang, P.; Li, R.; Liu, Y.; Sun, G.; Wen, C. I-GhostNetV3: A Lightweight Deep Learning Framework for Vision-Sensor-Based Rice Leaf Disease Detection in Smart Agriculture. Sensors 2026, 26, 1025. [Google Scholar] [CrossRef]
- Ochoa-Ornelas, R.; Gudiño-Ochoa, A.; Rodríguez González, A.Y.; Trujillo, L.; Fajardo-Delgado, D.; Puga-Nathal, K.L. Lightweight and Accurate Deep Learning for Strawberry Leaf Disease Recognition: An Interpretable Approach. AgriEngineering 2025, 7, 355. [Google Scholar] [CrossRef]
- Afzaal, U.; Bhattarai, B.; Pandeya, Y.R.; Lee, J. An Instance Segmentation Model for Strawberry Diseases Based on Mask R-CNN. Sensors 2021, 21, 6565. [Google Scholar] [CrossRef] [PubMed]
- Chawla, N.V.; Bowyer, K.W.; Hall, L.O.; Kegelmeyer, W.P. SMOTE: Synthetic minority over-sampling technique. J. Artif. Intell. Res. 2002, 16, 321–357. [Google Scholar] [CrossRef]
- Sandler, M.; Howard, A.; Zhu, M.; Zhmoginov, A.; Chen, L.C. MobileNetV2: Inverted Residuals and Linear Bottlenecks. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 4510–4520. [Google Scholar] [CrossRef]
- Li, X.; Wang, W.; Hu, X.; Yang, J. Selective Kernel Networks. In Proceedings of the 2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), Long Beach, CA, USA, 16–21 June 2019; pp. 510–519. [Google Scholar] [CrossRef]
- Dosovitskiy, A.; Beyer, L.; Kolesnikov, A.; Weissenborn, D.; Zhai, X.; Unterthiner, T.; Dehghani, M.; Minderer, M.; Heigold, G.; Gelly, S.; et al. An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale. arXiv 2020, arXiv:2010.11929. [Google Scholar] [CrossRef]
- Zhang, H.W.; Wang, R.F.; Wang, Z.; Su, W.H. DLCPD-25: A Large-Scale and Diverse Dataset for Crop Disease and Pest Recognition. Sensors 2025, 25, 7098. [Google Scholar] [CrossRef] [PubMed]
- Hu, J.; Shen, L.; Sun, G. Squeeze-and-Excitation Networks. In Proceedings of the 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA, 18–23 June 2018; pp. 7132–7141. [Google Scholar] [CrossRef]
- Mittal, P.; Tanwar, V.; Sharma, B.; Yadav, D.P. Unleashing the Potential of Residual and Dual-Stream Transformers for the Remote Sensing Image Analysis. J. Imaging 2025, 11, 156. [Google Scholar] [CrossRef]
- Yu, Z.; Zhao, L.; Liao, T.; Zhang, X.; Chen, G.; Xiao, G. A novel non-pretrained deep supervision network for polyp segmentation. Pattern Recognit. 2024, 154, 110554. [Google Scholar] [CrossRef]
- Xu, Y.X.; Yu, X.H.; Yi, Q.; Zhang, Q.Y.; Su, W.H. Dual-Phase Severity Grading of Strawberry Angular Leaf Spot Based on Improved YOLOv11 and OpenCV. Plants 2025, 14, 1656. [Google Scholar] [CrossRef]
- Mu, S.; Liu, J.; Zhang, P.; Yuan, J.; Liu, X. YS3AM: Adaptive 3D Reconstruction and Harvesting Target Detection for Clustered Green Asparagus. Agriculture 2025, 15, 407. [Google Scholar] [CrossRef]
- Zabel, S.; Hennig, P.; Nieselt, K. Visualizing stability: A sensitivity analysis framework for t-SNE embeddings. Front. Bioinform. 2026, 5, 1719516. [Google Scholar] [CrossRef]
- Yi, W.; Bu, S.; Lee, H.H.; Chan, C.H. Comparative Analysis of Manifold Learning-Based Dimension Reduction Methods: A Mathematical Perspective. Mathematics 2024, 12, 2388. [Google Scholar] [CrossRef]
- Bhakta, S.; Nandi, U.; Changdar, C.; Paul, B.; Si, T.; Pal, R.K. aMacP: An adaptive optimization algorithm for Deep Neural Network. Neurocomputing 2025, 620, 129242. [Google Scholar] [CrossRef]
- Tang, H.; Liu, D.; Shen, C. Data-efficient multi-scale fusion vision transformer. Pattern Recognit. 2025, 161, 111305. [Google Scholar] [CrossRef]
- Hu, B.; Jiang, W.; Zeng, J.; Cheng, C.; He, L. FOTCA: Hybrid transformer-CNN architecture using AFNO for accurate plant leaf disease image recognition. Front. Plant Sci. 2023, 14, 1231903. [Google Scholar] [CrossRef]
- Li, X.; Jiao, L.; Liu, K.; Liu, Q.; Wang, Z. StrawberryNet: Fast and Precise Recognition of Strawberry Disease Based on Channel and Spatial Information Reconstruction. Agriculture 2025, 15, 779. [Google Scholar] [CrossRef]
- Wang, J.; Li, Z.; Gao, G.; Wang, Y.; Zhao, C.; Bai, H.; Lv, Y.; Zhang, X.; Li, Q. BerryNet-Lite: A Lightweight Convolutional Neural Network for Strawberry Disease Identification. Agriculture 2024, 14, 665. [Google Scholar] [CrossRef]
- Pacal, I.; Kunduracioglu, I.; Alma, M.H.; Deveci, M.; Kadry, S.; Nedoma, J.; Slany, V.; Martinek, R. A systematic review of deep learning techniques for plant diseases. Artif. Intell. Rev. 2024, 57, 304. [Google Scholar] [CrossRef]
- Chen, M.; Zou, W.; Niu, X.; Fan, P.; Liu, H.; Li, C.; Zhai, C. Improved YOLOv8-Based Segmentation Method for Strawberry Leaf and Powdery Mildew Lesions in Natural Backgrounds. Agronomy 2025, 15, 525. [Google Scholar] [CrossRef]
- Barbedo, J.G.A. A review on the combination of deep learning techniques with proximal hyperspectral images in agriculture. Comput. Electron. Agric. 2023, 210, 107920. [Google Scholar] [CrossRef]
















| Study | Model | Crop | Supervision | Model Size/Complexity | Deployment Analysis |
|---|---|---|---|---|---|
| Gookyi et al. (2024) [24] | CNN | Tomato | Image-level supervised | 4.60 MB TFLite INT8 | Edge Impulse platform edge device deployment |
| Zhang et al. (2025) [11] | MobileViT-DAP (Hybrid) | Rice | Supervised (hard labels) | 0.75 M params 3.03 MB 0.23 GFLOPs | 5.15 ms latency (CPU) real-time GPU |
| Truong-Dang et al. (2025) [12] | TinyResViT (Hybrid) | Corn | Supervised (cross-entropy) | 1.59 GFLOPs lightweight architecture | 52.67 FPS (Raspberry Pi 4) Jetson Nano |
| I-GhostNetV3 (2026) [25] | GhostNetV3 + Attention | Rice | Supervised with attention | 1.831 M params 248.694 MFLOPs | Vision-sensor-based smart agriculture deployment |
| Light-MobileBerryNet (2025) [26] | MobileNetV3 + Grad-CAM | Strawberry | Interpretable supervised | 0.53M params 2 MB | Mobile deployment 96.6% accuracy Grad-CAM visualization |
| Class | Original Data | Augmented Data | Total Data |
|---|---|---|---|
| Healthy | 331 | 993 | 1324 |
| Anthracnose | 240 | 720 | 960 |
| Gray Mold | 365 | 1095 | 1460 |
| Powdery Mildew | 220 | 660 | 880 |
| Rhizopus Rot | 348 | 1044 | 1392 |
| Black Spot | 400 | 1200 | 1600 |
| All | 1904 | 5712 | 7616 |
| Disease | Identification Features | Criticality |
|---|---|---|
| Gray Mold | Grayish-brown, fuzzy fungal growth on ripe fruits and flowers; spreads quickly in damp conditions, causing significant pre- and post-harvest losses. | 4 |
| Powdery Mildew | White, powdery fungal patches on leaf surfaces, undersides, and stems; may cause curling and chlorosis and reduce photosynthesis. | 2 |
| Anthracnose | Dark, sunken lesions on fruits and leaves; can lead to severe fruit rot, leaf wilting, and significant yield losses if not controlled promptly. | 5 |
| Rhizopus Rot | Soft, watery decay on harvested/stored fruits, with coarse grayish fungal growth thriving under warm and humid postharvest conditions. | 3 |
| Black Spot | Small, circular to irregular dark lesions on leaves and occasionally stems; generally less severe but can contribute to leaf drop and reduced vigor. | 1 |
| Fold | Deviation | Accuracy | Precision | Recall | F1 |
|---|---|---|---|---|---|
| 0 | 0.0867 | 0.9451 | 0.9427 | 0.9461 | 0.9440 |
| 1 | 0.1216 | 0.9348 | 0.9379 | 0.9340 | 0.9348 |
| 2 | 0.1116 | 0.9084 | 0.9111 | 0.9161 | 0.9132 |
| 3 | 0.0637 | 0.9328 | 0.9330 | 0.9335 | 0.9323 |
| 4 | 0.0800 | 0.9409 | 0.9405 | 0.9445 | 0.9423 |
| Mean ± Std | 0.0927 ± 0.0210 | 0.9324 ± 0.0143 | 0.9330 ± 0.0128 | 0.9348 ± 0.0120 | 0.9333 ± 0.0123 |
| Parameter | Value |
|---|---|
| Input image size | |
| Optimizer | Adam |
| Initial learning rate | 0.001 |
| Batch size | 64 |
| Maximum epochs | 500 |
| Early stopping patience | 10 epochs |
| Dropout rate | 0.3 |
| Number of random seeds | 30 (range 0–30) |
| Model | Params | Acc. (Mean ± Std) | 95% CI | Accuracy | Prec. | Rec. | F1 |
|---|---|---|---|---|---|---|---|
| StrawberryDualNet | 38,595 | 0.916 ± 0.016 | [0.910, 0.919] | 0.951 | 0.953 | 0.947 | 0.950 |
| StrawberryDualNetKFold | 38,595 | 0.919 ± 0.018 | [0.912, 0.926] | 0.951 | 0.953 | 0.951 | 0.952 |
| InceptionV3 | 2,000,000 | 0.919 ± 0.017 | [0.912, 0.925] | 0.949 | 0.949 | 0.949 | 0.949 |
| SqueezeNet | 121,701 | 0.900 ± 0.023 | [0.891, 0.909] | 0.937 | 0.944 | 0.935 | 0.940 |
| AlexNet | 2,997,061 | 0.806 ± 0.040 | [0.791, 0.821] | 0.868 | 0.873 | 0.855 | 0.864 |
| MobileNetV2 | 2,299,141 | 0.483 ± 0.058 | [0.461, 0.505] | 0.576 | 0.778 | 0.285 | 0.417 |
| MobileNetV3 | 957,749 | 0.476 ± 0.079 | [0.446, 0.506] | 0.593 | 0.848 | 0.308 | 0.451 |
| ShuffleNetV2 | 1,274,909 | 0.849 ± 0.016 | [0.843, 0.855] | 0.888 | 0.901 | 0.889 | 0.889 |
| ResNet-50 | 23,653,445 | 0.884 ± 0.015 | [0.879, 0.890] | 0.910 | 0.963 | 0.812 | 0.881 |
| Model | Black Spot | Rhizopus Rot | Anthracnose | Gray Mold | Powdery Mildew | Std. Acc. |
|---|---|---|---|---|---|---|
| StrawberryDualNet | 0.9778 | 0.9884 | 0.9531 | 0.9416 | 0.9740 | 0.0191 |
| StrawberryDualKFold | 0.9552 | 0.9901 | 0.8858 | 0.8578 | 0.9069 | 0.0533 |
| InceptionV3 | 0.9567 | 0.9877 | 0.9016 | 0.8514 | 0.8972 | 0.0536 |
| SqueezeNet | 0.9640 | 0.9782 | 0.8952 | 0.8375 | 0.8290 | 0.0692 |
| ShuffleNetV2 | 0.9237 | 0.9564 | 0.8117 | 0.7481 | 0.8363 | 0.0846 |
| AlexNet | 0.8188 | 0.9164 | 0.8343 | 0.7874 | 0.6728 | 0.0884 |
| ResNet50 | 0.9000 | 0.9901 | 0.9223 | 0.8763 | 0.8600 | 0.0508 |
| MobileNetV3 | 0.3989 | 0.7023 | 0.5454 | 0.3399 | 0.3779 | 0.1501 |
| MobileNetV2 | 0.4041 | 0.6719 | 0.6291 | 0.4258 | 0.2663 | 0.1684 |
| Model | Params (M) | FLOPs (M) | Size (MB) | CPU Latency (ms) | CPU FPS |
|---|---|---|---|---|---|
| StrawberryDualNet (Ours) | 0.04 | 71.02 | 0.72 | 168.72 ± 28.95 | 5.9 |
| MobileNetV3 | 0.96 | 38.57 | 4.12 | 169.99 ± 6.66 | 5.9 |
| MobileNetV2 | 2.30 | 200.23 | 9.44 | 210.50 ± 28.46 | 4.8 |
| ShuffleNetV2 | 1.27 | 58.89 | 14.99 | 215.51 ± 9.64 | 4.6 |
| SqueezeNet | 0.12 | 112.87 | 1.51 | 32.53 ± 1.85 | 30.7 |
| InceptionV3 | 2.00 | 535.06 | 23.07 | 94.63 ± 15.45 | 10.6 |
| AlexNet | 3.00 | 317.55 | 34.36 | 20.45 ± 1.30 | 48.9 |
| ResNet50 | 23.65 | 2531.24 | 91.12 | 340.94 ± 39.58 | 2.9 |
| Model | TFLite FP16 | TFLite INT8 | ||||
|---|---|---|---|---|---|---|
| Acc. (%) | Lat. (ms) | FPS | Acc. (%) | Lat. (ms) | FPS | |
| StrawberryDualNet | 95.32 | 12.0 | 83.0 | 84.52 | 69.0 | 14.5 |
| InceptionV3 | 94.91 | 13.5 | 73.8 | 94.70 | 33.1 | 30.2 |
| SqueezeNet | 93.69 | 3.7 | 272.7 | 93.69 | 3.5 | 287.5 |
| AlexNet | 86.76 | 6.3 | 158.5 | 86.97 | 8.0 | 124.5 |
| MobileNetV3 | 27.70 | 1.3 | 777.6 | 24.24 | 41.5 | 24.5 |
| ShuffleNetV2 | 20.57 | 10.9 | 91.6 | 20.57 | 6.6 | 152.4 |
| MobileNetV2 | 18.33 | 5.2 | 193.4 | 17.92 | 6.1 | 164.6 |
| ResNet50 | 14.66 | 70.9 | 14.1 | 14.46 | 52.4 | 19.1 |
| Disease | n | FP16 Acc. (%) | INT8 Acc. (%) | Drop (pp) |
|---|---|---|---|---|
| Anthracnose | 103 | 92.23 | 67.96 | −24.27 |
| Gray Mold | 97 | 90.72 | 71.13 | −19.59 |
| Black Spot | 90 | 97.78 | 85.56 | −12.22 |
| Rhizopus Rot | 101 | 100.00 | 100.00 | 0.00 |
| Powdery Mildew | 100 | 96.00 | 98.00 | +2.00 |
| Overall | 491 | 95.32 | 84.52 | −10.79 |
| StrawberryDualNet | StrawberryDualKFold | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Variant | Acc | Prec | Rec | F1 | Std | 95% CI | Acc | Prec | Rec | F1 | Std | 95%CI |
| Full model | 0.9350 | 0.9372 | 0.9335 | 0.9354 | 0.0163 | 0.9290–0.9411 | 0.9382 | 0.9411 | 0.9360 | 0.9385 | 0.0172 | 0.9318–0.9446 |
| No FusionGate (–FG) | 0.9348 | 0.9364 | 0.9328 | 0.9346 | 0.0181 | 0.9281–0.9416 | 0.9402 | 0.9416 | 0.9379 | 0.9398 | 0.0182 | 0.9334–0.9470 |
| No Transformer (–TR) | 0.9262 | 0.9290 | 0.9211 | 0.9250 | 0.0226 | 0.9177–0.9346 | 0.9246 | 0.9297 | 0.9194 | 0.9245 | 0.0215 | 0.9166–0.9327 |
| No Multi-Scale (–DMSC) | 0.9243 | 0.9265 | 0.9217 | 0.9241 | 0.0174 | 0.9178–0.9307 | 0.9339 | 0.9361 | 0.9314 | 0.9337 | 0.0129 | 0.9290–0.9387 |
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
Haqiq, N.; Zaim, M.; Sbihi, M.; El Alaoui, M.; El Amraoui, K.; El Kazini, Y.; Roukhe, H.; Masmoudi, L. Lightweight Hybrid Deep Learning for Strawberry Disease Recognition and Edge Deployment Using Dynamic Multi-Scale CNN–Transformer Fusion. AgriEngineering 2026, 8, 75. https://doi.org/10.3390/agriengineering8020075
Haqiq N, Zaim M, Sbihi M, El Alaoui M, El Amraoui K, El Kazini Y, Roukhe H, Masmoudi L. Lightweight Hybrid Deep Learning for Strawberry Disease Recognition and Edge Deployment Using Dynamic Multi-Scale CNN–Transformer Fusion. AgriEngineering. 2026; 8(2):75. https://doi.org/10.3390/agriengineering8020075
Chicago/Turabian StyleHaqiq, Nasreddine, Mounia Zaim, Mohamed Sbihi, Mustapha El Alaoui, Khalid El Amraoui, Youssef El Kazini, Hassane Roukhe, and Lhoussaine Masmoudi. 2026. "Lightweight Hybrid Deep Learning for Strawberry Disease Recognition and Edge Deployment Using Dynamic Multi-Scale CNN–Transformer Fusion" AgriEngineering 8, no. 2: 75. https://doi.org/10.3390/agriengineering8020075
APA StyleHaqiq, N., Zaim, M., Sbihi, M., El Alaoui, M., El Amraoui, K., El Kazini, Y., Roukhe, H., & Masmoudi, L. (2026). Lightweight Hybrid Deep Learning for Strawberry Disease Recognition and Edge Deployment Using Dynamic Multi-Scale CNN–Transformer Fusion. AgriEngineering, 8(2), 75. https://doi.org/10.3390/agriengineering8020075



