SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2404.15766 · ICML · 2024

Unifying Bayesian Flow Networks and Diffusion Models through Stochastic Differential Equations

Yuhao Zhou, Chongxuan Li, Jun Zhou, Xiaolu Zhang, Kaiwen Xue, Shen Nie, Xu Min

arXiv · PDF · Open in the Atlas

Code that ran

10 of 12 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; 0 honoured the contract we drafted, 0 violated it and 1 has no contract verdict; 9 failures of our instrument; 2 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/2404.15766.json · badge: /api/ran/2404.15766.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
ML-GSAI/BFN-Solver canonical (classifier label)
classifier basis: census
9 ran · 1 no recorded run
ml-gsai/bfn-solver canonical (classifier label)
classifier basis: classifier_2025
1 ran · 1 no recorded run
FunctionStatusWhere it lives
ImageBFNSolver Ran
ran on a synthesized input
ml-gsai/bfn-solver/bfnsolver_i.py
pointer only (licence: NONE) · get_code("1a4845bc7b3d5654")
How it ran

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

attention_inner_heads Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ML-GSAI/BFN-Solver/networks/unet_vdm.py
pointer only (licence: NONE) · get_code("c362b4cbfac8170f")
How it ran

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

gelu Ran
ran; our contract draft was wrong, not the code
ML-GSAI/BFN-Solver/networks/transformer.py
pointer only (licence: NONE) · get_code("b17ebf2b2ef1cb60")
How it ran

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

get_timestep_embedding Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
ML-GSAI/BFN-Solver/networks/unet_vdm.py
pointer only (licence: NONE) · get_code("179411226b633de6")
How it ran

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

make_master_params Ran
ran; our contract draft was wrong, not the code
ML-GSAI/BFN-Solver/networks/unet_improved.py
pointer only (licence: NONE); the stored copy get_code serves, from freemasti/diffo, is pointer only (licence: NONE) · get_code("a863803cdd5f3ce6")
How it ran

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

safe_exp Ran
ran; our contract draft was wrong, not the code
ML-GSAI/BFN-Solver/utils.py
pointer only (licence: NONE) · get_code("a91dc4fa6fd3684d")
How it ran

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

safe_log Ran
ran; our contract draft was wrong, not the code
ML-GSAI/BFN-Solver/utils.py
pointer only (licence: NONE) · get_code("34cc47ee17f6c9ee")
How it ran

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

sandwich Ran
ran; our contract draft was wrong, not the code
ML-GSAI/BFN-Solver/utils.py
pointer only (licence: NONE) · get_code("1b5fa89b375364a0")
How it ran

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

unflatten_master_params Ran
ran; our contract draft was wrong, not the code
ML-GSAI/BFN-Solver/networks/unet_improved.py
pointer only (licence: NONE); the stored copy get_code serves, from freemasti/diffo, is pointer only (licence: NONE) · get_code("30e43bcf12d042b0")
How it ran

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

zero_init Ran
ran; our contract draft was wrong, not the code
ML-GSAI/BFN-Solver/networks/unet_vdm.py
pointer only (licence: NONE) · get_code("b6858c53f43787dc")
How it ran

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

batch_sample Not yet run
unverified (harvested, no recorded run)
ml-gsai/bfn-solver/bfnsolver_i.py
pointer only (licence: NONE) · get_code("e59f9e0c05888506")
How it ran

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

conv_nd Not yet run
unverified (harvested, no recorded run)
ML-GSAI/BFN-Solver/networks/unet_improved.py
pointer only (licence: NONE) · get_code("fe4eb545bbb728e0")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, ML-GSAI/BFN-Solver 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 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, 10 are also present in other papers whose code we hold (10 with at least one paper dated earlier, 3 the same month, 3 later) and 2 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
conv_nd 121 other papers
79 dated earlier, 1 the same month, 38 later, 3 same year, order not determinable · 32 only as an assembly brick
2006.11239 (2020-06)
Denoising Diffusion Probabilistic Models
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2111.11672 (2021-11)
Few-shot Image Generation with Mixup-based Distance Learning
and 118 more not named here
make_master_params 16 other papers
10 dated earlier, 1 the same month, 5 later
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2205.14217 (2022-05)
Diffusion-LM Improves Controllable Text Generation
2206.07696 (2022-06)
Diffusion Models for Video Prediction and Infilling
and 13 more not named here
unflatten_master_params 15 other papers
10 dated earlier, 1 the same month, 4 later
2010.02502 (2020-10)
Denoising Diffusion Implicit Models
2205.14217 (2022-05)
Diffusion-LM Improves Controllable Text Generation
2206.07696 (2022-06)
Diffusion Models for Video Prediction and Infilling
and 12 more not named here
attention_inner_heads 2 other papers
2 dated earlier
2308.07037 (2023-08)
Bayesian Flow Networks
2403.10648 (2024-03)
Debiasing with Diffusion: Probabilistic reconstruction of Dark Matter fields from galaxies with CAMELS
gelu 1 other paper
1 dated earlier
2308.07037 (2023-08)
Bayesian Flow Networks
get_timestep_embedding 1 other paper
1 dated earlier
2308.07037 (2023-08)
Bayesian Flow Networks
safe_exp 1 other paper
1 dated earlier
2308.07037 (2023-08)
Bayesian Flow Networks
safe_log 1 other paper
1 dated earlier
2308.07037 (2023-08)
Bayesian Flow Networks
sandwich 1 other paper
1 dated earlier
2308.07037 (2023-08)
Bayesian Flow Networks
zero_init 1 other paper
1 dated earlier
2308.07037 (2023-08)
Bayesian Flow Networks

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

Bayesian flow networks (BFNs) iteratively refine the parameters, instead of the samples in diffusion models (DMs), of distributions at various noise levels through Bayesian inference. Owing to its differentiable nature, BFNs are promising in modeling both continuous and discrete data, while simultaneously maintaining fast sampling capabilities. This paper aims to understand and enhance BFNs by connecting them with DMs through stochastic differential equations (SDEs). We identify the linear SDEs corresponding to the noise-addition processes in BFNs, demonstrate that BFN's regression losses are aligned with denoise score matching, and validate the sampler in BFN as a first-order solver for the respective reverse-time SDE. Based on these findings and existing recipes of fast sampling in DMs, we propose specialized solvers for BFNs that markedly surpass the original BFN sampler in terms of sample quality with a limited number of function evaluations (e.g., 10) on both image and text datasets. Notably, our best sampler achieves an increase in speed of 5 ∼ 20 times for free. Our code is available at https: //github.com/ML-GSAI/BFN-Solver.

For agents

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

get_harvested_code_for_paper("2404.15766")
get_code_for_paper("2404.15766")
have("2404.15766")

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

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

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

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

Connect an agent — have() is free.