SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2601.10403 · 2026

Discrete Feynman-Kac Correctors

Yoshua Bengio, Roberto Bondesan, Kirill Neklyudov, Viktor Ohanesian, Marta Skreta, Alán Aspuru-Guzik, Mohsin Hasan, Artem Gazizov

arXiv · PDF · Open in the Atlas

Code that ran

7 of 11 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; 5 failures of our instrument; 4 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/2601.10403.json · badge: /api/ran/2601.10403.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
hasanmohsin/discrete_fkc community
Papers with Code archive
7 ran · 4 no recorded run
FunctionStatusWhere it lives
SMCSampler Ran
ran on a synthesized input
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("d0697347a87c225b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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.

decode Ran
ran; our contract draft was wrong, not the code
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("1e985d915d91aa56")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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.

plot_2d Ran
ran; our contract draft was wrong, not the code
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("73682d632e16db95")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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.

systematic_resample Ran
ran; our contract draft was wrong, not the code
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("03df37a33ebd1d43")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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.

wandb_get_additional_metrics Ran
ran, honoured the contract we drafted
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("eeada90ddf482dcb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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.

wandb_log_xt Ran
ran; our contract draft was wrong, not the code
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("3550d944581108d6")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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.

wandb_log_xt_smc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("79e68b066a630f76")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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.

DiffusionSampler Not yet run
unverified (harvested, no recorded run)
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("5785560111f98ed2")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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. No invocation recorded.

FKSteeringSampler Not yet run
unverified (harvested, no recorded run)
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("15e0ee5bcf822e9e")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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. No invocation recorded.

get_logit_heatmap Not yet run
unverified (harvested, no recorded run)
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("a31dc603ef20744b")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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. No invocation recorded.

setup_wandb_run Not yet run
unverified (harvested, no recorded run)
hasanmohsin/discrete_fkc/fk_steering.py
pointer only (licence: NONE) · get_code("761282bcf1f2a124")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, hasanmohsin/discrete_fkc 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. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 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 11 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.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Discrete diffusion models have recently emerged as a promising alternative to the autoregressive approach for generating discrete sequences. Sample generation via gradual denoising or demasking processes allows them to capture hierarchical non-sequential interdependencies in the data. These custom processes, however, do not assume a flexible control over the distribution of generated samples. We propose DISCRETE FEYNMAN-KAC CORRECTORS, a framework that allows for controlling the generated distribution of discrete masked diffusion models at inference time. We derive Sequential Monte Carlo (SMC) algorithms that, given a trained discrete diffusion model, control the temperature of the sampled distribution (i.e. perform annealing), sample from the product of marginals of several diffusion processes (e.g. differently conditioned processes), and sample from the product of the marginal with an external reward function, producing likely samples from the target distribution that also have high reward. Notably, our framework does not require any training of additional models or fine-tuning of the original model. We illustrate the utility of our framework in several applications including: efficient sampling from the annealed Boltzmann distribution of the Ising model, improving the performance of language models for code generation and amortized learning, as well as reward-tilted protein sequence generation.

For agents

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

get_harvested_code_for_paper("2601.10403")
get_code_for_paper("2601.10403")
have("2601.10403")

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

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

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

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

Connect an agent — have() is free.