All models

ESWT

A lightweight super-resolution transformer that attends within vertical and horizontal striped windows.

Diffusion and generative · 801 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 (16 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
618.6K
Operations
801
Framework
PyTorch
Recurrent
No
Published
2023
Cited by
32 (as of 30 November 2026)
Authors
Jinpeng Shi, Hui Li, Tianle Liu and others
License
MIT
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
m16370
Graph hash
09eb87d12385bfafa5c74a17fca8c041307c8a6fbcf46ef7901a12066337869f
Skeleton hash
39f22dc5d08735745b66e7288147dde239827f1759d5ac313b201fc35b1fd0c5
Architecture hash
c9708bb6ce2101f5ef2352d9db09657197bf56979f014722eb575106c85ff733
Diagram SHA-256
5f443a0ceb24d337522f441c98568eea050d1a2ffbac7d37e85ee04c7064b77d
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

ESWT, the efficient striped window transformer, is a small transformer for single-image super-resolution, the reconstruction of a high-resolution image from a low-resolution one. The paper targets lightweight super-resolution, where it says the challenge of balancing model performance and complexity has hindered the use of transformers.

The network has three modules: shallow feature extraction, deep feature extraction built from efficient transformer blocks, and a reconstruction module. Inside each transformer layer the authors remove the usual normalization layer and embed batch normalization into self-attention instead. The attention matrix is computed from the query matrix alone, and the key matrix is left out to streamline the layer.

The striped window mechanism splits the input feature equally in two along the channel dimension. Window self-attention with vertical striped windows is applied to one half and with horizontal striped windows to the other, and a 1 × 1 convolution blends the two after they are concatenated. The paper's ablation setting uses 3 transformer blocks of 6 layers each with a (24, 6) striped window. The paper also proposes a flexible window training strategy, in which a later stage loads the model trained in the previous stage and computes attention with stretched striped windows.

Key idea. The paper builds a lightweight super-resolution transformer that embeds batch normalization into self-attention and attends within vertical and horizontal striped windows to model long-term dependencies efficiently.

  • eswt
  • efficient striped window transformer
  • eswt-24-6
  • lightweight super-resolution
  • single-image super-resolution
  • striped window
  • image upscaling
  • flexible window training

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

Cite the paper

@misc{shi2023imagesuperresolutionusingefficient,
      title={Image Super-Resolution using Efficient Striped Window Transformer}, 
      author={Jinpeng Shi and Hui Li and Tianle Liu and Yulong Liu and Mingjian Zhang and Jinchen Zhu and Ling Zheng and Shizhuang Weng},
      year={2023},
      eprint={2301.09869},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2301.09869}, 
}