DiffFormer: a Differential Spatial-Spectral Transformer for Hyperspectral Image Classification
Not on the map. Why?
Abstract (arXiv)
Hyperspectral image classification (HSIC) has gained significant attention because of its potential in analyzing high-dimensional data with rich spectral and spatial information. In this work, we propose the Differential Spatial-Spectral Transformer (DiffFormer), a novel framework designed to address the inherent challenges of HSIC, such as spectral redundancy and spatial discontinuity. The DiffFormer leverages a Differential Multi-Head Self-Attention (DMHSA) mechanism, which enhances local feature discrimination by introducing differential attention to accentuate subtle variations across neighboring spectral-spatial patches. The architecture integrates Spectral-Spatial Tokenization through three-dimensional (3D) convolution-based patch embeddings, positional encoding, and a stack of transformer layers equipped with the SWiGLU activation function for efficient feature extraction (SwiGLU is a variant of the Gated Linear Unit (GLU) activation function). A token-based classification head further ensures robust representation learning, enabling precise labeling of hyperspectral pixels. Extensive experiments on benchmark hyperspectral datasets demonstrate the superiority of DiffFormer in terms of classification accuracy, computational efficiency, and generalizability, compared to existing state-of-the-art (SOTA) methods. In addition, this work provides a detailed analysis of computational complexity, showcasing the scalability of the model for large-scale remote sensing applications. The source code will be made available at urlhttps://github.com/mahmad000/DiffFormer after the first round of revision.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 8 of its 57 references that are in the map. First posted on arXiv 23 Dec 2024.
Builds on
8 of 57 references.
References · 8
- 2017Searching for Activation Functionscited by 169
- 2021Hyperspectral Image Classification-Traditional to Deep Models: A Survey for Future Prospectscited by 49
- 2024Pyramid Hierarchical Transformer for Hyperspectral Image Classificationcited by 11
- 2024WaveMamba: Spatial-Spectral Wavelet Mamba for Hyperspectral Image Classificationcited by 11
- 2024Multi-head Spatial-Spectral Mamba for Hyperspectral Image Classificationcited by 10
- 2024Transformers Fusion across Disjoint Samples for Hyperspectral Image Classificationcited by 7
- 2024S4DL: Shift-sensitive Spatial-Spectral Disentangling Learning for Hyperspectral Image Unsupervised Domain Adaptationcited by 6
- 2023Multiple Sub-Pixel Target Detection for Hyperspectral Imaging Systemscited by 2
Built on by
Citing papers per year: 2025: 1; 2026: 2.
3 papers.