VmambaIR: Visual State Space Model for Image Restoration
Yuan Shi, Bin Xia, Xiaoyu Jin, Xing Wang, Tianyu Zhao, Xin Xia, Xuefeng Xiao, Wenming Yang
TL;DR
VmambaIR addresses image restoration by leveraging State Space Models (SSMs) with linear complexity $O(n)$ to capture high-frequency information across scales, implemented in a Unet via Omni Selective Scan (OSS) blocks. The OSS block combines an OSS module and an Efficient Feed-Forward Network (EFFN) to model six-direction information flow, while the Omni Selective Scan mechanism extends Mamba with six-direction scanning across height, width, and channels for full spatial awareness with kept linear complexity. The architecture achieves state-of-the-art results on image deraining, single-image super-resolution, and real-world super-resolution while using substantially fewer parameters and FLOPs (notably ~26% of prior cost for real-world SR). This work demonstrates the potential of linear-complexity State Space Models as a robust, scalable foundation for next-generation low-level vision tasks, and provides a simple, strong baseline that avoids distillation or teacher networks while delivering high-fidelity restorations.
Abstract
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.
