SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.04785 · CVPR · 2024

Rethinking Diffusion Model for Multi-Contrast MRI Super-Resolution

Lei Zhao, Wei Xing, Zhanjie Zhang, Guangyuan Li, Juncheng Mo, Chen Rao

arXiv · PDF · Open in the Atlas

Code that ran

11 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 11 failures of our instrument; 0 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/2404.04785.json · badge: /api/ran/2404.04785.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
guangyuankk/diffmsr canonical (classifier label)
classifier basis: census
11 ran · 0 no recorded run
FunctionStatusWhere it lives
FFT2D Ran
ran; our contract draft was wrong, not the code
guangyuankk/diffmsr/DiffMSR_Main/models/DiffMSR_S1_model.py
pointer only (licence: NONE) · get_code("5d6168ba35db490b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

IFFT2D Ran
ran; our contract draft was wrong, not the code
guangyuankk/diffmsr/DiffMSR_Main/models/DiffMSR_S1_model.py
pointer only (licence: NONE) · get_code("f9c80fa2faac8e85")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

data_consistency Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
guangyuankk/diffmsr/DiffMSR_Main/models/DiffMSR_S1_model.py
pointer only (licence: NONE) · get_code("023a519d4baa7a71")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

default_conv Ran
ran; our contract draft was wrong, not the code
guangyuankk/diffmsr/DiffMSR_Main/archs/common.py
pointer only (licence: NONE) · get_code("8b0e794d4d8f9b13")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

flow_warp Ran
ran; our contract draft was wrong, not the code
guangyuankk/diffmsr/DiffMSR_Main/archs/arch_util.py
pointer only (licence: NONE) · get_code("ef9faf68f492a375")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

get_position_from_periods Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
guangyuankk/diffmsr/DiffMSR_Main/models/lr_scheduler.py
pointer only (licence: NONE); the stored copy get_code serves, from AlifAshrafee/Restoring-Without-Forgetting, is pointer only (licence: NONE) · get_code("cd569444547de84f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

make_layer Ran
ran; our contract draft was wrong, not the code
guangyuankk/diffmsr/DiffMSR_Main/archs/arch_util.py
pointer only (licence: NONE) · get_code("96ad5dc9ca239aec")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

resize_flow Ran
ran; our contract draft was wrong, not the code
guangyuankk/diffmsr/DiffMSR_Main/archs/arch_util.py
pointer only (licence: NONE); the stored copy get_code serves, from JiaxiaoWang/EvReflection, is pointer only (licence: NONE) · get_code("5a1d8458dc7077a6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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)
guangyuankk/diffmsr/DiffMSR_Main/archs/CATL.py
pointer only (licence: NONE); the stored copy get_code serves, from gladzhang/Xformer, is 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, guangyuankk/diffmsr 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)
guangyuankk/diffmsr/DiffMSR_Main/archs/CATL.py
pointer only (licence: NONE); the stored copy get_code serves, from gladzhang/Xformer, is 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, guangyuankk/diffmsr 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)
guangyuankk/diffmsr/DiffMSR_Main/archs/CATL.py
pointer only (licence: NONE) · get_code("60363d0620f5778d")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, guangyuankk/diffmsr 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.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 8 are also present in other papers whose code we hold (8 with at least one paper dated earlier, 7 the same month, 8 later) and 3 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
to_3d 80 other papers
39 dated earlier, 5 the same month, 34 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 79 other papers
38 dated earlier, 5 the same month, 34 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
default_conv 57 other papers
40 dated earlier, 2 the same month, 12 later, 3 same year, order not determinable · 2 only as an assembly brick
1707.02921 (2017-07)
Enhanced Deep Residual Networks for Single Image Super-Resolution
1803.02735 (2018-03)
Deep Back-Projection Networks For Super-Resolution
1803.04626 (2018-03)
Maintaining Natural Image Statistics with the Contextual Loss
and 54 more not named here
get_position_from_periods 55 other papers
28 dated earlier, 3 the same month, 21 later, 3 same year, order not determinable
2110.04627 (2021-10)
Vector-quantized Image Modeling with Improved VQGAN
136790177 (2022 (year only))
Frequency and Spatial Dual Guidance for Image Dehazing
2204.04676 (2022-04)
Simple Baselines for Image Restoration
and 52 more not named here
make_layer 29 other papers
12 dated earlier, 2 the same month, 14 later, 1 same year, order not determinable
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2108.11048 (2021-08)
Memory-Augmented Non-Local Attention for Video Super-Resolution
and 26 more not named here
flow_warp 25 other papers
11 dated earlier, 1 the same month, 12 later, 1 same year, order not determinable · 1 only as an assembly brick
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 22 more not named here
resize_flow 21 other papers
9 dated earlier, 1 the same month, 10 later, 1 same year, order not determinable
2107.10833 (2021-07)
Real-ESRGAN: Training Real-World Blind Super-Resolution with Pure Synthetic Data
2303.06373 (2023-03)
Recursive Generalization Transformer for Image Super-Resolution
and 18 more not named here
window_partition 12 other papers
9 dated earlier, 3 later · 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

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

Recently, diffusion models (DM) have been applied in magnetic resonance imaging (MRI) super-resolution (SR) reconstruction, exhibiting impressive performance, especially with regard to detailed reconstruction. However, the current DM-based SR reconstruction methods still face the following issues: (1) They require a large number of iterations to reconstruct the final image, which is inefficient and consumes a significant amount of computational resources. (2) The results reconstructed by these methods are often misaligned with the real high-resolution images, leading to remarkable distortion in the reconstructed MR images. To address the aforementioned issues, we propose an efficient diffusion model for multi-contrast MRI SR, named as DiffMSR. Specifically, we apply DM in a highly compact low-dimensional latent space to generate prior knowledge with high-frequency detail information. The highly compact latent space ensures that DM requires only a few simple iterations to produce accurate prior knowledge. In addition, we design the Prior-Guide Large Window Transformer (PLWformer) as the decoder for DM, which can extend the receptive field while fully utilizing the prior knowledge generated by DM to ensure that the reconstructed MR image remains undistorted. Extensive experiments on public and clinical datasets demonstrate that our DiffMSR 1 outperforms state-of-the-art methods.

For agents

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

get_harvested_code_for_paper("2404.04785")
get_code_for_paper("2404.04785")
have("2404.04785")

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

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

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

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

Connect an agent — have() is free.