Cargando…

An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network

The convolution neural network (CNN) not only has high fault tolerance but also has high computing capacity. The image classification performance of CNN has an important relationship with its network depth. The network depth is deeper, and the fitting ability of CNN is stronger. However, a further i...

Descripción completa

Detalles Bibliográficos
Autores principales: Luo, Juanjuan, Hu, Defa
Formato: Online Artículo Texto
Lenguaje:English
Publicado: Hindawi 2023
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9957639/
https://www.ncbi.nlm.nih.gov/pubmed/36844695
http://dx.doi.org/10.1155/2023/4305594
_version_ 1784894871278977024
author Luo, Juanjuan
Hu, Defa
author_facet Luo, Juanjuan
Hu, Defa
author_sort Luo, Juanjuan
collection PubMed
description The convolution neural network (CNN) not only has high fault tolerance but also has high computing capacity. The image classification performance of CNN has an important relationship with its network depth. The network depth is deeper, and the fitting ability of CNN is stronger. However, a further increase in the depth of CNN will not improve the accuracy of the network but will produce higher training errors, which will reduce the image classification performance of CNN. In order to solve the above problems, this paper proposes a feature extraction network, AA-ResNet with an adaptive attention mechanism. The residual module of the adaptive attention mechanism is embedded for image classification. It consists of a feature extraction network guided by the pattern, a generator trained in advance, and a complementary network. The feature extraction network guided by the pattern is used to extract different levels of features to describe different aspects of an image. The design of the model effectively uses the image information of the whole level and the local level, and the feature representation ability is enhanced. The whole model is trained as a loss function, which is about a multitask problem and has a specially designed classification, which helps to reduce overfitting and make the model focus on easily confused categories. The experimental results show that the method in this paper performs well in image classification for the relatively simple Cifar-10 dataset, the moderately difficult Caltech-101 dataset, and the Caltech-256 dataset with large differences in object size and location. The fitting speed and accuracy are high.
format Online
Article
Text
id pubmed-9957639
institution National Center for Biotechnology Information
language English
publishDate 2023
publisher Hindawi
record_format MEDLINE/PubMed
spelling pubmed-99576392023-02-25 An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network Luo, Juanjuan Hu, Defa Comput Intell Neurosci Research Article The convolution neural network (CNN) not only has high fault tolerance but also has high computing capacity. The image classification performance of CNN has an important relationship with its network depth. The network depth is deeper, and the fitting ability of CNN is stronger. However, a further increase in the depth of CNN will not improve the accuracy of the network but will produce higher training errors, which will reduce the image classification performance of CNN. In order to solve the above problems, this paper proposes a feature extraction network, AA-ResNet with an adaptive attention mechanism. The residual module of the adaptive attention mechanism is embedded for image classification. It consists of a feature extraction network guided by the pattern, a generator trained in advance, and a complementary network. The feature extraction network guided by the pattern is used to extract different levels of features to describe different aspects of an image. The design of the model effectively uses the image information of the whole level and the local level, and the feature representation ability is enhanced. The whole model is trained as a loss function, which is about a multitask problem and has a specially designed classification, which helps to reduce overfitting and make the model focus on easily confused categories. The experimental results show that the method in this paper performs well in image classification for the relatively simple Cifar-10 dataset, the moderately difficult Caltech-101 dataset, and the Caltech-256 dataset with large differences in object size and location. The fitting speed and accuracy are high. Hindawi 2023-02-17 /pmc/articles/PMC9957639/ /pubmed/36844695 http://dx.doi.org/10.1155/2023/4305594 Text en Copyright © 2023 Juanjuan Luo and Defa Hu. https://creativecommons.org/licenses/by/4.0/This is an open access article distributed under the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
spellingShingle Research Article
Luo, Juanjuan
Hu, Defa
An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network
title An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network
title_full An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network
title_fullStr An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network
title_full_unstemmed An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network
title_short An Image Classification Method Based on Adaptive Attention Mechanism and Feature Extraction Network
title_sort image classification method based on adaptive attention mechanism and feature extraction network
topic Research Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC9957639/
https://www.ncbi.nlm.nih.gov/pubmed/36844695
http://dx.doi.org/10.1155/2023/4305594
work_keys_str_mv AT luojuanjuan animageclassificationmethodbasedonadaptiveattentionmechanismandfeatureextractionnetwork
AT hudefa animageclassificationmethodbasedonadaptiveattentionmechanismandfeatureextractionnetwork
AT luojuanjuan imageclassificationmethodbasedonadaptiveattentionmechanismandfeatureextractionnetwork
AT hudefa imageclassificationmethodbasedonadaptiveattentionmechanismandfeatureextractionnetwork