SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2303.06440 · ICLR · 2024

Xformer: Hybrid X-Shaped Transformer for Image Denoising

Yulun Zhang, Xiaokang Yang, Jinjin Gu, Jiale Zhang, Linghe Kong, Jiahua Dong

arXiv · PDF · Open in the Atlas

Code that ran

8 of 9 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (2 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 3 have no contract verdict; 5 failures of our instrument; 1 no recorded run), measured 2026-11-22; repository links from the Papers with Code archive attributed under CC BY-SA, no affiliation; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2303.06440.json · badge: /api/ran/2303.06440.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
gladzhang/Xformer canonical (classifier label)
classifier basis: classifier_2025
3 ran · 0 no recorded run
gladzhang/xformer community
Papers with Code archive
5 ran · 1 no recorded run
FunctionStatusWhere it lives
ChannelTransformerBlock Ran
ran on a synthesized input
gladzhang/xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("dd5ab00bc7a7d984")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

SpatialTransformerBlock Ran
ran on a synthesized input · constructed an object; no result was computed
gladzhang/xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("d81a553960719d6b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

WindowAttention Ran
ran on a synthesized input · constructed an object; no result was computed
gladzhang/xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("4781ef943f218cfc")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

drop_path Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gladzhang/Xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("55120f2026b56aa2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/Xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_3d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gladzhang/Xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("82a15cc1e46f7e4d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/Xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

to_4d Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gladzhang/Xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("b20f2a5df739a59e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/Xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_partition Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
gladzhang/xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("fe19b0b26685db41")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

window_reverse Ran
ran; our contract draft was wrong, not the code
gladzhang/xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("33cf996454dad0a3")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

XFormer Not yet run
unverified (harvested, no recorded run)
gladzhang/xformer/basicsr/models/archs/Xformer_arch.py
pointer only (licence: NONE) · get_code("6ff3a333ae89be2a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, gladzhang/xformer when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 9 samples lifted from this paper's linked repositories, 9 carry a function identity and 0 do not. Of the 9 distinct functions with an identity, 5 are also present in other papers whose code we hold (5 with at least one paper dated earlier, 3 the same month, 5 later) and 4 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

FunctionAlso present inEarliest-datedOthers named
drop_path
brick of this paper's assembly: helper
224 other papers
75 dated earlier, 10 the same month, 132 later, 6 same year, order not determinable, 1 undated · 38 only as an assembly brick
2003.12039 (2020-03)
RAFT: Recurrent All-Pairs Field Transforms for Optical Flow
2007.09384 (2020-07)
Multi-Scale Positive Sample Refinement for Few-Shot Object Detection
2010.11929 (2020-10)
An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
and 221 more not named here
to_3d
brick of this paper's assembly: helper
80 other papers
8 dated earlier, 3 the same month, 67 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 77 more not named here
to_4d
brick of this paper's assembly: helper
79 other papers
8 dated earlier, 3 the same month, 66 later, 2 same year, order not determinable · 18 only as an assembly brick
2003.06792 (2020-03)
Learning Enriched Features for Real Image Restoration and Enhancement
2102.02808 (2021-02)
Multi-Stage Progressive Image Restoration
2111.09881 (2021-11)
Restormer: Efficient Transformer for High-Resolution Image Restoration
and 76 more not named here
window_partition
brick of this paper's assembly: helper
12 other papers
3 dated earlier, 8 later, 1 same year, order not determinable · 1 only as an assembly brick
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2203.11589 (2022-03)
Adaptive Patch Exiting for Scalable Single Image Super-Resolution
and 9 more not named here
window_reverse
brick of this paper's assembly: helper
11 other papers
3 dated earlier, 7 later, 1 same year, order not determinable · 1 only as an assembly brick
2108.10257 (2021-08)
SwinIR: Image Restoration Using Swin Transformer
2203.11589 (2022-03)
Adaptive Patch Exiting for Scalable Single Image Super-Resolution
and 8 more not named here

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

In this paper, we present a hybrid X-shaped vision Transformer, named Xformer, which performs notably on image denoising tasks. We explore strengthening the global representation of tokens from different scopes. In detail, we adopt two types of Transformer blocks. The spatial-wise Transformer block performs fine-grained local patches interactions across tokens defined by spatial dimension. The channel-wise Transformer block performs direct global context interactions across tokens defined by channel dimension. Based on the concurrent network structure, we design two branches to conduct these two interaction fashions. Within each branch, we employ an encoder-decoder architecture to capture multi-scale features. Besides, we propose the Bidirectional Connection Unit (BCU) to couple the learned representations from these two branches while providing enhanced information fusion. The joint designs make our Xformer powerful to conduct global information modeling in both spatial and channel dimensions. Extensive experiments show that Xformer, under the comparable model complexity, achieves state-of-the-art performance on the synthetic and realworld image denoising tasks. We also provide code and models at https: //github.com/gladzhang/Xformer.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2303.06440")
get_code_for_paper("2303.06440")
have("2303.06440")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2303.06440.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2303.06440.svg)](https://syntology.ai/paper/2303.06440)

Connect an agent — have() is free.