CenterScan-Mamba: an efficient state space model for intelligent hyperspectral image classification
Abstract
Hyperspectral image (HSI) classification—assigning a land-cover label to every pixel from hundreds of contiguous spectral bands—is a core intelligent-computing task in remote sensing, today driven by convolutional and, more recently, transformer backbones. State space models (SSMs) such as Mamba are an appealing third option: they read a sequence in linear time. Yet a plain raster scan treats an image patch as if it were causal text. The central pixel we actually want to label then ends up buried in the middle of the sequence. We revisit that choice. We propose CenterScan-Mamba, a compact spectral–spatial SSM built on two ideas. A center-prioritized scan reorders the patch tokens so the target pixel is read last, letting its hidden state absorb the whole neighborhood. A center-anchored global readout then fuses pooled context with the central token. A gated spectral branch over the pixel’s own spectral curve is added on top. On three standard benchmarks the model is competitive with strong CNN and transformer baselines while remaining compact (∼195K parameters, sub-million). The scan order is not a cosmetic choice. On the hard Indian Pines scene it lifts accuracy by 3.16 points over a raster scan, and pulls a vanilla Mamba up from 79.26% to the mid-nineties. Ablations isolate each part, and the classification maps make the gap visible.