A multi-scale attention framework for weed image classification in sustainable agriculture

Accurate weed classification is essential for precision agriculture, as weed infestation adversely affects crop productivity and often necessitates extensive herbicide application. However, reliably identifying weed species under complex field conditions remains challenging because of variations in plant morphology, background clutter, illumination, and inter-class visual similarity. To address these challenges, this study proposes MSFA-AttenRes50, a multi-scale attention-based deep learning framework for automated multiclass weed image classification. The proposed architecture integrates a ResNet50 backbone with a hierarchical Multi-Scale Feature Aggregation (MSFA) module, followed by sequential channel- and spatial-attention refinement. Unlike approaches that apply feature aggregation and attention independently, the proposed framework refines attention on aggregated multi-scale representations, enabling the network to emphasize discriminative channel-wise and spatial information while preserving complementary features across scales. We evaluate the framework on the publicly available DeepWeeds dataset, which comprises eight invasive weed species and a negative class, using a stratified 80:10:10 training, validation, and test split. Experimental evaluation on an independent test set of 1,751 images demonstrates that MSFA-AttenRes50 achieves an overall classification accuracy of 99.03%, outperforming the evaluated baseline architectures. The model also achieves a recall of 1.00 for the Rubber vine class, indicating highly effective recognition of this category. Furthermore, ablation experiments show the complementary contributions of multi-scale feature aggregation and dual attention, with the integrated architecture outperforming its individual components. These findings highlight the effectiveness of combining hierarchical multi-scale feature learning with sequential attention refinement for fine-grained weed classification and provide a foundation for further research into intelligent, data-driven weed management systems.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-12-03
DOI
https://doi.org/10.1038/s41598-026-82109-1
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
NOV
article

A multi-scale attention framework for weed image classification in sustainable agriculture

Ateeq Ur Rehman, Ahmad Almogren, S. K. Gupta, Ruchika Bhuria et al.
Scientific Reports
Smart Agriculture and AI
article

A multi-scale attention framework for weed image classification in sustainable agriculture

Ateeq Ur Rehman, Ahmad Almogren, S. K. Gupta, Ruchika Bhuria, Asma Abdulkareem Al-Huqail, Dominic Majak Deng Adol, Munir Ahmad
article en

Abstract

Accurate weed classification is essential for precision agriculture, as weed infestation adversely affects crop productivity and often necessitates extensive herbicide application. However, reliably identifying weed species under complex field conditions remains challenging because of variations in plant morphology, background clutter, illumination, and inter-class visual similarity. To address these challenges, this study proposes MSFA-AttenRes50, a multi-scale attention-based deep learning framework for automated multiclass weed image classification. The proposed architecture integrates a ResNet50 backbone with a hierarchical Multi-Scale Feature Aggregation (MSFA) module, followed by sequential channel- and spatial-attention refinement. Unlike approaches that apply feature aggregation and attention independently, the proposed framework refines attention on aggregated multi-scale representations, enabling the network to emphasize discriminative channel-wise and spatial information while preserving complementary features across scales. We evaluate the framework on the publicly available DeepWeeds dataset, which comprises eight invasive weed species and a negative class, using a stratified 80:10:10 training, validation, and test split. Experimental evaluation on an independent test set of 1,751 images demonstrates that MSFA-AttenRes50 achieves an overall classification accuracy of 99.03%, outperforming the evaluated baseline architectures. The model also achieves a recall of 1.00 for the Rubber vine class, indicating highly effective recognition of this category. Furthermore, ablation experiments show the complementary contributions of multi-scale feature aggregation and dual attention, with the integrated architecture outperforming its individual components. These findings highlight the effectiveness of combining hierarchical multi-scale feature learning with sequential attention refinement for fine-grained weed classification and provide a foundation for further research into intelligent, data-driven weed management systems.

Scientific Reports
University of Juba (SS), Korea University (KR), King Saud University (SA), Western Caspian University (AZ), Azerbaijan International University (AZ), Graphic Era University (IN), Chitkara University (IN), Saveetha University (IN)
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.

Laika access coming soon