
PANet-ResNet18
Documents and OCR52 ops191.5K params
5 models. Fewest parameters first.
PAN, the Pixel Attention Network, is a lightweight convolutional neural network for image super resolution. It was built for the AIM 2020 efficient super-resolution challenge, where the team ranked 4th overall, as the entry was inferior in the number of convolutions and activations. What it did win on was size: the entry contains the fewest parameters, only 272K, which is 161K fewer than the 1st, and 415K fewer than the 2nd. The main contribution is called pixel attention (PA), which is inspired by channel attention (CA) and spatial attention (SA). The difference is that PA produces 3D attention maps instead of a 1D attention vector or a 2D map. Mechanically it could hardly be simpler: pixel attention only uses a 1×1 convolution layer and a sigmoid function to obtain the attention maps, which are then multiplied with the input features.
On the basis of PA, the authors propose two building blocks for the main branch and the reconstruction branch, respectively. The SC-PA block has the same structure as the Self-Calibrated convolution but with the PA layer. The U-PA block combines the nearest-neighbor upsampling, convolution and PA layers, and improves the final reconstruction quality with little parameter cost. The LR image is first fed to the FE module, which contains a convolution layer for shallow feature extraction. Then come the stacked SC-PA blocks and a reconstruction module that contains two U-PA blocks and a convolution layer to upsample the features to the HR size. In addition, a global connection path performs a bilinear interpolation on the input and adds it to the reconstruction.
Against the lightweight baselines it was judged on, PAN outperforms CARN on five benchmark datasets for all upscaling factors ×2, ×3 and ×4, with parameters that account for less than 1/5 of CARN. Against SRResNet it obtains higher PSNR on Manga109 and B100 but yields inferior results on the other three datasets. A caveat the authors state plainly: PA is especially useful for small networks, but the effectiveness decreases with the increase of network scales. The three members traced here are PAN models pre-trained on DIV2K for 2x, 3x and 4x image super resolution. They are loaded through the super_image library from the eugenesiow/pan checkpoint, with scale 2, 3 and 4 models available. The card puts the model at just 260k to 270k parameters, about 1mb.
AI-written summary; not reviewed by a person. Corrections welcome.
Paper: Efficient Image Super-Resolution Using Pixel Attention