{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,8,9]],"date-time":"2026-08-09T04:42:03Z","timestamp":1786250523307,"version":"build-2736575974"},"reference-count":38,"publisher":"MDPI AG","issue":"8","license":[{"start":{"date-parts":[[2026,8,7]],"date-time":"2026-08-07T00:00:00Z","timestamp":1786060800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"funder":[{"name":"National Key Research and Development Program of China","award":["2024YFD2000803"],"award-info":[{"award-number":["2024YFD2000803"]}]}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Insects"],"abstract":"<jats:p>Early pest infestations can significantly reduce chili pepper yield and quality. Therefore, timely and accurate pest detection is essential for precision pest management. However, pest detection under practical cultivation conditions remains challenging because of small target sizes, dense distributions, partial occlusion, and complex background interference. To address these challenges, this study proposes HCFD-YOLOv8, a task-oriented lightweight visual detection framework based on YOLOv8n for pepper pest monitoring in complex agricultural environments. A novel Cross-Stage Partial Hybrid Spatial Attention (CSP-HSA) module is developed as the core feature enhancement component. It is designed to improve fine-grained pest feature extraction while reducing computational redundancy. CSP-HSA combines cross-stage partial feature reuse, heterogeneous convolution, lightweight spatial-channel attention, and channel shuffle to enhance discriminative representations of small and densely distributed pests. In addition, a Cross-Scale Context Fusion Module (CCFM) is introduced to improve information interaction between high-resolution spatial details and high-level semantic features across different scales. DyHead and Inner-MPDIoU are further incorporated as complementary components to enhance adaptive feature perception and bounding-box localization, especially for partially occluded and overlapping targets. Experimental results show that YOLOv8n achieves a Precision of 84.0% and an mAP50 of 87.1%, whereas HCFD-YOLOv8 improves these values to 90.9% and 92.0%, respectively, corresponding to increases of 6.9 and 4.9 percentage points. Meanwhile, the proposed framework reduces the number of parameters, model weight-file size, and FLOPs from 3.00 M to 2.43 M, from 5.97 MB to 4.96 MB, and from 7.5 G to 6.5 G, respectively. The model achieves an inference throughput of 39.40 FPS on the evaluated cloud-server platform. Comprehensive ablation experiments demonstrate that DyHead delivers the largest standalone improvement in detection accuracy, whereas CSP-HSA provides a more favorable trade-off between feature enhancement and computational efficiency. CCFM and Inner-MPDIoU further provide complementary improvements in cross-scale feature representation and bounding-box localization. These results indicate that HCFD-YOLOv8 achieves a favorable balance between detection accuracy and computational efficiency, demonstrating its potential for lightweight and accurate pepper pest monitoring under complex agricultural conditions.<\/jats:p>","DOI":"10.3390\/insects17080822","type":"journal-article","created":{"date-parts":[[2026,8,7]],"date-time":"2026-08-07T09:14:28Z","timestamp":1786094068000},"page":"822","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":0,"title":["Lightweight Visual Detection Framework for Accurate Pepper Pest Detection Under Complex Field Conditions"],"prefix":"10.3390","volume":"17","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-1301-7982","authenticated-orcid":false,"given":"Min","family":"Dai","sequence":"first","affiliation":[{"name":"College of Mechanical Engineering, Yangzhou University, Yangzhou 225127, China"},{"name":"Vegetable (Root Vegetable) Fully Mechanized Research Base, Ministry of Agriculture and Rural Affairs, Yangzhou 225127, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Chiyu","family":"Hu","sequence":"additional","affiliation":[{"name":"College of Mechanical Engineering, Yangzhou University, Yangzhou 225127, China"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"given":"Hong","family":"Miao","sequence":"additional","affiliation":[{"name":"College of Mechanical Engineering, Yangzhou University, Yangzhou 225127, China"},{"name":"Vegetable (Root Vegetable) Fully Mechanized Research Base, Ministry of Agriculture and Rural Affairs, Yangzhou 225127, China"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"1968","published-online":{"date-parts":[[2026,8,7]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"107198","DOI":"10.1016\/j.still.2026.107198","article-title":"Phosphorus-solubilizing bacteria combined with hydroxyapatite regulate the forms of Cd, P, and Ca in soil aggregates to inhibit the absorption of Cd by pepper","volume":"261","author":"Wang","year":"2026","journal-title":"Soil Tillage Res."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"105688","DOI":"10.1016\/j.tifs.2026.105688","article-title":"Flavor chemistry and bioactivity of Szechuan pepper (Zanthoxylum Genus): Bridging Ma aroma, Ma sensation, and bitter compounds","volume":"172","author":"Zhang","year":"2026","journal-title":"Trends Food Sci. Technol."},{"key":"ref_3","doi-asserted-by":"crossref","first-page":"84","DOI":"10.1145\/3065386","article-title":"Imagenet classification with deep convolutional neural networks","volume":"60","author":"Krizhevsky","year":"2017","journal-title":"Commun. ACM"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Girshick, R. (2015). Fast R-Cnn. Proceedings of the IEEE International Conference on Computer Vision, IEEE.","DOI":"10.1109\/ICCV.2015.169"},{"key":"ref_5","doi-asserted-by":"crossref","first-page":"105522","DOI":"10.1016\/j.compag.2020.105522","article-title":"AF-RCNN: An anchor-free convolutional neural network for multi-categories agricultural pest detection","volume":"174","author":"Jiao","year":"2020","journal-title":"Comput. Electron. Agric."},{"key":"ref_6","doi-asserted-by":"crossref","first-page":"107993","DOI":"10.1016\/j.compbiomed.2024.107993","article-title":"CRA-Net: Transformer guided category-relation attention network for diabetic retinopathy grading","volume":"170","author":"Zang","year":"2024","journal-title":"Comput. Biol. Med."},{"key":"ref_7","doi-asserted-by":"crossref","unstructured":"Cai, Z., and Vasconcelos, N. (2018, January 18\u201323). Cascade R-CNN: Delving into High Quality Object Detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Salt Lake City, UT, USA.","DOI":"10.1109\/CVPR.2018.00644"},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"109106","DOI":"10.1016\/j.bspc.2025.109106","article-title":"CTANet: A hybrid CNN and ViT network with adaptive focus fusion for diabetic retinopathy grading","volume":"113","author":"Yi","year":"2026","journal-title":"Biomed. Signal Process. Control"},{"key":"ref_9","unstructured":"Bochkovskiy, A., Wang, C.-Y., and Liao, H.-Y.M. (2020). Yolov4: Optimal speed and accuracy of object detection. arXiv."},{"key":"ref_10","doi-asserted-by":"crossref","first-page":"108233","DOI":"10.1016\/j.compag.2023.108233","article-title":"MD-YOLO: Multi-scale Dense YOLO for small target pest detection","volume":"213","author":"Tian","year":"2023","journal-title":"Comput. Electron. Agric."},{"key":"ref_11","doi-asserted-by":"crossref","first-page":"102340","DOI":"10.1016\/j.ecoinf.2023.102340","article-title":"Improved Pest-YOLO: Real-time pest detection based on efficient channel attention mechanism and transformer encoder","volume":"78","author":"Tang","year":"2023","journal-title":"Ecol. Inform."},{"key":"ref_12","doi-asserted-by":"crossref","first-page":"110777","DOI":"10.1016\/j.compag.2025.110777","article-title":"Paddy-YOLO: An accurate method for rice pest detection","volume":"238","author":"Zheng","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_13","doi-asserted-by":"crossref","first-page":"108515","DOI":"10.1016\/j.compag.2023.108515","article-title":"Research on CBF-YOLO detection model for common soybean pests in complex environment","volume":"216","author":"Zhu","year":"2024","journal-title":"Comput. Electron. Agric."},{"key":"ref_14","doi-asserted-by":"crossref","first-page":"121515","DOI":"10.1016\/j.indcrop.2025.121515","article-title":"CPD-YOLO: A cross-platform detection method for cotton pests and diseases using UAV and smartphone imaging","volume":"234","author":"Yu","year":"2025","journal-title":"Ind. Crops Prod."},{"key":"ref_15","first-page":"47","article-title":"MH-YOLO: Multiple heterogeneous YOLO for apple orchard pest detection","volume":"13","author":"Ma","year":"2025","journal-title":"Inf. Process. Agric."},{"key":"ref_16","doi-asserted-by":"crossref","first-page":"104889","DOI":"10.1016\/j.dsp.2024.104889","article-title":"RS-YOLO: An efficient object detection algorithm for road scenes","volume":"157","author":"Jiao","year":"2025","journal-title":"Digit. Signal Process."},{"key":"ref_17","unstructured":"Long, X., Deng, K., Wang, G., Zhang, Y., Dang, Q., Gao, Y., Shen, H., Ren, J., Han, S., and Ding, E. (2020). PP-YOLO: An effective and efficient implementation of object detector. arXiv."},{"key":"ref_18","doi-asserted-by":"crossref","first-page":"109951","DOI":"10.1016\/j.compag.2025.109951","article-title":"YOLO-detassel: Efficient object detection for omitted pre-tassel in detasseling operation for maize seed production","volume":"231","author":"Yang","year":"2025","journal-title":"Comput. Electron. Agric."},{"key":"ref_19","doi-asserted-by":"crossref","first-page":"111901","DOI":"10.1016\/j.compag.2026.111901","article-title":"LTF-YOLO: A lightweight framework for long-tailed agricultural pest detection in complex field environments","volume":"250","author":"Zhang","year":"2026","journal-title":"Comput. Electron. Agric."},{"key":"ref_20","first-page":"21002","article-title":"Generalized focal loss: Learning qualified and distributed bounding boxes for dense object detection","volume":"33","author":"Li","year":"2020","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_21","doi-asserted-by":"crossref","unstructured":"Li, Y., Wang, T., Kang, B., Tang, S., Wang, C., Li, J., and Feng, J. (2020). Overcoming Classifier Imbalance for Long-Tail Object Detection with Balanced Group Softmax. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, IEEE.","DOI":"10.1109\/CVPR42600.2020.01100"},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"177","DOI":"10.1007\/s11554-025-01756-1","article-title":"An optimized lightweight YOLO-MRC framework for enhanced obstacle detection in service robots","volume":"22","author":"Tian","year":"2025","journal-title":"J. Real-Time Image Process."},{"key":"ref_23","doi-asserted-by":"crossref","unstructured":"Wang, A., Chen, H., Lin, Z., Han, J., and Ding, G. (2024). Repvit: Revisiting Mobile CNN from Vit Perspective. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, IEEE.","DOI":"10.1109\/CVPR52733.2024.01506"},{"key":"ref_24","doi-asserted-by":"crossref","first-page":"100842","DOI":"10.1016\/j.atech.2025.100842","article-title":"Development of an autonomous smart trap for precision monitoring of hematophagous flies on cattle","volume":"10","author":"Santaera","year":"2025","journal-title":"Smart Agric. Technol."},{"key":"ref_25","doi-asserted-by":"crossref","first-page":"160","DOI":"10.1007\/s44196-025-00885-6","article-title":"Classifying and detecting live insects with computationally effective deep learning object detection models","volume":"18","author":"Rajeswaran","year":"2025","journal-title":"Int. J. Comput. Intell. Syst."},{"key":"ref_26","doi-asserted-by":"crossref","first-page":"73051","DOI":"10.1109\/ACCESS.2026.3692187","article-title":"Improved YOLO11 for Vision-Based Pest and Disease Detection in Chili Peppers","volume":"14","author":"Shi","year":"2026","journal-title":"IEEE Access"},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Le, D.-T., Pham, T., Cai, J., and Rezatofighi, H. (2026). Marginalized Generalized IoU (MGIoU): A Unified Objective Function for Optimizing Convex Parametric Shapes. Proceedings of the AAAI Conference on Artificial Intelligence, AAAI Press.","DOI":"10.1609\/aaai.v40i7.37505"},{"key":"ref_28","doi-asserted-by":"crossref","first-page":"101896","DOI":"10.1016\/j.atech.2026.101896","article-title":"Advances in agricultural fruit detection using you only look once (YOLO) algorithm: A review","volume":"13","author":"Pugazhendi","year":"2026","journal-title":"Smart Agric. Technol."},{"key":"ref_29","unstructured":"Lin, X., Peng, J., Gan, Z., and Liu, J. (2026). YOLO-Master: MOE-Accelerated with Specialized Transformers for Enhanced Real-time Detection. Proceedings of the IEEE\/CVF Conference on Computer Vision and Pattern Recognition, IEEE. Available online: https:\/\/openaccess.thecvf.com\/."},{"key":"ref_30","doi-asserted-by":"crossref","unstructured":"Tao, J., Wang, Z., Wu, J., Li, Y., Fukuda, T., and Zhang, J. (2026). EF-YOLO: Detecting Small Targets in Early-Stage Agricultural Fires via UAV-Based Remote Sensing. Remote Sens., 18.","DOI":"10.3390\/rs18081119"},{"key":"ref_31","doi-asserted-by":"crossref","first-page":"450","DOI":"10.11591\/ijece.v16i1.pp450-462","article-title":"From YOLO V1 to YOLO V11: Comparative analysis of YOLO algorithm","volume":"16","author":"Hassani","year":"2026","journal-title":"Int. J. Multiling. Electr. Comput Eng. (IJECE)"},{"key":"ref_32","doi-asserted-by":"crossref","first-page":"51094","DOI":"10.52202\/075280-2224","article-title":"Gold-YOLO: Efficient object detector via gather-and-distribute mechanism","volume":"36","author":"Wang","year":"2023","journal-title":"Adv. Neural Inf. Process. Syst."},{"key":"ref_33","unstructured":"Xu, X., Jiang, Y., Chen, W., Huang, Y., Zhang, Y., and Sun, X. (2022). Damo-yolo: A report on real-time object detection design. arXiv."},{"key":"ref_34","doi-asserted-by":"crossref","first-page":"112776","DOI":"10.1016\/j.measurement.2023.112776","article-title":"RDD-YOLO: A modified YOLO for detection of steel surface defects","volume":"214","author":"Zhao","year":"2023","journal-title":"Measurement"},{"key":"ref_35","doi-asserted-by":"crossref","first-page":"105057","DOI":"10.1016\/j.imavis.2024.105057","article-title":"ASF-YOLO: A novel YOLO model with attentional scale sequence fusion for cell instance segmentation","volume":"147","author":"Kang","year":"2024","journal-title":"Image Vis. Comput."},{"key":"ref_36","doi-asserted-by":"crossref","first-page":"111079","DOI":"10.1109\/ACCESS.2023.3322143","article-title":"YOLO-SF: YOLO for fire segmentation detection","volume":"11","author":"Cao","year":"2023","journal-title":"IEEE Access"},{"key":"ref_37","doi-asserted-by":"crossref","first-page":"102932","DOI":"10.1016\/j.jspr.2025.102932","article-title":"ABF-YOLO11: A multi-scale adaptive detection and lightweight recognition model for stored-grain pests","volume":"116","author":"Hou","year":"2026","journal-title":"J. Stored Prod. Res."},{"key":"ref_38","first-page":"102751","article-title":"OS-YOLO: A Robust Object Detection Model for Storage Pest Monitoring in American Ginseng","volume":"26","author":"Zhao","year":"2026","journal-title":"J. Agric. Food Res."}],"container-title":["Insects"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/2075-4450\/17\/8\/822\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,8,9]],"date-time":"2026-08-09T04:18:48Z","timestamp":1786249128000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/2075-4450\/17\/8\/822"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,8,7]]},"references-count":38,"journal-issue":{"issue":"8","published-online":{"date-parts":[[2026,8]]}},"alternative-id":["insects17080822"],"URL":"https:\/\/doi.org\/10.3390\/insects17080822","relation":{},"ISSN":["2075-4450"],"issn-type":[{"value":"2075-4450","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,8,7]]}}}