All models

srformer_light_x4

A light SRFormer image super-resolution Transformer built on permuted self-attention.

Diffusion and generative · 72 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 (36 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
45.4K
Operations
72
Framework
PyTorch
Recurrent
No
Published
ICCV 2023
Cited by
395 (as of 29 October 2026)
Authors
Yupeng Zhou, Zhen Li, Chunle Guo 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
m12151
Graph hash
a36595654d04e981376aa58adc1d07fa14b16c6a6789030b422cf279cda8ca14
Skeleton hash
0708065cb820385f80fe6589321a766b7af2ec80920ac3d02bf7aa188c482626
Architecture hash
e9f03a3dc03857bbdb91d07210abb5a5b5a7c53b148a753cec8e172da3e1f71d
Diagram SHA-256
e01bd7d1193b7e7cc5871e08d87b6323f31f01f500a41dca47523ff25a16e4e6
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.srformer_light_x4:build_srformer_light_x4: build({})

What it is

About this model's family

SRFormer is a Transformer-based model for image super-resolution. Its paper starts from a finding of earlier work: a larger attention window improves such models, SwinIR being the example given, but the added computation is considerable. SRFormer is meant to keep the benefit of large-window self-attention with less computational burden. Its core is permuted self-attention (PSA), which the authors describe as striking a balance between channel and spatial information in self-attention.

According to the authors, PSA can be applied to existing super-resolution networks that use window self-attention. The paper reports that SRFormer reaches a 33.86dB PSNR score on the Urban100 dataset, 0.46dB higher than SwinIR, while using fewer parameters and computations.

Key idea. SRFormer introduces permuted self-attention, which lets a super-resolution Transformer use large attention windows with less computational burden.

  • srformer
  • srformer light
  • srformer_light_x4
  • srformer light x4
  • permuted self-attention
  • psa
  • image super-resolution
  • single image super-resolution
  • super-resolution transformer

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

Cite the paper

@article{srformerlightx42023,
  title = {SRFormer: Permuted Self-Attention for Single Image Super-Resolution},
  author = {Yupeng Zhou and Zhen Li and Chunle Guo and Song Bai and Ming‐Ming Cheng and Qibin Hou},
  year = {2023},
  journal = {IEEE/CVF International Conference on Computer Vision (ICCV)},
  doi = {10.1109/iccv51070.2023.01174}
}