Abstract
FocalNet is a highly efficient CNN-based architecture designed for image restoration tasks such as dehazing, desnowing, and deblurring. By introducing a "dual-domain selection" mechanism that prioritizes hard-to-restore regions and high-frequency details, FocalNet achieves state-of-the-art performance across 10 datasets. Notably, it remains significantly faster and lighter than dominant Transformer-based models, offering a compelling alternative for high-resolution and mobile applications.
Introduction
Image restoration—recovering a clean image from one degraded by haze, snow, or blur—is a fundamental challenge in computer vision. Recently, Transformer models have dominated this field due to their self-attention mechanism, which models long-range pixel interactions. However, Transformers suffer from quadratic computational complexity, limiting their use on high-resolution images or resource-constrained devices.
FocalNet addresses this by observing that degradations are non-uniform; specific regions like edges or heavily obscured areas are often much harder to restore than others. While standard Convolutional Neural Networks (CNNs) typically treat all pixels with equal importance, FocalNet introduces a "focus" mechanism to CNNs, achieving Transformer-level effectiveness with much higher efficiency.
Methods: Dual-domain Selection and Multi-scale Processing
FocalNet utilizes a U-shaped encoder-decoder backbone enhanced by two primary innovations:
- Dual-domain Selection Mechanism (DSM): This core component consists of the Spatial Selection Module (SSM) and the Frequency Selection Module (FSM). The SSM identifies regions where degradation is most severe using depth-wise convolutions to create importance maps. The FSM focuses on high-frequency details (edges and textures) that are typically lost during degradation by explicitly filtering out low-frequency information.
- Multi-scale ResBlock (MResBlock): To handle varying degradation scales (e.g., small snowflakes vs. large blurry patches), the MResBlock splits feature channels. One half is processed at the original resolution, while the other is downsampled, providing a multi-scale receptive field without the full computational cost of high-resolution processing.
Key Results and Performance
Evaluated across 10 datasets (including SOTS, Snow100K, and DPDD), FocalNet consistently outperforms both traditional CNNs and modern Transformers in both quality and efficiency.
- Efficiency: On the SOTS-Indoor benchmark, FocalNet surpassed the previous leader (PMNet) by 2.41 dB PSNR while using 80% fewer parameters and 62% fewer FLOPs.
- Desnowing: It achieved a significant 4.05 dB PSNR gain over NAFNet on the SRRS dataset.
- Deblurring: FocalNet outperformed the Transformer-based Restormer on the DPDD dataset by 0.2 dB while using only half the parameters.
Visual comparisons further demonstrate that FocalNet is particularly effective at removing artifacts in "hard" regions where other models leave behind ghosting effects.
Conclusion
FocalNet demonstrates that "attention-like" behavior can be achieved efficiently using purely convolutional layers. By explicitly incorporating frequency-domain selection and multi-scale processing, it preserves fine textures often lost by other models. Future work may extend this approach to video restoration and explore the placement of selection modules at higher resolutions within the U-Net architecture.
Summary updated