SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2503.00307 · NeurIPS · 2025

Remasking Discrete Diffusion Models with Inference-Time Scaling

Yair Schiff, Guanghan Wang, Subham Sekhar, Sahoo Kuleshov

arXiv · PDF · Open in the Atlas

Code that ran

13 of 17 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (10 of them constructed an object rather than computing a result; 0 honoured the contract we drafted, 0 violated it and 10 have no contract verdict; 3 failures of our instrument; 4 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/2503.00307.json · badge: /api/ran/2503.00307.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
kuleshov-group/remdm community
Papers with Code archive
13 ran · 4 no recorded run
FunctionStatusWhere it lives
BPD Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("8a96d6ee76d899fb")
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 an instance of its own class, BPD: the run constructed the object and did not call it, so no result was computed. 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
import torchmetrics
from torch import Tensor

torch.manual_seed(0)

# BPD inherits from NLL which inherits from MeanMetric
# MeanMetric is a torchmetrics aggregation metric that tracks mean_value and weight
# The compute() method only accesses self.mean_value and self.weight
# So we need to construct a BPD instance with these attributes set

bpd_metric = torchmetrics.aggregation.MeanMetric()

# Simulate some accumulated state by manually setting the internal state
# MeanMetric uses _mean_value and _weight internally
# We'll create actual values by updating the metric
values = torch.tensor([1.0, 2.0, 3.0, 4.0])
bpd_metric.update(values)

ARGS = {}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchmetrics — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type BPD — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a BPD 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
CosineNoise Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("2252e72b7e6ff199")
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 an instance of its own class, CosineNoise: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn

torch.manual_seed(0)

# CosineNoise.__init__ takes eps as a parameter
# The forward method calls self.total_noise(t) and self.rate_noise(t)
# Both methods use t as a tensor input and perform operations on it

# Create a small tensor for t (can be scalar or small batch)
t = torch.tensor([0.5])

# The eps parameter is a float that defaults to 0.001
eps = 0.001

ARGS = {
    "eps": eps
}
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 CosineNoise — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CosineNoise 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
CosineSqrNoise Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("f3c78ccd48148489")
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 an instance of its own class, CosineSqrNoise: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn

torch.manual_seed(0)

# CosineSqrNoise.__init__ takes eps parameter
ARGS = {
    "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 CosineSqrNoise — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a CosineSqrNoise 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
FaultTolerantDistributedSampler Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("a8eb0d121c7ecbcc")
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 an instance of its own class, FaultTolerantDistributedSampler: the run constructed the object and did not call it, so no result was computed. 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
import torch.utils.data

torch.manual_seed(0)

# Create a minimal dataset
class MinimalDataset(torch.utils.data.Dataset):
    def __init__(self, size=10):
        self.size = size
    
    def __len__(self):
        return self.size
    
    def __getitem__(self, idx):
        return torch.randn(4), idx

dataset = MinimalDataset(size=10)

ARGS = {
    'dataset': dataset,
    'num_replicas': 2,
    'rank': 0,
    'shuffle': True,
    'seed': 42,
    'drop_last': False
}
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 FaultTolerantDistributedSampler — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a FaultTolerantDistributedSampler 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
GeometricNoise Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("06f92d50089269a3")
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 an instance of its own class, GeometricNoise: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn
import abc

torch.manual_seed(0)

class Noise(abc.ABC, nn.Module):
    """
    Baseline forward method to get the total + rate of noise at a timestep
    """

    def forward(self, t):
        return (self.total_noise(t), self.rate_noise(t))

    @abc.abstractmethod
    def rate_noise(self, t):
        """
        Rate of change of noise ie g(t)
        """
        pass

    @abc.abstractmethod
    def total_noise(self, t):
        """
        Total noise ie \\int_0^t g(t) dt + g(0)
        """
        pass

class GeometricNoise(Noise):

    def __init__(self, sigma_min=0.001, sigma_max=1):
        super().__init__()
        self.sigmas = 1.0 * torch.tensor([sigma_min, sigma_max])

    def rate_noise(self, t):
        return self.sigmas[0] ** (1 - t) * self.sigmas[1] ** t * (self.sigmas[1].log() - self.sigmas[0].log())

    def total_noise(self, t):
        return self.sigmas[0] ** (1 - t) * self.sigmas[1] ** t

ARGS = {
    "sigma_min": 0.001,
    "sigma_max": 1.0
}
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 GeometricNoise — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a GeometricNoise 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
Linear Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("23091ee635899def")
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 an instance of its own class, Linear: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn

torch.manual_seed(0)

ARGS = {
    "sigma_min": 0,
    "sigma_max": 10,
    "dtype": torch.float32
}
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 Linear — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Linear 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
LogLinearNoise Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("721fda60a2762576")
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 an instance of its own class, LogLinearNoise: the run constructed the object and did not call it, so no result was computed. 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
import torch.nn as nn

torch.manual_seed(0)

# LogLinearNoise.__init__ takes only eps parameter
ARGS = {
    '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 LogLinearNoise — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a LogLinearNoise 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
Loss Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("f0c0a2810b675abb")
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 an instance of its own class, Loss: the run constructed the object and did not call it, so no result was computed. 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
from dataclasses import dataclass

torch.manual_seed(0)

@dataclass
class Loss:
    loss: torch.FloatTensor
    nlls: torch.FloatTensor
    token_mask: torch.FloatTensor

# Create small tensors with distinct shapes
loss_tensor = torch.randn(2, 4)
nlls_tensor = torch.randn(2, 3)
token_mask_tensor = torch.randint(0, 2, (2, 5)).float()

ARGS = {
    "loss": loss_tensor,
    "nlls": nlls_tensor,
    "token_mask": token_mask_tensor,
}
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 Loss — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Loss 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
Perplexity Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("e3f789992ecfe962")
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 an instance of its own class, Perplexity: the run constructed the object and did not call it, so no result was computed. 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
import torchmetrics
from torch import Tensor

torch.manual_seed(0)

class NLL(torchmetrics.aggregation.MeanMetric):
    pass

class Perplexity(NLL):

    def compute(self) -> Tensor:
        """Computes the Perplexity.

    Returns:
     Perplexity
    """
        return torch.exp(self.mean_value / self.weight)

# Create a Perplexity instance
perplexity_metric = Perplexity()

# Simulate some data being added to the metric
# MeanMetric tracks mean_value and weight internally
batch_size = 2
logits = torch.randn(batch_size, 4)
targets = torch.randint(0, 4, (batch_size,))

# Add some data to the metric so it has mean_value and weight set
nll_loss = torch.nn.functional.cross_entropy(logits, targets, reduction='mean')
perplexity_metric.update(nll_loss)

ARGS = {
}
Setup block drafted by
a language model, Claude Haiku 4.5, prompt python_fixture_v1, through the batch API
Imports
torch, torchmetrics — import names as written, not package names to install; a name the repository itself provides is not a package
Returned
type Perplexity — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a Perplexity 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
RandomFaultTolerantSampler Ran
ran on a synthesized input · constructed an object; no result was computed
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("ca44ec1d6c02bb7d")
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 an instance of its own class, RandomFaultTolerantSampler: the run constructed the object and did not call it, so no result was computed. 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
import torch.utils.data

torch.manual_seed(0)

# Create a simple dataset
class SimpleDataset(torch.utils.data.Dataset):
    def __init__(self, size=10):
        self.size = size
    
    def __len__(self):
        return self.size
    
    def __getitem__(self, idx):
        return torch.randn(4), idx

# Instantiate the dataset
dataset = SimpleDataset(size=10)

ARGS = {
    'data_source': dataset,
    'replacement': False,
    'num_samples': None,
    'generator': None
}
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 RandomFaultTolerantSampler — the run constructed an instance of its own class and did not call it; no shape is stated — the instrument coerces any output to an array; for a RandomFaultTolerantSampler 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
_sample_categorical Ran
ran; our contract draft was wrong, not the code
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("1c47525224ba228c")
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 1, dtype family int, shape (2,) 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)

# The function expects categorical_probs as a tensor
# It calls .to(torch.float64), .log(), and .argmax(dim=-1)
# So we need a tensor with at least 2 dimensions (since argmax uses dim=-1)
# Shape: batch_size=2, num_categories=4

categorical_probs = torch.rand(2, 4)

ARGS = {
    "categorical_probs": categorical_probs
}
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 Tensor, ndim 1, dtype family int, shape (2,) — shape (2,) 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
_unsqueeze Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("30c96381b7f09da5")
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 4, dtype family float, shape (2, 4, 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.

import torch
import torch.nn as nn

torch.manual_seed(0)

# The function _unsqueeze takes two parameters:
# 1. x: a tensor that will be reshaped using .view()
# 2. reference: a tensor whose .shape is used to determine how many dimensions to add

# Create a small tensor x with shape (2, 4)
x = torch.randn(2, 4)

# Create a reference tensor with more dimensions, e.g., shape (2, 4, 3, 5)
# This will cause x to be unsqueezed to shape (2, 4, 1, 1)
# since reference has 4 dimensions and x has 2, we add (4-2)=2 ones
reference = torch.randn(2, 4, 3, 5)

ARGS = {
    "x": x,
    "reference": reference
}
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 Tensor, ndim 4, dtype family float, shape (2, 4, 1, 1) — shape (2, 4, 1, 1) 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
get_noise Ran
ran; our contract draft was wrong, not the code
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("2174721db8d9cdb6")
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 Linear. 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
import torch.nn as nn

torch.manual_seed(0)

class MockConfig:
    def __init__(self, noise_type, sigma_min=0.001, sigma_max=1.0):
        self.noise = MockNoiseConfig(noise_type, sigma_min, sigma_max)

class MockNoiseConfig:
    def __init__(self, noise_type, sigma_min=0.001, sigma_max=1.0):
        self.type = noise_type
        self.sigma_min = sigma_min
        self.sigma_max = sigma_max

config = MockConfig(noise_type='linear', sigma_min=0.001, sigma_max=10.0)
dtype = torch.float32

ARGS = {
    'config': config,
    'dtype': dtype
}
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 Linear — a Linear output has no array shape of its own; none is stated — the instrument coerces any output to an array; for a Linear 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
Diffusion Not yet run
unverified (harvested, no recorded run)
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("2c650372d2d0b176")
How it ran

no invocation recorded.

NLL Not yet run
unverified (harvested, no recorded run)
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("c7461f97befe2293")
How it ran

no invocation recorded.

Noise Not yet run
unverified (harvested, no recorded run)
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("4360fa80bd3c0ebd")
How it ran

no invocation recorded.

print_nans Not yet run
unverified (harvested, no recorded run)
kuleshov-group/remdm/diffusion.py
code served (permissive licence) · get_code("1665eba64e29d70c")
How it ran

no invocation recorded.

Also present in other papers' code

Of 17 samples lifted from this paper's linked repositories, 17 carry a function identity and 0 do not. Of the 17 distinct functions with an identity, 14 are also present in other papers whose code we hold (1 with at least one paper dated earlier, 0 the same month, 14 later) and 3 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
get_noise
brick of this paper's assembly: scheduler
6 other papers
2 dated earlier, 4 later · 1 only as an assembly brick
2410.13643 (2024-10)
Fine-Tuning Discrete Diffusion Models via Reward Optimization with Applications to DNA and Protein Design
2502.01384 (2025-02)
Fine-Tuning Discrete Diffusion Models with Policy Gradient Methods
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
and 3 more not named here
BPD
brick of this paper's assembly: metric
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
CosineNoise
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
CosineSqrNoise
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
FaultTolerantDistributedSampler
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
GeometricNoise
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
Linear
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
LogLinearNoise
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
NLL
brick of this paper's assembly: loss
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
Noise
brick of this paper's assembly: scheduler
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
Perplexity
brick of this paper's assembly: metric
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
RandomFaultTolerantSampler
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
_unsqueeze
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling
print_nans
brick of this paper's assembly: helper
1 other paper
1 later · 1 only as an assembly brick
2505.17384 (2025-05)
Variational Autoencoding Discrete Diffusion with Enhanced Dimensional Correlations Modeling

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

Part of the success of diffusion models stems from their ability to perform iterative refinement, i.e., repeatedly correcting outputs during generation. However, modern masked discrete diffusion lacks this capability: when a token is generated, it cannot be updated again, even when it introduces an error. Here, we address this limitation by introducing the remasking diffusion model (ReMDM) sampler, a method that can be applied to pretrained masked diffusion models in a principled way and that is derived from a discrete diffusion model with a custom remasking backward process. Most interestingly, ReMDM endows discrete diffusion with a form of inferencetime compute scaling. By increasing the number of sampling steps, ReMDM generates natural language outputs that approach the quality of autoregressive models, whereas when the computation budget is limited, ReMDM better maintains quality. ReMDM also improves sample quality of masked diffusion models for discretized images, and in scientific domains such as molecule design, ReMDM facilitates diffusion guidance and pushes the Pareto frontier of controllability relative to classical masking and uniform noise diffusion. We provide the code along with a blog post on the project page: https://guanghanwang.com/remdm

For agents

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

get_harvested_code_for_paper("2503.00307")
get_code_for_paper("2503.00307")
have("2503.00307")

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

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

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

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

Connect an agent — have() is free.