Accelerating weed detection for smart agricultural sprayers using a Neural Processing Unit

Smart spraying technology represents a breakthrough in precision agriculture, enabling innovative weed control methods and increasing crop protection effectiveness through the use of deep neural networks (DNNs). This advancement brings its own set of challenges, particularly in terms of the time neural networks need to reach conclusions. In large sprayers, weed detection is performed by multiple sensors, each focused on a distinct region of interest. While existing research has mainly concentrated on powerful GPUs, the shift to practical applications requires the use of energy-efficient embedded systems to enable intelligent spraying in the field. In this study, the effects of different backbone and neck architectures on an object detection model are analyzed in terms of inference time and compatibility with a Neural Processing Unit (NPU), focusing on efficiency and accuracy. Considering real-time operating conditions, the neural network architectures were optimized for a maximum inference time of 50 ms and a model size of less than 10 MB. To achieve this, the models were validated for operational compatibility during the deployment process and quantized to an 8-bit integer data format. A dataset of 12 weed species was used to test a variety of novel lightweight CNN and hybrid transformer backbones and necks of an object detection model at different image resolutions. The results show that these core components of the model have different effects on inference time and accuracy, with certain configurations meeting the required specifications. The speedup factor, which describes the comparison of CPU and NPU inference time on the target hardware, significantly influences the efficiency. Experimental tests with different backbones showed distinct advantages in weed detection. Building on this success, further efficiency improvements could be achieved by replacing the neck. While the required quantization led to a reduction in accuracy, the proposed combination of components nevertheless could lead to reliable localization and classification of variously sized weed species. This is accomplished while maintaining the required inference time. • Analysis of several weed detection models for embedded systems under 50ms and 10MB. • NPU accelerates performance by aligning with architecture: backbone, neck, head. • Tradeoffs between mAP and inference time in weed detection by image resolution. • Changing the neck improves model accuracy, slightly increasing inference time. • Backbone architecture varies in detecting weed sizes and species.

Authors

Institutions

Publication Details

Journal
Computers and Electronics in Agriculture
Published
2025-06-18
DOI
https://doi.org/10.1016/j.compag.2025.110608
Citations
8
Primary Topic
Smart Agriculture and AI
Type
article
Field-Weighted Citation Impact
14.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Accelerating weed detection for smart agricultural sprayers using a Neural Processing Unit

Kai Liu, Anthony Stein, Nils Herterich
8 citations
Computers and Electronics in Agriculture
Smart Agriculture and AI
14.00
article

Accelerating weed detection for smart agricultural sprayers using a Neural Processing Unit

Kai Liu, Anthony Stein, Nils Herterich
article en
8 citations

Abstract

Smart spraying technology represents a breakthrough in precision agriculture, enabling innovative weed control methods and increasing crop protection effectiveness through the use of deep neural networks (DNNs). This advancement brings its own set of challenges, particularly in terms of the time neural networks need to reach conclusions. In large sprayers, weed detection is performed by multiple sensors, each focused on a distinct region of interest. While existing research has mainly concentrated on powerful GPUs, the shift to practical applications requires the use of energy-efficient embedded systems to enable intelligent spraying in the field. In this study, the effects of different backbone and neck architectures on an object detection model are analyzed in terms of inference time and compatibility with a Neural Processing Unit (NPU), focusing on efficiency and accuracy. Considering real-time operating conditions, the neural network architectures were optimized for a maximum inference time of 50 ms and a model size of less than 10 MB. To achieve this, the models were validated for operational compatibility during the deployment process and quantized to an 8-bit integer data format. A dataset of 12 weed species was used to test a variety of novel lightweight CNN and hybrid transformer backbones and necks of an object detection model at different image resolutions. The results show that these core components of the model have different effects on inference time and accuracy, with certain configurations meeting the required specifications. The speedup factor, which describes the comparison of CPU and NPU inference time on the target hardware, significantly influences the efficiency. Experimental tests with different backbones showed distinct advantages in weed detection. Building on this success, further efficiency improvements could be achieved by replacing the neck. While the required quantization led to a reduction in accuracy, the proposed combination of components nevertheless could lead to reliable localization and classification of variously sized weed species. This is accomplished while maintaining the required inference time. • Analysis of several weed detection models for embedded systems under 50ms and 10MB. • NPU accelerates performance by aligning with architecture: backbone, neck, head. • Tradeoffs between mAP and inference time in weed detection by image resolution. • Changing the neck improves model accuracy, slightly increasing inference time. • Backbone architecture varies in detecting weed sizes and species.

Computers and Electronics in AgricultureVol. 237
University of Hohenheim (DE), Robert Bosch Hospital (DE), Robert Bosch (Germany) (DE)
Bundesministerium für Bildung und Forschung
Zero hunger
Openalex Percentile: Top 1%
Smart Agriculture and AI
14.00
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.