SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2205.14987 · NeurIPS · 2022

A Continuous Time Framework for Discrete Denoising Models

George Deligiannidis, Tom Rainforth, Arnaud Doucet, Valentin De Bortoli, Andrew Campbell, Joe Benton

arXiv · PDF · Open in the Atlas

Code that ran

9 of 12 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (1 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 8 failures of our instrument; 3 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/2205.14987.json · badge: /api/ran/2205.14987.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
andrew-cr/tauldr canonical (classifier label)
classifier basis: classifier_2025
2 ran · 0 no recorded run
lingxiaoshawn/usd3 community
Papers with Code archive
4 ran · 3 no recorded run
copy not recorded community
not in the paper's declared repositories
3 ran · 0 no recorded run
FunctionStatusWhere it lives
BirthDeathForwardBase Ran
ran on a synthesized input · constructed an object; no result was computed
andrew-cr/tauldr/lib/models/models.py
pointer only (licence: NOASSERTION) · get_code("ffa52aac10275a2d")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andrew-cr/tauldr (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_broadcast_idx Ran
ran; our contract draft was wrong, not the code
lingxiaoshawn/usd3/discrete_diffusion.py
code served (permissive licence) · get_code("9ae468e35b1a0dad")
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 list. 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 takes a shape parameter and creates broadcast-compatible index tensors
# shape should be a tuple or list of integers representing dimensions

ARGS = {
    "shape": (2, 3, 4)
}
Setup block drafted by
a language model, Claude Haiku 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 list — a list output has no array shape of its own; none is 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
imgtrans Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
andrew-cr/tauldr/scripts/sample.py
pointer only (licence: NOASSERTION) · get_code("37a4ff6be7364fa2")
How it ran

The body of this sample is withheld: GitHub could not classify the licence of this paper's repository, andrew-cr/tauldr (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.

index_last_dim Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lingxiaoshawn/usd3/discrete_diffusion.py
code served (permissive licence) · get_code("022a7c8257303dc9")
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 Tensor, ndim 3, dtype family float, shape (2, 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.

import torch

torch.manual_seed(0)

# Create a tensor x of shape (B, N1, N2, C) = (2, 3, 4, 5)
# where B=2 (batch), N1=3, N2=4 are spatial dims, C=5 is the last dimension to index
x = torch.randn(2, 3, 4, 5)

# Create an index tensor of shape (B, N1, N2) = (2, 3, 4)
# with values less than C (5)
idx = torch.randint(0, 5, (2, 3, 4))

ARGS = {
    "x": x,
    "idx": idx,
}
Setup block drafted by
a language model, Claude Haiku 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 3, dtype family float, shape (2, 3, 4) — shape (2, 3, 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
noise_schedule Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lingxiaoshawn/usd3/discrete_diffusion.py
code served (permissive licence) · get_code("fda963fd80612ab9")
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 tuple, ndim 2, 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.

import torch
import math

torch.manual_seed(0)

ARGS = {
    't_step': torch.tensor([0, 100, 500, 1000]),
    's_step': torch.tensor([0, 50, 250, 500]),
    'schedule_type': 'cosine',
    'N': 1000,
    'Tmax': 1.0,
    'a': None,
    'b': None,
    'min_alphabar': 1e-10,
    'max_beta': 250,
    'sigma_min': 0.0001,
    'sigma_max': 1,
    'eps': 0.001,
}
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 tuple, ndim 2, dtype family float — a tuple output has no array shape of its own; none is stated
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
sample_bernoulli Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from lingxiaoshawn/usd3
pointer only · get_code("b7292183c8ee8d08")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

sample_categorical Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
this paper's copy was not recorded; identical code first harvested from lingxiaoshawn/usd3
pointer only · get_code("3b3f251a40b42cb6")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

sample_uniform_categorical Ran
ran; our contract draft was wrong, not the code
this paper's copy was not recorded; identical code first harvested from lingxiaoshawn/usd3
pointer only · get_code("3de7a59d8f5a3e18")
How it ran

The body of this sample is withheld: this paper's copy of the code was not recorded (its link names no repository or source path), so no licence was read for it. 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.

set_last_dim Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
lingxiaoshawn/usd3/discrete_diffusion.py
code served (permissive licence) · get_code("abd2c76ff08f9007")
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 Tensor, ndim 4, dtype family float, shape (2, 3, 4, 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.

import torch

torch.manual_seed(0)

# Create input tensor x of shape (B, N1, N2, C) = (2, 3, 4, 5)
# where B=2 (batch), N1=3, N2=4 are spatial dims, C=5 is last dim (channels)
x = torch.randn(2, 3, 4, 5)

# Create indices tensor of shape (B, N1, N2) = (2, 3, 4)
# with values < C (i.e., < 5)
idx = torch.randint(0, 5, (2, 3, 4))

# Scalar value to set
value = 0

# Boolean flag for inplace_add
inplace_add = False

ARGS = {
    "x": x,
    "idx": idx,
    "value": value,
    "inplace_add": inplace_add,
}
Setup block drafted by
a language model, Claude Haiku 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, 3, 4, 5) — shape (2, 3, 4, 5) 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
UnifiedDiscreteDiffusion Not yet run
unverified (harvested, no recorded run)
lingxiaoshawn/usd3/discrete_diffusion.py
code served (permissive licence) · get_code("8e09331445e0d22c")
How it ran

no invocation recorded.

logits_to_logprob Not yet run
unverified (harvested, no recorded run)
lingxiaoshawn/usd3/discrete_diffusion.py
code served (permissive licence) · get_code("0af6b4b69f0cb37b")
How it ran

no invocation recorded.

logits_to_prob Not yet run
unverified (harvested, no recorded run)
lingxiaoshawn/usd3/discrete_diffusion.py
code served (permissive licence) · get_code("9fea4d40c8d9f6f5")
How it ran

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, 7 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 7 later) and 5 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
sample_uniform_categorical
brick of this paper's assembly: helper
2 other papers
2 later · 1 only as an assembly brick
2209.14734 (2022-09)
DiGress: Discrete Denoising diffusion for graph generation
2402.03701 (2024-02)
Unified Discrete Diffusion for Categorical Data
get_broadcast_idx
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2209.14734 (2022-09)
DiGress: Discrete Denoising diffusion for graph generation
index_last_dim
brick of this paper's assembly: helper
1 other paper
1 later
2209.14734 (2022-09)
DiGress: Discrete Denoising diffusion for graph generation
logits_to_logprob
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2209.14734 (2022-09)
DiGress: Discrete Denoising diffusion for graph generation
sample_bernoulli
brick of this paper's assembly: helper
1 other paper
1 later
2402.03701 (2024-02)
Unified Discrete Diffusion for Categorical Data
sample_categorical
brick of this paper's assembly: helper
1 other paper
1 later
2402.03701 (2024-02)
Unified Discrete Diffusion for Categorical Data
set_last_dim
brick of this paper's assembly: helper
1 other paper
1 later
2209.14734 (2022-09)
DiGress: Discrete Denoising diffusion for graph generation

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

We provide the first complete continuous time framework for denoising diffusion models of discrete data. This is achieved by formulating the forward noising process and corresponding reverse time generative process as Continuous Time Markov Chains (CTMCs). The model can be efficiently trained using a continuous time version of the ELBO. We simulate the high dimensional CTMC using techniques developed in chemical physics and exploit our continuous time framework to derive high performance samplers that we show can outperform discrete time methods for discrete data. The continuous time treatment also enables us to derive a novel theoretical result bounding the error between the generated sample distribution and the true data distribution.

For agents

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

get_harvested_code_for_paper("2205.14987")
get_code_for_paper("2205.14987")
have("2205.14987")

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

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

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

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

Connect an agent — have() is free.