arrow
Return

Spatial-Spectral Transformer With Conditional Position Encoding for Hyperspectral Image Classification

delete2024-01-01
delete4
PRE
AI
M
Muhammad Ahmad *
M
Muhammad Usama
A
Adil Khan
D
Distefano, Salvatore
H
Hamad Ahmed Altuwaijri
M
Manuel Mazzara
DOI:10.1109/LGRS.2024.3431188delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
In Transformer-based hyperspectral image classification (HSIC), predefined positional encodings (PEs) are crucial for capturing the order of each input token. However, their typical representation as fixed-dimensional learnable vectors makes it challenging to adapt to variable-length input sequences, thereby limiting the broader application of Transformers for HSIC. To address this issue, this study introduces an implicit conditional PEs (CPEs) scheme in a Transformer for HSIC, conditioned on the input token's local neighborhood. The proposed spatial-spectral Transformer (SSFormer) integrates spatial-spectral information and enhances classification performance by incorporating a CPE mechanism, thereby increasing the Transformer layers' capacity to preserve contextual relationships within the HSI data. Moreover, SSFormer ensembles the cross attention between patches and proposed learnable embeddings. This enables the model to capture global and local features simultaneously while addressing the constraint of limited training samples in a computationally efficient manner. Extensive experiments on publicly available HSI benchmarking datasets were conducted to validate the effectiveness of the proposed SSFormer model. The results demonstrated remarkable performance, achieving the classification accuracies of 97.7% on the Indian Pines dataset and 96.08% on the University of Houston dataset.
Keywords:
Hyperspectral image classification (HSIC)
spatial-spectral Transformer (SSFormer)

Journal

IEEE Geoscience and Remote Sensing Magazine cover
IEEE Geoscience and Remote Sensing Magazine
IF:
16.4
Papers:
1.0W
Citations:
5.1K

Organization

K
King Saud University
Scholars:
3.4W
Papers: 3.8W
Citations: 815
U
University of Hull
Scholars:
7.3K
Papers: 7.0K
Citations: 6.8K
I
Innopolis University
Scholars:
299
Papers: 242
Citations: 139
U
University of Messina
Scholars:
1.5W
Papers: 1.1W
Citations: 1.1W
researcher View more organizations