Papers › Correlation Matching Transformation Transformers for UHD Image Restoration

Correlation Matching Transformation Transformers for UHD Image Restoration

2 Jun 2024arXiv:2406.00629archive 2025-07-28

Cong Wang, Jinshan Pan, Wei Wang, Gang Fu, Siyuan Liang, Mengzhu Wang, Xiao-Ming Wu, Jun Liu

This paper proposes UHDformer, a general Transformer for Ultra-High-Definition (UHD) image restoration. UHDformer contains two learning spaces: (a) learning in high-resolution space and (b) learning in low-resolution space. The former learns multi-level high-resolution features and fuses low-high features and reconstructs the residual images, while the latter explores more representative features learning from the high-resolution ones to facilitate better restoration. To better improve feature representation in low-resolution space, we propose to build feature transformation from the high-resolution space to the low-resolution one. To that end, we propose two new modules: Dual-path Correlation Matching Transformation module (DualCMT) and Adaptive Channel Modulator (ACM). The DualCMT selects top C/r (r is greater or equal to 1 which controls the squeezing level) correlation channels from the max-pooling/mean-pooling high-resolution features to replace low-resolution ones in Transformers, which can effectively squeeze useless content to improve the feature representation in low-resolution space to facilitate better recovery. The ACM is exploited to adaptively modulate multi-level high-resolution features, enabling to provide more useful features to low-resolution space for better learning. Experimental results show that our UHDformer reduces about ninety-seven percent model sizes compared with most state-of-the-art methods while significantly improving performance under different training sets on 3 UHD image restoration tasks, including low-light image enhancement, image dehazing, and image deblurring. The source codes will be made available at https://github.com/supersupercong/UHDformer.

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

Code

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

By repository: official repository: 18 samples from 1 repository, 13 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

supersupercong/uhdformer officialmentioned in paperpytorchNOASSERTION 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

19 samples harvested; 14 ran; 2 honoured the contract we drafted; 5 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.

2ran · honoured contract
3ran · our draft was wrong
2ran · fixture could not drive it
7ran
5unverified

Licence: 19 of the 19 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 supersupercong/uhdformer. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

window_partition supersupercong/uhdformer/basicsr/archs/network_swinir.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · 144d10b49baeb8a6 · report
Matching supersupercong/UHDformer/basicsr/archs/femasr_arch.py official repository ran licence not identified · pointer only · 7768e2df71a905ea · report
Matching_transformation supersupercong/UHDformer/basicsr/archs/femasr_arch.py official repository ran licence not identified · pointer only · bc51e42faf58567f · report
calculate_weights_indices supersupercong/uhdformer/comput_psnr_ssim.py official repository ran licence not identified · pointer only · 41c726254f92759d · report
create_window supersupercong/uhdformer/basicsr/models/cal_ssim.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 6154e3744ece5728 · report
cubic supersupercong/uhdformer/comput_psnr_ssim.py official repository ran fingerprinted no licence file found · pointer only · 2a78a7db11a55ede · report
equalize_hist_color supersupercong/uhdformer/inference_uhdformer.py official repository ran licence not identified · pointer only · 5cf7893d7b439f34 · report
gaussian supersupercong/uhdformer/basicsr/models/cal_ssim.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · c56b7ef16f309a45 · report
get_residue_structure_mean supersupercong/uhdformer/inference_uhdformer.py official repository ran fingerprinted licence not identified · pointer only · 25d2b867e5ed26b3 · report
imresize supersupercong/uhdformer/comput_psnr_ssim.py official repository ran fingerprinted licence not identified · pointer only · a418150375355db5 · report
neirest_neighbores supersupercong/UHDformer/basicsr/archs/femasr_arch.py official repository ran · our draft was wrong licence not identified · pointer only · 138161515f1d0419 · report
neirest_neighbores_on_l2 supersupercong/UHDformer/basicsr/archs/femasr_arch.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · d51cded6ddd608db · report
window_reverse supersupercong/uhdformer/basicsr/archs/network_swinir.py official repository ran · our draft was wrong no licence file found · pointer only · 61bf152e6a42a184 · report
check_image_size supersupercong/uhdformer/inference_uhdformer.py official repository unverified licence not identified · pointer only · 7ab32da4188a2275 · report
reduce_loss supersupercong/uhdformer/basicsr/losses/loss_util.py official repository unverified no licence file found · pointer only · a648a03a952822c0 · report
ssim supersupercong/uhdformer/basicsr/models/cal_ssim.py official repository unverified no licence file found · pointer only · 9151c793f90473f0 · report
weight_reduce_loss supersupercong/uhdformer/basicsr/losses/loss_util.py official repository unverified no licence file found · pointer only · 1ba39317ea81871a · report
weighted_loss supersupercong/uhdformer/basicsr/losses/loss_util.py official repository unverified no licence file found · pointer only · cf63f8afc13f62a7 · report
batched_index_select identical code first harvested elsewhere ran · fixture could not drive it licence of this copy not recorded · 1345f4fc63011f70 · report

Tasks

DeblurringImage DeblurringImage DehazingImage EnhancementImage RestorationLow-Light Image Enhancement

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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