Weihai Sun , Yane Li , Hailin Feng , Xiang Weng , Yaoping Ruan , Kai Fang , Leijun Huang
{"title":"Lightweight and accurate aphid detection model based on an improved deep-learning network","authors":"Weihai Sun , Yane Li , Hailin Feng , Xiang Weng , Yaoping Ruan , Kai Fang , Leijun Huang","doi":"10.1016/j.ecoinf.2024.102794","DOIUrl":null,"url":null,"abstract":"<div><p>Rapid and accurate detection of bamboo aphids can help prevent large-scale aphid infestations from occurring, which is of great significance for increasing bamboo shoot production and economic benefits. Herein, a lightweight and accurate model, SCA-YOLOv5s, was established by integrating ShuffleNetv2 and Coordinate Attention with the YOLOv5s model to detect <em>Takecallis taiwanus</em> on the yellow sticky traps. Specifically, we first replaced the backbone network of YOLOv5s with ShuffleNetv2 to reduce the number of parameters and computational complexity of the model. Second, an anchor optimization method was proposed by combining linear scaling and <em>k</em>-means algorithm to generate appropriate anchor boxes for detecting small-sized alate aphids. Third, the coordinate attention mechanism was added to the neck network to improve the feature extraction ability. To verify the performance of the proposed SCA-YOLOv5s model, eight detection models were constructed with existing deep learning methods, including SSD300, YOLOv3, Faster R-CNN, YOLOv4, YOLOv4-Tiny, YOLOX-Tiny, YOLOv7-Tiny, and YOLOv5s. Results reveal that the SCA-YOLOv5s model achieved higher detection accuracy than the other eight models. Its mean average precision reached 92.2 %. The proposed model has a size of only 6.7 MB, its floating-point operations (FLOPs) is 7.4 × 10<sup>9</sup>, its inference time is 6.6 ms, and compared with YOLOv5s, it is 53.47 % smaller in model size, 55.15 % lower in FLOPs, and 0.8 ms faster in inference time. The results indicate that the proposed model can maintain high detection accuracy while minimizing computation and inference time, which is crucial for deployment in remote areas with low information technology. This study provides valuable technical support for the control of aphids in bamboo forests.</p></div>","PeriodicalId":51024,"journal":{"name":"Ecological Informatics","volume":null,"pages":null},"PeriodicalIF":5.8000,"publicationDate":"2024-08-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S1574954124003364/pdfft?md5=7405cde5930c97d6d4719ddf73d64b30&pid=1-s2.0-S1574954124003364-main.pdf","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Ecological Informatics","FirstCategoryId":"93","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1574954124003364","RegionNum":2,"RegionCategory":"环境科学与生态学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"ECOLOGY","Score":null,"Total":0}
引用次数: 0
Abstract
Rapid and accurate detection of bamboo aphids can help prevent large-scale aphid infestations from occurring, which is of great significance for increasing bamboo shoot production and economic benefits. Herein, a lightweight and accurate model, SCA-YOLOv5s, was established by integrating ShuffleNetv2 and Coordinate Attention with the YOLOv5s model to detect Takecallis taiwanus on the yellow sticky traps. Specifically, we first replaced the backbone network of YOLOv5s with ShuffleNetv2 to reduce the number of parameters and computational complexity of the model. Second, an anchor optimization method was proposed by combining linear scaling and k-means algorithm to generate appropriate anchor boxes for detecting small-sized alate aphids. Third, the coordinate attention mechanism was added to the neck network to improve the feature extraction ability. To verify the performance of the proposed SCA-YOLOv5s model, eight detection models were constructed with existing deep learning methods, including SSD300, YOLOv3, Faster R-CNN, YOLOv4, YOLOv4-Tiny, YOLOX-Tiny, YOLOv7-Tiny, and YOLOv5s. Results reveal that the SCA-YOLOv5s model achieved higher detection accuracy than the other eight models. Its mean average precision reached 92.2 %. The proposed model has a size of only 6.7 MB, its floating-point operations (FLOPs) is 7.4 × 109, its inference time is 6.6 ms, and compared with YOLOv5s, it is 53.47 % smaller in model size, 55.15 % lower in FLOPs, and 0.8 ms faster in inference time. The results indicate that the proposed model can maintain high detection accuracy while minimizing computation and inference time, which is crucial for deployment in remote areas with low information technology. This study provides valuable technical support for the control of aphids in bamboo forests.
期刊介绍:
The journal Ecological Informatics is devoted to the publication of high quality, peer-reviewed articles on all aspects of computational ecology, data science and biogeography. The scope of the journal takes into account the data-intensive nature of ecology, the growing capacity of information technology to access, harness and leverage complex data as well as the critical need for informing sustainable management in view of global environmental and climate change.
The nature of the journal is interdisciplinary at the crossover between ecology and informatics. It focuses on novel concepts and techniques for image- and genome-based monitoring and interpretation, sensor- and multimedia-based data acquisition, internet-based data archiving and sharing, data assimilation, modelling and prediction of ecological data.