Papers › Diffusion Models Preferentially Memorize Prototypical Examples or: Why Does My...

Diffusion Models Preferentially Memorize Prototypical Examples or: Why Does My Diffusion Model Love Slop?

28 May 2026ICMLarXiv:2605.30642added by Syntology

Marta Aparicio Rodriguez, Anastasia Borovykh, Grigorios A. Pavliotis, Daniel J. Korchinski

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

Generative models have a persistent limitation: their tendency to memorize training data can create legal liabilities and erode creative diversity. Understanding which samples are memorized in whole or in part, and under what conditions, therefore remains an important open problem. Here we answer the question "Are atypical or rare samples memorized first?" in the negative. We train diffusion models on strings generated according to the production rules of the Random Hierarchy Model (RHM), and find that samples composed of common substrings are preferentially memorized. This holds true even if the training data consists of entirely unique samples, indicating that deduplication at the data point level does not provide a meaningful privacy guarantee. Correspondingly we predict, then observe, delayed memorization for fat-tailed datasets (i.e., those with more atypical samples). This effect is amplified when fat-tails are introduced into high-level production rules. These together suggest that dataset diversity, particularly at higher levels of abstraction, plays an important role in staving off memorization. Finally, we identify an intermediate regime of partial memorization in which common substrings are learned first and subsequently overproduced during generation. If training is stopped in this regime, models will exhibit the reversion-to-the-mean blandness often derided as "slop".

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2605.30642")

Code

Syntology Ran 13 of 19 code samples harvested from 1 repository linked to this paper; 6 have no recorded run. Of those that ran: 13 ran with no contract checked.

By repository: found in paper text by Syntology: 19 samples from 1 repository, 13 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

martaaparod/memorization-in-diffusion-models found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

19 samples harvested; 13 ran; 0 honoured the contract we drafted; 6 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

13ran
6unverified

Licence: 0 of the 19 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from martaaparod/memorization-in-diffusion-models. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

build_training_tensor martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/memorization.py found in paper text by Syntology ran BSD-3-Clause (permissive) · ea9c6216fde96f44 · report
compare_with_trainset martaaparod/memorization-in-diffusion-models/diffusion_rhm/diffusion/evaluate_model.py found in paper text by Syntology ran BSD-3-Clause (permissive) · ed2b679e56cc65e3 · report
compute_knn martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/memorization.py found in paper text by Syntology ran BSD-3-Clause (permissive) · a3da630747220f19 · report
compute_pseudolikelihood martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/spin_modelling.py found in paper text by Syntology ran BSD-3-Clause (permissive) · cf279b1c29f0f84a · report
convert_labels_to_spins martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/spin_modelling.py found in paper text by Syntology ran fingerprinted BSD-3-Clause (permissive) · e48a6e99e136f221 · report
create_temp_image_dir martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/compute_fid.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 537d6f0f1026e237 · report
fit_ising_to_spins martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/spin_modelling.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 8fc6eff3b3ddc322 · report
generate_labels martaaparod/memorization-in-diffusion-models/diffusion_rhm/datasets/random_hierarchy_model_probability.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 23a0f0bfe8bb0faf · report
get_compatible_positions martaaparod/memorization-in-diffusion-models/diffusion_rhm/belief_propagation/BP_utils.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 1850b19759b64aea · report
hierarhical_copies martaaparod/memorization-in-diffusion-models/diffusion_rhm/diffusion/evaluate_model.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 8e8cc463ce85db65 · report
init_optimizer martaaparod/memorization-in-diffusion-models/diffusion_rhm/init.py found in paper text by Syntology ran BSD-3-Clause (permissive) · bf5065959dbc94ef · report
predict_attributes martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/classifier.py found in paper text by Syntology ran BSD-3-Clause (permissive) · 56e2bee4fcc76b15 · report
save_samples_as_images martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/compute_fid.py found in paper text by Syntology ran BSD-3-Clause (permissive) · a9ce17e0553626bc · report
BP_countcorrect_upward martaaparod/memorization-in-diffusion-models/diffusion_rhm/belief_propagation/BP_utils.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 422c9d116468f228 · report
compute_d3pm_loss_per_time martaaparod/memorization-in-diffusion-models/diffusion_rhm/diffusion/evaluate_model.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · b6003bcf7aa4b396 · report
compute_mem martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/memorization.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 50b3dd68a266d4d5 · report
load_multilabel_classifier martaaparod/memorization-in-diffusion-models/diffusion_celeba/evals/classifier.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · 9989ba91f384f161 · report
sample_data_from_labels martaaparod/memorization-in-diffusion-models/diffusion_rhm/datasets/random_hierarchy_model_probability.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · caa0da4ea1171c73 · report
sample_rules martaaparod/memorization-in-diffusion-models/diffusion_rhm/datasets/random_hierarchy_model_probability.py found in paper text by Syntology unverified BSD-3-Clause (permissive) · b2239ae7b9eff145 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2605.30642, was issued in May 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections