
dat_light_x4
Diffusion and generative82 ops27.1K params
A ×4 super-resolution Transformer that alternates spatial window and channel-wise self-attention.
Diffusion and generative · 82 operations Checked
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.
The file opened in a new tab. Use your browser's Save command there to keep it.
The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.
How this diagram was made
menagerie.classics.dat_x4:build_dat_x4: build({}) DAT, the Dual Aggregation Transformer, is a Transformer model for image super-resolution. The task is to recover a high-resolution image from a low-resolution counterpart. Earlier super-resolution Transformers applied self-attention along one dimension, spatial or channel, and the authors set out to combine the two.
The network alternates two kinds of Transformer block, one based on spatial window self-attention and one on channel-wise self-attention. Because self-attention models global information, each block also runs a convolution in parallel to add locality. The adaptive interaction module (AIM) then re-weights the feature maps of the two branches. In the feed-forward part, the spatial-gate feed-forward network (SGFN) adds a gate made of a depth-wise convolution and an element-wise multiplication.
After the Transformer blocks, a reconstruction module upsamples the deep feature with pixel shuffle. The paper builds two sizes, DAT-S and DAT. Both are trained on DIV2K and Flickr2K. It reports that DAT performs better than the methods it was compared with, except for PSNR on Urban100 at ×4 against CAT-A.
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.
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
@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},
}