3D-Convolution Guided Spectral-Spatial Transformer for Hyperspectral Image Classification

Shyam Varahagiri, Aryaman Sinha, Shiv Ram Dubey, Satish Kumar Singh
4/20/2024
cs.CVcs.LGeess.IV

Official code: ShyamVarahagiri/3D-ConvSST (5 stars, last commit 2024-04-16).

Abstract

In recent years, Vision Transformers (ViTs) have shown promising classification performance over Convolutional Neural Networks (CNNs) due to their self-attention mechanism. Many researchers have incorporated ViTs for Hyperspectral Image (HSI) classification. HSIs are characterised by narrow contiguous spectral bands, providing rich spectral data. Although ViTs excel with sequential data, they cannot extract spectral-spatial information like CNNs. Furthermore, to have high classification performance, there should be a strong interaction between the HSI token and the class (CLS) token. To solve these issues, we propose a 3D-Convolution guided Spectral-Spatial Transformer (3D-ConvSST) for HSI classification that utilizes a 3D-Convolution Guided Residual Module (CGRM) in-between encoders to "fuse" the local spatial and spectral information and to enhance the feature propagation. Furthermore, we forego the class token and instead apply Global Average Pooling, which effectively encodes more discriminative and pertinent high-level features for classification. Extensive experiments have been conducted on three public HSI datasets to show the superiority of the proposed model over state-of-the-art traditional, convolutional, and Transformer models. The code is available at https://github.com/ShyamVarahagiri/3D-ConvSST.

View on arXivView PDF

Code Implementations(1)

52Python, Jupyter NotebookApr 11, 20242 years ago

Similar Papers

Cite this paper

@article{varahagiri2024dconvolution,
  title  = {3D-Convolution Guided Spectral-Spatial Transformer for Hyperspectral Image Classification},
  author = {Shyam Varahagiri and Aryaman Sinha and Shiv Ram Dubey and Satish Kumar Singh},
  year   = {2024},
  eprint = {2404.13252},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.13252v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.13252.svg)](https://codeofpaper.com/paper/2404.13252)

Discussion