Abstract
Image deblurring remains a fundamental challenge in computer vision, requiring the restoration of sharp details from motion-blurred inputs. While Vision Transformers (ViTs) have set new benchmarks by capturing long-range dependencies, their quadratic computational complexity limits their application on high-resolution images. This paper presents the Efficient Visual State Space Model (EVSSM), a novel architecture that utilizes State Space Models (SSMs) to achieve global context modeling with linear complexity. By introducing an Efficient Visual Scan (EVS) block and an optimized frequency-domain feedforward network (EDFFN), EVSSM achieves state-of-the-art performance while significantly reducing computational overhead and memory usage compared to Transformer-based models.
Introduction
Restoring a sharp image from a blurry one is a classic ill-posed problem. Historically, Convolutional Neural Networks (CNNs) were the primary tool for this task due to their efficiency. However, CNNs are inherently limited by local receptive fields, making it difficult to capture the non-local information necessary for complex motion blur.
Recently, Vision Transformers (ViTs) addressed this by using self-attention to model global dependencies. The trade-off is a "quadratic bottleneck": computational costs grow exponentially ($O(N^2)$) with image resolution. State Space Models (SSMs), such as the Mamba architecture, have emerged as a promising alternative, offering linear complexity ($O(N)$). However, adapting 1D SSMs to 2D images typically requires multi-directional scanning (up, down, left, right), which re-introduces significant overhead. EVSSM addresses these challenges through structural optimizations that maintain efficiency without sacrificing restorative power.
Methodology
The EVSSM architecture is built around two primary innovations designed to balance global modeling with local detail preservation.
Efficient Visual Scan (EVS) Block
Traditional 2D SSMs scan images in four directions simultaneously to ensure spatial coverage, which quadruples the workload. EVSSM introduces a "geometric transform and scan" approach. Instead of parallel multi-directional scanning, the model applies a simple geometric transformation (e.g., a flip or a 90-degree transposition) to the input before a single-direction SSM module. By alternating these transformations across successive layers, the model effectively captures the entire spatial context over the course of the network without the high cost of parallel processing.
Efficient Discriminative Frequency-domain Feedforward Network (EDFFN)
While SSMs handle global context, deblurring requires precise local frequency information to restore sharp edges. EVSSM utilizes an optimized frequency-domain approach. By moving heavy Fast Fourier Transform (FFT) operations to the end of the block and employing a smaller learnable quantization matrix, the authors significantly reduced the runtime of previous frequency-based feedforward designs while maintaining their ability to "screen" for sharp features.
Local Context Integration
Standard SSMs derive their parameters using simple linear layers, which can ignore local spatial relationships. EVSSM incorporates 1D depth-wise convolutions into the parameter-generation steps for $B, C, \text{and } \Delta$. This allows the model to embed local spatial context directly into the global scanning process, improving the restoration of fine textures.
Experimental Evaluation
Datasets and Implementation
The model was rigorously evaluated on several standard deblurring benchmarks, including GoPro (3,214 blurry/sharp pairs), HIDE (human-centric motion blur), and RealBlur (real-world dual-camera captures). To demonstrate versatility, the authors also conducted generalization tests on the RESIDE-6K dataset for dehazing and a real-world deraining dataset.
Quantitative and Qualitative Results
EVSSM consistently outperformed previous state-of-the-art (SOTA) models such as Restormer, NAFNet, and FFTformer. On the GoPro dataset, EVSSM achieved a 34.51 dB PSNR, a 0.3 dB improvement over FFTformer.
In terms of efficiency, EVSSM demonstrated a clear advantage. For a $256 \times 256$ image, EVSSM's inference time was 89ms, compared to 132ms for FFTformer and 286ms for Restormer. Furthermore, it utilized fewer FLOPs (126G vs. Restormer's 155G) and fewer parameters, proving that linear complexity translates to tangible performance gains in practical scenarios.
Conclusion
EVSSM represents a significant step forward in efficient image restoration. By rethinking the 2D scanning process through geometric transformations and optimizing frequency-domain processing, the authors have created a model that captures long-range dependencies with linear complexity. While future work may explore more complex transformations—such as polar coordinates for rotational blur—the current "flip and scan" approach provides a highly effective and efficient framework for modern deblurring tasks.
Summary updated