
SRFormer
2,650 ops10.4M params
A Transformer for single image super-resolution built on permuted self-attention.
2,652 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.
This model is the classical super-resolution configuration of SRFormer with 4x upscaling.
About this model's family
SRFormer is a Transformer-based model for single image super-resolution. It starts from an earlier finding: a larger attention window improves Transformer super-resolution models such as SwinIR, but the computation overhead is also considerable. SRFormer is designed to keep the benefit of large-window self-attention with a smaller computational burden.
Its core is permuted self-attention (PSA), which balances channel and spatial information inside self-attention. In the authors' code, PSA compresses the channel dimension of the keys and values and keeps the channel dimension of the queries. The authors say PSA can be applied to existing super-resolution networks based on window self-attention.
The paper reports a 33.86dB PSNR score on the Urban100 dataset, 0.46dB higher than SwinIR, with fewer parameters and computations. The code repository gives results for classical, lightweight and real-world image super-resolution. A later revision of the paper scales the model up with a larger window size and more channels and names the result SRFormerV2.
Key idea. SRFormer introduces permuted self-attention, which builds large-range pairwise correlations in a super-resolution Transformer with less computation than the window self-attention of SwinIR.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@article{srformer2023,
title = {SRFormer: Permuted Self-Attention for Single Image Super-Resolution},
author = {Yupeng Zhou and Zhen Li and Chun-Le Guo and Song Bai and Ming-Ming Cheng and Qibin Hou},
year = {2023},
journal = {ICCV 2023},
eprint = {2303.09735}
}