[Paper Review] Simple Baselines for Image Restoration
The paper presents a simple, high-performance baseline for image restoration that outperforms SOTA with low inter- and intra-block complexity, and introduces a nonlinear activation free network (NAFNet) by removing nonlinear activations.
Although there have been significant advances in the field of image restoration recently, the system complexity of the state-of-the-art (SOTA) methods is increasing as well, which may hinder the convenient analysis and comparison of methods. In this paper, we propose a simple baseline that exceeds the SOTA methods and is computationally efficient. To further simplify the baseline, we reveal that the nonlinear activation functions, e.g. Sigmoid, ReLU, GELU, Softmax, etc. are not necessary: they could be replaced by multiplication or removed. Thus, we derive a Nonlinear Activation Free Network, namely NAFNet, from the baseline. SOTA results are achieved on various challenging benchmarks, e.g. 33.69 dB PSNR on GoPro (for image deblurring), exceeding the previous SOTA 0.38 dB with only 8.4% of its computational costs; 40.30 dB PSNR on SIDD (for image denoising), exceeding the previous SOTA 0.28 dB with less than half of its computational costs. The code and the pre-trained models are released at https://github.com/megvii-research/NAFNet.
Motivation & Objective
- Motivate a low-complexity baseline for image restoration that can beat SOTA methods.
- Investigate which components are essential for high performance in denoising and deblurring.
- Show that nonlinear activation functions may be unnecessary for SOTA results in this domain.
- Derive and validate a simplified network (NAFNet) without nonlinear activations.
- Provide comprehensive ablations and demonstrate versatility across denoising, deblurring, and JPEG artifact scenarios.
Proposed method
- Adopt a single-stage UNet-like architecture to minimize inter-block complexity.
- Construct a plain block with convolution, normalization, and skip connections, then perform ablation studies on adding components (GELU, CA).
- Replace GELU with SimpleGate and CA with Simplified Channel Attention to form a nonlinear activation free network (NAFNet).
- Show that GLU is a generalization of GELU and that nonlinear activations can be replaced by multiplicative gates.
- Compare baseline and NAFNet against SOTA methods on SIDD (denoising) and GoPro (deblurring) with ~16 GMACs budget.
Experimental results
Research questions
- RQ1Can a simple, single-stage UNet-based baseline achieve SOTA performance in image restoration tasks like denoising and deblurring?
- RQ2Are nonlinear activation functions necessary to achieve SOTA performance in image restoration?
- RQ3What minimal set of components (normalization, GELU/CA, and simple attention) suffices to surpass prior methods?
- RQ4How does the proposed nonlinear activation free network (NAFNet) perform across diverse restoration tasks (RGB/raw denoising, deblurring, JPEG artifact restoration)?
Key findings
- A simple baseline surpasses previous SOTA methods on SIDD denoising and GoPro deblurring at low computational cost (e.g., 33.69 dB on GoPro, 40.30 dB on SIDD).
- Replacing nonlinear activations (GELU) with SimpleGate and using Simplified Channel Attention preserves or improves performance, enabling a nonlinear activation free network (NAFNet).
- NAFNet achieves competitive or superior PSNR/SSIM with comparable or lower MACs compared to baselines like Restormer and MPRNet variants.
- Increasing block count improves performance up to a point (36 blocks improves PSNR; 72 blocks yields diminishing returns and higher latency).
- NAFNet delivers SOTA or near-SOTA results across RGB denoising, deblurring, raw denoising, and JPEG artifact restoration tasks.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.