TL;DR
SP-MoMamba revolutionizes Mamba-based image super-resolution by replacing rigid, grid-based pixel scanning with content-aware superpixel clustering. By grouping semantically similar pixels before sequence modeling, it drastically shortens sequence lengths and preserves spatial topology. Combined with a multi-scale mixture of experts and local modulation, it achieves state-of-the-art restoration quality with unmatched inference speed and memory efficiency.
What Problem Does This Paper Address?
Single-image super-resolution (SR) aims to reconstruct high-resolution images from low-resolution inputs. While Transformers and Convolutional Neural Networks (CNNs) have dominated this space, they suffer from high computational complexity. Recently, State Space Models (SSMs)—specifically Mamba architectures—have emerged as an efficient alternative due to their linear computational complexity and long-range dependency modeling.
However, standard Mamba models have a major flaw when applied to vision: they require flattening a 2D image into a 1D sequence. Existing methods do this using rigid, data-agnostic scanning grids (e.g., raster or cross-scanning). As shown in the paper's comparison, this brute-force serialization breaks the natural spatial-semantic topology of an image. Pixels that are physically adjacent and semantically identical (like parts of a single object) get stretched far apart in the 1D sequence, leading to long-range dependency decay, computational redundancy, and blurry artifacts.
Methods
Inspired by Gestalt perceptual grouping theory—the idea that the human visual system naturally aggregates discrete pixels into coherent wholes based on similarity—the authors introduce SP-MoMamba. The architecture consists of stacked Layers of Experts (LoE) featuring three core components:
- Superpixel-driven State Space Model (SP-SSM): Instead of scanning every pixel, the model uses a soft k-means clustering algorithm to group semantically homogeneous and physically adjacent pixels into superpixels. These superpixels act as an information bottleneck, compressing dense pixel signals into high-order semantic tokens. Mamba then performs global sequence modeling directly on these condensed tokens.
- Multi-Scale Superpixel Mixture of State Space Experts (MSS-MoE): To handle varying texture granularities (e.g., large smooth skies vs. intricate grid patterns), this module deploys multiple SP-SSM experts operating at different downsampling scales. A dynamic routing network adaptively assigns the optimal expert per token, activating only the top-$k$ experts during inference to save compute.
- Local Spatial Modulation Expert (LSME): Because global abstraction can smooth out fine details, the authors introduce a complementary local expert. It utilizes a Local Mixed Attention (LMA) mechanism—combining shift-window multi-head self-attention (SwinMHSA) and channel attention—to recover sharp edges and high-frequency details.
Datasets
- Training: DIV2K and Flickr2K.
- Super-Resolution Evaluation: Five standard benchmarks: Set5, Set14, BSD100, Urban100, and Manga109.
- Real-World Evaluation: RealSRv3.
- Downstream Generalization: Evaluated across low-light image enhancement (LOLv1, LOLv2-Real), Gaussian color image denoising (CBSD68, Kodak24, McMaster, Urban100), and JPEG compression artifact reduction (Classic5, LIVE1).
Key Insights and Ideas
- Superpixels as an SSM Bottleneck: Moving the Mamba scanning mechanism from the pixel level to the semantic (superpixel) level is a paradigm shift. It fundamentally prevents the fragmentation of semantic connections during serialization.
- Direct Semantic Channels: Local Attribution Maps (LAM) reveal that SP-MoMamba establishes direct semantic channels across images. When reconstructing an object (e.g., a bird), it adaptively aggregates information from structurally similar objects elsewhere in the image, entirely bypassing irrelevant background noise.
- Decoupling Global vs. Local Processing: By separating global structural understanding (via the Superpixel Global Modulating Expert) from local detail refinement (via the LSME), the network avoids the typical trade-off where long-range sequence compression blurs sharp edges.
Key Results
SP-MoMamba was evaluated in two configurations: a tiny version (SP-MoMamba-T, <500K parameters) and a base version (SP-MoMamba-B, ~550K parameters).
- Super-Resolution Performance: On the challenging Urban100 dataset ($\times4$ upscaling), SP-MoMamba-T achieved a PSNR of 26.40 dB, noticeably outperforming recent ultra-lightweight models like SeemoRe-T (26.23 dB) and CFSR (26.21 dB) while utilizing only 271K parameters.
- Efficiency Gains: When generating 720p images, SP-MoMamba-B achieved a state-of-the-art PSNR of 31.51 dB on Manga109 while reducing inference time by over 70% compared to MambaIRv2-Light and consuming 37% less GPU memory than SeemoRe-L.
- Generalization: The model set new performance benchmarks on real-world datasets (RealSRv3) and generalized exceptionally well to low-light enhancement and denoising tasks, proving the versatility of superpixel-driven SSMs.
Limitations and Future Work
The authors note a specific constraint within their multi-scale expert design: downsampling the superpixel sampling space beyond a factor of 4 ($S = [1, 2, 4, 8]$) leads to a drop in performance (dropping to 26.24 dB on BSD100). This indicates that excessive downsampling incurs a substantial loss of structural semantics, introducing artifacts.
Future work could explore more sophisticated, adaptive clustering techniques that dynamically determine downsampling scales per image region, rather than relying on predefined expert scales.
Summary updated