Patch-Based Transformer Network Construction With Adaptive Feature-Interaction for Hyperspectral Image Classification
- 26 September 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Geoscience and Remote Sensing
- Vol. 62 (01962892) , 1-13
Abstract
Hyperspectral image classification (HSIC) is widely used in such fields as vegetation classification and fine agriculture. Nowadays, numerous classification models based on Transformer networks are inputting data typically in the form of patches. However, such patch-based input format may weaken the spatial relationships between neighbor pixels, thus limiting the ability to obtain contextual semantic information. Additionally, hyperspectral images (HSIs) generally contain hundreds of bands, which in turn include some redundant information. The original spectral vectors may lead to redundancy of information, thus reducing the classification accuracy remarkably. Therefore, in this paper, a Patch-based Transformer Network Construction with Adaptive Feature-interaction for HSIC called AFinet is developed for HSIC. As an end-to-end network, AFinet consists of a feature extraction module and an adaptive feature-interaction (AFi) module. For the developed model, the feed-forward neural network (FNN) in the standard Transformer framework suffers from a limited ability in exploiting local contexts. In this paper, an expression-enhanced feed-forward neural network (E2FNN) is introduced, which can incorporate depthwise convolution layers to capture local contextual information, so as to enhance the correlations between neighbor pixels. Moreover, this study designs an AFi module to facilitate the sharing of interaction features among Transformer-extracted features. Subsequently, global spatial feature information can be integrated into each spectral channel. The AFi module also includes a channel attention mechanism to help focus more attention on channels that contain critical information, while paying less attention to channels with little critical information. After the approach proposed in this study was tested on three widely used datasets, the experimental results demonstrate that the AFinet developed in this study can effectively improve classification accuracy.Keywords
Funding Information
- National Natural Science Foundation of China (42171388)
This publication has 58 references indexed in Scilit:
- SpectralSWIN: a spectral-swin transformer network for hyperspectral image classificationInternational Journal of Remote Sensing, 2022
- A ConvNet for the 2020s2022
- Morphologically dilated convolutional neural network for hyperspectral image classificationSignal Processing: Image Communication, 2022
- CvT: Introducing Convolutions to Vision Transformers2021
- Deep learning classifiers for hyperspectral imaging: A reviewISPRS Journal of Photogrammetry and Remote Sensing, 2019
- Spatial and class structure regularized sparse representation graph for semi-supervised hyperspectral image classificationPattern Recognition, 2018
- Estimation of crop LAI using hyperspectral vegetation indices and a hybrid inversion methodRemote Sensing of Environment, 2015
- Deep Learning-Based Classification of Hyperspectral DataIEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing, 2014
- Sparse Representation for Computer Vision and Pattern RecognitionProceedings of the IEEE, 2010
- Multispectral and hyperspectral remote sensing for identification and mapping of wetland vegetation: a reviewWetlands Ecology and Management, 2009