SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2505.07071 · IJCAI · 2025

Semantic-Guided Diffusion Model for Single-Step Image Super-Resolution

Hao Tang, Zhenyu Zhang, Zihang Liu

arXiv · PDF · Open in the Atlas

Code that ran

3 of 7 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (3 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; 0 failures of our instrument; 4 no recorded run), measured 2026-11-23; 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/2505.07071.json · badge: /api/ran/2505.07071.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
Liu-Zihang/SAMSR community
Papers with Code archive
3 ran · 4 no recorded run
FunctionStatusWhere it lives
Downsample Ran
ran on a synthesized input · constructed an object; no result was computed
Liu-Zihang/SAMSR/models/unet.py
pointer only (licence: NONE) · get_code("5a923f8114a667b6")
How it ran

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

ResBlock Ran
ran on a synthesized input · constructed an object; no result was computed
Liu-Zihang/SAMSR/models/unet.py
pointer only (licence: NONE) · get_code("7efd91ea9f6001f4")
How it ran

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

Upsample Ran
ran on a synthesized input · constructed an object; no result was computed
Liu-Zihang/SAMSR/models/unet.py
pointer only (licence: NONE) · get_code("b7f9265f946567f7")
How it ran

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

AttentionBlock Not yet run
unverified (harvested, no recorded run)
Liu-Zihang/SAMSR/models/unet.py
pointer only (licence: NONE) · get_code("2c162b40224c7fc6")
How it ran

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

QKVAttention Not yet run
unverified (harvested, no recorded run)
Liu-Zihang/SAMSR/models/unet.py
pointer only (licence: NONE) · get_code("747e24ab77a1397e")
How it ran

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

QKVAttentionLegacy Not yet run
unverified (harvested, no recorded run)
Liu-Zihang/SAMSR/models/unet.py
pointer only (licence: NONE) · get_code("1e895761b1061fb4")
How it ran

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

UNetModel Not yet run
unverified (harvested, no recorded run)
Liu-Zihang/SAMSR/models/unet.py
pointer only (licence: NONE) · get_code("866ec9bc29345371")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, Liu-Zihang/SAMSR 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 7 samples lifted from this paper's linked repositories, 7 carry a function identity and 0 do not. Of the 7 distinct functions with an identity, 3 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 0 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
Downsample
brick of this paper's assembly: model
16 other papers
16 dated earlier · 14 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2112.10741 (2021-12)
GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
2205.11487 (2022-05)
Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
and 13 more not named here
Upsample
brick of this paper's assembly: model
16 other papers
16 dated earlier · 13 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2112.10741 (2021-12)
GLIDE: Towards Photorealistic Image Generation and Editing with Text-Guided Diffusion Models
2205.11487 (2022-05)
Photorealistic Text-to-Image Diffusion Models with Deep Language Understanding
and 13 more not named here
AttentionBlock
brick of this paper's assembly: model
3 other papers
3 dated earlier
2212.12990 (2022-12)
Unsupervised Representation Learning from Pre-trained Diffusion Probabilistic Models
2303.01469 (2023-03)
Consistency Models
2503.09679 (2025-03)
DRESS: Disentangled Representation-based Self-Supervised Meta-Learning for Diverse Tasks

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-23.

Repositories linked to this paper

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

Abstract

Diffusion-based image super-resolution (SR) methods have demonstrated remarkable performance. Recent advancements have introduced deterministic sampling processes that reduce inference from 15 iterative steps to a single step, thereby significantly improving the inference speed of existing diffusion models. However, their efficiency remains limited when handling complex semantic regions due to the single-step inference. To address this limitation, we propose SAMSR, a semanticguided diffusion framework that incorporates semantic segmentation masks into the sampling process. Specifically, we introduce the SAM-Noise Module, which refines Gaussian noise using segmentation masks to preserve spatial and semantic features. Furthermore, we develop a pixelwise sampling strategy that dynamically adjusts the residual transfer rate and noise strength based on pixel-level semantic weights, prioritizing semantically rich regions during the diffusion process. To enhance model training, we also propose a semantic consistency loss, which aligns pixel-wise semantic weights between predictions and ground truth. Extensive experiments on both real-world and synthetic datasets demonstrate that SAMSR significantly improves perceptual quality and detail recovery, particularly in semantically complex images.

For agents

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

get_harvested_code_for_paper("2505.07071")
get_code_for_paper("2505.07071")
have("2505.07071")

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

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

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

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

Connect an agent — have() is free.