A deep learning perception framework for farm digital twins: weed species classification, semantic segmentation, and gradient-based visual interpretability
This paper presents a tri-component deep learning framework designed explicitly as a perception and interpretability layer for Farm Digital Twin architectures, evaluated on a five-species balanced subset of the Moving Fields Weed Dataset (MFWD)—a publicly available benchmark of 94K high-resolution images of 28 weed species.
Abstract
The emergence of Farm Digital Twins (Farm-DT) as a transformative paradigm in smart agriculture demands robust, real-time perception modules capable of continuous plant-level monitoring, predictive analytics, and automated decision support. A critical bottleneck in operationalising Farm-DTs is the absence of interpretable, species-level weed identification engines that can feed spatially precise weed-distribution data into the virtual farm replica for simulation, yield forecasting, and optimized herbicide scheduling. This paper presents a tri-component deep learning framework designed explicitly as a perception and interpretability layer for Farm Digital Twin architectures, evaluated on a five-species balanced subset of the Moving Fields Weed Dataset (MFWD)—a publicly available benchmark of 94K high-resolution images of 28 weed species. Eleven ImageNet pre-trained architectures spanning convolutional neural networks (CNNs) and vision transformers were benchmarked under a unified stratified 80/10/10 holdout protocol. Swin Transformer v1 achieved the highest test accuracy of 97.3% [
F
1
= 0.964; 95% CI: (95.9, 98.4)], and EfficientNetV2-S reached 95.5% [
F
1
=0.956; 95% CI: (93.8, 96.9)]; pairwise McNemar tests confirm these advantages are statistically significant (
p
< 0.01, Bonferroni-corrected). Gradient-weighted Class Activation Mapping (Grad-CAM) applied to the top CNN models confirmed that 94.3% of high-activation pixels overlap with ground-truth foliage annotations, providing quantitative validation that classification decisions are driven by botanically meaningful morphological features. The SegFormer-B3 semantic segmentation module achieved mIoU = 0.8961, enabling precise pixel-level weed delineation that directly populates the DT spatial model for variable-rate herbicide application and robotic weeding simulation. Together, these three components map directly onto the Farm-DT architecture: the classifier feeds the species inventory, the segmentation module populates the spatial weed model, and Grad-CAM provides the trust layer required for agronomist acceptance of DT-automated decisions—collectively advancing real-time monitoring and decision-support for Digital Twin-driven urban and peri-urban agriculture.
Corn Transfer Learning Network (CTL-Net), an end-to-end hybrid deep learning model for corn leaf disease identification, allows accurate and interpretable predictions in a computationally efficient manner, making it an excellent candidate for mobile and resource-limited applications in precision agriculture.
K. P. Praveen Kumar, Y. Kuma· Engineering, Technology &...· 0 citations
Precision agriculture increasingly relies on accurate semantic segmentation of crops and weeds to enable targeted interventions such as selective weeding and yield optimization. However, conventional deep learning approaches often struggle to generalize across diverse field conditions, particularly when they are limite...
Ilias Papadeas, Georgios Miltiadis Sandalis, G. Zamanakos et al.· IEEE Access· 0 citations
Accurate plant species identification is important for biodiversity documentation, agriculture, forestry, ecological monitoring, and educational applications. Conventional identification commonly depends on expert knowledge and manual comparison of leaf morphology, which can be slow and difficult when species have simi...
Medha V· International Journal of Sci...· 0 citations
DEPFIN is an annotation-free image analysis pipeline that combines foreground segmentation, frozen pretrained convolutional encoders, non-linear dimensionality reduction, and density-based clustering for extracting biological structure from the growing volumes of unlabeled fish imagery.
Alexandru Mihai, Billy Moore, Marleen Klann et al.· iScience· 0 citations
The research results have concluded that, in the future, lightweight models, larger-scale, more diverse data, and the integration of deep learning with IoT and autonomous systems should be the subject of research to make the processes of monitoring and controlling weeds in modern agriculture fully automated and sustain...
F. Okoye, Njoku Camillus Ekene, E. Chidi· International journal of re...· 0 citations