Spatial and Spatial-Spectral Morphological Mamba for Hyperspectral Image Classification
arXiv:2408.01372 · doi:10.1016/j.neucom.2025.129995
Abstract
Recent advancements in transformers, specifically self-attention mechanisms, have significantly improved hyperspectral image (HSI) classification. However, these models often suffer from inefficiencies, as their computational complexity scales quadratically with sequence length. To address these challenges, we propose the morphological spatial mamba (SMM) and morphological spatial-spectral Mamba (SSMM) model (MorpMamba), which combines the strengths of morphological operations and the state space model framework, offering a more computationally efficient alternative to transformers. In MorpMamba, a novel token generation module first converts HSI patches into spatial-spectral tokens. These tokens are then processed through morphological operations such as erosion and dilation, utilizing depthwise separable convolutions to capture structural and shape information. A token enhancement module refines these features by dynamically adjusting the spatial and spectral tokens based on central HSI regions, ensuring effective feature fusion within each block. Subsequently, multi-head self-attention is applied to further enrich the feature representations, allowing the model to capture complex relationships and dependencies within the data. Finally, the enhanced tokens are fed into a state space module, which efficiently models the temporal evolution of the features for classification. Experimental results on widely used HSI datasets demonstrate that MorpMamba achieves superior parametric efficiency compared to traditional CNN and transformer models while maintaining high accuracy. The code will be made publicly available at \url{https://github.com/mahmad000/MorpMamba}.
References in corpus (10)
- Mamba: Linear-Time Sequence Modeling with Selective State Spaces
- SpectralGPT: Spectral Remote Sensing Foundation Model
- Hyperspectral Image Classification-Traditional to Deep Models: A Survey for Future Prospects
- A Fast 3D CNN for Hyperspectral Image Classification
- Spectral-Spatial Mamba for Hyperspectral Image Classification
- WaveMamba: Spatial-Spectral Wavelet Mamba for Hyperspectral Image Classification
- Pyramid Hierarchical Transformer for Hyperspectral Image Classification
- Multi-head Spatial-Spectral Mamba for Hyperspectral Image Classification
- Transformers Fusion across Disjoint Samples for Hyperspectral Image Classification
- SeaMo: A Season-Aware Multimodal Foundation Model for Remote Sensing
Cited by in corpus (4)
- A Comprehensive Survey for Hyperspectral Image Classification: The Evolution from Conventional to Transformers and Mamba Models
- DiffFormer: a Differential Spatial-Spectral Transformer for Hyperspectral Image Classification
- LoLA-SpecViT: Local Attention SwiGLU Vision Transformer with LoRA for Hyperspectral Imaging
- MixerSENet: A Lightweight Framework for Efficient Hyperspectral Image Classification