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 , Li Zhang , Chang Xu , Qing Miao , Junsheng Yao , Fangchao Liu , Huiwen Liu , Ying-Bo Lu , Ran Kang , 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.
期刊介绍:
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.