SXSFormer: Spectral Squeeze and Expansion Swin Transformer Network for Hyperspectral Image Classification

Hyperspectral images (HSIs) are highly complex, containing an enhanced spectral dimension compared to conventional images. Deep learning methods are increasingly being applied to process this three-dimensional data for hyperspectral image classification (HSIC). Existing convolutional and transformer-based methods often struggle with capturing fine-grained spectral-spatial dependencies, achieving high accuracy while balancing computational complexity. In order to solve these problems, we propose a novel SXSFormer network for HSIC. This novel approach integrates Squeeze and Expansion (SX) blocks into the Swin Transformer architecture to enhance feature extraction and attention mechanisms in the model. At its core, the novel SX Block recalibrates channel-wise features by temporarily expanding and then compressing channel dimensionality, allowing the model to focus on informative spectral bands and capture complex interdependencies. The SXSFormer, 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 SX 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. Extensive experiments on four benchmark HSI datasets (SA, IP, PU, and KSC) demonstrate that the proposed model achieves remarkable test accuracies of 99.97%, 98.15%, 99.63%, and 98.14%, respectively, outperforming existing state-of-the-art methods. Our proposed approach also shows good generalization ability when applied to new datasets. Overall, our proposed approach represents a promising direction for HSIC.

Authors

Institutions

Publication Details

Journal
IEEE Transactions on Consumer Electronics
Published
2025-06-06
DOI
https://doi.org/10.1109/tce.2025.3577484
Citations
2
Primary Topic
Remote-Sensing Image Classification
Type
article
Field-Weighted Citation Impact
2.27
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

SXSFormer: Spectral Squeeze and Expansion Swin Transformer Network for Hyperspectral Image Classification

Shabbab Ali Algamdi, Khalil Khan, Giovanni Pau, Farhan Ullah et al.
2 citations
IEEE Transactions on Consumer Electronics
Remote-Sensing Image Classification
2.27
article

SXSFormer: Spectral Squeeze and Expansion Swin Transformer Network for Hyperspectral Image Classification

Shabbab Ali Algamdi, Khalil Khan, Giovanni Pau, Farhan Ullah, Haya Aldossary, Irfan Ullah, Quan Wang
article en
2 citations

Abstract

Hyperspectral images (HSIs) are highly complex, containing an enhanced spectral dimension compared to conventional images. Deep learning methods are increasingly being applied to process this three-dimensional data for hyperspectral image classification (HSIC). Existing convolutional and transformer-based methods often struggle with capturing fine-grained spectral-spatial dependencies, achieving high accuracy while balancing computational complexity. In order to solve these problems, we propose a novel SXSFormer network for HSIC. This novel approach integrates Squeeze and Expansion (SX) blocks into the Swin Transformer architecture to enhance feature extraction and attention mechanisms in the model. At its core, the novel SX Block recalibrates channel-wise features by temporarily expanding and then compressing channel dimensionality, allowing the model to focus on informative spectral bands and capture complex interdependencies. The SXSFormer, 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 SX 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. Extensive experiments on four benchmark HSI datasets (SA, IP, PU, and KSC) demonstrate that the proposed model achieves remarkable test accuracies of 99.97%, 98.15%, 99.63%, and 98.14%, respectively, outperforming existing state-of-the-art methods. Our proposed approach also shows good generalization ability when applied to new datasets. Overall, our proposed approach represents a promising direction for HSIC.

IEEE Transactions on Consumer ElectronicsVol. 71(3)
Prince Sattam Bin Abdulaziz University (SA), Università degli Studi di Enna Kore (IT), Chengdu University of Technology (CN), Imam Abdulrahman Al Faisal Hospital (SA), Nazarbayev University (KZ), Imam Abdulrahman Bin Faisal University (SA), Wuxi Institute of Technology (CN)
Affordable and clean energy
Openalex Percentile: Top 11%
Remote-Sensing Image Classification
2.27
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.