Skip to main content
QUICK REVIEW

[Paper Review] MambaIR: A Simple Baseline for Image Restoration with State-Space Model

Hang Guo, Jinmin Li|arXiv (Cornell University)|Feb 23, 2024
Image and Signal Denoising MethodsComputer Science18 citations
TL;DR

MambaIR introduces a simple, strong image restoration backbone based on selective state-space models (Mamba) enhanced with restoration priors, achieving competitive or superior results to Transformer-based baselines with linear complexity.

ABSTRACT

Recent years have seen significant advancements in image restoration, largely attributed to the development of modern deep neural networks, such as CNNs and Transformers. However, existing restoration backbones often face the dilemma between global receptive fields and efficient computation, hindering their application in practice. Recently, the Selective Structured State Space Model, especially the improved version Mamba, has shown great potential for long-range dependency modeling with linear complexity, which offers a way to resolve the above dilemma. However, the standard Mamba still faces certain challenges in low-level vision such as local pixel forgetting and channel redundancy. In this work, we introduce a simple but effective baseline, named MambaIR, which introduces both local enhancement and channel attention to improve the vanilla Mamba. In this way, our MambaIR takes advantage of the local pixel similarity and reduces the channel redundancy. Extensive experiments demonstrate the superiority of our method, for example, MambaIR outperforms SwinIR by up to 0.45dB on image SR, using similar computational cost but with a global receptive field. Code is available at \url{https://github.com/csguoh/MambaIR}.

Motivation & Objective

  • Motivate the use of state-space models for low-level image restoration beyond CNNs and Transformers.
  • Propose a restoration-specific RSSB to enhance Mamba with local spatial priors and channel interaction.
  • Show that MambaIR can outperform Transformer-based baselines at similar computational cost on multiple restoration tasks.

Proposed method

  • Adapts Mamba into a three-stage image restoration pipeline: shallow feature extraction, deep feature extraction, and high-quality reconstruction.
  • Introduces Residual State-Space Block (RSSB) that combines Vision State-Space Module (VSSM) with convolutional local priors and Channel-Attention for restoration tasks.
  • Uses 2D Selective Scan Module (2D-SSM) to capture 2D spatial dependencies with four directional traversals.
  • Implements Vision State-Space Module with parallel branches and Hadamard-product fusion for long-range dependencies and channel interaction.
  • Employs a 2D Selective Scan Module to extend Mamba’s causal processing to 2D image data.
  • Highlights a non-attentional, linear-time approach that preserves a global receptive field.
Figure 1 : The Effective Receptive Field (ERF) visualization [ 38 ] for EDSR [ 35 ] , RCAN [ 68 ] , SwinIR [ 34 ] , HAT [ 7 ] , and the proposed MambaIR. A larger ERF is indicated by a more extensively distributed dark area. Only the proposed MambaIR achieves a significant global effective receptive
Figure 1 : The Effective Receptive Field (ERF) visualization [ 38 ] for EDSR [ 35 ] , RCAN [ 68 ] , SwinIR [ 34 ] , HAT [ 7 ] , and the proposed MambaIR. A larger ERF is indicated by a more extensively distributed dark area. Only the proposed MambaIR achieves a significant global effective receptive

Experimental results

Research questions

  • RQ1How can state-space models be leveraged as a baseline backbone for image restoration tasks?
  • RQ2What restoration priors (local patch recurrence and channel interaction) improve Mamba’s effectiveness for low-level vision?
  • RQ3Can a simple RSSB-based design achieve competitive performance against Transformer-based restoration models at similar computational cost?

Key findings

  • MambaIR achieves competitive restoration performance, outperforming Transformer-based baselines like SwinIR on several tasks under similar computational cost.
  • RSSB design boosts performance by incorporating local patch recurrence and channel interaction into the Mamba backbone.
  • Vision State-Space Module and 2D-Selective Scan enable long-range modeling with linear complexity, maintaining a global receptive field.
  • The method demonstrates strong results in classic SR, lightweight SR, and real image denoising across multiple datasets.
  • Ablation studies show the importance of local convolution and channel attention within RSSB for restoration quality.
Figure 2 : The overall network architecture of our MambaIR, as well as the (a) Residual State-Space Block (RSSB), the (b) Vision State-Space Module (VSSM), and the (c) 2D Selective Scan Module (2D-SSM).
Figure 2 : The overall network architecture of our MambaIR, as well as the (a) Residual State-Space Block (RSSB), the (b) Vision State-Space Module (VSSM), and the (c) 2D Selective Scan Module (2D-SSM).

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.