AM-MSFF: A Pest Recognition Network Based on Attention Mechanism and Multi-Scale Feature Fusion

被引:0
|
作者
Zhang, Meng [1 ]
Yang, Wenzhong [1 ,2 ]
Chen, Danny [1 ]
Fu, Chenghao [1 ]
Wei, Fuyuan [1 ]
机构
[1] Xinjiang Univ, Sch Comp Sci & Technol, Urumqi 830017, Peoples R China
[2] Xinjiang Univ, Xinjiang Key Lab Multilingual Informat Technol, Urumqi 830017, Peoples R China
关键词
pest recognition; attention mechanism; multi-scale feature fusion; cross-entropy loss; AUTOMATIC CLASSIFICATION; IDENTIFICATION; REPRESENTATION;
D O I
10.3390/e26050431
中图分类号
O4 [物理学];
学科分类号
0702 ;
摘要
Traditional methods for pest recognition have certain limitations in addressing the challenges posed by diverse pest species, varying sizes, diverse morphologies, and complex field backgrounds, resulting in a lower recognition accuracy. To overcome these limitations, this paper proposes a novel pest recognition method based on attention mechanism and multi-scale feature fusion (AM-MSFF). By combining the advantages of attention mechanism and multi-scale feature fusion, this method significantly improves the accuracy of pest recognition. Firstly, we introduce the relation-aware global attention (RGA) module to adaptively adjust the feature weights of each position, thereby focusing more on the regions relevant to pests and reducing the background interference. Then, we propose the multi-scale feature fusion (MSFF) module to fuse feature maps from different scales, which better captures the subtle differences and the overall shape features in pest images. Moreover, we introduce generalized-mean pooling (GeMP) to more accurately extract feature information from pest images and better distinguish different pest categories. In terms of the loss function, this study proposes an improved focal loss (FL), known as balanced focal loss (BFL), as a replacement for cross-entropy loss. This improvement aims to address the common issue of class imbalance in pest datasets, thereby enhancing the recognition accuracy of pest identification models. To evaluate the performance of the AM-MSFF model, we conduct experiments on two publicly available pest datasets (IP102 and D0). Extensive experiments demonstrate that our proposed AM-MSFF outperforms most state-of-the-art methods. On the IP102 dataset, the accuracy reaches 72.64%, while on the D0 dataset, it reaches 99.05%.
引用
收藏
页数:19
相关论文
共 50 条
  • [1] MFANet: Multi-scale feature fusion network with attention mechanism
    Wang, Gaihua
    Gan, Xin
    Cao, Qingcheng
    Zhai, Qianyu
    [J]. VISUAL COMPUTER, 2023, 39 (07): : 2969 - 2980
  • [2] MFANet: Multi-scale feature fusion network with attention mechanism
    Gaihua Wang
    Xin Gan
    Qingcheng Cao
    Qianyu Zhai
    [J]. The Visual Computer, 2023, 39 : 2969 - 2980
  • [3] Facial Expression Recognition Based on Multi-scale Feature Fusion Convolutional Neural Network and Attention Mechanism
    Wu, Yana
    Jia, Kebin
    Sun, Zhonghua
    [J]. PATTERN RECOGNITION AND COMPUTER VISION, PRCV 2021, PT II, 2021, 13020 : 324 - 335
  • [4] Dynamic graph convolutional network for assembly behavior recognition based on attention mechanism and multi-scale feature fusion
    Chen, Chengjun
    Zhao, Xicong
    Wang, Jinlei
    Li, Dongnian
    Guan, Yuanlin
    Hong, Jun
    [J]. SCIENTIFIC REPORTS, 2022, 12 (01)
  • [5] Dynamic graph convolutional network for assembly behavior recognition based on attention mechanism and multi-scale feature fusion
    Chengjun Chen
    Xicong Zhao
    Jinlei Wang
    Dongnian Li
    Yuanlin Guan
    Jun Hong
    [J]. Scientific Reports, 12
  • [6] A lightweight network for traffic sign recognition based on multi-scale feature and attention mechanism
    Wei, Wei
    Zhang, Lili
    Yang, Kang
    Li, Jing
    Cui, Ning
    Han, Yucheng
    Zhang, Ning
    Yang, Xudong
    Tan, Hongxin
    Wang, Kai
    [J]. HELIYON, 2024, 10 (04)
  • [7] MSFF-Net: Multi-Scale Feature Fusion Network for Gastrointestinal Vessel Segmentation
    Li, Sheng
    Lu, Cheng
    Kong, Xueting
    Zhu, Jinhui
    He, Xiongxiong
    Zhang, Ni
    [J]. JOURNAL OF MEDICAL AND BIOLOGICAL ENGINEERING, 2022, 42 (03) : 292 - 300
  • [8] MSFF: A Multi-Scale Feature Fusion Network for Surface Defect Detection of Aluminum Profiles
    Sun, Lianshan
    Wei, Jingxue
    Du, Hanchao
    Zhang, Yongbin
    He, Lifeng
    [J]. IEICE TRANSACTIONS ON INFORMATION AND SYSTEMS, 2022, E105D (09) : 1652 - 1655
  • [9] SSD with multi-scale feature fusion and attention mechanism
    Liu, Qiang
    Dong, Lijun
    Zeng, Zhigao
    Zhu, Wenqiu
    Zhu, Yanhui
    Meng, Chen
    [J]. SCIENTIFIC REPORTS, 2023, 13 (01):
  • [10] SSD with multi-scale feature fusion and attention mechanism
    Qiang Liu
    Lijun Dong
    Zhigao Zeng
    Wenqiu Zhu
    Yanhui Zhu
    Chen Meng
    [J]. Scientific Reports, 13 (1)