All models

srformer_x4

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

Diffusion and generative · 105 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 (15 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
105.9K
Operations
105
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
m12152
Graph hash
50fd8f9d36074e1551c894b8262c2ca3d5fd829051b012e7aee50b593963dab1
Skeleton hash
ae74bdac6247ebd5d58826121a0f186475c85607717a8b9219973f4b111bd0b2
Architecture hash
a02f7a5ef408c3cf4b872f18608e1eb70d056a72c6de8d89b9ab13b83e12d48f
Diagram SHA-256
8d66411782b7fbf096024e0e7195dd08ea371cbd19c9c1abc520e0d1f4223e36
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_x4:build_srformer_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 x4
  • srformer_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{srformerx42023,
  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}
}