All models

SAN (Second-order Attention Network)

A convolutional super-resolution network that rescales channel features using second-order statistics.

Diffusion and generative · 2,851 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,851 operations (125 KB) and is drawn when you ask.

Open in a new tab

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

Family
SAN
Parameters
15.9M
Operations
2,851
Framework
PyTorch
Recurrent
No
Published
CVPR 2019
Cited by
2,003 (as of 28 October 2026)
Authors
Tao Dai, Jianrui Cai, Yongbing Zhang and others
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m19951
Graph hash
0f62d5a6d967167bf8bd30bde4764ea695708840eef052024b96d982d3d7e927
Skeleton hash
df37c579771108972824b5d735946092fcd16b6d03204fd2482c12c3ac5e4657
Architecture hash
72d875ccc2b7e26b453c82b3f324f20bae6f80f99dd4de134df9e58aed67e3a1
Diagram SHA-256
5a3920e9704b14ce7ef82e99a136f81ae0b632f1988ec65265beba53f728a297
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

SAN, the second-order attention network, is a convolutional network for single image super-resolution (SISR): it turns a low-resolution image into a larger one. Its authors argue that most CNN-based SISR methods concentrate on wider or deeper architecture design and neglect the feature correlations of intermediate layers, which limits what the network can represent.

SAN adds two components to address this. A second-order channel attention (SOCA) module adaptively rescales the channel-wise features using second-order feature statistics. A non-locally enhanced residual group (NLRG) structure brings in non-local operations to capture long-distance spatial context, and contains repeated local-source residual attention groups (LSRAG).

The paper was published at CVPR 2019. The released code is built on RCAN. Its commands configure the network with 20 residual groups, 10 residual blocks per group and 64 features, for scales 2, 3, 4 and 8. At scale 4, a 48x48 input patch gives a 192x192 output.

Key idea. The paper builds a super-resolution network that rescales channel-wise features with second-order feature statistics and adds non-local operations inside a residual group structure.

  • SAN
  • Second-order Attention Network
  • second-order attention network for single image super-resolution
  • single image super-resolution
  • SISR
  • image upscaling
  • SOCA
  • second-order channel attention
  • non-locally enhanced residual group

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@inproceedings{Dai_2019, title={Second-Order Attention Network for Single Image Super-Resolution}, url={http://dx.doi.org/10.1109/CVPR.2019.01132}, DOI={10.1109/cvpr.2019.01132}, booktitle={2019 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR)}, publisher={IEEE}, author={Dai, Tao and Cai, Jianrui and Zhang, Yongbing and Xia, Shu-Tao and Zhang, Lei}, year={2019}, month=June, pages={11057–11066} }