You are currently viewing a new version of our website. To view the old version click .
Remote Sensing
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

8 November 2025

BiMambaHSI: Bidirectional Spectral–Spatial State Space Model for Hyperspectral Image Classification

,
and
1
School of Computer Science and Engineering, University of New South Wales, Sydney, NSW 2052, Australia
2
College of Innovation Engineering, Macau University of Science and Technology, Avenida Wai Long, Taipa, Macau, China
*
Author to whom correspondence should be addressed.
Remote Sens.2025, 17(22), 3676;https://doi.org/10.3390/rs17223676 
(registering DOI)

Abstract

Hyperspectral image (HSI) classification requires models that can simultaneously capture spatial structures and spectral continuity. Although state space models (SSMs), particularly Mamba, have shown strong capability in long-sequence modeling, their application to HSI remains limited due to insufficient spectral relation modeling and the constraints of unidirectional processing. To address these challenges, we propose BiMambaHSI, a novel bidirectional spectral-–spatial framework. First, we proposed a joint spectral–-spatial gated mamba (JGM) encoder that applies forward–backward state modeling with input-dependent gating, explicitly capturing bidirectional spectral–-spatial dependencies. This bidirectional mechanism explicitly captures long-range spectral–-spatial dependencies, overcoming the limitations of conventional unidirectional Mamba. Second, we introduced the spatial-–spectral mamba block (SSMB), which employs parallel bidirectional branches to extract spatial and spectral features separately and integrates them through a lightweight adaptive fusion mechanism. This design enhanced spectral continuity, spatial discrimination, and cross-dimensional interactions while preserving the linear complexity of pure SSMs. Extensive experiments on five public benchmark datasets (Pavia University, Houston, Indian Pines, WHU-Hi-HanChuan, and WHU-Hi-LongKou) demonstrate that BiMambaHSI consistently achieves state-of-the-art performance, improving classification accuracy and robustness compared with existing CNN- and Transformer-based methods.

Article Metrics

Citations

Article Access Statistics

Article metric data becomes available approximately 24 hours after publication online.