ELAN
A 4x image super-resolution network built from shift convolutions and multi-scale window self-attention.
Diffusion and generative · 1,916 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
- 8.5M
- Operations
- 1,916
- Framework
- PyTorch
- Recurrent
- No
- Published
- ECCV 2022
- Cited by
- 618 (as of 24 October 2026)
- Authors
- Xindong Zhang, Hui Zeng, Shi Guo, Lei Zhang
- Source
- GitHub: xindongzhang/ELAN
- 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
- m16323
- Graph hash
- 0576d42e9f622b53de4581027008c425e95e4e74403cee2af35435c3b68ab70e
- Skeleton hash
- d3878a15db70c9fcbf05fbc95bad60ff3e060e1e9916e2357f3630ec09174de9
- Architecture hash
- 5a42d16cb6177951fa7c16b86ba88730a835e20f2d2937af692744775747b1b3
- Diagram SHA-256
- 15df9e4d61ca28450d4a4905639e293c0d0c2c9a8bb24a1e03566472019a405a
- 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
ELAN, the efficient long-range attention network, is a model for single image super-resolution, which reproduces a high-resolution output from a degraded low-resolution image. The paper's starting point is that self-attention (SA) in most transformer-based models is very expensive to compute, and that some of their operations may be redundant for super-resolution.
Its building block, the efficient long-range attention block (ELAB), cascades two shift convolutions with a group-wise multi-scale self-attention (GMSA) module. A shift convolution is a set of shift operations followed by one 1 × 1 convolution. The shifts move four groups of features left, right, up and down and leave the last group unchanged. GMSA computes self-attention on non-overlapped groups of features, each with a different window size, to reach long-range dependencies. The paper also swaps layer normalization for batch normalization, which can be merged into the convolution and so adds no computation at inference.
The normal version of ELAN has 36 ELABs with 180 channels, and a light-weight version, ELAN-light, has 24 ELABs with 60 channels. The paper compares on five benchmark datasets: Set5, Set14, BSD100, Urban100 and Manga109. On those it reports that ELAN obtains better PSNR and SSIM than SwinIR on almost all settings, with fewer parameters and FLOPs and more than twice the inference speed.
Key idea. ELAN is a super-resolution network of sequentially cascaded blocks, each combining two shift convolutions with a group-wise multi-scale self-attention module.
- elan
- efficient long-range attention network
- image super-resolution
- single image super-resolution
- super resolution transformer
- gmsa
- elab
- shift convolution
- elan-light
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{zhang2022efficientlongrangeattentionnetwork,
title={Efficient Long-Range Attention Network for Image Super-resolution},
author={Xindong Zhang and Hui Zeng and Shi Guo and Lei Zhang},
year={2022},
eprint={2203.06697},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2203.06697},
}