Detection of pine wilt disease infected pine trees using YOLOv5 optimized by attention mechanisms and loss functions

IF 7 2区 环境科学与生态学 Q1 ENVIRONMENTAL SCIENCES Ecological Indicators Pub Date : 2024-10-28 DOI:10.1016/j.ecolind.2024.112764
Xiaotong Dong , Li Zhang , Chang Xu , Qing Miao , Junsheng Yao , Fangchao Liu , Huiwen Liu , Ying-Bo Lu , Ran Kang , Bin Song
{"title":"Detection of pine wilt disease infected pine trees using YOLOv5 optimized by attention mechanisms and loss functions","authors":"Xiaotong Dong ,&nbsp;Li Zhang ,&nbsp;Chang Xu ,&nbsp;Qing Miao ,&nbsp;Junsheng Yao ,&nbsp;Fangchao Liu ,&nbsp;Huiwen Liu ,&nbsp;Ying-Bo Lu ,&nbsp;Ran Kang ,&nbsp;Bin Song","doi":"10.1016/j.ecolind.2024.112764","DOIUrl":null,"url":null,"abstract":"<div><div>Pine Wilt Disease (PWD) is one of the most dangerous and destructive disease in the global forest ecosystems. Based on a dataset of pine wilt disease infected trees that we collected and produced, we developed new technology derived from YOLOv5s to promote the detection performance of the PWD infected trees in this work, in which attention mechanisms, random backgrounds and modifications of the loss functions are integrated. In our strategy, six different attention mechanisms, i.e., SE, CA, CBAM, ECA, SimAM and NAM, are added to improve the detection of YOLOv5s algorithm. These mechanisms are added by embedding in the previous layer of the spatial pyramid pooling-fast structure and replacing all C3 layers in the backbone, respectively. All attention mechanisms added in various ways improves the detection results of PWD infected pine trees. Among them, SE, CBAM and NAM attention mechanisms show the most significant improvements. Because all these three attention mechanisms can specifically enhance the ability of the model to focus on the critical feature for densely distributed or complex pine forests with red broad-leaved trees with diseased and withered pine trees. Five other loss functions are adopted to replace CIoU loss function in the original YOLOv5 networks to examine their interactions in the detection of PWD infected trees. Among the five replaced loss functions, SIoU and WIoU losses are sensitive to color changes in the target, allowing them to effectively capture the distinctions of diseased trees, thereby increasing detection precision. Also, we acquired a model trained by incorporating a 10 % ratio of random backgrounds into our original dataset. This training approach can improve the precision of recognition in different environments, thereby enhancing its generalization capability. Therefore, our new developed method can contribute important works to prevent and control of these diseases in real applications.</div></div>","PeriodicalId":11459,"journal":{"name":"Ecological Indicators","volume":"168 ","pages":"Article 112764"},"PeriodicalIF":7.0000,"publicationDate":"2024-10-28","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ecological Indicators","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1470160X24012214","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ENVIRONMENTAL SCIENCES","Score":null,"Total":0}
引用次数: 0

Abstract

Pine Wilt Disease (PWD) is one of the most dangerous and destructive disease in the global forest ecosystems. Based on a dataset of pine wilt disease infected trees that we collected and produced, we developed new technology derived from YOLOv5s to promote the detection performance of the PWD infected trees in this work, in which attention mechanisms, random backgrounds and modifications of the loss functions are integrated. In our strategy, six different attention mechanisms, i.e., SE, CA, CBAM, ECA, SimAM and NAM, are added to improve the detection of YOLOv5s algorithm. These mechanisms are added by embedding in the previous layer of the spatial pyramid pooling-fast structure and replacing all C3 layers in the backbone, respectively. All attention mechanisms added in various ways improves the detection results of PWD infected pine trees. Among them, SE, CBAM and NAM attention mechanisms show the most significant improvements. Because all these three attention mechanisms can specifically enhance the ability of the model to focus on the critical feature for densely distributed or complex pine forests with red broad-leaved trees with diseased and withered pine trees. Five other loss functions are adopted to replace CIoU loss function in the original YOLOv5 networks to examine their interactions in the detection of PWD infected trees. Among the five replaced loss functions, SIoU and WIoU losses are sensitive to color changes in the target, allowing them to effectively capture the distinctions of diseased trees, thereby increasing detection precision. Also, we acquired a model trained by incorporating a 10 % ratio of random backgrounds into our original dataset. This training approach can improve the precision of recognition in different environments, thereby enhancing its generalization capability. Therefore, our new developed method can contribute important works to prevent and control of these diseases in real applications.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用注意力机制和损失函数优化的 YOLOv5 检测受松树枯萎病感染的松树
松树枯萎病(PWD)是全球森林生态系统中最具危害性和破坏性的病害之一。基于我们收集和制作的松树枯萎病感染树木数据集,我们在这项工作中开发了源自 YOLOv5s 的新技术,以提高 PWD 感染树木的检测性能,其中集成了注意力机制、随机背景和损失函数的修改。在我们的策略中,添加了六种不同的注意机制,即 SE、CA、CBAM、ECA、SimAM 和 NAM,以提高 YOLOv5s 算法的检测性能。这些机制分别通过嵌入空间金字塔池化快速结构的前一层和替换主干的所有 C3 层来添加。所有以不同方式添加的关注机制都提高了对感染 PWD 的松树的检测结果。其中,SE、CBAM 和 NAM 注意机制的改进最为显著。因为这三种关注机制都能有针对性地提高模型对分布密集或复杂的松林的关键特征的关注能力,这些松林中的红色阔叶树带有病虫害和枯死的松树。另外,还采用了其他五个损失函数来替代原 YOLOv5 网络中的 CIoU 损失函数,以检验它们在检测感染 PWD 的树木中的相互作用。在被替换的五个损失函数中,SIoU 和 WIoU 损失函数对目标的颜色变化敏感,能有效捕捉病树的区别,从而提高检测精度。此外,我们还在原始数据集中加入了 10% 的随机背景,从而获得了一个经过训练的模型。这种训练方法可以提高不同环境下的识别精度,从而增强其泛化能力。因此,我们新开发的方法可以在实际应用中为预防和控制这些疾病做出重要贡献。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
Ecological Indicators
Ecological Indicators 环境科学-环境科学
CiteScore
11.80
自引率
8.70%
发文量
1163
审稿时长
78 days
期刊介绍: The ultimate aim of Ecological Indicators is to integrate the monitoring and assessment of ecological and environmental indicators with management practices. The journal provides a forum for the discussion of the applied scientific development and review of traditional indicator approaches as well as for theoretical, modelling and quantitative applications such as index development. Research into the following areas will be published. • All aspects of ecological and environmental indicators and indices. • New indicators, and new approaches and methods for indicator development, testing and use. • Development and modelling of indices, e.g. application of indicator suites across multiple scales and resources. • Analysis and research of resource, system- and scale-specific indicators. • Methods for integration of social and other valuation metrics for the production of scientifically rigorous and politically-relevant assessments using indicator-based monitoring and assessment programs. • How research indicators can be transformed into direct application for management purposes. • Broader assessment objectives and methods, e.g. biodiversity, biological integrity, and sustainability, through the use of indicators. • Resource-specific indicators such as landscape, agroecosystems, forests, wetlands, etc.
期刊最新文献
Urban forest indicator assessment for nature-based solutions to connect biodiversity and people Drivers of prehistoric cultural evolution in the Chengdu Plain: Fire events and environmental changes during the middle and late Holocene A novel integrated socio-ecological-economic index for assessing heat health risk Long-term water quality dynamics and trend assessment reveal the effectiveness of ecological compensation: Insights from China’s first cross-provincial compensation watershed Tracking ecosystem stability across boreal Siberia
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1