All models

dat_lightweight_sr_x4

DAT-light is a small Dual Aggregation Transformer that upscales low-resolution images four times.

Diffusion and generative · 2,557 operations Structure only

Structure-only capture: TorchLens recorded this graph without running real numbers through the model, so shapes and data types on the diagram are hypotheses, not measurements.

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

This diagram has 2,557 operations (30 KB) and is drawn when you ask.

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
572.8K
Operations
2,557
Framework
PyTorch
Recurrent
No
Published
ICCV 2023
Cited by
416 (as of 20 October 2026)
Authors
Zheng Chen, Yulun Zhang, Jinjin Gu and others
License
Apache-2.0
Checked
Structure only: shapes and data types are hypotheses, not measurements.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m4083
Graph hash
74ce53b75e4aca317cca7976406b7a6cbf742e3ea33e2194c8e349190b22cb52
Skeleton hash
8667fcd35dad86d8c8ec013c91a6e15c97507c0e01dd56f30a9bdfb71b96897b
Architecture hash
97859644782089e5fb779606e223b02f8282846ccd1943cad55c1aeac7db90bc
Diagram SHA-256
02a5abce20df01b07d5d3f010e15b95314b821f17401c6ca0b37f84466fc46ce
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

DAT-light is a small version of the Dual Aggregation Transformer (DAT), a Transformer model for image super-resolution (SR). The task is to recover a high-resolution image from a low-resolution one. Earlier networks applied self-attention along either the spatial or the channel dimension, and the paper sets out to combine the two.

The network has three modules: shallow feature extraction, deep feature extraction and image reconstruction. Successive Transformer blocks alternate between spatial window self-attention and channel-wise self-attention. Within a block, a convolution branch runs in parallel with self-attention to add locality. The adaptive interaction module (AIM) lets the two branches exchange information through spatial-interaction and channel-interaction operations. The feed-forward part is a spatial-gate feed-forward network (SGFN), whose gate is a depth-wise convolution followed by element-wise multiplication.

The paper builds two sizes, DAT-S and DAT. DAT-light comes from the authors' repository, which points to Table 2 of the supplementary material for its results. The repository lists DAT-light at 573K parameters, with a PSNR of 26.64 dB and an SSIM of 0.8033 on Urban100 at x4 upscaling. Its training commands use 64x64 inputs.

Key idea. DAT aggregates spatial and channel features both between blocks, by alternating spatial and channel self-attention, and within blocks, through the adaptive interaction module and spatial-gate feed-forward network.

  • DAT-light
  • DAT light
  • Dual Aggregation Transformer light
  • lightweight DAT
  • image super-resolution
  • single image super-resolution
  • lightweight super-resolution
  • super-resolution transformer
  • 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}, 
}