SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2310.03337 · 2023

Denoising Diffusion Step-aware Models

arXiv · PDF · Open in the Atlas

Code that ran

9 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; 1 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 7 failures of our instrument; 2 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/2310.03337.json · badge: /api/ran/2310.03337.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
envision-research/ddsm canonical (classifier label)
classifier basis: census
9 ran · 2 no recorded run
FunctionStatusWhere it lives
calculate_frechet_distance Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
envision-research/ddsm/score/fid.py
pointer only (licence: MIT); the stored copy get_code serves, from liuxiao-guan/iet_agc, is pointer only (licence: WTFPL) · get_code("cd3edab30cfead44")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from liuxiao-guan/iet_agc, and WTFPL, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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.

conv_module_name_filter Ran
ran; our contract draft was wrong, not the code
envision-research/ddsm/profile.py
code served (permissive licence) · get_code("32f1f27f7d19f6ad")
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 str. The image it ran in was not recorded. If your copy returns the same type 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 torch

torch.manual_seed(0)

# The function conv_module_name_filter takes a single parameter: name (a string)
# It performs string replacements on the name to shorten it
# No complex objects needed - just a string

ARGS = {
    'name': 'Conv2d(kernel_size=3, stride=1, padding=1, bias=True, groups=1)'
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type str — a str output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a str output the recorded ndim 0 and dtype family float describe that coercion, not the output, and are not stated
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
extract Ran
ran; our contract draft was wrong, not the code
envision-research/ddsm/diffusion.py
code served (permissive licence) · get_code("6a78f18d5b2ce056")
How it ran

Ran in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Sonnet 4.5, prompt python_fixture_v1) and returned Tensor, ndim 4, dtype family float, shape (2, 1, 1, 1) 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 torch

torch.manual_seed(0)

# v: a 1D tensor of coefficients (e.g., timestep-indexed values)
# t: a 1D tensor of timestep indices (batch_size,)
# x_shape: shape of the data tensor (e.g., [batch_size, channels, height, width])

batch_size = 2
num_timesteps = 10
channels = 3
height = 4
width = 5

# v is a 1D tensor with coefficients for each timestep
v = torch.randn(num_timesteps)

# t is a 1D tensor of timestep indices, one per batch element
t = torch.randint(0, num_timesteps, (batch_size,))

# x_shape represents the shape of the data tensor
x_shape = torch.Size([batch_size, channels, height, width])

ARGS = {
    'v': v,
    't': t,
    'x_shape': x_shape
}
Setup block drafted by
a language model, Claude Sonnet 4.5, prompt python_fixture_v1
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 4, dtype family float, shape (2, 1, 1, 1) — shape (2, 1, 1, 1) 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
get_inception_score Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
envision-research/ddsm/score/inception_score.py
pointer only (licence: MIT); the stored copy get_code serves, from liuxiao-guan/iet_agc, is pointer only (licence: WTFPL) · get_code("9b81ae7906ed29eb")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from liuxiao-guan/iet_agc, and WTFPL, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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_params Ran
ran on a synthesized input
envision-research/ddsm/profile.py
code served (permissive licence) · get_code("e2db4aa1fd031021")
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 int64, 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 torch
import torch.nn as nn
import numpy as np

torch.manual_seed(0)

# Create a minimal nn.Module with parameters
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear1 = nn.Linear(4, 3)
        self.linear2 = nn.Linear(3, 2)
    
    def forward(self, x):
        return self.linear2(self.linear1(x))

# Instantiate the model
model = SimpleModel()

# The function needs 'self' which is the model instance
# and calls self.parameters() to get all parameters
ARGS = {
    'self': model
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
numpy, torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type int64, 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_divisible Ran
ran, honoured the contract we drafted
envision-research/ddsm/slimmable_ops.py
code served (permissive licence) · get_code("e99703e8431cce45")
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 torch

ARGS = {
    "v": 10,
    "divisible_factor": 8,
    "min_value": 1,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — 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
run_forward Ran
ran; our contract draft was wrong, not the code
envision-research/ddsm/profile.py
code served (permissive licence) · get_code("6149e2d484175e99")
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. The code mentions cuda, and the harness aliases cuda to the CPU for every sample; whether this run needed that is 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 torch
import torch.nn as nn

torch.manual_seed(0)

# Create a minimal model that has a forward method
class SimpleModel(nn.Module):
    def __init__(self):
        super().__init__()
        self.linear = nn.Linear(4, 3)
    
    def forward(self, x):
        return self.linear(x)

# Create an instance of the model
model = SimpleModel()

# Create sample input - tuple of tensors since run_forward unpacks with *input
input_data = (torch.randn(2, 4),)

ARGS = {
    'self': model,
    'input': input_data
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — 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
sqrt_newton_schulz Ran
ran; our contract draft was wrong, not the code
envision-research/ddsm/score/fid.py
code served (permissive licence) · get_code("2dfa8886e774088c")
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 Tensor, ndim 3, dtype family float, shape (2, 4, 4) 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 torch

torch.manual_seed(0)

# Create a small batch of symmetric positive definite matrices
# Shape: (batch_size, dim, dim)
batch_size = 2
dim = 4

# Create random matrices and make them symmetric positive definite
# by computing A = M^T @ M for random M
M = torch.randn(batch_size, dim, dim)
A = torch.bmm(M.transpose(1, 2), M)

numIters = 3
dtype = None

ARGS = {
    "A": A,
    "numIters": numIters,
    "dtype": dtype,
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Tensor, ndim 3, dtype family float, shape (2, 4, 4) — shape (2, 4, 4) 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
torch_cov Ran
ran; our contract draft was wrong, not the code
envision-research/ddsm/score/fid.py
pointer only (licence: MIT); the stored copy get_code serves, from liuxiao-guan/iet_agc, is pointer only (licence: WTFPL) · get_code("b304af5c4fc5341a")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from liuxiao-guan/iet_agc, and WTFPL, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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_fid_score Not yet run
unverified (harvested, no recorded run)
envision-research/ddsm/score/both.py
code served (permissive licence) · get_code("0d58f98849bb68ab")
How it ran

no invocation recorded.

get_inception_and_fid_score Not yet run
unverified (harvested, no recorded run)
envision-research/ddsm/score/both.py
pointer only (licence: MIT); the stored copy get_code serves, from liuxiao-guan/iet_agc, is pointer only (licence: WTFPL) · get_code("526c471ba9b04752")
How it ran

The body of this sample is withheld: this paper's link allows the body inline (MIT), but get_code serves the stored copy, first harvested from liuxiao-guan/iet_agc, and WTFPL, as GitHub detects it on that repository, is not in the permissive set Syntology serves inline. 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 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, 9 are also present in other papers whose code we hold (9 with at least one paper dated earlier, 2 the same month, 6 later) and 2 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
extract 12 other papers
4 dated earlier, 8 later · 3 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2302.01316 (2023-02)
Are Diffusion Models Vulnerable to Membership Inference Attacks?
2305.00562 (2023-05)
Class-Balancing Diffusion Models
and 9 more not named here
torch_cov 12 other papers
8 dated earlier, 1 the same month, 3 later
1406.2661 (2014-06)
Generative Adversarial Networks
1811.10597 (2018-11)
GAN Dissection: Visualizing and Understanding Generative Adversarial Networks
1912.05270 (2019-12)
MineGAN: effective knowledge transfer from GANs to target domains with few images
and 9 more not named here
sqrt_newton_schulz 5 other papers
1 dated earlier, 1 the same month, 3 later
2305.19638 (2023-05)
A Unified Framework for U-Net Design and Analysis
2310.11440 (2023-10)
EvalCrafter: Benchmarking and Evaluating Large Video Generation Models
2405.05846 (2024-05)
An Inversion-based Measure of Memorization for Diffusion Models
and 2 more not named here
calculate_frechet_distance 3 other papers
1 dated earlier, 2 later
2305.19638 (2023-05)
A Unified Framework for U-Net Design and Analysis
2405.05846 (2024-05)
An Inversion-based Measure of Memorization for Diffusion Models
2407.15328 (2024-07)
Iterative Ensemble Training with Anti-Gradient Control for Mitigating Memorization in Diffusion Models
get_inception_and_fid_score 3 other papers
1 dated earlier, 2 later
2305.19638 (2023-05)
A Unified Framework for U-Net Design and Analysis
2405.05846 (2024-05)
An Inversion-based Measure of Memorization for Diffusion Models
2407.15328 (2024-07)
Iterative Ensemble Training with Anti-Gradient Control for Mitigating Memorization in Diffusion Models
get_inception_score 3 other papers
1 dated earlier, 2 later
2305.19638 (2023-05)
A Unified Framework for U-Net Design and Analysis
2405.05846 (2024-05)
An Inversion-based Measure of Memorization for Diffusion Models
2407.15328 (2024-07)
Iterative Ensemble Training with Anti-Gradient Control for Mitigating Memorization in Diffusion Models
conv_module_name_filter 2 other papers
2 dated earlier
2105.07085 (2021-05)
MutualNet: Adaptive ConvNet via Mutual Learning from Different Model Configurations
2106.06560 (2021-06)
HR-NAS: Searching Efficient High-Resolution Neural Architectures with Lightweight Transformers
get_params 2 other papers
2 dated earlier
2105.07085 (2021-05)
MutualNet: Adaptive ConvNet via Mutual Learning from Different Model Configurations
2106.06560 (2021-06)
HR-NAS: Searching Efficient High-Resolution Neural Architectures with Lightweight Transformers
run_forward 1 other paper
1 dated earlier
2105.07085 (2021-05)
MutualNet: Adaptive ConvNet via Mutual Learning from Different Model Configurations

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

Denoising Diffusion Probabilistic Models (DDPMs) have garnered popularity for data generation across various domains. However, a significant bottleneck is the necessity for whole-network computation during every step of the generative process, leading to high computational overheads. This paper presents a novel framework, Denoising Diffusion Step-aware Models (DDSM), to address this challenge. Unlike conventional approaches, DDSM employs a spectrum of neural networks whose sizes are adapted according to the importance of each generative step, as determined through evolutionary search. This step-wise network variation effectively circumvents redundant computational efforts, particularly in less critical steps, thereby enhancing the efficiency of the diffusion model. Furthermore, the step-aware design can be seamlessly integrated with other efficiency-geared diffusion models such as DDIMs and latent diffusion, thus broadening the scope of computational savings. Empirical evaluations demonstrate that DDSM achieves computational savings of 49% for CIFAR-10, 61% for CelebA-HQ, 59% for LSUN-bedroom, 71% for AFHQ, and 76% for ImageNet, all without compromising the generation quality.

For agents

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

get_harvested_code_for_paper("2310.03337")
get_code_for_paper("2310.03337")
have("2310.03337")

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

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

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

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

Connect an agent — have() is free.