vsrt_lightweight_x4
A 4x video super-resolution Transformer with convolutional self-attention and flow-based feed-forward layers.
Video · 87 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.
At a glance
- Task
- Video
- Parameters
- 70.8K
- Operations
- 87
- Framework
- PyTorch
- Recurrent
- No
- Published
- 2021
- Cited by
- 236 (as of 16 November 2026)
- Authors
- Jiezhang Cao, Yawei Li, Kai Zhang, Luc Van Gool
- Checked
- Passed: the trace was replayed operation by operation and matched the model's own output for this input.
Files
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.
Details
- Stable ID
- m12221
- Graph hash
- 82c50b028529df1a92e6db9e6cf1c5229766a40a30d4dd61271508eec5d24156
- Skeleton hash
- b8e2ceec3f2c1c956c2bb7950b1248eb8cab610afbdfed5c0edf80996652f51d
- Architecture hash
- 107c81675666f8ae8f4989f2238abaaf3d6f659f4c2c39a728770c6aa388189f
- Diagram SHA-256
- 8874f37941826bd0f29def7973f8a057bbeeb6c90729fdb4358f1de702901bbc
- 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.vsrt_lightweight_x4:build_vsrt_lightweight_x4: build({}) What it is
VSR-Transformer is a Transformer for video super-resolution, the task of restoring a high-resolution video from its low-resolution version, and this model upscales by a factor of four. The paper argues that the standard Transformer block fits this task poorly for two reasons: fully connected self-attention neglects data locality, and the token-wise feed-forward layer lacks the feature alignment that video super-resolution needs.
The model has three stages: a feature extractor made of a stack of residual blocks, a Transformer encoder, and a reconstruction network. Inside the encoder, a spatial-temporal convolutional self-attention layer extracts sliding local patches with an unfold operation, a choice the paper says was motivated by COLA-Net. The usual feed-forward layer is replaced by a bidirectional optical flow-based layer that aligns features across frames, with SPyNet estimating the flows. Position is supplied by 3D fixed positional encodings added to the input of the attention layer.
On REDS4 for 4× video super-resolution, the paper reports the highest PSNR among the methods it compares, with BasicVSR and IconVSR retrained on 5 frames for that comparison. The authors note that their model is larger than the other methods and leave that limitation to future work.
Key idea. VSR-Transformer adapts the Transformer to video super-resolution with a spatial-temporal convolutional self-attention layer and a bidirectional optical flow-based feed-forward layer.
- vsrt
- vsr-transformer
- vsr transformer
- video super-resolution transformer
- video super-resolution
- vsr x4
- spatial-temporal convolutional self-attention
- optical flow feed-forward
AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.
Cite the paper
@misc{cao2023videosuperresolutiontransformer,
title={Video Super-Resolution Transformer},
author={Jiezhang Cao and Yawei Li and Kai Zhang and Luc Van Gool},
year={2023},
eprint={2106.06847},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2106.06847},
}