MaIR: A Locality- and Continuity-Preserving Mamba for Image Restoration
Boyun Li, Haiyu Zhao, Wenxin Wang, Peng Hu, Yuanbiao Gou, Xi Peng
Abstract
Recent advancements in Mamba have shown promising results in image restoration. These methods typically flatten 2D images into multiple distinct 1D sequences along rows and columns, process each sequence independently using selective scan operation, and recombine them to form the outputs. However, such a paradigm overlooks two vital aspects: i) the local relationships and spatial continuity inherent in natural images, and ii) the discrepancies among sequences unfolded through totally different ways. To overcome the drawbacks, we explore two problems in Mambabased restoration methods: i) how to design a scanning strategy preserving both locality and continuity while facilitating restoration, and ii) how to aggregate the distinct sequences unfolded in totally different ways. To address these problems, we propose a novel Mamba-based Image Restoration model (MaIR), which consists of Nested S-shaped Scanning strategy (NSS) and Sequence Shuffle Attention block (SSA). Specifically, NSS preserves locality and continuity of the input images through the stripe-based scanning region and the S-shaped scanning path, respectively. SSA aggregates sequences through calculating attention weights within the corresponding channels of different sequences. Thanks to NSS and SSA, MaIR surpasses 40 baselines across 14 challenging datasets, achieving state-of-the-art performance on the tasks of image superresolution, denoising, deblurring and dehazing. The code is available at https://github.com/XLearning-SCU/2025-CVPR-MaIR .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 42626d01-7c3c-4e64-9736-ab4147293d6bCited by top-tier papers11
- Bio-Inspired Image RestorationYuning Cui, Wenqi Ren, Alois KnollNeurIPS 2025 · 21 citations
- Residual Diffusion Bridge Model for Image RestorationHebaixu Wang, Jing Zhang, Haoyang Chen, Haonan Guo et al.CVPR 2026 · 16 citations
- Scan Clusters, Not Pixels: A Cluster-Centric Paradigm for Efficient Ultra-high-definition Image RestorationChen Wu, Ling Wang, Zhuoran Zheng, Yuning Cui et al.CVPR 2026 · 9 citations
- Learning Domain-Aware Task Prompt Representations for Multi-Domain All-in-One Image RestorationGuanglu Dong, Chunlei Li, Chao Ren, Jingliang Hu et al.ICLR 2026 · 7 citations
- Beyond Illumination: Fine-Grained Detail Preservation in Extreme Dark Image RestorationTongshun Zhang, Pingping Liu, Zixuan Zhong, Zijian Zhang et al.AAAI 2026 · 1 citation
Builds on30
- Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
- Efficiently Modeling Long Sequences with Structured State SpacesAlbert Gu, Karan Goel, Christopher RéICLR 2022 · 3,482 citations
- Restormer: Efficient Transformer for High-Resolution Image RestorationSyed Waqas Zamir, Aditya Arora, Salman Khan, Munawar Hayat et al.CVPR 2022 · 3,348 citations
- VMamba: Visual State Space ModelYue Liu, Yunjie Tian, Yuzhong Zhao, Hongtian Yu et al.NeurIPS 2024 · 3,199 citations
- Uformer: A General U-Shaped Transformer for Image RestorationZhendong Wang, Xiaodong Cun, Jianmin Bao, Wengang Zhou et al.CVPR 2022 · 1,970 citations
Related papers
- ACL: Activating Capability of Linear Attention for Image RestorationYubin Gu, Yuan Meng, Jiayi Ji, Xiaoshuai SunCVPR 2025
- EAMamba: Efficient All-Around Vision State Space Model for Image RestorationYu-Cheng Lin, Yu-Syuan Xu, Hao-Wei Chen, Hsien-Kai Kuo et al.ICCV 2025 · 15 citations
- TSP-Mamba: The Travelling Salesman Problem Meets Mamba for Image Super-resolution and BeyondKun Zhou, Xinyu Lin, Jiangbo LuCVPR 2025
- MambaIRv2: Attentive State Space RestorationHang Guo, Yong Guo, Yaohua Zha, Yulun Zhang et al.CVPR 2025
- Image Content Matters: An Image Content Aware State Space Model for Accelerated MRI ReconstructionYucong Meng, Zhiwei Yang, Kexue Fu, Zhijian Song et al.AAAI 2026
