All models

dat_light_x4

A narrower Dual Aggregation Transformer for ×4 image super-resolution, alternating spatial and channel attention.

Diffusion and generative · 82 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 (18 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
27.1K
Operations
82
Framework
PyTorch
Recurrent
No
Published
ICCV (arXiv 2023)
Cited by
496 (as of 29 October 2026)
Authors
Zheng Chen, Yulun Zhang, Jinjin Gu 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
m11763
Graph hash
f8f95dfeebc17516a000d71f287a2051dcb8605e84406d0bb5f52e55049bdbd8
Skeleton hash
6889b02735f24fa93cd8f55a55ee036882e0a1a8f268eea1e8f97a58874d624e
Architecture hash
c9c0101a35bb3f11c712a95e8a07117215a815bd083f3ca17166a9051578a1ae
Diagram SHA-256
d5343d8f823c7cb94d85ae9c9ce0ecf2ea0006af92d4e036e4d2fffb84874023
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.dat_x4:build_dat_light_x4: build({})

What it is

This model follows the Dual Aggregation Transformer (DAT), a Transformer design for image super-resolution. The paper starts from the observation that both extracting spatial information and capturing channel context matter for super-resolution Transformers. DAT therefore uses two kinds of block, one based on spatial window self-attention and one on channel-wise self-attention, and applies them in alternation.

Each block also aggregates the two kinds of information internally. A depth-wise convolution runs in parallel with the attention. The adaptive interaction module (AIM) re-weights the feature maps of the two branches. The feed-forward part is the spatial-gate feed-forward network (SGFN), whose gate is a depth-wise convolution and an element-wise multiplication. In the paper's ablation, SGFN reduces parameters and FLOPs compared with a regular feed-forward network while improving performance.

The blocks are stacked in residual groups, each ending in a convolution layer that refines the features. A reconstruction module then upsamples the deep feature with pixel shuffle. The paper trains its models on DIV2K and Flickr2K. Low-resolution images are generated from high-resolution ones by bicubic degradation.

Key idea. The paper builds a super-resolution Transformer that aggregates spatial and channel features across blocks, by alternating two attention types, and within blocks, through AIM and SGFN.

  • DAT-light
  • DAT light
  • Dual Aggregation Transformer
  • image super-resolution
  • lightweight super-resolution
  • super-resolution transformer
  • adaptive interaction module
  • spatial-gate feed-forward network
  • x4 upscaling

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

Cite the paper

@misc{chen2023dualaggregationtransformerimage,
      title={Dual Aggregation Transformer for Image Super-Resolution}, 
      author={Zheng Chen and Yulun Zhang and Jinjin Gu and Linghe Kong and Xiaokang Yang and Fisher Yu},
      year={2023},
      eprint={2308.03364},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2308.03364}, 
}