A GNN Architecture With Local and Global-Attention Feature for Image Classification
Open Access
- 12 June 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Access
- Vol. 11, 110221-110233
Abstract
Convolutional neural network (CNN) is quite popular in computer vision, especially in image classification with excellent performance. However, limited by the convolution kernels, CNN-based classifiers are hard to extract global feature from the original image, while exact object locations in the environment are included in the global feature. One popular way to improve global feature extraction performance is to use graph neural network (GNN) which can aggregate global information through the connection relationship of different nodes. In this work, a novel end-to-end graph neural network architecture is proposed, in which local and global-attention feature are used simultaneously to achieve more accurate predictions. In this architecture, a CNN block is designed to learn local feature and graph convolutional neural network (GCN) is used to learn global feature. Global-attention feature for final prediction is down-sampled from global feature by the proposed global multi-head self-attention pooling (GMSAPool) based on self-attention mechanism, which reconstructs the input graph by introducing virtual node and automatically assigns different weights to each node to obtain a more representative global-attention feature. In addition, the proposed architecture can be trained without converting images to graphs in advance, and the computational burden can also be reduced. This approach is demonstrated on three open datasets (Agricultural Disease, Caltech256 and CIFAR-100) to validate the effectiveness. The determined experimental results showed that: (1) The proposed model achieve 84.46%, 77.80%, and 83.33% on the Macro-F1 in three datasets respectively, improving over the best baselines; (2) Global-attention feature that is more conducive to the final prediction is extracted by GMSAPool from numerous nodes, in which Macro-P,Macro-R and Macro-F1 are respectively improved 3.655%,1.12%,2.715% on average.Keywords
Funding Information
- Key Research and Development Program of Zhejiang Province (2018C01085)
- Natural Science Foundation of Zhejiang Province (LQ15F030006)
- Research Project of Zhejiang Provincial Department of Education (Y202249418)
- Key Project of Zhejiang University of Science and Technology Postgraduate Innovation Fund (2021yjskc04)
This publication has 35 references indexed in Scilit:
- node2vec2016
- Faster R-CNN: Towards Real-Time Object Detection with Region Proposal NetworksIEEE Transactions on Pattern Analysis and Machine Intelligence, 2016
- Convolutional Pose Machines2016
- Improving graph-based image classification by using emerging patterns as attributesEngineering Applications of Artificial Intelligence, 2016
- Going deeper with convolutions2015
- DeepWalk2014
- Rich Feature Hierarchies for Accurate Object Detection and Semantic Segmentation2014
- SLIC Superpixels Compared to State-of-the-Art Superpixel MethodsIEEE Transactions on Pattern Analysis and Machine Intelligence, 2012
- Learning Generative Visual Models from Few Training Examples: An Incremental Bayesian Approach Tested on 101 Object Categories2005
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998