ORIGINAL RESEARCH article
Front. Plant Sci.
Sec. Sustainable and Intelligent Phytoprotection
This article is part of the Research TopicSmart Plant Pest and Disease Detection Machinery and Technology: Innovations for Sustainable AgricultureView all 12 articles
YOLO-DCPG: A Lightweight Architecture with Dual-Channel Pooling Gated Attention for Intensive Small-Target Agricultural Pest Detection
Provisionally accepted- 1Xinjiang Agricultural Informatization Engineering Technology Research Center, Urumqi, China
- 2College of Computer and Information Engineering, Xinjiang Agricultural University, Urumqi, China
- 3Research Center for Intelligent Agriculture, Ministry of Education Engineering, Urumqi, China
Select one of your emails
You have multiple emails registered with Frontiers:
Notify me on publication
Please enter your email address:
If you already have an account, please login
You don't have a Frontiers account ? You can register here
Accurate and rapid identification of agricultural pests using deep learning models is crucial for intelligent pest monitoring in agriculture. However, existing pest detection models often suffer from high parameter counts and computational complexity, which significantly increases hardware requirements and limits their deployment on edge devices. To address these challenges, a lightweight agricultural pest detection model named YOLO-DCPG is proposed. It is built upon YOLOv8n. First, an attention module called Dual Channel Pooling Gated Attention (DCPGAttention) is designed. This module applies mean and standard deviation pooling to the input features to enhance global information capture. Second, a lightweight backbone network, StarNet, is used for feature extraction. A feature fusion neck, called Small-Neck, is also introduced. It is based on an improved bidirectional feature pyramid network (a-BIFPN) and integrates the efficient GSConv module. This design reduces model parameters and computational cost while maintaining detection accuracy. Finally, a scale factor based on the Inner-IoU is embedded into the WIoU loss function, enabling more precise control over auxiliary bounding boxes. This allows the model to focus more effectively on small pest regions and accelerates the regression of small target sample. The experimental results show that the proposed method achieves an precision of 80.1%, mAP@50 of 74%, and mAP@50~95 of 47.5% on the Pest24 dataset. In comparison with the baseline model YOLOv8n, it improves by 4.5%, 0.8%, and 0.9%, respectively. Meanwhile, the number of parameters, giga floating-point operations per second (GFLOPs), and model size are reduced by 51.2%, 30.1%, and 46.7%, respectively. Finally, YOLO-DCPG is successfully deployed on the Raspberry Pi 4B hardware, achieving stable and real-time pest detection.
Keywords: Agricultural pest detection, Lightweight, DCPGAttention, STARNET, Small-Neck
Received: 30 Sep 2025; Accepted: 21 Nov 2025.
Copyright: © 2025 Liu, Yu, Li, Zhao and Mao. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
* Correspondence:
Yongke Li, lyk@xjau.edu.cn
Yunjie Zhao, zyj@xjau.edu.cn
Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.
