SPAN
An efficient super-resolution CNN whose attention maps come from an activation function instead of extra parameters.
63 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.
At a glance
- Parameters
- 2.2M
- Operations
- 63
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR Workshops 2024 (NTIRE)
- Cited by
- 109 (as of 29 October 2026)
- Authors
- Cheng Wan, Hongyuan Yu, Zhiqi Li and others
- Source
- spandrel 0.4.2
- License
- Apache-2.0
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m20092
- Graph hash
- f9d6525b6a95154d3d9adf0560e1407201b14703ac8230a151557d5507f2bbf4
- Skeleton hash
- 7e841e8c49c297fae5f23190b979280613ea22337b8396fffde1c81061babdb4
- Architecture hash
- 63ef7c3a50a262c017e82225a81c21e4aa55d26778bbd665888cb015ac2d6d3d
- Diagram SHA-256
- f83c97412d5120071e985eddc0a7336301f1cc41cffacd94b78db4b355f76a1e
- TorchLens version
- 2.36.0
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
What it is
SPAN (Swift Parameter-free Attention Network) is a small convolutional network for single image super-resolution, designed to balance parameter count, inference speed and image quality. The paper's starting point is that conventional attention improves super-resolution but brings complex structures and many parameters, which slow inference.
SPAN builds its attention map with no extra parameters: the features extracted by a block's convolutions are passed through an activation function that is symmetric around the origin, and the result is the map. In each block (SPAB), the feature map and the attention map are multiplied element-wise to give the block output. The activation chosen is Sigmoid(x) − 0.5, which the authors call simple but effective. A plain sigmoid, the paper argues, would lose information in features with large magnitudes but negative values.
The network concatenates the first feature map with the outputs of the first, fifth and sixth blocks before a pixel shuffle step enlarges the image. The paper's main configuration uses six blocks with 48-channel feature maps. The authors also use re-parameterization to improve efficiency at inference. They report first place in both the overall performance track and the runtime track of the NTIRE 2024 efficient super-resolution challenge. Their challenge entry was a narrower version with 28 feature channels.
Key idea. SPAN replaces learned attention with a parameter-free mechanism that computes attention maps by passing convolutional features through an origin-symmetric activation, which keeps the super-resolution network simple and fast.
- SPAN
- Swift Parameter-free Attention Network
- efficient super-resolution
- single image super-resolution
- SISR
- parameter-free attention
- SPAB
- NTIRE 2024
- lightweight super-resolution
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{wan2024swiftparameterfreeattentionnetwork,
title={Swift Parameter-free Attention Network for Efficient Super-Resolution},
author={Cheng Wan and Hongyuan Yu and Zhiqi Li and Yihang Chen and Yajun Zou and Yuqing Liu and Xuanwu Yin and Kunlong Zuo},
year={2024},
eprint={2311.12770},
archivePrefix={arXiv},
primaryClass={eess.IV},
url={https://arxiv.org/abs/2311.12770},
}