WAGENet: A Hardware-Aware Lightweight Network for Real-Time Weed Identification on Low-Power Resource-Constrained MCUs
Yunjie Li, Yuqian Huang, Yuchen Lu, Minqiu Kuang, Yuhang Wu, Dafang Guo, Zhengqiang Fan, Li Yang,
Beijing University of Agriculture · Yantai University
Abstract
With the continuous growth of global population and increasing pressure on food security, the transformation toward precise and intelligent agricultural production has become an inevitable trend. In this context, accurate identification of field weeds is crucial for improving crop yields and reducing agricultural inputs. However, agricultural Internet of Things (IoT) edge devices are generally subject to strict constraints in terms of power consumption, storage, and real-time performance. Existing lightweight convolutional neural networks often struggle to simultaneously achieve high accuracy and low resource consumption for fine-grained weed identification tasks. To address this challenge, this paper proposes a hardware aware lightweight convolutional neural network named Weed-Aware Ghost Enhanced Network (WAGENet) for microcontroller deployment. The network synergistically integrates Ghost low-cost feature generation, Mobile Inverted Bottleneck Convolution (MBConv) for deep semantic extraction, Squeeze and Excitation (SE) and Coordinate Attention (CA) dual attention mechanisms for channel space joint calibration, and Atrous Spatial Pyramid Pooling (ASPP) for multi-scale context fusion. It constructs a progressive feature abstraction system from shallow textures to high-level semantics. On the public DeepWeeds dataset, WAGENet achieves 95.71% classification accuracy and 93.80% F1 score with only 0.163 M parameters and 2.43 × 108 multiply accumulate operations (MACC), attaining a parameter efficiency of 587.19%/M and significantly outperforming existing mainstream lightweight models. The model has been successfully deployed on the STM32H7B3I microcontroller development board, achieving a single inference latency of 94.63 ms, an internal Flash footprint of only 686.95 KiB, and a single inference energy consumption of 41.45 mJ. Experimental results demonstrate that WAGENet achieves a trade off among accuracy, latency, and energy consumption under strict resource constraints, providing a reproducible microcontroller deployment paradigm for battery powered field robots, drones, and other agricultural IoT edge devices.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Real-time on-device weed identification using a hardware-efficient lightweight CNNFrontiers in Plant Science · 2026
- AVGS-YOLO: A Quad-Synergistic Lightweight Enhanced YOLOv11 Model for Accurate Cotton Weed Detection in Complex Field EnvironmentsAgriculture · 2026
- RGC-YOLO: a lightweight YOLOv8n-based detector for edge-deployable weed detection in Xinjiang cotton fields.Frontiers in plant science · 2026
- An Efficient Lightweight Framework for Cotton Weed Localization and Classification Using Multi-Scale Dual Attention Vision Transformer and Enhanced Haze OptimizationEngineering Research Express · 2026
- Alfalfa-Yolo: a boundary-aware lightweight framework for real-time weed detection in alfalfa fields.Frontiers in plant science · 2026
- TinyML-Enabled IoT Edge Framework With Knowledge Distillation for Weed ClassificationIEEE Internet of Things Journal · 2026