Squeeze-SwinFormer: Spectral Squeeze and Excitation Swin Transformer Network for Hyperspectral Image Classification
Hyperspectral Images (HSIs) are highly complex, containing a richer spectral dimension compared to conventional images. Deep learning methods are increasingly being applied to process this three-dimensional data for Hyperspectral Image Classification (HSIC). The Vision Transformer model is steadily gaining prominence in computer vision, emerging as a potential alternative to traditional convolutional neural network (CNN) architectures. Although transformers are powerful due to their self-attention mechanisms, they face challenges related to scalability and efficiency, particularly when processing high-resolution images. In order to solve these problems, in this paper, we propose a novel Squeeze-SwinFormer network for HSIC. This novel approach integrates Spectral Squeeze and Excitation (SE) blocks into the Swin Transformer architecture to enhance feature extraction and attention mechanisms in the model. The SE block dynamically recalibrates channel-wise feature responses, improving the model's focus on significant features. The Squeeze-SwinFormer, equipped with window-based multi-head self-attention, efficiently captures long-range dependencies with reduced computational complexity by partitioning input data into non-overlapping windows. Additionally, the SE block's integration within the Swin Transformer enables improved global contextual understanding by selectively weighting the feature maps. We further refine the architecture using various components, such as patch extraction and embedding layers, and a patch merging strategy, ensuring efficient multi-scale feature extraction. The proposed architecture demonstrates superior performance in tasks requiring attention to intricate details in HSIC. The comprehensive experimental results demonstrate that our proposed model achieved higher test accuracies against the state-of-the-art method, with results of 99.93%, 98.31%, 99.50%, and 97.75% on the SA, IP, PU, and KSC public benchmark HSIC datasets, respectively. Our approach also shows good generalization ability when applied to new datasets. Overall, our proposed approach represents a promising direction for HSIC.
Authors
- Shabbab Ali Algamdi (ORCID: https://orcid.org/0000-0003-3435-6681)
- Khalil Khan (ORCID: https://orcid.org/0000-0002-0864-5255)
- Salabat Khan (ORCID: https://orcid.org/0000-0003-3737-9037)
- Farhan Ullah (ORCID: https://orcid.org/0000-0001-7971-7992)
- Haya Aldossary (ORCID: https://orcid.org/0009-0003-4076-1541)
- Irfan Ullah (ORCID: https://orcid.org/0000-0003-4664-4840)
- Quan Wang (ORCID: https://orcid.org/0000-0001-5483-0243)
Institutions
- Jiangnan University (CN)
- Prince Sattam Bin Abdulaziz University (SA)
- Qilu University of Technology (CN)
- Chengdu University of Technology (CN)
- Nazarbayev University (KZ)
- Imam Abdulrahman Bin Faisal University (SA)
- Wuxi Institute of Technology (CN)
Publication Details
- Journal
- IEEE Journal of Selected Topics in Applied Earth Observations and Remote Sensing
- Published
- 2025-01-01
- DOI
- https://doi.org/10.1109/jstars.2025.3595434
- Citations
- 2
- Primary Topic
- Remote-Sensing Image Classification
- Type
- article
- Field-Weighted Citation Impact
- 2.27