TasksSotADatasetsPapersMethodsSubmitAbout
Papers With Code 2

A community resource for machine learning research: papers, code, benchmarks, and state-of-the-art results.

Explore

Notable BenchmarksAll SotADatasetsPapersMethods

Community

Submit ResultsAbout

Data sourced from the PWC Archive (CC-BY-SA 4.0). Built by the community, for the community.

Papers/MaIR: A Locality- and Continuity-Preserving Mamba for Imag...

MaIR: A Locality- and Continuity-Preserving Mamba for Image Restoration

Boyun Li, Haiyu Zhao, Wenxin Wang, Peng Hu, Yuanbiao Gou, Xi Peng

2024-12-28CVPR 2025 1DenoisingSuper-ResolutionDeblurringImage DenoisingImage DeblurringImage DehazingImage Super-ResolutionSingle Image DehazingImage Restoration
PaperPDFCode(official)

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 Mamba-based 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 super-resolution, denoising, deblurring and dehazing. Our codes will be available after acceptance.

Results

TaskDatasetMetricValueModel
Super-ResolutionSet5 - 4x upscalingPSNR33.14MaIR+
Super-ResolutionSet5 - 4x upscalingSSIM0.9058MaIR+
Super-ResolutionSet5 - 4x upscalingPSNR32.93MaIR
Super-ResolutionSet5 - 4x upscalingSSIM0.9045MaIR
Super-ResolutionSet14 - 2x upscalingPSNR34.75MaIR
Super-ResolutionSet14 - 2x upscalingSSIM0.9268MaIR
Super-ResolutionSet14 - 4x upscalingPSNR29.28MaIR+
Super-ResolutionSet14 - 4x upscalingSSIM0.7974MaIR+
Super-ResolutionSet14 - 4x upscalingPSNR29.2MaIR
Super-ResolutionSet14 - 4x upscalingSSIM0.7958MaIR
Super-ResolutionManga109 - 4x upscalingPSNR32.66MaIR+
Super-ResolutionManga109 - 4x upscalingSSIM0.9297MaIR+
Super-ResolutionManga109 - 4x upscalingPSNR32.46MaIR
Super-ResolutionManga109 - 4x upscalingSSIM0.9284MaIR
Super-ResolutionSet5 - 2x upscalingPSNR38.62MaIR+
Super-ResolutionSet5 - 2x upscalingSSIM0.963MaIR+
Super-ResolutionSet5 - 2x upscalingPSNR38.56MaIR
Super-ResolutionSet5 - 2x upscalingSSIM0.9628MaIR
Super-ResolutionUrban100 - 4x upscalingPSNR27.89MaIR+
Super-ResolutionUrban100 - 4x upscalingSSIM0.8336MaIR+
Super-ResolutionUrban100 - 4x upscalingPSNR27.71MaIR
Super-ResolutionUrban100 - 4x upscalingSSIM0.8305MaIR
DehazingSOTS IndoorPSNR39.45MaIR
DehazingSOTS IndoorSSIM0.997MaIR
DehazingSOTS OutdoorPSNR36.96MaIR
DehazingSOTS OutdoorSSIM0.991MaIR
Image DehazingSOTS IndoorPSNR39.45MaIR
Image DehazingSOTS IndoorSSIM0.997MaIR
Image DehazingSOTS OutdoorPSNR36.96MaIR
Image DehazingSOTS OutdoorSSIM0.991MaIR
DenoisingUrban100 sigma25PSNR33.3MaIR+
DenoisingUrban100 sigma25PSNR33.22MaIR
Denoisingurban100 sigma15PSNR35.42MaIR+
Denoisingurban100 sigma15PSNR35.35MaIR
DenoisingUrban100 sigma50PSNR30.41MaIR+
DenoisingUrban100 sigma50PSNR30.3MaIR
DenoisingBSD68 sigma50PSNR30.08MaIR+
DenoisingBSD68 sigma50PSNR28.66MaIR
Image Super-ResolutionSet5 - 4x upscalingPSNR33.14MaIR+
Image Super-ResolutionSet5 - 4x upscalingSSIM0.9058MaIR+
Image Super-ResolutionSet5 - 4x upscalingPSNR32.93MaIR
Image Super-ResolutionSet5 - 4x upscalingSSIM0.9045MaIR
Image Super-ResolutionSet14 - 2x upscalingPSNR34.75MaIR
Image Super-ResolutionSet14 - 2x upscalingSSIM0.9268MaIR
Image Super-ResolutionSet14 - 4x upscalingPSNR29.28MaIR+
Image Super-ResolutionSet14 - 4x upscalingSSIM0.7974MaIR+
Image Super-ResolutionSet14 - 4x upscalingPSNR29.2MaIR
Image Super-ResolutionSet14 - 4x upscalingSSIM0.7958MaIR
Image Super-ResolutionManga109 - 4x upscalingPSNR32.66MaIR+
Image Super-ResolutionManga109 - 4x upscalingSSIM0.9297MaIR+
Image Super-ResolutionManga109 - 4x upscalingPSNR32.46MaIR
Image Super-ResolutionManga109 - 4x upscalingSSIM0.9284MaIR
Image Super-ResolutionSet5 - 2x upscalingPSNR38.62MaIR+
Image Super-ResolutionSet5 - 2x upscalingSSIM0.963MaIR+
Image Super-ResolutionSet5 - 2x upscalingPSNR38.56MaIR
Image Super-ResolutionSet5 - 2x upscalingSSIM0.9628MaIR
Image Super-ResolutionUrban100 - 4x upscalingPSNR27.89MaIR+
Image Super-ResolutionUrban100 - 4x upscalingSSIM0.8336MaIR+
Image Super-ResolutionUrban100 - 4x upscalingPSNR27.71MaIR
Image Super-ResolutionUrban100 - 4x upscalingSSIM0.8305MaIR
Image DenoisingUrban100 sigma25PSNR33.3MaIR+
Image DenoisingUrban100 sigma25PSNR33.22MaIR
Image Denoisingurban100 sigma15PSNR35.42MaIR+
Image Denoisingurban100 sigma15PSNR35.35MaIR
Image DenoisingUrban100 sigma50PSNR30.41MaIR+
Image DenoisingUrban100 sigma50PSNR30.3MaIR
Image DenoisingBSD68 sigma50PSNR30.08MaIR+
Image DenoisingBSD68 sigma50PSNR28.66MaIR
Image DeblurringGoProPSNR33.69MaIR
3D ArchitectureUrban100 sigma25PSNR33.3MaIR+
3D ArchitectureUrban100 sigma25PSNR33.22MaIR
3D Architectureurban100 sigma15PSNR35.42MaIR+
3D Architectureurban100 sigma15PSNR35.35MaIR
3D ArchitectureUrban100 sigma50PSNR30.41MaIR+
3D ArchitectureUrban100 sigma50PSNR30.3MaIR
3D ArchitectureBSD68 sigma50PSNR30.08MaIR+
3D ArchitectureBSD68 sigma50PSNR28.66MaIR
10-shot image generationGoProPSNR33.69MaIR
3D Object Super-ResolutionSet5 - 4x upscalingPSNR33.14MaIR+
3D Object Super-ResolutionSet5 - 4x upscalingSSIM0.9058MaIR+
3D Object Super-ResolutionSet5 - 4x upscalingPSNR32.93MaIR
3D Object Super-ResolutionSet5 - 4x upscalingSSIM0.9045MaIR
3D Object Super-ResolutionSet14 - 2x upscalingPSNR34.75MaIR
3D Object Super-ResolutionSet14 - 2x upscalingSSIM0.9268MaIR
3D Object Super-ResolutionSet14 - 4x upscalingPSNR29.28MaIR+
3D Object Super-ResolutionSet14 - 4x upscalingSSIM0.7974MaIR+
3D Object Super-ResolutionSet14 - 4x upscalingPSNR29.2MaIR
3D Object Super-ResolutionSet14 - 4x upscalingSSIM0.7958MaIR
3D Object Super-ResolutionManga109 - 4x upscalingPSNR32.66MaIR+
3D Object Super-ResolutionManga109 - 4x upscalingSSIM0.9297MaIR+
3D Object Super-ResolutionManga109 - 4x upscalingPSNR32.46MaIR
3D Object Super-ResolutionManga109 - 4x upscalingSSIM0.9284MaIR
3D Object Super-ResolutionSet5 - 2x upscalingPSNR38.62MaIR+
3D Object Super-ResolutionSet5 - 2x upscalingSSIM0.963MaIR+
3D Object Super-ResolutionSet5 - 2x upscalingPSNR38.56MaIR
3D Object Super-ResolutionSet5 - 2x upscalingSSIM0.9628MaIR
3D Object Super-ResolutionUrban100 - 4x upscalingPSNR27.89MaIR+
3D Object Super-ResolutionUrban100 - 4x upscalingSSIM0.8336MaIR+
3D Object Super-ResolutionUrban100 - 4x upscalingPSNR27.71MaIR
3D Object Super-ResolutionUrban100 - 4x upscalingSSIM0.8305MaIR
1 Image, 2*2 StitchiGoProPSNR33.69MaIR
16kSet5 - 4x upscalingPSNR33.14MaIR+
16kSet5 - 4x upscalingSSIM0.9058MaIR+
16kSet5 - 4x upscalingPSNR32.93MaIR
16kSet5 - 4x upscalingSSIM0.9045MaIR
16kSet14 - 2x upscalingPSNR34.75MaIR
16kSet14 - 2x upscalingSSIM0.9268MaIR
16kSet14 - 4x upscalingPSNR29.28MaIR+
16kSet14 - 4x upscalingSSIM0.7974MaIR+
16kSet14 - 4x upscalingPSNR29.2MaIR
16kSet14 - 4x upscalingSSIM0.7958MaIR
16kManga109 - 4x upscalingPSNR32.66MaIR+
16kManga109 - 4x upscalingSSIM0.9297MaIR+
16kManga109 - 4x upscalingPSNR32.46MaIR
16kManga109 - 4x upscalingSSIM0.9284MaIR
16kSet5 - 2x upscalingPSNR38.62MaIR+
16kSet5 - 2x upscalingSSIM0.963MaIR+
16kSet5 - 2x upscalingPSNR38.56MaIR
16kSet5 - 2x upscalingSSIM0.9628MaIR
16kUrban100 - 4x upscalingPSNR27.89MaIR+
16kUrban100 - 4x upscalingSSIM0.8336MaIR+
16kUrban100 - 4x upscalingPSNR27.71MaIR
16kUrban100 - 4x upscalingSSIM0.8305MaIR
16kGoProPSNR33.69MaIR

Related Papers

fastWDM3D: Fast and Accurate 3D Healthy Tissue Inpainting2025-07-17Diffuman4D: 4D Consistent Human View Synthesis from Sparse-View Videos with Spatio-Temporal Diffusion Models2025-07-17SpectraLift: Physics-Guided Spectral-Inversion Network for Self-Supervised Hyperspectral Image Super-Resolution2025-07-17Similarity-Guided Diffusion for Contrastive Sequential Recommendation2025-07-16Unsupervised Part Discovery via Descriptor-Based Masked Image Restoration with Optimized Constraints2025-07-16HUG-VAS: A Hierarchical NURBS-Based Generative Model for Aortic Geometry Synthesis and Controllable Editing2025-07-15AirLLM: Diffusion Policy-based Adaptive LoRA for Remote Fine-Tuning of LLM over the Air2025-07-15IM-LUT: Interpolation Mixing Look-Up Tables for Image Super-Resolution2025-07-14