SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2409.17058 · 2024

Degradation-Guided One-Step Image Super-Resolution with Diffusion Priors

arXiv · PDF · Open in the Atlas

Code that ran

4 of 6 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; 1 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 3 failures of our instrument; 2 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/2409.17058.json · badge: /api/ran/2409.17058.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
arctichare105/s3diff canonical (classifier label)
classifier basis: census
4 ran · 2 no recorded run
FunctionStatusWhere it lives
AttentionBlock Ran
ran; our contract draft was wrong, not the code
arctichare105/s3diff/basicsr/archs/dfdnet_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from RuoyuGuo/P-PatchDiff, is pointer only (licence: NONE) · get_code("8d3cd21cd5c3181a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from RuoyuGuo/P-PatchDiff, and GitHub detected no licence in that repository 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.

adaptive_instance_normalization Ran
ran; our contract draft was wrong, not the code
arctichare105/s3diff/basicsr/archs/dfdnet_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from RuoyuGuo/P-PatchDiff, is pointer only (licence: NONE) · get_code("b7c6741eed724350")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from RuoyuGuo/P-PatchDiff, and GitHub detected no licence in that repository 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.

calc_mean_std Ran
ran; our contract draft was wrong, not the code
arctichare105/s3diff/basicsr/archs/dfdnet_util.py
pointer only (licence: Apache-2.0); the stored copy get_code serves, from RuoyuGuo/P-PatchDiff, is pointer only (licence: NONE) · get_code("a7e8af4ef5efc131")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (Apache-2.0), but get_code serves the stored copy, first harvested from RuoyuGuo/P-PatchDiff, and GitHub detected no licence in that repository 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_layer_number Ran
ran, honoured the contract we drafted
arctichare105/s3diff/src/s3diff.py
code served (permissive licence) · get_code("4781dc4f05a8d9b8")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API) and returned int, ndim 0, dtype family int, shape () as a later run recorded it. The image it ran in was not recorded. If your copy returns the same type, ndim and shape on these inputs, it matched what we observed; nothing here checks that. It does NOT mean the output is correct: nothing has compared it to the paper.

import re

def get_layer_number(module_name):
    base_layers = {'down_blocks': 0, 'mid_block': 4, 'up_blocks': 5}
    if module_name == 'conv_out':
        return 9
    base_layer = None
    for key in base_layers:
        if key in module_name:
            base_layer = base_layers[key]
            break
    if base_layer is None:
        return None
    additional_layers = int(re.findall('\\.(\\d+)', module_name)[0])
    final_layer = base_layer + additional_layers
    return final_layer

# Test cases for different module names
ARGS = {
    'module_name': 'down_blocks.2.conv'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
none outside the standard library — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int, ndim 0, dtype family int, shape () — shape () as a later run recorded it
dtype family
int means an integer dtype; float means any other dtype the instrument saw, bool and complex included (fixture_check.py records only these two families)
Environment
image not recorded; re-verify against syntology-harvest-sandbox:v5-deps; not recorded for this sample: the harness installs a cuda-to-cpu shim (cuda_shim.py) before every sample and no run records whether a sample needed it; seed: none by the harness; any seed is in the setup block
make_1step_sched Not yet run
unverified (harvested, no recorded run)
arctichare105/s3diff/src/model.py
code served (permissive licence) · get_code("ac23b76568c40fd2")
How it ran

no invocation recorded.

my_lora_fwd Not yet run
unverified (harvested, no recorded run)
arctichare105/s3diff/src/model.py
code served (permissive licence) · get_code("ec3d6f998e01b3d2")
How it ran

no invocation recorded.

Also present in other papers' code

Of 6 samples lifted from this paper's linked repositories, 6 carry a function identity and 0 do not. Of the 6 distinct functions with an identity, 6 are also present in other papers whose code we hold (3 with at least one paper dated earlier, 0 the same month, 6 later) and 0 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
adaptive_instance_normalization 16 other papers
9 dated earlier, 6 later, 1 same year, order not determinable
Wang_Deep_Arbitrary-Scale_Image_Super-Resolution_via_Scale-Equivariance_Pursuit_CVPR_2023_paper (2023 (year only))
Deep Arbitrary-Scale Image Super-Resolution via Scale-Equivariance Pursuit
2303.04970 (2023-03)
LMR: A Large-Scale Multi-Reference Dataset for Reference-based Super-Resolution
2304.01064 (2023-04)
Real-time 6K Image Rescaling with Rate-distortion Optimization
and 13 more not named here
AttentionBlock 14 other papers
7 dated earlier, 6 later, 1 same year, order not determinable
Wang_Deep_Arbitrary-Scale_Image_Super-Resolution_via_Scale-Equivariance_Pursuit_CVPR_2023_paper (2023 (year only))
Deep Arbitrary-Scale Image Super-Resolution via Scale-Equivariance Pursuit
2303.04970 (2023-03)
LMR: A Large-Scale Multi-Reference Dataset for Reference-based Super-Resolution
2304.01064 (2023-04)
Real-time 6K Image Rescaling with Rate-distortion Optimization
and 11 more not named here
calc_mean_std 14 other papers
7 dated earlier, 6 later, 1 same year, order not determinable
Wang_Deep_Arbitrary-Scale_Image_Super-Resolution_via_Scale-Equivariance_Pursuit_CVPR_2023_paper (2023 (year only))
Deep Arbitrary-Scale Image Super-Resolution via Scale-Equivariance Pursuit
2303.04970 (2023-03)
LMR: A Large-Scale Multi-Reference Dataset for Reference-based Super-Resolution
2304.01064 (2023-04)
Real-time 6K Image Rescaling with Rate-distortion Optimization
and 11 more not named here
get_layer_number 1 other paper
1 later
Wang_Timestep-Aware_Diffusion_Model_for_Extreme_Image_Rescaling_ICCV_2025_paper (2025 (year only))
Timestep-Aware Diffusion Model for Extreme Image Rescaling
make_1step_sched 1 other paper
1 later
Wang_Timestep-Aware_Diffusion_Model_for_Extreme_Image_Rescaling_ICCV_2025_paper (2025 (year only))
Timestep-Aware Diffusion Model for Extreme Image Rescaling
my_lora_fwd 1 other paper
1 later
Wang_Timestep-Aware_Diffusion_Model_for_Extreme_Image_Rescaling_ICCV_2025_paper (2025 (year only))
Timestep-Aware Diffusion Model for Extreme Image Rescaling

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 achieved remarkable success by leveraging large pre-trained text-to-image diffusion models as priors. However, these methods still face two challenges: the requirement for dozens of sampling steps to achieve satisfactory results, which limits efficiency in real scenarios, and the neglect of degradation models, which are critical auxiliary information in solving the SR problem. In this work, we introduced a novel one-step SR model, which significantly addresses the efficiency issue of diffusion-based SR methods. Unlike existing fine-tuning strategies, we designed a degradation-guided Low-Rank Adaptation (LoRA) module specifically for SR, which corrects the model parameters based on the pre-estimated degradation information from low-resolution images. This module not only facilitates a powerful data-dependent or degradation-dependent SR model but also preserves the generative prior of the pre-trained diffusion model as much as possible. Furthermore, we tailor a novel training pipeline by introducing an online negative sample generation strategy. Combined with the classifier-free guidance strategy during inference, it largely improves the perceptual quality of the super-resolution results. Extensive experiments have demonstrated the superior efficiency and effectiveness of the proposed model compared to recent state-of-the-art methods.

For agents

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

get_harvested_code_for_paper("2409.17058")
get_code_for_paper("2409.17058")
have("2409.17058")

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

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

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

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

Connect an agent — have() is free.