TL;DR
Selective Frequency Network (SFNet) is a novel image restoration framework that moves beyond traditional spatial-domain processing by dynamically selecting and enhancing informative frequency components. By replacing rigid, fixed transforms (like Wavelets) with learnable, content-aware modules, SFNet achieves state-of-the-art performance across deblurring, dehazing, deraining, and desnowing tasks while maintaining high computational efficiency.
Introduction: The Problem with Fixed Frequencies
Image restoration—recovering a sharp image from a blurry, hazy, or rainy counterpart—is a classic "ill-posed" problem in computer vision. While most modern deep learning approaches tackle this in the spatial domain (manipulating pixels directly), there is a significant discrepancy between the frequency spectra of sharp and degraded images that remains underutilized.
Existing frequency-domain methods typically rely on fixed mathematical tools like the Wavelet or Fourier Transform. These tools are "stiff": they split an image into pre-defined frequency bands regardless of the specific degradation present in the image. The authors argue that this lack of flexibility prevents models from focusing on the most "informative" frequencies needed for a specific restoration task. Furthermore, standard Convolutional Neural Networks (CNNs) often struggle with large-scale blurs because they have a limited "receptive field"—they cannot "see" enough of the image at once to understand and correct the blur.
Methodology: Dynamic Frequency Selection
To address these limitations, the authors introduce two primary modules integrated into a U-Net backbone, forming the Selective Frequency Network (SFNet).
1. Multi-branch Dynamic Selective Frequency (MDSF) Module
Instead of using a fixed mathematical transform, the MDSF module uses learnable filters to decompose features into high- and low-frequency components. Crucially, these filters are generated dynamically based on the input image itself. The module then employs a modified channel-attention mechanism to "accentuate" the useful frequency subbands and suppress noisy ones. By grouping channels and applying different filters to each group, the MDSF module significantly enriches the diversity of frequency representations the model can learn.
2. Multi-branch Compact Selective Frequency (MCSF) Module
To handle large-scale degradations (like heavy motion blur), the model needs to look at the "big picture." The MCSF module uses global and window-based average pooling to create a massive receptive field. It modulates frequency signals across these different scales without incurring the heavy computational cost typically associated with standard large-kernel convolutions or complex Transformer architectures.
By combining these two modules, SFNet can adaptively decide which frequencies to prioritize at both local and global scales, acting much like an AI-driven equalizer that reconfigures its sliders dynamically to ensure perfectly clear output.
Experiments and Key Results
The authors evaluated SFNet on a wide array of benchmarks across five distinct image restoration tasks:
- Defocus Deblurring: DPDD dataset.
- Image Dehazing: SOTS-Indoor, SOTS-Outdoor (RESIDE), and Dense-Haze.
- Motion Deblurring: GoPro, HIDE, and RSBlur.
- Image Desnowing: CSD (2000).
- Image Deraining: Rain100H, Rain100L, Test1200, and others.
Performance and Efficiency
SFNet consistently outperformed previous state-of-the-art (SOTA) models like Restormer and MAXIM:
- Accuracy: On the DPDD defocus deblurring test, SFNet achieved a 0.25 dB PSNR improvement over Restormer. In dehazing (SOTS-Outdoor), it saw a massive gain of 4.87 dB PSNR over DeHamer.
- Speed and Scale: By staying within the feature space and using learnable filters, SFNet avoids the computational overhead of Inverse Fourier or Wavelet transforms. For motion deblurring on the GoPro dataset, SFNet was approximately 3x faster at inference time than Restormer, while using roughly half the parameters (13.27M vs. 26.13M).
- Qualitative Improvements: Visual results demonstrate that SFNet is particularly adept at recovering fine textures—such as license plate numbers or sharp edges in heavy snow—where other models tend to produce "mushy" artifacts.
Limitations and Future Work
The authors noted that while increasing the number of groups in the MDSF module generally improves performance, it eventually hits a point of diminishing returns (saturation) around 16 groups, likely due to overfitting.
While this paper focuses on five specific restoration tasks, the "selective frequency" logic is highly generalizable. Future work could involve applying these modules to other low-level vision tasks like image super-resolution or low-light enhancement, where frequency selection is equally critical. Additionally, exploring even more lightweight versions of these modules for real-time mobile applications remains a promising open area for research.
Summary updated