MambaMoE: Mixture-of-Spectral-Spatial-Experts State Space Model for Hyperspectral Image Classification

Yichu Xu, Di Wang, Hongzan Jiao, Lefei Zhang, Liangpei Zhang · DOI

Introduction

Hyperspectral image (HSI) classification is a cornerstone of remote sensing, providing detailed spectral information across hundreds of bands to identify land-cover types. However, the high dimensionality and complex spatial-spectral relationships of HSI data present significant computational challenges. Traditional Convolutional Neural Networks (CNNs) often lack the receptive field to capture global context, while Vision Transformers (ViTs) suffer from quadratic computational complexity relative to sequence length.

Recently, the Mamba architecture—a State Space Model (SSM)—has emerged as a promising alternative, offering linear complexity and long-range modeling capabilities. Despite its potential, existing Mamba-based HSI methods often struggle with limited receptive fields due to patch-level designs, directional blindness in scanning patterns, and spatial disruption caused by flattening 2D images into 1D sequences. To address these issues, this paper introduces MambaMoE, the first framework to integrate the Mixture-of-Experts (MoE) paradigm with Mamba-based SSMs for HSI classification.

Methodology

MambaMoE utilizes an image-level encoder-decoder architecture designed to maintain spatial coherence while capturing global dependencies. The core of the system lies in two innovative components: the Mixture of Mamba Expert Block (MoMEB) and the Uncertainty-Guided Corrective Learning (UGCL) strategy.

The MambaMoE framework features an encoder-decoder structure with specialized Mixture of Mamba Expert Blocks (MoMEB) and Uncertainty-Aware Refinement Blocks (UARB).

1. Mixture of Mamba Expert Block (MoMEB)

Unlike standard Mamba layers that apply a uniform scanning pattern, the MoMEB splits feature processing into two specialized views:

  • Spatial Routed Experts (SRE): This component contains multiple Mamba experts, each optimized for a specific scanning direction (e.g., horizontal, vertical, or diagonal). A lightweight router network dynamically calculates routing weights for each input, selecting the "top-$k$" most relevant experts. This allows the model to adapt to the directional heterogeneity of different land-cover types, such as favoring vertical experts for long highways and horizontal experts for rectangular buildings.
  • Spectral Shared Experts (SSE): To ensure consistent spectral feature extraction across the entire scene, the SSE employs bi-directional Mamba layers. These experts focus on the wavelength dimension, capturing dependencies between spectral bands regardless of their spatial location.

2. Uncertainty-Guided Corrective Learning (UGCL)

To mitigate the spatial disruption inherent in 1D sequential scanning, the authors propose UGCL. During training, the model identifies pixels with high predictive uncertainty—defined by low maximum class probability. Using Bernoulli sampling, the framework focuses additional supervision on these "hard" regions. This forces the decoder to refine features in complex areas where the model is prone to error, effectively acting as a spatial corrective mechanism.

Experimental Results

The performance of MambaMoE was evaluated on three standard HSI benchmarks: the Pavia University, Houston, and Whu-HanChuan datasets.

Quantitative and qualitative comparison on the Pavia University dataset. MambaMoE achieves the highest Overall Accuracy (OA) and produces the most coherent classification maps.

Performance and Efficiency

As shown in the results for the Pavia University dataset, MambaMoE achieved a state-of-the-art (SOTA) Overall Accuracy (OA) of 95.20%, outperforming both Transformer-based models and recent Mamba variants like MambaHSI. Beyond accuracy, the model demonstrates exceptional efficiency. Despite the MoE structure, it maintains linear complexity, achieving the second-lowest FLOPs among compared methods and an inference time of just 0.21 seconds on the Pavia dataset.

Key Insights

  • Directional Adaptation: Visualization of the router's weights confirmed that the model successfully learns to match expert scanning directions to the geometric properties of land-cover classes.
  • Robustness in Few-Shot Scenarios: In experiments with only 5 training samples per class, MambaMoE maintained significantly higher accuracy than its competitors, highlighting its superior generalization capabilities.
  • Sparsity Benefits: By activating only a subset of experts during inference, the model achieves high representational power without the computational overhead of a monolithic dense model.

Conclusion

MambaMoE represents a significant step forward in HSI classification by combining the efficiency of State Space Models with the adaptive power of Mixture-of-Experts. By addressing the directional and spatial limitations of previous Mamba-based methods, it sets a new benchmark for both accuracy and computational efficiency. Future work will focus on scaling this architecture to larger multi-modal datasets and further optimizing the router network to reduce parameter overhead.

Summary updated

BibTeX
@article{xu2026mambamoe,
  author = {Yichu Xu and Di Wang and Hongzan Jiao and Lefei Zhang and Liangpei Zhang},
  title = {{MambaMoE: Mixture-of-Spectral-Spatial-Experts State Space Model for Hyperspectral Image Classification}},
  journal = {Information Fusion},
  year = {2026},
  url = {https://openreview.net/forum?id=B3PQEdpIt3},
}
Figure