CWF-YOLO11s: Context-aware and weak-boundary feature recalibration for tomato leaf abnormality detection in natural field scenes
- 1Faculty of Software Technologies, Shanxi Agricultural University, Jinzhong, Shanxi, China
Abstract
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 mAP50 of 0.8940 and an mAP50--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, mAP50 of 0.7371, and mAP50--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.
Related
- Interpretable RR Interval-Based ECG Rhythm Abnormality Detection: Cross-Dataset Evaluation, Feature Explainability, and Feature-Level Sensitivity Analysis
- Can AI models detect abnormality in screening mammography years before confirmed diagnosis?
- Atypical Cerebellar Vermis Signal Abnormality in Wernicke Encephalopathy
- Spatially Context-Aware Transformers Facilitate Modeling-Based Anomaly Detection of Subtle Lesions in Brain MRI Images
- CONORM: Context-Aware Entity Normalization for Adverse Drug Event Detection
BibTeX
@article{lv2026cwfyolo11s,
title = {{CWF-YOLO11s: Context-aware and weak-boundary feature recalibration for tomato leaf abnormality detection in natural field scenes}},
author = {Jia Lv and Dengkai Zhang and Rui Zhang and Jie Hu and Can Zhao and Lijun Cheng},
journal = {PLOS One},
year = {2026},
month = nov,
doi = {10.1371/journal.pone.0363466},
url = {https://doi.org/10.1371/journal.pone.0363466},
note = {CC BY 4.0},
}
RIS
TY - JOUR
TI - CWF-YOLO11s: Context-aware and weak-boundary feature recalibration for tomato leaf abnormality detection in natural field scenes
AU - Jia Lv
AU - Dengkai Zhang
AU - Rui Zhang
AU - Jie Hu
AU - Can Zhao
AU - Lijun Cheng
PY - 2026
DA - 2026/11/25
JO - PLOS One
DO - 10.1371/journal.pone.0363466
UR - https://doi.org/10.1371/journal.pone.0363466
AB - 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 mAP50 of 0.8940 and an mAP50--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, mAP50 of 0.7371, and mAP50--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.
SN - 1932-6203
ER -