ORIGINAL RESEARCH article

Front. Plant Sci.

Sec. Sustainable and Intelligent Phytoprotection

Volume 16 - 2025 | doi: 10.3389/fpls.2025.1556275

This article is part of the Research TopicAutonomous Weed Control for Crop Plants, Volume IIView all articles

PHRF-RTDETR: A lightweight weed detection method for upland rice based on RT-DETR

Provisionally accepted
XianJin  JinXianJin Jin1,2Jinheng  ZhangJinheng Zhang1,3Fei  WangFei Wang4Mengyan  ZhaoMengyan Zhao1,2Yunshuang  WangYunshuang Wang1,2Jianping  YangJianping Yang1,2Jinfeng  WuJinfeng Wu1,5Bing  ZhouBing Zhou1,3*
  • 1Yunnan Agricultural University, Kunming, China
  • 2College of Big Data, Kunming, Yunnan Province, China
  • 3College of Science, Kunming, China
  • 4College of Plant Protection, Yunnan Agricultural University, Kunming, Yunnan Province, China
  • 5College of Food Science and Technology, Kunming, China

The final, formatted version of the article will be published soon.

Weed poses a greater threat to rice yield and quality in upland environments compared to paddy fields. Effective weed detection is a critical prerequisite for intelligent weed control technologies. However, current weed detection methods for upland rice often struggle to achieve a balance between accuracy and lightweight design, significantly hindering the practical application and widespread adoption of intelligent weeding technologies in real-world agricultural scenarios. To address this issue, we enhanced the baseline model RT-DETR and proposed a lightweight weed detection model for upland rice, named PHRF-RTDETR.Methods: First, we propose a novel lightweight backbone network, termed PGRNet, to replace the original computationally intensive feature extraction network in RT-DETR. Second, we integrate HiLo, a mechanism excluding parameter growth, into the AIFI module to enhance the model's capability of capturing multi-frequency features. Furthermore, the RepC3 block is optimized by incorporating the RetBlock structure, resulting in RetC3, which effectively balances feature fusion and computational efficiency. Finally, the conventional GIoU loss is replaced with the Focaler-WIoUv3 loss function to significantly improve the model's generalization performance.The experimental results show that PHRF-RTDETR achieves precision, recall, mAP50, and mAP50:95 scores of 92%, 85.6%, 88.2%, and 76.6%, respectively, with all metrics deviating by less than 1.7 percentage points from the baseline model in upland rice weed detection. In terms of lightweight indicators, PHRF-RTDETR achieved reductions in floating-point operations, parameter count, and model size by 59.3%, 53.7%, and 53.9%, respectively, compared to the baseline model. Compared with the traditional target detection models of Faster R-CNN and SSD, YOLO series models and RT-DETR series models, the PHRF-RTDETR model effectively balances lightweight and accuracy performance for weed detection in upland rice. Discussion: Overall, the PHRF-RTDETR model demonstrates potential for implementation in the detection modules of intelligent weeding robots for upland rice systems, offering dual benefits of reducing agricultural production costs through labor efficiency and contributing to improved food security in drought-prone regions.

Keywords: Weed detection, Lightweight, PHRF-RTDETR, PGRNet, HiLo, RetC3, Focaler-WIoUv3

Received: 20 Jan 2025; Accepted: 26 May 2025.

Copyright: © 2025 Jin, Zhang, Wang, Zhao, Wang, Yang, Wu and Zhou. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

* Correspondence: Bing Zhou, Yunnan Agricultural University, Kunming, China

Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.