Hybrid transformer-assisted O-UNET and attention-based A‑CLSTM framework for precision weed detection in smart rice agriculture
Abstract
The key to enhanced rice productivity, along with the reduction of herbicide use, lies in early and accurate weed detection in precision farming. Nonetheless, distinguishing weeds from rice proves to be very difficult when performed in real field situations due to overlapping vegetation, lighting effects, background noise, and visual similarity between the crop and weed zones. In this paper, we propose a hybrid transformer-assisted O-UNET and attention-based convolutional long short-term memory (A-CLSTM) model for automated weed detection in precision rice farming. The Hybrid model is based on the O-UNET model and allows one to improve weed segregation through the use of the global context features obtained with the aid of transformer architectures. An advanced version of the Red Panda optimization technique is used in the paper for discriminative feature selection. The developed network for detection employs the space feature extraction, sequential dependency modeling, and attention features. The conducted experiments on the WeedCrop image dataset show that the proposed system has 94.8% segmentation accuracy, with an IoU of 0.91 and a Dice metric equal to 0.95. The A-CLSTM outperforms the traditional convolutional neural networks (CNN) and long short-term memory (LSTM) baselines taken into consideration in the study, achieving 96.2% classification accuracy with 95.7% precision, 96.8% recall, and 96.2% F1-score. The findings show that a successful approach to difficult field-level weed identification can be achieved by combining global contextual learning, attention-based segmentation, optimized feature selection, and sequential classification. In order to reduce needless pesticide use and promote more sustainable rice production, the suggested framework can facilitate accurate weed detection and focused weed-management decisions.
Keywords
Agriculture; Attention CONVLSTM; Attention-based O-UNet; Deep learning; I-RPO; Weed detection
Full Text:
PDFDOI: http://doi.org/10.11591/ijra.v15i4.pp975-986
Refbacks
- There are currently no refbacks.
Copyright (c) 2026 Fathima ShreneShifna NainaMohamed, Baalaji Kadarkarai

This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
IAES International Journal of Robotics and Automation (IJRA)
ISSN 2089-4856, e-ISSN 2722-2586
This journal is published by the Institute of Advanced Engineering and Science (IAES) in collaboration with Intelektual Pustaka Media Utama (IPMU).