[Paper Review] VmambaIR: Visual State Space Model for Image Restoration
VmambaIR leverages a novel Omni Selective Scan within a Unet framework to model image restoration with state space models, delivering state-of-the-art results at lower compute and fewer parameters across deraining, single-image super-resolution, and real-world super-resolution.
Image restoration is a critical task in low-level computer vision, aiming to restore high-quality images from degraded inputs. Various models, such as convolutional neural networks (CNNs), generative adversarial networks (GANs), transformers, and diffusion models (DMs), have been employed to address this problem with significant impact. However, CNNs have limitations in capturing long-range dependencies. DMs require large prior models and computationally intensive denoising steps. Transformers have powerful modeling capabilities but face challenges due to quadratic complexity with input image size. To address these challenges, we propose VmambaIR, which introduces State Space Models (SSMs) with linear complexity into comprehensive image restoration tasks. We utilize a Unet architecture to stack our proposed Omni Selective Scan (OSS) blocks, consisting of an OSS module and an Efficient Feed-Forward Network (EFFN). Our proposed omni selective scan mechanism overcomes the unidirectional modeling limitation of SSMs by efficiently modeling image information flows in all six directions. Furthermore, we conducted a comprehensive evaluation of our VmambaIR across multiple image restoration tasks, including image deraining, single image super-resolution, and real-world image super-resolution. Extensive experimental results demonstrate that our proposed VmambaIR achieves state-of-the-art (SOTA) performance with much fewer computational resources and parameters. Our research highlights the potential of state space models as promising alternatives to the transformer and CNN architectures in serving as foundational frameworks for next-generation low-level visual tasks.
Motivation & Objective
- Motivate improved image restoration by addressing limitations of CNNs, Transformers, and diffusion models in handling long-range dependencies and efficiency.
- Develop a state-space model-based architecture with linear complexity for 2D image data.
- Design a multi-scale UNet with OSS (Omni Selective Scan) blocks to capture information flow in six directions.
- Demonstrate VmambaIR's effectiveness across deraining, SR, and real-world SR tasks with lower resource use.
Proposed method
- Adopt a UNet-like architecture stacked with proposed OSS blocks.
- Introduce the OSS module that processes inputs through two flows and uses CNNs to map feature dimensions.
- Incorporate an Efficient Feed-Forward Network (EFFN) to regulate hierarchical information flow.
- Implement Omni Selective Scan (OSS) to model information flow in six directions (three dimensions with bidirectional scans) using Mamba blocks for high-frequency modeling.
- Use a discretized State Space Model (SSM) with ZOH-based discretization for efficient sequence modeling of image features.
Experimental results
Research questions
- RQ1Can a linear-complexity state space modeling approach match or exceed Transformer/CNN-based image restoration performance?
- RQ2Does the Omni Selective Scan enable comprehensive, multi-directional information flow modeling in images beyond unidirectional Mamba blocks?
- RQ3What are the contributions of OSS, bidirectional channel scanning, and EFFN to restoration accuracy and efficiency across SR, real-world SR, and deraining tasks.
Key findings
- VmambaIR achieves state-of-the-art performance across image restoration tasks, including image deraining, single-image super-resolution, and real-world image super-resolution.
- In real-world 4× super-resolution, VmambaIR uses approximately 26% of the computational cost of the baseline methods while delivering higher reconstruction accuracy.
- Ablation studies show OSS significantly improves performance over one-way scanning, bidirectional channel scanning boosts accuracy, and EFFN enhances information flow and efficiency.
- VmambaIR delivers better high-frequency detail with fewer parameters and FLOPs compared to existing SOTA methods on several benchmarks.
- Qualitative results illustrate finer detail preservation (e.g., eyes/nose in faces, water surfaces) with fewer artifacts.
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.