ERL-RTDETR: A Lightweight Transformer-Based Framework for High-Accuracy Apple Disease Detection in Precision Agriculture

IF 1.5 4区 计算机科学 Q3 COMPUTER SCIENCE, SOFTWARE ENGINEERING
Song Wang, Mingyu Liu, Shaocong Dong, Shiyu Chen
{"title":"ERL-RTDETR: A Lightweight Transformer-Based Framework for High-Accuracy Apple Disease Detection in Precision Agriculture","authors":"Song Wang,&nbsp;Mingyu Liu,&nbsp;Shaocong Dong,&nbsp;Shiyu Chen","doi":"10.1002/cpe.70276","DOIUrl":null,"url":null,"abstract":"<div>\n \n <p>Apples are deeply favored by consumers for their crisp and sweet taste and play a significant role in agricultural production. However, apples often suffer from infections by various pathogens during their growth process, severely impacting fruit quality and yield, and subsequently causing economic losses. Therefore, timely detection and accurate intervention against diseases during apple growth are crucial for improving harvest management efficiency and economic benefits. Nonetheless, current research primarily focuses on the identification of single diseases, lacking multi-disease detection capabilities. This limitation results in inadequate timeliness and accuracy in disease management, thereby restricting practical application effectiveness. Additionally, apple disease detection models need to balance high accuracy, rapid response, and lightweight design to reduce hardware costs and application thresholds. To address these challenges, this paper proposes a lightweight detection model named ERL-RTDETR, which is based on RT-DETR. First, a dataset containing 3096 images of apple-leaf diseases was constructed, encompassing different camera angles, time spans, and lighting conditions in complex environments. Subsequently, by introducing an Efficient Multi-scale Attention (EMA) mechanism and integrating it with the backbone network, we designed a new feature extraction module (BasicBlock_EMA) to enhance the capture of fine-grained features. Meanwhile, in the neck network, the traditional convolutional module was replaced with a Lightweight Adaptive Extraction module (LAE), and a Generalized Efficient Lightweight Attention Network (GELAN) was introduced to optimize the convolutional blocks, thereby improving the model's training efficiency and detection performance for subtle targets. The construction of the ERL-RTDETR model was completed while ensuring detection accuracy and reducing model complexity. Experimental results demonstrate that ERL-RTDETR achieves a balanced performance in apple disease detection tasks, with a detection precision of 94.5% on the test set (a 3.2% improvement compared to RT-DETR) and increases in mAP50 and mAP50:95 by 2.7% and 2.2%, respectively. Simultaneously, the GFLOPs were reduced by 5.9 GFLOPs (a decrease of 10.3% compared to RT-DETR). In summary, the proposed ERL-RTDETR model provides an efficient, lightweight, and accurate method for apple disease detection, serving as an important reference for research and practical applications in related fields.</p>\n </div>","PeriodicalId":55214,"journal":{"name":"Concurrency and Computation-Practice & Experience","volume":"37 23-24","pages":""},"PeriodicalIF":1.5000,"publicationDate":"2025-09-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Concurrency and Computation-Practice & Experience","FirstCategoryId":"94","ListUrlMain":"https://onlinelibrary.wiley.com/doi/10.1002/cpe.70276","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, SOFTWARE ENGINEERING","Score":null,"Total":0}
引用次数: 0

Abstract

Apples are deeply favored by consumers for their crisp and sweet taste and play a significant role in agricultural production. However, apples often suffer from infections by various pathogens during their growth process, severely impacting fruit quality and yield, and subsequently causing economic losses. Therefore, timely detection and accurate intervention against diseases during apple growth are crucial for improving harvest management efficiency and economic benefits. Nonetheless, current research primarily focuses on the identification of single diseases, lacking multi-disease detection capabilities. This limitation results in inadequate timeliness and accuracy in disease management, thereby restricting practical application effectiveness. Additionally, apple disease detection models need to balance high accuracy, rapid response, and lightweight design to reduce hardware costs and application thresholds. To address these challenges, this paper proposes a lightweight detection model named ERL-RTDETR, which is based on RT-DETR. First, a dataset containing 3096 images of apple-leaf diseases was constructed, encompassing different camera angles, time spans, and lighting conditions in complex environments. Subsequently, by introducing an Efficient Multi-scale Attention (EMA) mechanism and integrating it with the backbone network, we designed a new feature extraction module (BasicBlock_EMA) to enhance the capture of fine-grained features. Meanwhile, in the neck network, the traditional convolutional module was replaced with a Lightweight Adaptive Extraction module (LAE), and a Generalized Efficient Lightweight Attention Network (GELAN) was introduced to optimize the convolutional blocks, thereby improving the model's training efficiency and detection performance for subtle targets. The construction of the ERL-RTDETR model was completed while ensuring detection accuracy and reducing model complexity. Experimental results demonstrate that ERL-RTDETR achieves a balanced performance in apple disease detection tasks, with a detection precision of 94.5% on the test set (a 3.2% improvement compared to RT-DETR) and increases in mAP50 and mAP50:95 by 2.7% and 2.2%, respectively. Simultaneously, the GFLOPs were reduced by 5.9 GFLOPs (a decrease of 10.3% compared to RT-DETR). In summary, the proposed ERL-RTDETR model provides an efficient, lightweight, and accurate method for apple disease detection, serving as an important reference for research and practical applications in related fields.

ERL-RTDETR:基于轻量级变压器的精准农业苹果病害检测框架
苹果以其清脆甘甜的口感深受消费者喜爱,在农业生产中发挥着重要作用。然而,苹果在生长过程中经常受到各种病原体的感染,严重影响果实品质和产量,并造成经济损失。因此,及时发现和准确干预苹果生长过程中的病害,对提高收获管理效率和经济效益至关重要。然而,目前的研究主要集中在单一疾病的识别上,缺乏多疾病的检测能力。这种限制导致疾病管理的及时性和准确性不足,从而制约了实际应用的有效性。此外,苹果病害检测模型需要平衡高精度、快速响应和轻量化设计,以降低硬件成本和应用门槛。为了解决这些问题,本文提出了一种基于RT-DETR的轻量级检测模型——ERL-RTDETR。首先,构建了包含3096幅苹果叶片病害图像的数据集,包括不同的拍摄角度、时间跨度和复杂环境下的光照条件。随后,通过引入高效多尺度关注(EMA)机制并与骨干网集成,设计了新的特征提取模块BasicBlock_EMA,增强了对细粒度特征的捕获。同时,在颈部网络中,将传统的卷积模块替换为轻量级自适应提取模块(LAE),并引入广义高效轻量级注意网络(GELAN)对卷积块进行优化,从而提高了模型的训练效率和对细微目标的检测性能。在保证检测精度和降低模型复杂度的前提下,完成了ERL-RTDETR模型的构建。实验结果表明,ERL-RTDETR在苹果病害检测任务中达到了平衡的性能,在测试集上的检测精度为94.5%(比RT-DETR提高3.2%),mAP50和mAP50:95分别提高2.7%和2.2%。同时,GFLOPs降低了5.9 GFLOPs(与RT-DETR相比降低了10.3%)。综上所述,本文提出的ERL-RTDETR模型为苹果病害检测提供了一种高效、轻量、准确的方法,对相关领域的研究和实际应用具有重要参考价值。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Concurrency and Computation-Practice & Experience
Concurrency and Computation-Practice & Experience 工程技术-计算机:理论方法
CiteScore
5.00
自引率
10.00%
发文量
664
审稿时长
9.6 months
期刊介绍: Concurrency and Computation: Practice and Experience (CCPE) publishes high-quality, original research papers, and authoritative research review papers, in the overlapping fields of: Parallel and distributed computing; High-performance computing; Computational and data science; Artificial intelligence and machine learning; Big data applications, algorithms, and systems; Network science; Ontologies and semantics; Security and privacy; Cloud/edge/fog computing; Green computing; and Quantum computing.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信