Zhenguo Li, Mingyang Yi, Zhi-Ming Ma, Ming Liu, Shuchen Xue, Bing Qin, Zekun Wang
14 of 14 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; 4 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 9 failures of our instrument; 0 no recorded run); 2 of them were also run on the host, not in the jail, by the peer-agreement lane that set their level, 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/2502.17099.json · badge: /api/ran/2502.17099.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.
| Repository | Role | Ran |
|---|---|---|
| kugwzk/AT_Diff | canonical (classifier label) classifier basis: plan_row |
14 ran · 0 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| center_crop_arr | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/image_datasets.py code served (permissive licence) · get_code("8ab9a97df8161f31") How it ranRan in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned ndarray, ndim 3, dtype family int, shape (64, 64, 3) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T00:51:18Z). 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.
|
| interpolate_fn | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/dpm_solver.py code served (permissive licence) · get_code("6a35b62fbc80f70a") How it ranRan in Syntology's jail on this synthesized input (drafted by a language model, Claude Haiku 4.5, prompt python_fixture_v1) and returned Tensor, ndim 2, dtype family float, shape (2, 1) as a later run recorded it. The image it ran in was not recorded. The comparison behind this sample's level is a different run: the peer-agreement lane ran it again on the host, not in the jail (report dated 2026-09-05T00:15:28Z). 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.
|
| approx_standard_normal_cdf | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/losses.py pointer only (licence: MIT); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cfd76fd0d89574a4") How it ranThe 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 quandao10/slct, 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. |
| betas_for_alpha_bar | Ran ran, honoured the contract we drafted |
kugwzk/AT_Diff/guided_diffusion/adv_gaussian_diffusion.py pointer only (licence: MIT); the stored copy get_code serves, from NVlabs/DiffPure, is pointer only (licence: NOASSERTION) · get_code("2ab2316ac6fdd869") How it ranThe 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 NVlabs/DiffPure, 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. |
| discretized_gaussian_log_likelihood | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/losses.py pointer only (licence: MIT); the stored copy get_code serves, from quandao10/slct, is pointer only (licence: NONE) · get_code("cd33283d615fb3d7") How it ranThe 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 quandao10/slct, 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. |
| expand_dims | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/dpm_solver.py code served (permissive licence) · get_code("e6110366588c5c65") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, Claude Haiku 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.
|
| get_named_beta_schedule | Ran ran, honoured the contract we drafted |
kugwzk/AT_Diff/guided_diffusion/adv_gaussian_diffusion.py pointer only (licence: MIT); the stored copy get_code serves, from NVlabs/DiffPure, is pointer only (licence: NOASSERTION) · get_code("a086d6286a40b889") How it ranThe 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 NVlabs/DiffPure, 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. |
| get_param_groups_and_shapes | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/fp16_util.py pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e41367ad14ff58fd") How it ranThe 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 ZhendongWang6/DIRE, 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. |
| make_master_params | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/fp16_util.py pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("e20dd5102da3b050") How it ranThe 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 ZhendongWang6/DIRE, 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. |
| model_wrapper | Ran ran on a synthesized input |
kugwzk/AT_Diff/guided_diffusion/dpm_solver.py code served (permissive licence) · get_code("4d2ed83872016780") How it ranRan 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 function. 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.
|
| normal_kl | Ran ran, honoured the contract we drafted |
kugwzk/AT_Diff/guided_diffusion/losses.py pointer only (licence: MIT); the stored copy get_code serves, from facebookresearch/agrol, is pointer only (licence: NOASSERTION) · get_code("cf2798b666b231ca") How it ranThe 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 facebookresearch/agrol, 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. |
| parse_resume_step_from_filename | Ran ran, honoured the contract we drafted |
kugwzk/AT_Diff/guided_diffusion/adv_train_util.py pointer only (licence: MIT); the stored copy get_code serves, from zzzhangboya/scoreopt, is pointer only (licence: NONE) · get_code("76313eaf1a6e8f2a") How it ranThe 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 zzzhangboya/scoreopt, 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. |
| random_crop_arr | Ran ran; our contract draft was wrong, not the code |
kugwzk/AT_Diff/guided_diffusion/image_datasets.py code served (permissive licence) · get_code("53d5be4fdbcfac23") How it ranRan 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 ndarray, ndim 3, dtype family int, shape (64, 64, 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.
|
| unflatten_master_params | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
kugwzk/AT_Diff/guided_diffusion/fp16_util.py pointer only (licence: MIT); the stored copy get_code serves, from ZhendongWang6/DIRE, is pointer only (licence: NONE) · get_code("64fff1e30802b815") How it ranThe 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 ZhendongWang6/DIRE, 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. |
Of 14 samples lifted from this paper's linked repositories, 14 carry a function identity and 0 do not. Of the 14 distinct functions with an identity, 13 are also present in other papers whose code we hold (13 with at least one paper dated earlier, 8 the same month, 13 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.
| Function | Also present in | Earliest-dated | Others named |
|---|---|---|---|
| normal_kl | 160 other papers 140 dated earlier, 2 the same month, 16 later, 2 same year, order not determinable · 19 only as an assembly brick |
2010.02502 (2020-10) Denoising Diffusion Implicit Models |
2105.05233 (2021-05) Diffusion Models Beat GANs on Image Synthesis 2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning and 157 more not named here |
| approx_standard_normal_cdf | 154 other papers 134 dated earlier, 2 the same month, 16 later, 2 same year, order not determinable · 17 only as an assembly brick |
2010.02502 (2020-10) Denoising Diffusion Implicit Models |
2105.05233 (2021-05) Diffusion Models Beat GANs on Image Synthesis 2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning and 151 more not named here |
| discretized_gaussian_log_likelihood | 128 other papers 111 dated earlier, 2 the same month, 13 later, 2 same year, order not determinable · 16 only as an assembly brick |
2010.02502 (2020-10) Denoising Diffusion Implicit Models |
2105.05233 (2021-05) Diffusion Models Beat GANs on Image Synthesis 2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning and 125 more not named here |
| betas_for_alpha_bar | 92 other papers 86 dated earlier, 1 the same month, 4 later, 1 same year, order not determinable · 3 only as an assembly brick |
2006.11239 (2020-06) Denoising Diffusion Probabilistic Models |
2010.02502 (2020-10) Denoising Diffusion Implicit Models 2102.09672 (2021-02) Improved Denoising Diffusion Probabilistic Models and 89 more not named here |
| unflatten_master_params | 72 other papers 64 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable |
2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning |
2111.14818 (2021-11) Blended Diffusion for Text-driven Editing of Natural Images 2112.03145 (2021-12) Diffusion Models for Implicit Image Segmentation Ensembles and 69 more not named here |
| make_master_params | 70 other papers 62 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable |
2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning |
2111.14818 (2021-11) Blended Diffusion for Text-driven Editing of Natural Images 2112.03145 (2021-12) Diffusion Models for Implicit Image Segmentation Ensembles and 67 more not named here |
| get_param_groups_and_shapes | 68 other papers 60 dated earlier, 1 the same month, 6 later, 1 same year, order not determinable |
2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning |
2111.14818 (2021-11) Blended Diffusion for Text-driven Editing of Natural Images 2112.03145 (2021-12) Diffusion Models for Implicit Image Segmentation Ensembles and 65 more not named here |
| get_named_beta_schedule | 63 other papers 57 dated earlier, 1 the same month, 4 later, 1 same year, order not determinable |
2010.02502 (2020-10) Denoising Diffusion Implicit Models |
2108.02938 (2021-08) ILVR: Conditioning Method for Denoising Diffusion Probabilistic Models 2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning and 60 more not named here |
| expand_dims | 39 other papers 32 dated earlier, 7 later · 4 only as an assembly brick |
2112.10752 (2021-12) High-Resolution Image Synthesis with Latent Diffusion Models |
2202.09778 (2022-02) Pseudo Numerical Methods for Diffusion Models on Manifolds 2206.00927 (2022-06) DPM-Solver: A Fast ODE Solver for Diffusion Probabilistic Model Sampling in Around 10 Steps and 36 more not named here |
| interpolate_fn | 34 other papers 30 dated earlier, 4 later |
2112.10752 (2021-12) High-Resolution Image Synthesis with Latent Diffusion Models |
2211.01095 (2022-11) DPM-Solver++: Fast Solver for Guided Sampling of Diffusion Probabilistic Models 2212.09478 (2022-12) MM-Diffusion: Learning Multi-Modal Diffusion Models for Joint Audio and Video Generation and 31 more not named here |
| center_crop_arr | 33 other papers 30 dated earlier, 3 later |
2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning |
2111.14818 (2021-11) Blended Diffusion for Text-driven Editing of Natural Images 2203.15636 (2022-03) Diffusion Models for Counterfactual Explanations and 30 more not named here |
| random_crop_arr | 32 other papers 29 dated earlier, 3 later |
2111.11672 (2021-11) Few-shot Image Generation with Mixup-based Distance Learning |
2111.14818 (2021-11) Blended Diffusion for Text-driven Editing of Natural Images 2203.04306 (2022-03) Diffusion Models for Medical Anomaly Detection and 29 more not named here |
| parse_resume_step_from_filename | 18 other papers 15 dated earlier, 3 later |
2010.02502 (2020-10) Denoising Diffusion Implicit Models |
2111.14818 (2021-11) Blended Diffusion for Text-driven Editing of Natural Images 2205.14217 (2022-05) Diffusion-LM Improves Controllable Text Generation and 15 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-22.
Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.
Diffusion Probabilistic Models (DPMs) have achieved significant success in generative tasks. However, their training and sampling processes suffer from the issue of distribution mismatch. During the denoising process, the input data distributions differ between the training and inference stages, potentially leading to inaccurate data generation. To obviate this, we analyze the training objective of DPMs and theoretically demonstrate that this mismatch can be alleviated through Distributionally Robust Optimization (DRO), which is equivalent to performing robustness-driven Adversarial Training (AT) on DPMs. Furthermore, for the recently proposed Consistency Model (CM), which distills the inference process of the DPM, we prove that its training objective also encounters the mismatch issue. Fortunately, this issue can be mitigated by AT as well. Based on these insights, we propose to conduct efficient AT on both DPM and CM. Finally, extensive empirical studies validate the effectiveness of AT in diffusion-based models. The code is available at https://github.com/kugwzk/AT_Diff.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2502.17099")
get_code_for_paper("2502.17099")
have("2502.17099")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2502.17099.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2502.17099)
Connect an agent — have() is free.