
nafnet_width32_sidd_denoise
Image classification121 ops124.1K params
An image restoration network with no nonlinear activation functions, set up for deblurring.
121 operations Checked
Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.nafnet_width64_gopro_deblur:build: build({}) NAFNet is an image restoration network built without nonlinear activation functions: no ReLU, GELU or Sigmoid anywhere in it. The name stands for Nonlinear Activation Free Network. The paper's starting point is that the growing system complexity of restoration methods makes them harder to analyze and compare. It first builds a baseline on a single-stage UNet, starting from a plain block of convolution, ReLU and shortcut.
Two replacements then remove the nonlinear activations from that baseline. GELU is replaced by SimpleGate, which divides the feature map into two parts along the channel dimension and multiplies them. Channel attention is replaced by Simplified Channel Attention, which keeps its two main roles: aggregating global information and letting channels interact.
For its benchmark applications the paper enlarges the network by increasing the width from 32 to 64. On GoPro deblurring it reports 33.69 dB PSNR, 0.38 dB above the previous best result at the time, with 8.4% of that method's computational cost. The paper also notes that NAFNet can be scaled from 1.1 GMACs to 65 GMACs.
Key idea. The paper builds a simple restoration baseline and shows that its nonlinear activation functions can be replaced by multiplication or removed, which yields NAFNet.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@misc{chen2022simplebaselinesimagerestoration,
title={Simple Baselines for Image Restoration},
author={Liangyu Chen and Xiaojie Chu and Xiangyu Zhang and Jian Sun},
year={2022},
eprint={2204.04676},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2204.04676},
}