SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2501.15785 · 2025

Memorization and Regularization in Generative Diffusion Models

arXiv · PDF · Open in the Atlas

Code that ran

7 of 12 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; 6 failures of our instrument; 5 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/2501.15785.json · badge: /api/ran/2501.15785.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
baptistar/DiffusionModelDynamics canonical (classifier label)
classifier basis not recorded on the link
7 ran · 5 no recorded run
FunctionStatusWhere it lives
calculate_fid_from_inception_stats Ran
ran, honoured the contract we drafted
baptistar/DiffusionModelDynamics/RectangleImages/fid.py
pointer only (licence: MIT); the stored copy get_code serves, from sangyun884/fast-ode, is pointer only (licence: NONE) · get_code("45e941764344e7f3")
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 sangyun884/fast-ode, 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.

constant Ran
ran; our contract draft was wrong, not the code
baptistar/DiffusionModelDynamics/RectangleImages/torch_utils/misc.py
pointer only (licence: MIT); the stored copy get_code serves, from xfetus/fetal-ultrasound-edm2, is pointer only (licence: NONE) · get_code("6d32f9cf6f29b386")
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 xfetus/fetal-ultrasound-edm2, 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.

format_time Ran
ran; our contract draft was wrong, not the code
baptistar/DiffusionModelDynamics/RectangleImages/dnnlib/util.py
code served (permissive licence) · get_code("674eca7b9e1b6439")
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) 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 numpy as np
from typing import Union

# Test with various time values
ARGS = {
    "seconds": 3661.7  # 1 hour, 1 minute, 1.7 seconds - tests rounding and all format branches
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
format_time_brief Ran
ran; our contract draft was wrong, not the code
baptistar/DiffusionModelDynamics/RectangleImages/dnnlib/util.py
code served (permissive licence) · get_code("32af001972a0699f")
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) 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 numpy as np
from typing import Union

# Test with various time values
ARGS = {
    "seconds": 45.7  # A float value that will be rounded to 46 seconds
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1
Imports
numpy — 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
params_and_buffers Ran
ran; our contract draft was wrong, not the code
baptistar/DiffusionModelDynamics/RectangleImages/torch_utils/misc.py
pointer only (licence: MIT); the stored copy get_code serves, from AMAP-ML/DCW, is pointer only (licence: NOASSERTION) · get_code("b5ae713738eb4d27")
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 AMAP-ML/DCW, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

profiled_function Ran
ran; our contract draft was wrong, not the code
baptistar/DiffusionModelDynamics/RectangleImages/torch_utils/misc.py
pointer only (licence: MIT); the stored copy get_code serves, from AMAP-ML/DCW, is pointer only (licence: NOASSERTION) · get_code("f4664bbb3c2df6e0")
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 AMAP-ML/DCW, and GitHub could not classify the licence of that repository (NOASSERTION). 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.

weight_init Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
baptistar/DiffusionModelDynamics/RectangleImages/training/networks.py
code served (permissive licence) · get_code("d41a4250066bce93")
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 2, dtype family float, shape (4, 3) 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 numpy as np

torch.manual_seed(0)

ARGS = {
    'shape': (4, 3),
    'mode': 'xavier_uniform',
    'fan_in': 10,
    'fan_out': 8,
}
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 Tensor, ndim 2, dtype family float, shape (4, 3) — shape (4, 3) 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
ablation_sampler Not yet run
unverified (harvested, no recorded run)
baptistar/DiffusionModelDynamics/RectangleImages/generate.py
code served (permissive licence) · get_code("9fbf646e18eed1db")
How it ran

no invocation recorded.

ask_yes_no Not yet run
unverified (harvested, no recorded run)
baptistar/DiffusionModelDynamics/RectangleImages/dnnlib/util.py
code served (permissive licence) · get_code("9d31d2c4cd16bb2d")
How it ran

no invocation recorded.

edm_sampler Not yet run
unverified (harvested, no recorded run)
baptistar/DiffusionModelDynamics/RectangleImages/generate.py
code served (permissive licence) · get_code("8b16b0674af254db")
How it ran

no invocation recorded.

edm_sampler_fixednoise Not yet run
unverified (harvested, no recorded run)
baptistar/DiffusionModelDynamics/RectangleImages/generate.py
code served (permissive licence) · get_code("d7f7ffaff24b1b70")
How it ran

no invocation recorded.

is_persistent Not yet run
unverified (harvested, no recorded run)
baptistar/DiffusionModelDynamics/RectangleImages/torch_utils/persistence.py
pointer only (licence: MIT); the stored copy get_code serves, from AMAP-ML/DCW, is pointer only (licence: NOASSERTION) · get_code("e8b31ffccfa05efc")
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 AMAP-ML/DCW, and GitHub could not classify the licence of that repository (NOASSERTION). 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 12 samples lifted from this paper's linked repositories, 12 carry a function identity and 0 do not. Of the 12 distinct functions with an identity, 11 are also present in other papers whose code we hold (11 with at least one paper dated earlier, 0 the same month, 11 later) and 1 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
format_time 73 other papers
50 dated earlier, 21 later, 1 same year, order not determinable, 1 undated
2004.00049 (2020-04)
In-Domain GAN Inversion for Real Image Editing
2004.11660 (2020-04)
Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learning
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
and 70 more not named here
ask_yes_no 69 other papers
50 dated earlier, 18 later, 1 undated
2004.00049 (2020-04)
In-Domain GAN Inversion for Real Image Editing
2004.11660 (2020-04)
Disentangled and Controllable Face Image Generation via 3D Imitative-Contrastive Learning
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
and 66 more not named here
format_time_brief 68 other papers
45 dated earlier, 21 later, 1 same year, order not determinable, 1 undated
2108.00946 (2021-08)
StyleGAN-NADA: CLIP-Guided Domain Adaptation of Image Generators
2202.00273 (2022-02)
StyleGAN-XL: Scaling StyleGAN to Large Diverse Datasets
2206.07695 (2022-06)
VoxGRAF: Fast 3D-Aware Image Synthesis with Sparse Voxel Grids
and 65 more not named here
weight_init 49 other papers
27 dated earlier, 22 later · 1 only as an assembly brick
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
2305.15266 (2023-05)
Diffusion-Based Audio Inpainting
2305.16269 (2023-05)
UDPM: Upsampling Diffusion Probabilistic Models
and 46 more not named here
constant 26 other papers
14 dated earlier, 11 later, 1 same year, order not determinable
2306.06991 (2023-06)
Fast Diffusion Model
2308.15321 (2023-08)
Elucidating the Exposure Bias in Diffusion Models
2309.03350 (2023-09)
Relay Diffusion: Unifying diffusion process across resolutions for image synthesis
and 23 more not named here
calculate_fid_from_inception_stats 23 other papers
18 dated earlier, 5 later
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2211.17091 (2022-11)
Refining Generative Process with Discriminator Guidance in Score-based Diffusion Models
2301.12003 (2023-01)
Minimizing Trajectory Curvature of ODE-based Generative Models
and 20 more not named here
is_persistent 20 other papers
12 dated earlier, 7 later, 1 same year, order not determinable
2306.06991 (2023-06)
Fast Diffusion Model
2308.15321 (2023-08)
Elucidating the Exposure Bias in Diffusion Models
2309.03350 (2023-09)
Relay Diffusion: Unifying diffusion process across resolutions for image synthesis
and 17 more not named here
params_and_buffers 18 other papers
12 dated earlier, 6 later
2306.06991 (2023-06)
Fast Diffusion Model
2308.15321 (2023-08)
Elucidating the Exposure Bias in Diffusion Models
2309.03350 (2023-09)
Relay Diffusion: Unifying diffusion process across resolutions for image synthesis
and 15 more not named here
profiled_function 18 other papers
12 dated earlier, 6 later
2306.06991 (2023-06)
Fast Diffusion Model
2308.15321 (2023-08)
Elucidating the Exposure Bias in Diffusion Models
2309.03350 (2023-09)
Relay Diffusion: Unifying diffusion process across resolutions for image synthesis
and 15 more not named here
ablation_sampler 12 other papers
11 dated earlier, 1 later
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2207.12598 (2022-07)
Classifier-Free Diffusion Guidance
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
and 9 more not named here
edm_sampler 11 other papers
10 dated earlier, 1 later
2206.00364 (2022-06)
Elucidating the Design Space of Diffusion-Based Generative Models
2301.11445 (2023-01)
3DShape2VecSet: A 3D Shape Representation for Neural Fields and Generative Diffusion Models
2303.10137 (2023-03)
A Recipe for Watermarking Diffusion Models
and 8 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-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 models have emerged as a powerful framework for generative modeling. At the heart of the methodology is score matching: learning gradients of families of log-densities for noisy versions of the data distribution at different scales. When the loss function adopted in score matching is evaluated using empirical data, rather than the population loss, the minimizer corresponds to the score of a time-dependent Gaussian mixture. However, use of this analytically tractable minimizer leads to data memorization: in both unconditioned and conditioned settings, the generative model returns the training samples. This paper contains an analysis of the dynamical mechanism underlying memorization. The analysis highlights the need for regularization to avoid reproducing the analytically tractable minimizer; and, in so doing, lays the foundations for a principled understanding of how to regularize. Numerical experiments investigate the properties of: (i) Tikhonov regularization; (ii) regularization designed to promote asymptotic consistency; and (iii) regularizations induced by under-parameterization of a neural network or by early stopping when training a neural network. These experiments are evaluated in the context of memorization, and directions for future development of regularization are highlighted.

For agents

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

get_harvested_code_for_paper("2501.15785")
get_code_for_paper("2501.15785")
have("2501.15785")

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

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

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

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

Connect an agent — have() is free.