Papers › Cross Aggregation Transformer for Image Restoration

Cross Aggregation Transformer for Image Restoration

24 Nov 2022arXiv:2211.13654archive 2025-07-28

Zheng Chen, Yulun Zhang, Jinjin Gu, Yongbing Zhang, Linghe Kong, Xin Yuan

Recently, Transformer architecture has been introduced into image restoration to replace convolution neural network (CNN) with surprising results. Considering the high computational complexity of Transformer with global attention, some methods use the local square window to limit the scope of self-attention. However, these methods lack direct interaction among different windows, which limits the establishment of long-range dependencies. To address the above issue, we propose a new image restoration model, Cross Aggregation Transformer (CAT). The core of our CAT is the Rectangle-Window Self-Attention (Rwin-SA), which utilizes horizontal and vertical rectangle window attention in different heads parallelly to expand the attention area and aggregate the features cross different windows. We also introduce the Axial-Shift operation for different window interactions. Furthermore, we propose the Locality Complementary Module to complement the self-attention mechanism, which incorporates the inductive bias of CNN (e.g., translation invariance and locality) into Transformer, enabling global-local coupling. Extensive experiments demonstrate that our CAT outperforms recent state-of-the-art methods on several image restoration applications. The code and models are available at https://github.com/zhengchen1999/CAT.

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="2211.13654")

Code

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

By repository: official repository: 11 samples from 1 repository, 7 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/cat officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
Jiamian-Wang/IST_for_SR_pruning mentioned on GitHubpytorch 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

11 samples harvested; 7 ran; 0 honoured the contract we drafted; 4 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.

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

Licence: 0 of the 11 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/cat. “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.

Attention_axial zhengchen1999/cat/basicsr/archs/cat_arch.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 9fcd98d2097453fd · report
Attention_regular zhengchen1999/cat/basicsr/archs/cat_arch.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 69065b697deb15e0 · report
DynamicPosBias zhengchen1999/cat/basicsr/archs/cat_arch.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · 705379c0ebcadf0a · report
Registry zhengchen1999/cat/basicsr/archs/cat_arch.py official repository ran Apache-2.0 (permissive) · 2cd4dd2a6360b684 · report
Upsample zhengchen1999/cat/basicsr/archs/cat_arch.py official repository ran · metamorphic tier: deterministic Apache-2.0 (permissive) · eaa574d0bc3bf779 · report
img2windows zhengchen1999/cat/basicsr/archs/cat_arch.py official repository ran · fixture could not drive it Apache-2.0 (permissive) · 15c613ecceb6aa71 · report
windows2img zhengchen1999/cat/basicsr/archs/cat_arch.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 8cb23a62748d3b1c · report
CAT zhengchen1999/cat/basicsr/archs/cat_arch.py official repository unverified Apache-2.0 (permissive) · b1d288dec78999a4 · report
CATB_axial zhengchen1999/cat/basicsr/archs/cat_arch.py official repository unverified Apache-2.0 (permissive) · 022d78e3cb045a68 · report
CATB_regular zhengchen1999/cat/basicsr/archs/cat_arch.py official repository unverified Apache-2.0 (permissive) · 4f917d55d2a0051e · report
ResidualGroup zhengchen1999/cat/basicsr/archs/cat_arch.py official repository unverified Apache-2.0 (permissive) · 6064f631b5d071d2 · report

Tasks

Image RestorationInductive Bias

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Absolute Position EncodingsAdamAttentionBPEConvolutionDense 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