Integrating Multiscale Linear Attention and Focal Loss for Robust Pest Classification

Agricultural pests significantly impact crop yield and quality, threatening food security and causing economic losses. Therefore, the precise identification of pests is crucial for improving agricultural production. However, traditional pest classification methods struggle to capture the complex rel...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Veröffentlicht in:IEEE access 2024, Vol.12, p.146610-146619
Hauptverfasser: Zhao, Shulin, Wang, Hai, Liu, Tailian, Huang, Shulai
Format: Artikel
Sprache:eng
Schlagworte:
Online-Zugang:Volltext
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:Agricultural pests significantly impact crop yield and quality, threatening food security and causing economic losses. Therefore, the precise identification of pests is crucial for improving agricultural production. However, traditional pest classification methods struggle to capture the complex relationships among different parts of pest images and often lack strong generalization capabilities, resulting in poor performance. To address these issues, we propose an agricultural pest classification model based on a multi-scale linear attention mechanism and Focal Loss. This model employs a multi-scale linear attention module to capture local features at various scales, as well as the long-distance dependencies and global relationships among these local features. It utilizes an attention mechanism with linear time complexity to ensure computational efficiency. In addition, we use the Focal Loss function to alleviate the impact of sample imbalance in the dataset and explore the effects of various data augmentation techniques on the model's generalization ability. Experimental results demonstrate that our model performs excellently across datasets of different scales.
ISSN:2169-3536
2169-3536
DOI:10.1109/ACCESS.2024.3473536