DGS-Net: A Lightweight Deformable and Occlusion-Aware Network for Paddy Weed Detection on Edge Devices
To address the dual challenges of discriminating weeds from rice seedlings for precision weed management operations, such as targeted spraying and robotic weeding, in complex paddy-field scenes and deploying high-precision models on resource-limited edge devices, we propose DGS-Net, a deformable attention, GSConv-based feature fusion, and SEAM-enhanced lightweight network based on YOLOv11n. The backbone incorporates a convolutional block with parallel split attention and deformable attention transformer (C2PSA_DAT) module to improve the extraction of irregular and fine-grained weed features, the neck integrates a VoV-GSCSP module to enable lightweight multi-scale feature fusion for small and densely distributed targets, and a separated and enhancement attention module (SEAM) is placed before the detection head to enhance robustness under leaf occlusion and complex paddy-field background interference. In comparative experiments conducted on the paddy-field dataset under unified training and evaluation settings, DGS-Net achieved 91.7% precision, 86.8% recall, and 92.4% mean average precision (mAP), with a model size of 5.8 MB and a computational cost of 6.2 giga floating-point operations (GFLOPs). Compared with representative lightweight baseline detectors, DGS-Net showed a more favorable balance between detection accuracy and deployment efficiency. In additional edge-device deployment tests using the test set, the model sustained real-time inference at 32.5 FPS and achieved [email protected], precision, and recall of approximately 0.928, 0.919, and 0.867, respectively. Overall, DGS-Net improves irregular feature extraction, enables lightweight multi-scale feature fusion, and increases robustness to occlusion while retaining strong deployability. The method therefore provides practical visual-perception support for precise, real-time crop–weed discrimination and precision weed management in complex paddy-field environments.
Authors
- Y Wang
- Yu Zhuang (ORCID: https://orcid.org/0000-0001-5945-606X)
- Xinhua Ma (ORCID: https://orcid.org/0000-0002-6277-0292)
- Shiyu Cao (ORCID: https://orcid.org/0000-0002-6856-4959)
- Zhanpeng Luo
- Le Zheng
- Jiayuan Zhu
Institutions
- Northeast Agricultural University (CN)
Publication Details
- Journal
- Agriculture
- Published
- 2026-05-11
- DOI
- https://doi.org/10.3390/agriculture16101039
- Primary Topic
- Smart Agriculture and AI
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China