Papers › XPSR: Cross-modal Priors for Diffusion-based Image Super-Resolution

XPSR: Cross-modal Priors for Diffusion-based Image Super-Resolution

8 Mar 2024arXiv:2403.05049archive 2025-07-28

Yunpeng Qu, Kun Yuan, Kai Zhao, Qizhi Xie, Jinhua Hao, Ming Sun, Chao Zhou

Diffusion-based methods, endowed with a formidable generative prior, have received increasing attention in Image Super-Resolution (ISR) recently. However, as low-resolution (LR) images often undergo severe degradation, it is challenging for ISR models to perceive the semantic and degradation information, resulting in restoration images with incorrect content or unrealistic artifacts. To address these issues, we propose a \textit{Cross-modal Priors for Super-Resolution (XPSR)} framework. Within XPSR, to acquire precise and comprehensive semantic conditions for the diffusion model, cutting-edge Multimodal Large Language Models (MLLMs) are utilized. To facilitate better fusion of cross-modal priors, a \textit{Semantic-Fusion Attention} is raised. To distill semantic-preserved information instead of undesired degradations, a \textit{Degradation-Free Constraint} is attached between LR and its high-resolution (HR) counterpart. Quantitative and qualitative results show that XPSR is capable of generating high-fidelity and high-realism images across synthetic and real-world datasets. Codes are released at \url{https://github.com/qyp2000/XPSR}.

PaperPDFCodeCode Syntology ran

In Syntology View this paper on Syntology: its repositories, every harvested function with whether it ran, its licence and the call to fetch it.

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

Code

Syntology Ran 9 of 20 code samples harvested from 1 repository linked to this paper; 11 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · violated contract; 1 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 20 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.

qyp2000/xpsr officialmentioned in papermentioned 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

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

1ran · honoured contract
1ran · violated contract
1ran · our draft was wrong
6ran
11unverified

Licence: 20 of the 20 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 qyp2000/XPSR. “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.

attn_forward_new_pt2_0 qyp2000/XPSR/myutils/vaehook.py official repository ran no licence file found · pointer only · 177c1cf8cd11be39 · report
convert_image_to_fn qyp2000/XPSR/myutils/img_util.py official repository ran no licence file found · pointer only · 1b81186cfb3f8848 · report
exists qyp2000/XPSR/dataloader/localdataset.py official repository ran · violated contract fingerprinted no licence file found · pointer only · 608e364a9d2376a3 · report
identity qyp2000/XPSR/myutils/misc.py official repository ran · honoured contract fingerprinted no licence file found · pointer only · 9910e2fc297f8665 · report
inplace_nonlinearity qyp2000/XPSR/myutils/vaehook.py official repository ran · our draft was wrong fingerprinted no licence file found · pointer only · 76a017e88938061d · report
rand_name qyp2000/XPSR/myutils/misc.py official repository ran fingerprinted no licence file found · pointer only · bdd74d6bfd709ddf · report
save_videos_grid qyp2000/XPSR/myutils/img_util.py official repository ran no licence file found · pointer only · 73408b539d7e8eca · report
window_partition qyp2000/XPSR/models/xpsr/unet_2d_blocks.py official repository ran no licence file found · pointer only · bf260685de569a29 · report
window_reverse qyp2000/XPSR/models/xpsr/unet_2d_blocks.py official repository ran no licence file found · pointer only · 184db8216d8a8a05 · report
attn_forward_new qyp2000/XPSR/myutils/vaehook.py official repository unverified no licence file found · pointer only · 08822a10826682a0 · report
cond_cast_float qyp2000/XPSR/myutils/devices.py official repository unverified no licence file found · pointer only · a1316b96fc0dc988 · report
cond_cast_unet qyp2000/XPSR/myutils/devices.py official repository unverified no licence file found · pointer only · 6e1abd17fa1ce3b2 · report
convert_lora qyp2000/XPSR/myutils/convert_lora_safetensor_to_diffusers.py official repository unverified no licence file found · pointer only · 35fa1e7fbadd8f3d · report
get_device_for qyp2000/XPSR/myutils/devices.py official repository unverified no licence file found · pointer only · a861df384ac42eeb · report
mesh_grid qyp2000/XPSR/dataloader/degradations.py official repository unverified no licence file found · pointer only · 794d4f7fc184e7e5 · report
opt_parse qyp2000/XPSR/dataloader/realesrgan.py official repository unverified no licence file found · pointer only · fce64ea4638101fc · report
pdf2 qyp2000/XPSR/dataloader/degradations.py official repository unverified no licence file found · pointer only · 321b9c73d589eb9e · report
sigma_matrix2 qyp2000/XPSR/dataloader/degradations.py official repository unverified no licence file found · pointer only · e3444ff2b9d24600 · report
window_process qyp2000/XPSR/models/xpsr/unet_2d_blocks.py official repository unverified no licence file found · pointer only · d40a55c91fa32c4f · report
zero_module qyp2000/XPSR/models/xpsr/controlnet.py official repository unverified no licence file found · pointer only · da94debb8019ad46 · report

Tasks

Image Super-ResolutionSuper-Resolution

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

Diffusion

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