Affiliation:
1. School of Software, Jiangxi Agricultural University, Nanchang 330045, China
2. School of Information Engineering, East China Jiaotong University, Nanchang 330013, China
Abstract
Fruit fly species classification is a fine-grained task as there is a small gap between species. In order to effectively identify and improve the recognition of fruit flies, a fine-grained image-recognition method based on a multi-channel self-attention mechanism was studied and a network framework for fine-grained image recognition based on deep learning was designed in this paper. In this framework, long-term and short-term memory networks are used to extract the underlying features in fruit fly fine-grained images. By inputting the underlying features in the multi-channel self-attention mechanism module, the global and local attention feature maps can be obtained.The weighted attention feature map can also be obtained by multiplying the weight of each channel and the attention feature map. The fine-grained image features of fruit flies were obtained by summing the weighted attention feature map. A softmax classifier was used to process the features and complete the recognition of the fruit fly fine-grained images. Two fine-grained image datasets of fruit flies were applied as experimental objects. Dataset 1 and Dataset 2 contain 11,778 images and 20,580 images from 46 different categories of fruit flies, respectively. The Kappa coefficient was used as the evaluation index to identify fruit fly images with different targets using the method proposed herein. The experimental results showed that, as the number of attention channels increased, the Kappa coefficient gradually increased, suggesting an improvement in the accuracy of fine-grained image recognition. The fine-grained image features extracted by introducing a multi-channel self-attention mechanism exhibited more distinct boundaries with a small amount of overlap, demonstrating strong feature extraction capabilities. When dealing with fine-grained images with either simple or complex backgrounds, the method proposed in this paper has good performance and generalization ability. Even if the target is small and varied in shape, it can still achieve highly accurate recognition.
Funder
Natural Science Foundation of Jiangxi Province
Reference23 articles.
1. Optimizing convolutional neural networks architecture using a modified particle swarm optimization for image classification;Elhani;Expert Syst. Appl.,2023
2. Softnet: A concept-controlled deep learning architecture for interpretable image classification;Zia;Knowl.-Based Syst.,2022
3. Drosophila melanogaster: A simple genetic model of kidney structure, function and disease;Dow;Nat. Rev.,2022
4. Combined spatial-spectral schroedinger eigenmaps with multiple kernel learning for hyperspectral image classification using a low number of training samples;Hassanzadeh;Can. J. Remote Sens.,2022
5. Tabledet: An end-to-end deep learning approach for table detection and table image classification in data sheet images;Fernandes;Neurocomputing,2022