span_x4
SPAN is an efficient single image super-resolution network with parameter-free attention.
Diffusion and generative · 43 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
- 149.5K
- Operations
- 43
- Framework
- PyTorch
- Recurrent
- No
- Published
- CVPR Workshops 2024
- Authors
- Cheng Wan, Hongyuan Yu, Zhiqi Li and others
- 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
- m12135
- Graph hash
- 7ab2258107b1c4fa031ef96106a6c154210ebf00948fc44eafe89b9f2280c90c
- Skeleton hash
- 3e7d6c3e3a9b58cb5ba4c51afa95768cb7a7dbe4a71fe505b9bc331200740997
- Architecture hash
- 78937b2d6f42401eafba0bb3c44c305060fbca24967651374061157e1479b9ae
- Diagram SHA-256
- 81d8030ed732ddd5896bebf99fef47b16342aa5f5cfd56d6357c7ebe3422b16f
- TorchLens version
- 2.35.3
- Renderer
- graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
- Check
- Forward pass replayed in PyTorch
How this diagram was made
menagerie.classics.span_x4:build_span_x4: build({}) What it is
SPAN, the Swift Parameter-free Attention Network, is a single image super-resolution model built to balance parameter count, inference speed and image quality. Its paper starts from the observation that conventional attention mechanisms improve super-resolution quality but bring complex structures and many parameters, which slows inference.
SPAN instead uses an attention mechanism with no parameters of its own, built from symmetric activation functions and residual connections. The network is a chain of 6 blocks called SPABs, each of which extracts features through three convolutional layers. The paper argues that the activation producing the attention map must be an odd function, because one like Sigmoid filters out negative values and loses features that are large in magnitude but negative. At the end a pixel shuffle module turns the feature map into the high-resolution image.
The paper's models were trained on DF2K, a combination of the DIV2K and Flickr2K datasets. The paper evaluates SPAN and SPAN-S at 2x and 4x upscaling. The authors report winning first place in both the overall performance track and the runtime track of the NTIRE 2024 efficient super-resolution challenge.
Key idea. SPAN introduced a parameter-free attention mechanism for efficient super-resolution that builds attention from symmetric activation functions and residual connections instead of extra trainable parameters.
- span
- swift parameter-free attention network
- super-resolution
- single image super-resolution
- sisr
- efficient super-resolution
- image upscaling
- parameter-free attention
- ntire 2024
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},
}