Papers › Recursive Generalization Transformer for Image Super-Resolution

Recursive Generalization Transformer for Image Super-Resolution

11 Mar 2023arXiv:2303.06373archive 2025-07-28

Zheng Chen, Yulun Zhang, Jinjin Gu, Linghe Kong, Xiaokang Yang

Transformer architectures have exhibited remarkable performance in image super-resolution (SR). Since the quadratic computational complexity of the self-attention (SA) in Transformer, existing methods tend to adopt SA in a local region to reduce overheads. However, the local design restricts the global context exploitation, which is crucial for accurate image reconstruction. In this work, we propose the Recursive Generalization Transformer (RGT) for image SR, which can capture global spatial information and is suitable for high-resolution images. Specifically, we propose the recursive-generalization self-attention (RG-SA). It recursively aggregates input features into representative feature maps, and then utilizes cross-attention to extract global information. Meanwhile, the channel dimensions of attention matrices (query, key, and value) are further scaled to mitigate the redundancy in the channel domain. Furthermore, we combine the RG-SA with local self-attention to enhance the exploitation of the global context, and propose the hybrid adaptive integration (HAI) for module integration. The HAI allows the direct and effective fusion between features at different levels (local or global). Extensive experiments demonstrate that our RGT outperforms recent state-of-the-art methods quantitatively and qualitatively. Code and pre-trained models are available at https://github.com/zhengchen1999/RGT.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2303.06373")

Code

Syntology Ran 9 of 12 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 4 ran with no contract checked.

By repository: official repository: 12 samples from 1 repository, 9 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

zhengchen1999/rgt officialmentioned in papermentioned on GitHubpytorchApache-2.0 report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

12 samples harvested; 9 ran; 0 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

4ran · our draft was wrong
1ran · fixture could not drive it
4ran
3unverified

Licence: 0 of the 12 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from zhengchen1999/RGT. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

flow_warp zhengchen1999/RGT/basicsr/archs/arch_util.py official repository ran · our draft was wrong Apache-2.0 (permissive) · ef9faf68f492a375 · report
get_position_from_periods zhengchen1999/RGT/basicsr/models/lr_scheduler.py official repository ran fingerprinted Apache-2.0 (permissive) · cd569444547de84f · report
img2windows zhengchen1999/RGT/basicsr/archs/rgt_arch.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 15c613ecceb6aa71 · report
insert_bn zhengchen1999/RGT/basicsr/archs/vgg_arch.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 5360d45b71ae2bb1 · report
make_layer zhengchen1999/RGT/basicsr/archs/arch_util.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 96ad5dc9ca239aec · report
master_only zhengchen1999/RGT/basicsr/utils/dist_util.py official repository ran Apache-2.0 (permissive) · f6b0e1eb5b7df3e3 · report
reorder_image zhengchen1999/RGT/basicsr/metrics/metric_util.py official repository ran Apache-2.0 (permissive) · 95067518dc16b3e5 · report
resize_flow zhengchen1999/RGT/basicsr/archs/arch_util.py official repository ran Apache-2.0 (permissive) · 5a1d8458dc7077a6 · report
windows2img zhengchen1999/RGT/basicsr/archs/rgt_arch.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 8cb23a62748d3b1c · report
reduce_loss zhengchen1999/RGT/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · a648a03a952822c0 · report
weight_reduce_loss zhengchen1999/RGT/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · 1ba39317ea81871a · report
weighted_loss zhengchen1999/RGT/basicsr/losses/loss_util.py official repository unverified Apache-2.0 (permissive) · cf63f8afc13f62a7 · report

Tasks

Image ReconstructionImage Super-ResolutionSuper-Resolution

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Image Super-Resolution Manga109 - 4x upscaling RGT+ PSNR 32.68 #10 of 50 Archive leaderboard report
Image Super-Resolution Manga109 - 4x upscaling RGT+ SSIM 0.9303 #10 of 50 Archive leaderboard report
Image Super-Resolution Manga109 - 4x upscaling RGT PSNR 32.50 #14 of 50 Archive leaderboard report
Image Super-Resolution Manga109 - 4x upscaling RGT SSIM 0.9291 #14 of 50 Archive leaderboard report
Image Super-Resolution Set14 - 4x upscaling RGT+ PSNR 29.28 #14 of 104 Archive leaderboard report
Image Super-Resolution Set14 - 4x upscaling RGT+ SSIM 0.7979 #14 of 104 Archive leaderboard report
Image Super-Resolution Set14 - 4x upscaling RGT PSNR 29.23 #18 of 104 Archive leaderboard report
Image Super-Resolution Set14 - 4x upscaling RGT SSIM 0.7972 #18 of 104 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Absolute Position EncodingsAdamAttentionBPEDense ConnectionsDropoutLabel SmoothingLayer NormalizationLinear LayerMulti-Head AttentionPosition-Wise Feed-Forward LayerResidual ConnectionSoftmaxTransformer

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections