CWF-YOLO11s: Context-aware and weak-boundary feature recalibration for tomato leaf abnormality detection in natural field scenes
Accurate detection of tomato leaf diseases in natural scenes is limited by large variation in lesion size, weak and gradual lesion boundaries, visually similar nutrient-deficiency symptoms, leaf occlusion, and background interference. To address these challenges, this study developed CWF-YOLO11s, an enhanced detector based on YOLO11s for six-category tomato leaf abnormality detection. The model introduces a context-aware feature neck module, CAFNeckLite, to recalibrate multi-scale fused features in the neck, and a weak-boundary feature recalibration module, WBFRHeadLite, before the P3 and P4 detection branches to enhance local texture and low-contrast boundary responses before prediction. On the Tomato-Village validation set, CWF-YOLO11s achieved an mAP 50 of 0.8940 and an m A P 50 -- 95 of 0.6153, representing improvements of 2.00 and 2.03 percentage points over YOLO11s, respectively. Under matched insertion locations, CAFNeckLite achieved higher overall mAP values than CBAM and ECA. On the additional Tomato Leaf Disease Detection dataset, CWF-YOLO11s achieved a Precision of 0.7147, Recall of 0.7290, mAP 50 of 0.7371, and m A P 50 -- 95 of 0.4415, outperforming YOLO11s by 10.22, 6.69, 7.93, and 3.24 percentage points, respectively. Runtime profiling showed an inference time of 6.599 ms/image and a throughput of 151.54 FPS for CWF-YOLO11s, compared with 5.782 ms/image and 172.94 FPS for YOLO11s. Overall, CWF-YOLO11s improves detection accuracy across both evaluated datasets, albeit with a measurable increase in computational cost.
Authors
- Can Zhao (ORCID: https://orcid.org/0000-0001-7286-3452)
- Jia Lv
- Lijun Cheng
- Dengkai Zhang (ORCID: https://orcid.org/0009-0000-3460-7618)
- Jie Hu
- Rui Zhang (ORCID: https://orcid.org/0009-0008-3216-8664)
Institutions
- Shanxi Agricultural University (CN)
Publication Details
- Journal
- PLoS ONE
- Published
- 2026-11-25
- DOI
- https://doi.org/10.1371/journal.pone.0363466
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00