{"title":"Integrating Multiscale Linear Attention and Focal Loss for Robust Pest Classification","authors":"Shulin Zhao;Hai Wang;Tailian Liu;Shulai Huang","doi":"10.1109/ACCESS.2024.3473536","DOIUrl":null,"url":null,"abstract":"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.","PeriodicalId":13079,"journal":{"name":"IEEE Access","volume":"12 ","pages":"146610-146619"},"PeriodicalIF":3.4000,"publicationDate":"2024-10-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://ieeexplore.ieee.org/stamp/stamp.jsp?tp=&arnumber=10704656","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"IEEE Access","FirstCategoryId":"94","ListUrlMain":"https://ieeexplore.ieee.org/document/10704656/","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
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.
农业害虫严重影响作物产量和质量,威胁粮食安全并造成经济损失。因此,准确识别害虫对提高农业产量至关重要。然而,传统的害虫分类方法难以捕捉害虫图像不同部分之间的复杂关系,而且往往缺乏强大的泛化能力,导致性能低下。为了解决这些问题,我们提出了一种基于多尺度线性注意机制和焦点丢失(Focal Loss)的农业害虫分类模型。该模型采用多尺度线性注意模块来捕捉不同尺度的局部特征,以及这些局部特征之间的远距离依赖关系和全局关系。它采用了一种具有线性时间复杂性的注意力机制,以确保计算效率。此外,我们还使用 Focal Loss 函数来减轻数据集中样本不平衡的影响,并探索各种数据增强技术对模型泛化能力的影响。实验结果表明,我们的模型在不同规模的数据集上都表现出色。
IEEE AccessCOMPUTER SCIENCE, INFORMATION SYSTEMSENGIN-ENGINEERING, ELECTRICAL & ELECTRONIC
CiteScore
9.80
自引率
7.70%
发文量
6673
审稿时长
6 weeks
期刊介绍:
IEEE Access® is a multidisciplinary, open access (OA), applications-oriented, all-electronic archival journal that continuously presents the results of original research or development across all of IEEE''s fields of interest.
IEEE Access will publish articles that are of high interest to readers, original, technically correct, and clearly presented. Supported by author publication charges (APC), its hallmarks are a rapid peer review and publication process with open access to all readers. Unlike IEEE''s traditional Transactions or Journals, reviews are "binary", in that reviewers will either Accept or Reject an article in the form it is submitted in order to achieve rapid turnaround. Especially encouraged are submissions on:
Multidisciplinary topics, or applications-oriented articles and negative results that do not fit within the scope of IEEE''s traditional journals.
Practical articles discussing new experiments or measurement techniques, interesting solutions to engineering.
Development of new or improved fabrication or manufacturing techniques.
Reviews or survey articles of new or evolving fields oriented to assist others in understanding the new area.