Papers › Improved off-policy training of diffusion samplers

Improved off-policy training of diffusion samplers

7 Feb 2024arXiv:2402.05098archive 2025-07-28

Marcin Sendera, Minsu Kim, Sarthak Mittal, Pablo Lemos, Luca Scimeca, Jarrid Rector-Brooks, Alexandre Adam, Yoshua Bengio, Nikolay Malkin

We study the problem of training diffusion models to sample from a distribution with a given unnormalized density or energy function. We benchmark several diffusion-structured inference methods, including simulation-based variational approaches and off-policy methods (continuous generative flow networks). Our results shed light on the relative advantages of existing algorithms while bringing into question some claims from past work. We also propose a novel exploration strategy for off-policy methods, based on local search in the target space with the use of a replay buffer, and show that it improves the quality of samples on a variety of target distributions. Our code for the sampling methods and benchmarks studied is made public at https://github.com/GFNOrg/gfn-diffusion as a base for future work on diffusion models for amortized inference.

PaperPDFCodeCode 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="2402.05098")

Code

Syntology Ran 15 of 17 code samples harvested from 1 repository linked to this paper; 2 have no recorded run. Of those that ran: 15 ran with no contract checked.

By repository: official repository: 17 samples from 1 repository, 15 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

gfnorg/gfn-diffusion officialmentioned in papermentioned on GitHubpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. 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

17 samples harvested; 15 ran; 0 honoured the contract we drafted; 2 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.

15ran
2unverified

Licence: 17 of the 17 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 GFNOrg/gfn-diffusion. “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.

adjust_ld_step GFNOrg/gfn-diffusion/energy_sampling/langevin.py official repository ran fingerprinted no licence file found · pointer only · 5bf80298d705eb51 · report
bwd_tb GFNOrg/gfn-diffusion/energy_sampling/gflownet_losses.py official repository ran no licence file found · pointer only · da64b9cc0cb5f420 · report
collate GFNOrg/gfn-diffusion/energy_sampling/buffer.py official repository ran no licence file found · pointer only · b12c326f37f6b931 · report
collate GFNOrg/gfn-diffusion/vae/buffer.py official repository ran no licence file found · pointer only · 8758016c1e97eb30 · report
dcp GFNOrg/gfn-diffusion/energy_sampling/utils.py official repository ran fingerprinted no licence file found · pointer only · 7a713c0355a39fa4 · report
fwd_tb GFNOrg/gfn-diffusion/vae/gflownet_losses.py official repository ran no licence file found · pointer only · 371d2c191597088e · report
fwd_tb_avg GFNOrg/gfn-diffusion/energy_sampling/gflownet_losses.py official repository ran no licence file found · pointer only · aed2af6e29d0346b · report
get_figure GFNOrg/gfn-diffusion/energy_sampling/plot_utils.py official repository ran no licence file found · pointer only · 7d2f988fc32e4ecd · report
langevin_dynamics GFNOrg/gfn-diffusion/energy_sampling/langevin.py official repository ran no licence file found · pointer only · e02c1b1c37c66258 · report
linear_mmd2 GFNOrg/gfn-diffusion/energy_sampling/sample_metrics.py official repository ran fingerprinted no licence file found · pointer only · bb890357a4a87c70 · report
logmeanexp GFNOrg/gfn-diffusion/energy_sampling/utils.py official repository ran fingerprinted no licence file found · pointer only · cded7f5b04d3ed38 · report
poly_mmd2 GFNOrg/gfn-diffusion/energy_sampling/sample_metrics.py official repository ran fingerprinted no licence file found · pointer only · 9970f30509d9c6ff · report
viz_many_well GFNOrg/gfn-diffusion/energy_sampling/plot_utils.py official repository ran no licence file found · pointer only · 3952c49c556847d5 · report
viz_sample2d GFNOrg/gfn-diffusion/energy_sampling/plot_utils.py official repository ran no licence file found · pointer only · c564a15078fe1e13 · report
wasserstein GFNOrg/gfn-diffusion/energy_sampling/sample_metrics.py official repository ran no licence file found · pointer only · 48975d6f9511eaee · report
cal_subtb_coef_matrix GFNOrg/gfn-diffusion/energy_sampling/utils.py official repository unverified no licence file found · pointer only · ac941abcdd9c5845 · report
fwd_tb GFNOrg/gfn-diffusion/energy_sampling/gflownet_losses.py official repository unverified no licence file found · pointer only · 1022ab51101ead2b · report

Tasks

Benchmarking

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Methods

BASEDiffusion

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