Multi-Scale Representation Learning for Image Restoration with State-Space Model

Yuhong He, Long Peng, Qiaosi Yi, Chen Wu, Lu WangarXiv 2024 · DOI

Abstract

Image restoration tasks such as deraining, dehazing, and denoising require a delicate balance between capturing global context and preserving local details. While Convolutional Neural Networks (CNNs) excel at local feature extraction and Transformers offer global receptive fields, the former lacks long-range modeling and the latter suffers from quadratic computational complexity. This paper introduces MS-Mamba (Multi-Scale Mamba), a novel framework utilizing State-Space Models (SSMs) to achieve global modeling with linear complexity. By integrating hierarchical feature extraction across global, regional, and local scales, MS-Mamba achieves state-of-the-art performance across multiple restoration benchmarks while maintaining superior computational efficiency.

Introduction

The challenge of image restoration lies in the multi-scale nature of degradations. Fine-grained noise requires local attention, while large-scale artifacts like haze or heavy rain streaks necessitate a global understanding of the scene. Existing architectures face a fundamental trade-off: CNNs are efficient but spatially limited, whereas Transformers provide the necessary global reach at the cost of $O(N^2)$ complexity, making them prohibitive for high-resolution images.

MS-Mamba addresses this "efficiency vs. performance" trade-off by introducing selective State-Space Models (Mamba) to the restoration pipeline. This approach provides the global reach of Transformers with the linear efficiency ($O(N)$) required for high-resolution processing.

Methodology: The MS-Mamba Architecture

MS-Mamba is built upon a 4-level encoder-decoder UNet structure, centered around the Multi-Scale Block. This block integrates three specialized components to handle different aspects of the restoration process.

The MS-Mamba architecture featuring the Hierarchical Mamba Block (HMB), Adaptive Gradient Block (AGB), and Residual Fourier Block (RFB).

Hierarchical Mamba Block (HMB)

The HMB serves as the core feature extractor, processing information at three distinct levels simultaneously:

  • Global SSM: Employs a 2D scanning mechanism to capture long-range spatial dependencies across the entire image.
  • Regional SSM: Focuses on local windows to model mid-range relationships.
  • Local CNN: Utilizes standard convolutions to ensure the preservation of fine-grained textures and high-frequency details.

Adaptive Gradient Block (AGB) and Residual Fourier Block (RFB)

To further refine restoration quality, MS-Mamba incorporates the AGB and RFB. The Adaptive Gradient Block explicitly models horizontal and vertical gradients to prevent the blurring of sharp edges and fine details. Meanwhile, the Residual Fourier Block operates in the frequency domain using Fast Fourier Transforms (FFT), processing amplitude and phase separately to recover high-frequency information often lost in spatial-only processing.

Experimental Results

The framework was evaluated across nine public benchmarks covering four primary tasks: image deraining (Rain200L/H, SPA-Data), dehazing (SOTS-Indoor), low-light enhancement (LOL-v2), and denoising (SIDD).

Performance and Efficiency

MS-Mamba consistently outperformed existing state-of-the-art (SOTA) models. For instance, on the Rain200L dataset, it achieved a 0.65 dB PSNR improvement over the previous leader, DRSformer. Crucially, it achieves these gains with significantly lower computational overhead.

Comparison of PSNR vs. FLOPs across various image restoration models, highlighting MS-Mamba's superior efficiency and performance.

As shown in the efficiency analysis, MS-Mamba occupies the top-left quadrant of the PSNR vs. FLOPs plot, indicating higher accuracy with fewer operations compared to both Transformer-based models (like Restormer) and other SSM-based approaches (like MambaIR). Specifically, MS-Mamba reduced FLOPs from 161G to 117G compared to MambaIR while improving restoration quality. Qualitative results further confirm that MS-Mamba is particularly effective at removing dense rain streaks and haze without introducing the artifacts or over-smoothing common in CNN-only approaches.

Conclusion

MS-Mamba demonstrates that hierarchical State-Space Models can effectively bridge the gap between efficiency and performance in image restoration. By combining global, regional, and local feature extraction with frequency-domain refinement, the model sets a new standard for tasks ranging from deraining to low-light enhancement. Future research may explore the application of this hierarchical SSM approach to video restoration and further optimization of scanning patterns for specific degradation types.

Summary updated

BibTeX
@misc{he2024multi,
  author = {Yuhong He and Long Peng and Qiaosi Yi and Chen Wu and Lu Wang},
  title = {{Multi-Scale Representation Learning for Image Restoration with State-Space Model}},
  year = {2024},
  eprint = {2408.10145},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.10145},
}
Figure