Zhe Wang, Jiaxin Shi, Arnaud Doucet, Michalis Titsias, Kehang Han
6 of 21 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; 4 failures of our instrument; 15 no recorded run), measured 2026-11-22; 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/2406.04329.json · badge: /api/ran/2406.04329.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 |
|---|---|---|
| google-deepmind/md4 | canonical (classifier label) classifier basis: classifier_2025 |
6 ran · 15 no recorded run |
| Function | Status | Where it lives |
|---|---|---|
| MaskingSchedule | Ran ran on a synthesized input |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("66a81c44aa3c341b") How it ranRan in Syntology's sandbox on this synthesized input (drafted by a language model, class construct-then-call prompt, model not recorded) and returned ArrayImpl, ndim 1, dtype family float, shape (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.
|
| get_timestep_embedding | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("84db74ee09e0bda4") 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 ArrayImpl, ndim 2, dtype family float, shape (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.
|
| jax_unstack | Ran ran; our contract draft was wrong, not the code |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("b6960d9da81c946a") 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 list, ndim 3, dtype family int; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| precompute_freqs_cis | Ran ran, honoured the contract we drafted |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("8873a5201399b10b") 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 tuple, ndim 3, dtype family float; no output shape is stated. The image it ran in was not recorded. If your copy returns the same type and ndim 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.
|
| repeat_kv | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("4a1c75a9a5f46c4f") 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 ArrayImpl, ndim 4, dtype family float, shape (2, 3, 8, 5) 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.
|
| reshape_for_broadcast | Ran ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("0dc13509bbb03398") 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 3, dtype family float, shape (1, 3, 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.
|
| Attention | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("b5d57c4d33c17740") How it ranno invocation recorded. |
| CondEmbedding | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("e341090d86d921b9") How it ranno invocation recorded. |
| DiscreteClassifier | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("b74decb1e729d273") How it ranno invocation recorded. |
| Dropout1d | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("d8f8ff9226830df3") How it ranno invocation recorded. |
| FeedForward | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("170abc34ff9d4f81") How it ranno invocation recorded. |
| MD4 | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("4b01cbf6a3ec21a6") How it ranno invocation recorded. |
| ModelArgs | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("be5a00527b2e82e0") How it ranno invocation recorded. |
| RMSNorm | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("a75e172eea6d85f1") How it ranno invocation recorded. |
| ResBlock | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("2db631aa126ebf6e") How it ranno invocation recorded. |
| SelfAttention | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("daf4ef755a1978a3") How it ranno invocation recorded. |
| Transformer | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("87a69858dd77c308") How it ranno invocation recorded. |
| TransformerBlock | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("7a351fb6b29e26ac") How it ranno invocation recorded. |
| UNet | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("35c08ff52d7e2f6b") How it ranno invocation recorded. |
| UNet5DWrapper | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("a2d820814fa59452") How it ranno invocation recorded. |
| apply_rotary_emb | Not yet run unverified (harvested, no recorded run) |
google-deepmind/md4/md4/models/diffusion/md4.py code served (permissive licence) · get_code("582256db3844c9de") How it ranno invocation recorded. |
Of 21 samples lifted from this paper's linked repositories, 21 carry a function identity and 0 do not. Of the 21 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 21 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.
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.
Masked (or absorbing) diffusion is actively explored as an alternative to autoregressive models for generative modeling of discrete data. However, existing work in this area has been hindered by unnecessarily complex model formulations and unclear relationships between different perspectives, leading to suboptimal parameterization, training objectives, and ad hoc adjustments to counteract these issues. In this work, we aim to provide a simple and general framework that unlocks the full potential of masked diffusion models. We show that the continuous-time variational objective of masked diffusion models is a simple weighted integral of cross-entropy losses. Our framework also enables training generalized masked diffusion models with state-dependent masking schedules. When evaluated by perplexity, our models trained on OpenWebText surpass prior diffusion language models at GPT-2 scale and demonstrate superior performance on 4 out of 5 zero-shot language modeling tasks. Furthermore, our models vastly outperform previous discrete diffusion models on pixel-level image modeling, achieving 2.75 (CIFAR-10) and 3.40 (ImageNet 64×64) bits per dimension that are better than autoregressive models of similar sizes. Our code is available at https://github.com/google-deepmind/md4.
The same record, over MCP at https://syntology.ai/mcp:
get_harvested_code_for_paper("2406.04329")
get_code_for_paper("2406.04329")
have("2406.04329")
The run record, dated, one paper per request, free:
curl https://syntology.ai/api/ran/2406.04329.json
A badge for a README (the split and the date, never a ratio):
[](https://syntology.ai/paper/2406.04329)
Connect an agent — have() is free.