[Paper Review] Hi-Mamba: Hierarchical Mamba for Efficient Image Super-Resolution
Hi-Mamba proposes a hierarchical Mamba architecture for efficient image super-resolution, using a Hierarchical Mamba Block (HMB) with local and region SSMs for multi-scale context modeling and a Direction Alternation Hierarchical Mamba Group (DA-HMG) to enrich spatial relationships via isometric single-direction scanning across cascaded blocks. It achieves a 0.29 dB PSNR gain on Manga109 for ×3 SR over MambaIR with no increase in FLOPs or parameters.
State Space Models (SSM), such as Mamba, have shown strong representation ability in modeling long-range dependency with linear complexity, achieving successful applications from high-level to low-level vision tasks. However, SSM's sequential nature necessitates multiple scans in different directions to compensate for the loss of spatial dependency when unfolding the image into a 1D sequence. This multi-direction scanning strategy significantly increases the computation overhead and is unbearable for high-resolution image processing. To address this problem, we propose a novel Hierarchical Mamba network, namely, Hi-Mamba, for image super-resolution (SR). Hi-Mamba consists of two key designs: (1) The Hierarchical Mamba Block (HMB) assembled by a Local SSM (L-SSM) and a Region SSM (R-SSM) both with the single-direction scanning, aggregates multi-scale representations to enhance the context modeling ability. (2) The Direction Alternation Hierarchical Mamba Group (DA-HMG) allocates the isomeric single-direction scanning into cascading HMBs to enrich the spatial relationship modeling. Extensive experiments demonstrate the superiority of Hi-Mamba across five benchmark datasets for efficient SR. For example, Hi-Mamba achieves a significant PSNR improvement of 0.29 dB on Manga109 for $ imes3$ SR, compared to the strong lightweight MambaIR.
Motivation & Objective
- To address the high computational cost of multi-direction scanning in Mamba-based image super-resolution models.
- To enhance spatial and multi-scale context modeling without increasing FLOPs or parameters.
- To develop a lightweight, efficient architecture that outperforms existing SOTA methods in image super-resolution.
- To enable effective long-range dependency modeling in high-resolution images using linear-complexity SSMs.
Proposed method
- Introduces the Hierarchical Mamba Block (HMB) combining a Local SSM (L-SSM) and a Region SSM (R-SSM), both using single-direction scanning for multi-scale feature aggregation.
- Proposes the Direction Alternation Hierarchical Mamba Group (DA-HMG), which cascades HMBs with alternating scanning directions (horizontal and vertical) to enrich spatial modeling.
- Employs a learnable fusion module in R-SSM that uses 2D feature repetition with a gate mechanism to improve spatial feature integration.
- Uses a gate feed-forward network (G-FFN) with a simple gating mechanism to enhance non-linear representation in the feed-forward path.
- Optimizes model efficiency by setting R-SSM channel size to 30 and region patch size to 4×4, balancing performance and inference speed.
- Employs a single-direction scanning strategy in HMBs while leveraging directional alternation in DA-HMG to avoid the quadratic cost of multi-direction scanning.
Experimental results
Research questions
- RQ1Can a single-direction scanning strategy in Mamba-based models achieve competitive performance in image super-resolution without the computational burden of multi-direction scanning?
- RQ2How can hierarchical SSMs with local and regional receptive fields improve multi-scale context modeling in image super-resolution?
- RQ3Does alternating scanning directions across cascaded HMBs enhance spatial relationship modeling without increasing FLOPs or parameters?
- RQ4What is the optimal trade-off between R-SSM region size, channel number, and inference speed in a hierarchical Mamba design?
Key findings
- Hi-Mamba achieves a 0.29 dB PSNR improvement on the Manga109 dataset for ×3 super-resolution compared to MambaIR, with no increase in FLOPs or parameters.
- The DA-HMG with four-direction alternation improves PSNR by 0.14 dB over single-direction scanning, demonstrating the effectiveness of directional alternation.
- The R-SSM with a 4×4 region size achieves the best balance between PSNR and inference speed, reducing GPU time to 379ms compared to 662ms for 1×1 size.
- The learnable fusion parameter $S_f$ improves PSNR by 0.05 dB over fixed $S_f$, with only a 0.01M parameter and 8ms GPU cost increase.
- The channel number of 30 in R-SSM yields the best PSNR-FLOPs trade-off, achieving 33.13 dB PSNR with 274 G FLOPs.
- The ablation study confirms that all components—HMB, DA-HMG, G-FFN, and fusion module—contribute to performance gains, with DA-HMG providing the largest improvement (0.14 dB PSNR).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.