TL;DR
MambaMoE introduces the first Mixture-of-Experts (MoE) framework to hyperspectral image (HSI) classification, combining the linear computational efficiency of Mamba state space models with adaptive spectral-spatial routing. By dynamically activating specialized directional experts and employing an uncertainty-guided corrective learning strategy, the model achieves state-of-the-art classification accuracy and high computational efficiency, even when training data is extremely scarce.
What Problem Does This Paper Address?
Hyperspectral images (HSIs) capture hundreds of contiguous spectral bands, providing a rich blend of spatial and spectral data crucial for precise Earth observation and land-cover classification. However, effectively modeling this high-dimensional data presents a classic trade-off: traditional Convolutional Neural Networks (CNNs) struggle to capture long-range global context, while Transformer-based architectures suffer from quadratic computational complexity ($O(N^2)$) as the data volume scales.
Recently, Mamba-based State Space Models (SSMs) have emerged as a linear-time ($O(N)$) alternative for contextual modeling. Yet, existing Mamba approaches for HSI classification have notable flaws:
- Receptive Field Limitations: Most rely on patch-level designs that predict only the central pixel, missing the holistic context of the entire remote sensing scene.
- Disrupted Spatial Coherence: Mamba’s inherently sequential flattening of 2D/3D data can break down spatial structures.
- Directional Blindness: Existing methods treat all scanning directions equally, completely ignoring the fact that different land-cover types (e.g., long, narrow highways versus rectangular commercial buildings) possess distinct directional orientations.
Methods
To overcome these limitations, the authors present MambaMoE, an end-to-end, image-level segmentation network built on a classic encoder-decoder architecture.
The core innovation lies within the encoder's Mixture of Mamba Expert Block (MoMEB). When a feature map enters this block, it is split into spatial and spectral views:
- Spatial Routed Expert (SRE): The spatial view is processed by four distinct Mamba experts, each dedicated to a canonical scanning direction (top-left to bottom-right, bottom-right to top-left, top-right to bottom-left, and bottom-left to top-right). A lightweight router network dynamically calculates weights and activates only the Top-$k$ most relevant experts for a given input.
- Spectral Shared Expert (SSE): Because spectral channels follow a fixed wavelength order, directional heterogeneity isn't an issue here. The spectral view is passed through two shared Mamba experts (forward and backward scanning) to maintain consistent spectral patterns across all spatial locations.
In the decoder, the authors introduce Uncertainty-Guided Corrective Learning (UGCL) via an Uncertainty-Aware Refinement Block (UARB).
During training, the UARB estimates pixel-wise prediction uncertainty from softmax probabilities. It then uses Bernoulli sampling to dynamically extract supervision signals from the most ambiguous, high-uncertainty regions (such as complex borders or heterogeneous land types), forcing the network to adaptively refine its feature representations where it struggles most.
Datasets
The framework was evaluated on three widely recognized public HSI benchmark datasets:
- Pavia University Dataset: 103 spectral bands, $610 \times 340$ pixels, featuring 9 land-cover classes.
- Houston Dataset: 144 spectral bands, $349 \times 1905$ pixels, featuring 15 semantic categories.
- Whu-HanChuan Dataset: Captured via UAV-borne imaging with centimeter-level resolution, featuring 274 spectral bands, $1217 \times 303$ pixels, and 16 crop/land classes.
Key Insights and Ideas
- Land Covers Have Directional Preferences: The router network successfully learns real-world geometric priors. For instance, as visualized in the paper, the "highway" class heavily activates vertically oriented Mamba experts, while "commercial buildings" primarily trigger horizontal experts.
- Sparsity Breeds Efficiency: By routing tokens to only the Top-3 out of 4 spatial experts during inference, MambaMoE achieves the representational capacity of a massive multi-expert network without paying the full computational cost.
- Targeted Supervision Beats Uniform Learning: Standard training treats easy-to-classify homogeneous regions (like a large grass field) the same as highly complex boundaries. UGCL acts as an automated hard-sample mining mechanism, dynamically shifting the loss focus to regions prone to prediction ambiguity.
Key Results
MambaMoE consistently outperformed state-of-the-art Transformer and Mamba baselines across all datasets:
- Classification Accuracy: Achieved an Overall Accuracy (OA) of 95.20% on Pavia University, 91.18% on Houston, and 92.67% on Whu-HanChuan.
- Data Efficiency: When training samples were restricted to just 5 or 10 samples per class, MambaMoE maintained a remarkably stable performance curve, significantly outperforming competitors like DSFormer and MambaHSI.
- Computational Efficiency: On the Pavia University dataset, MambaMoE required only 12.13M FLOPs and clocked an inference time of just 0.21 seconds, making it highly viable for real-time remote sensing applications.
Limitations and Future Work
While MambaMoE excels in computational speed and accuracy, it is not the absolute lightest model in terms of storage footprint; its parameter count (0.28M) is higher than ultra-lightweight patch-level models like MambaHSI (0.03M). Additionally, the authors note that expanding this mixture-of-experts paradigm to handle multi-modal remote sensing data fusion (such as combining HSI with LiDAR data) remains an open and promising direction for future research.
Summary updated