All models

ATD

A super-resolution Transformer that adds a learned token dictionary to window attention.

4,104 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 4,104 operations (57 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
22M
Operations
4,104
Framework
PyTorch
Recurrent
No
Published
CVPR 2024
Cited by
121 (as of 26 October 2026)
Authors
Leheng Zhang, Yawei Li, Xingyu Zhou 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
m14597
Graph hash
413cfd1520c9320d599a4d8f77aeabd9c697f46510b24756acc15af31569e1f8
Skeleton hash
70797cd9782b048d5ba14dbe99f87519da210b11b49130306af156e91d2fc975
Architecture hash
2363804b9c7ee43abd769850549cffaea3d89bc824ebed60cf32f5871c4cd85c
Diagram SHA-256
dc8550f90ba7ecdc4eb4d8b6089590e3dff74451305bf0d51f99b977efd966eb
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3

What it is

ATD is a Transformer for single image super-resolution, the problem of estimating a high-resolution image from a low-resolution one. It addresses the limited receptive field that window-based self-attention causes in super-resolution Transformers.

The model adds a token dictionary, a group of auxiliary tokens that learn prior information from the training data and are then adapted to the image being processed in a refinement step. Image tokens read from the dictionary through token dictionary cross-attention, and the dictionary also groups image tokens into categories so that a category-based self-attention can use distant but similar tokens. Each transformer layer runs these two attention modules in parallel with shift window-based self-attention and combines the three outputs by summation.

The paper reports PSNR gains of 0.20 to 0.25 dB over HAT on the Urban100 dataset at comparable parameter size. A lightweight version, ATD-light, has 48 feature dimensions and 4 ATD blocks. The code repository also trains a variant named ATD-U for Gaussian image denoising.

Key idea. The paper adds an adaptive token dictionary to a super-resolution Transformer, giving every image token global prior information and grouping tokens into categories for attention beyond local windows.

  • ATD
  • Adaptive Token Dictionary
  • ATD-SR
  • image super-resolution
  • single image super-resolution
  • super-resolution transformer
  • token dictionary
  • category-based self-attention
  • image restoration

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

Cite the paper

@misc{zhang2024transcendinglimitlocalwindow,
      title={Transcending the Limit of Local Window: Advanced Super-Resolution Transformer with Adaptive Token Dictionary}, 
      author={Leheng Zhang and Yawei Li and Xingyu Zhou and Xiaorui Zhao and Shuhang Gu},
      year={2024},
      eprint={2401.08209},
      archivePrefix={arXiv},
      primaryClass={cs.CV},
      url={https://arxiv.org/abs/2401.08209}, 
}