EconPapers    
Economics at your fingertips  
 

A Lightweight Rice Pest Detection Algorithm Using Improved Attention Mechanism and YOLOv8

Jianjun Yin, Pengfei Huang, Deqin Xiao () and Bin Zhang
Additional contact information
Jianjun Yin: College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China
Pengfei Huang: College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China
Deqin Xiao: College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China
Bin Zhang: College of Mathematics and Informatics, South China Agricultural University, Guangzhou 510642, China

Agriculture, 2024, vol. 14, issue 7, 1-17

Abstract: Intelligent pest detection algorithms are capable of effectively detecting and recognizing agricultural pests, providing important recommendations for field pest control. However, existing recognition models have shortcomings such as poor accuracy or a large number of parameters. Therefore, this study proposes a lightweight and accurate rice pest detection algorithm based on improved YOLOv8. Firstly, a Multi-branch Convolutional Block Attention Module (M-CBAM) is constructed in the YOLOv8 network to enhance the feature extraction capability for pest targets, yielding better detection results. Secondly, the Minimum Points Distance Intersection over Union (MPDIoU) is introduced as a bounding box loss metric, enabling faster model convergence and improved detection results. Lastly, lightweight Ghost convolutional modules are utilized to significantly reduce model parameters while maintaining optimal detection performance. The experimental results demonstrate that the proposed method outperforms other detection models, with improvements observed in all evaluation metrics compared to the baseline model. On the test set, this method achieves a detection average precision of 95.8% and an F1-score of 94.6%, with a model parameter of 2.15 M, meeting the requirements of both accuracy and lightweightness. The efficacy of this approach is validated by the experimental findings, which provide specific solutions and technical references for intelligent pest detection.

Keywords: pest detection; YOLOv8; attention mechanism; loss metric; lightweight model (search for similar items in EconPapers)
JEL-codes: Q1 Q10 Q11 Q12 Q13 Q14 Q15 Q16 Q17 Q18 (search for similar items in EconPapers)
Date: 2024
References: View references in EconPapers View complete reference list from CitEc
Citations:

Downloads: (external link)
https://www.mdpi.com/2077-0472/14/7/1052/pdf (application/pdf)
https://www.mdpi.com/2077-0472/14/7/1052/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jagris:v:14:y:2024:i:7:p:1052-:d:1425901

Access Statistics for this article

Agriculture is currently edited by Ms. Leda Xuan

More articles in Agriculture from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jagris:v:14:y:2024:i:7:p:1052-:d:1425901