All models

CSNLN

Recurrent super-resolution network built around cross-scale non-local attention within a single low-resolution image.

Diffusion and generative · 848 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

Loading diagram (105 KB)

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

Parameters
3.1M
Operations
848
Framework
PyTorch
Recurrent
Yes
Published
CVPR 2020
Cited by
441 (as of 28 October 2026)
Authors
Yiqun Mei, Yuchen Fan, Yuqian Zhou 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
m15190
Graph hash
c47203e7f0fabbb1def8d243793e2b257e291e940fe79b4a2ae37b1fc8ffd79c
Skeleton hash
1dd742e5c695bb16429e91f1860a5a6ea247c3b9abf3ed3eb31a725a78f984ae
Architecture hash
ab07b777eb837fc8b5e5291e20a2720de3c3c747d2b7d877c4ce2bbf28a6452f
Diagram SHA-256
d830dfb2b3acef95eb0a7eb77c1aaf0a5acae4fb8222a6e501a3a602a1f16d65
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

CSNLN is a single image super-resolution network that looks for repeated structure inside the low-resolution input itself, including structure that recurs at a different scale. The paper argues that deep models of its time had not studied cross-scale feature correlation, which it calls an inherent property of images. Its answer is the Cross-Scale Non-Local (CS-NL) attention module, integrated into a recurrent neural network.

A recurrent fusion cell combines the CS-NL prior with local and in-scale non-local priors. The repository names this cell the Self-Exemplars Mining (SEM) Cell. The paper reports that the CS-NL module set new best results on multiple SISR benchmarks at the time. The code is built on EDSR (PyTorch), and its example command for 2x super-resolution trains on DIV2K with n_feats set to 128 and depth set to 12.

Key idea. The paper introduced a Cross-Scale Non-Local attention module inside a recurrent network, so that super-resolution can use feature correlations across scales within one low-resolution image.

  • CSNLN
  • CS-NL
  • Cross-Scale Non-Local Attention
  • image super-resolution
  • single image super-resolution
  • SISR
  • self-exemplars mining
  • non-local attention
  • cross-scale feature correlation

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

Cite the paper

@misc{mei2020imagesuperresolutioncrossscalenonlocal,
      title={Image Super-Resolution with Cross-Scale Non-Local Attention and Exhaustive Self-Exemplars Mining}, 
      author={Yiqun Mei and Yuchen Fan and Yuqian Zhou and Lichao Huang and Thomas S. Huang and Humphrey Shi},
      year={2020},
      eprint={2006.01424},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2006.01424}, 
}