Papers › Discrete Feynman-Kac Correctors

Discrete Feynman-Kac Correctors

15 Jan 2026arXiv:2601.10403added by Syntology

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

Title, abstract, authors and date from arXiv's metadata (CC0); this paper is not in the Papers with Code archive (frozen 2025-07-28).

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.

PaperPDFCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2601.10403")

Code

Syntology Ran 7 of 11 code samples harvested from 1 repository linked to this paper; 4 have no recorded run. Of those that ran: 1 ran · honoured contract; 4 ran · our draft was wrong; 1 ran · fixture could not drive it; 1 ran with no contract checked.

By repository: found in paper text by Syntology: 11 samples from 1 repository, 7 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

hasanmohsin/discrete_fkc found in paper text by Syntology report

Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 7 ran; 1 honoured the contract we drafted; 4 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
4ran · our draft was wrong
1ran · fixture could not drive it
1ran
4unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from hasanmohsin/discrete_fkc. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

SMCSampler hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology ran no licence file found · pointer only · d0697347a87c225b · report
decode hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 1e985d915d91aa56 · report
plot_2d hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 73682d632e16db95 · report
systematic_resample hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology ran · our draft was wrong fingerprinted no licence file found · pointer only · 03df37a33ebd1d43 · report
wandb_get_additional_metrics hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology ran · honoured contract no licence file found · pointer only · eeada90ddf482dcb · report
wandb_log_xt hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology ran · our draft was wrong no licence file found · pointer only · 3550d944581108d6 · report
wandb_log_xt_smc hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology ran · fixture could not drive it no licence file found · pointer only · 79e68b066a630f76 · report
DiffusionSampler hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology unverified no licence file found · pointer only · 5785560111f98ed2 · report
FKSteeringSampler hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology unverified no licence file found · pointer only · 15e0ee5bcf822e9e · report
get_logit_heatmap hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology unverified no licence file found · pointer only · a31dc603ef20744b · report
setup_wandb_run hasanmohsin/discrete_fkc/fk_steering.py found in paper text by Syntology unverified no licence file found · pointer only · 761282bcf1f2a124 · report

Results from the paper

The Papers with Code archive ends with its 2025-07-28 snapshot. This paper's arXiv identifier, 2601.10403, was issued in January 2026, after that date, so the archive has no leaderboard rows for it.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections