CEAM-DETR: An NMS-free lightweight transformer for weed detection in soybean fields under complex conditions

Weed detection in complex agricultural environments faces significant challenges due to drastic illumination variations, high visual similarity between crops and weeds, and strong background interference, which place strict requirements on both detection accuracy and real-time performance. Most existing object detection methods rely on non-maximum suppression (NMS) as a post-processing step. However, this mechanism suffers from threshold sensitivity, limited cross-scene adaptability, and accumulated inference latency in practical applications. To address these limitations, this paper proposes a lightweight adaptive transformer-based model, termed CEAM-DETR, under an end-to-end detection paradigm to achieve efficient and stable weed detection without relying on NMS. A cross-stage efficient attention backbone is first constructed by integrating cross-stage partial connections with single-head self-attention, where feature splitting and cross-stage shortcuts preserve lightweight information and gradient propagation paths, while attention is applied only to partial channels to reduce computational and memory overhead and enhance fine-grained representations of small-scale targets. On this basis, an adaptive sparse feature interaction module (ASFI) is introduced to dynamically fuse sparse and dense attention branches, thereby improving the concentration of discriminative information under complex backgrounds. Furthermore, a multi-scale dilated re-parameterization block (MSDRB) is designed to extract features using parallel convolutions with different dilation rates and to equivalently merge them into a single convolution layer during inference, which expands the receptive field without increasing computational burden and supplements multi-scale contextual information. Experimental results on public datasets demonstrate that CEAM-DETR outperforms state-of-the-art methods in terms of detection accuracy and robustness, validating its effectiveness in complex agricultural environments. Compared to the original RT-DETR, the proposed model increased by 1.5%, reduced Params by 36.5%, decreased GFLOPs by 26.0%, and improved FPS by 32.9%.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-05-23
DOI
https://doi.org/10.1038/s41598-026-48148-4
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

CEAM-DETR: An NMS-free lightweight transformer for weed detection in soybean fields under complex conditions

常依群, Jianyu Xiao, Cheng Zhang
Scientific Reports
Smart Agriculture and AI
article

CEAM-DETR: An NMS-free lightweight transformer for weed detection in soybean fields under complex conditions

常依群, Jianyu Xiao, Cheng Zhang
article en

Abstract

Weed detection in complex agricultural environments faces significant challenges due to drastic illumination variations, high visual similarity between crops and weeds, and strong background interference, which place strict requirements on both detection accuracy and real-time performance. Most existing object detection methods rely on non-maximum suppression (NMS) as a post-processing step. However, this mechanism suffers from threshold sensitivity, limited cross-scene adaptability, and accumulated inference latency in practical applications. To address these limitations, this paper proposes a lightweight adaptive transformer-based model, termed CEAM-DETR, under an end-to-end detection paradigm to achieve efficient and stable weed detection without relying on NMS. A cross-stage efficient attention backbone is first constructed by integrating cross-stage partial connections with single-head self-attention, where feature splitting and cross-stage shortcuts preserve lightweight information and gradient propagation paths, while attention is applied only to partial channels to reduce computational and memory overhead and enhance fine-grained representations of small-scale targets. On this basis, an adaptive sparse feature interaction module (ASFI) is introduced to dynamically fuse sparse and dense attention branches, thereby improving the concentration of discriminative information under complex backgrounds. Furthermore, a multi-scale dilated re-parameterization block (MSDRB) is designed to extract features using parallel convolutions with different dilation rates and to equivalently merge them into a single convolution layer during inference, which expands the receptive field without increasing computational burden and supplements multi-scale contextual information. Experimental results on public datasets demonstrate that CEAM-DETR outperforms state-of-the-art methods in terms of detection accuracy and robustness, validating its effectiveness in complex agricultural environments. Compared to the original RT-DETR, the proposed model increased by 1.5%, reduced Params by 36.5%, decreased GFLOPs by 26.0%, and improved FPS by 32.9%.

Scientific Reports
Huaibei Normal University (CN)
Reduced inequalities
Openalex Percentile: Top 6%
Smart Agriculture and AI
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.