Papers › Score-Based Generative Modeling through Stochastic Differential Equations

Score-Based Generative Modeling through Stochastic Differential Equations

26 Nov 2020ICLR 2021 1arXiv:2011.13456archive 2025-07-28

Yang song, Jascha Sohl-Dickstein, Diederik P. Kingma, Abhishek Kumar, Stefano Ermon, Ben Poole

Creating noise from data is easy; creating data from noise is generative modeling. We present a stochastic differential equation (SDE) that smoothly transforms a complex data distribution to a known prior distribution by slowly injecting noise, and a corresponding reverse-time SDE that transforms the prior distribution back into the data distribution by slowly removing the noise. Crucially, the reverse-time SDE depends only on the time-dependent gradient field (\aka, score) of the perturbed data distribution. By leveraging advances in score-based generative modeling, we can accurately estimate these scores with neural networks, and use numerical SDE solvers to generate samples. We show that this framework encapsulates previous approaches in score-based generative modeling and diffusion probabilistic modeling, allowing for new sampling procedures and new modeling capabilities. In particular, we introduce a predictor-corrector framework to correct errors in the evolution of the discretized reverse-time SDE. We also derive an equivalent neural ODE that samples from the same distribution as the SDE, but additionally enables exact likelihood computation, and improved sampling efficiency. In addition, we provide a new way to solve inverse problems with score-based models, as demonstrated with experiments on class-conditional generation, image inpainting, and colorization. Combined with multiple architectural improvements, we achieve record-breaking performance for unconditional image generation on CIFAR-10 with an Inception score of 9.89 and FID of 2.20, a competitive likelihood of 2.99 bits/dim, and demonstrate high fidelity generation of 1024 x 1024 images for the first time from a score-based generative model.

PaperPDFConference PDFCodeCode 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="2011.13456")

Code

Syntology Ran 15 of 23 code samples harvested from 7 repositories linked to this paper; 8 have no recorded run. Of those that ran: 2 ran · honoured contract; 7 ran · our draft was wrong; 6 ran with no contract checked.

By repository: official repository: 7 samples from 1 repository, 3 ran; community (archive-listed): 14 samples from 6 repositories, 10 ran; 2 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

15 repositories listed; official and paper-mentioned ones first.

yang-song/score_sde officialmentioned in paperpytorch report
CW-Huang/sdeflow-light mentioned on GitHubpytorch report
X-LANCE/VoiceFlow-TTS mentioned on GitHubpytorch report
claserken/SISS mentioned on GitHubpytorch report
ermongroup/ncsn mentioned on GitHubpytorch report
ermongroup/ncsnv2 mentioned on GitHubpytorch report
g4vrel/sde_ddpm mentioned on GitHubpytorch report
hyn2028/tpdm mentioned on GitHubpytorch report
intuitive-robots/beso mentioned on GitHubpytorch report
liaopeiyuan/pndm mentioned on GitHubpytorch report
luping-liu/PNDM mentioned on GitHubpytorch report
p-hss/consistency-climate-downscaling mentioned on GitHubpytorchMIT report
yanfeng-yang-0316/cdcit mentioned on GitHubpytorch report
yang-song/score_inverse_problems mentioned on GitHubjax 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

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

2ran · honoured contract
7ran · our draft was wrong
6ran
8unverified

Licence: 4 of the 23 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 7 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

NoneCorrector yang-song/score_sde/sampling.py official repository ran Apache-2.0 (permissive) · 6f447a2b95b54845 · report
NonePredictor yang-song/score_sde/sampling.py official repository ran Apache-2.0 (permissive) · 6fe4dbf5838e4df8 · report
get_pc_sampler yang-song/score_sde/sampling.py official repository ran · our draft was wrong Apache-2.0 (permissive) · 43fddf16d4b421ac · report
Corrector yang-song/score_sde/sampling.py official repository unverified Apache-2.0 (permissive) · b5b6009cef6e47d8 · report
Predictor yang-song/score_sde/sampling.py official repository unverified Apache-2.0 (permissive) · fdabca225111e3dc · report
shared_corrector_update_fn yang-song/score_sde/sampling.py official repository unverified Apache-2.0 (permissive) · 0ef020b95f4bc102 · report
shared_predictor_update_fn yang-song/score_sde/sampling.py official repository unverified Apache-2.0 (permissive) · 8a1938617d189156 · report
EulerMaruayamaPredictor g4vrel/sde_ddpm/sde.py community (archive-listed) ran no licence file found · pointer only · a255c2fd61329566 · report
PIDStepSizeController intuitive-robots/beso/beso/agents/diffusion_agents/k_diffusion/gc_sampling.py community (archive-listed) ran MIT (permissive) · 23c37bd71f8e0dbd · report
VariancePreservingSDE CW-Huang/sdeflow-light/lib/sdes.py community (archive-listed) ran · metamorphic tier: deterministic MIT (permissive) · 961b5bdb253bde68 · report
VariancePreservingTruncatedSampling CW-Huang/sdeflow-light/lib/sdes.py community (archive-listed) ran MIT (permissive) · 559d174d6d82afd7 · report
default_noise_sampler intuitive-robots/beso/beso/agents/diffusion_agents/k_diffusion/gc_sampling.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 0f41c312acba15d8 · report
get_ancestral_step intuitive-robots/beso/beso/agents/diffusion_agents/k_diffusion/gc_sampling.py community (archive-listed) ran · honoured contract fingerprinted MIT (permissive) · e79707d0454c79c9 · report
runge_kutta luping-liu/PNDM/runner/method.py community (archive-listed) ran · our draft was wrong Apache-2.0 (permissive) · 8e6cd2ebb4cb3161 · report
sample_from_diff yanfeng-yang-0316/cdcit/model.py community (archive-listed) ran · our draft was wrong no licence file found · pointer only · c915fab99cb196da · report
sample_vp_truncated_q CW-Huang/sdeflow-light/lib/sdes.py community (archive-listed) ran · our draft was wrong MIT (permissive) · 4675c27602b677ef · report
transfer liaopeiyuan/pndm/runner/method.py community (archive-listed) ran · honoured contract fingerprinted Apache-2.0 (permissive) · e3d0f1667dc4e323 · report
DPMSolver intuitive-robots/beso/beso/agents/diffusion_agents/k_diffusion/gc_sampling.py community (archive-listed) unverified MIT (permissive) · dacabf6cda8ac542 · report
gen_order_2 liaopeiyuan/pndm/runner/method.py community (archive-listed) unverified Apache-2.0 (permissive) · 61d75983e395ab02 · report
improved_eular liaopeiyuan/pndm/runner/method.py community (archive-listed) unverified Apache-2.0 (permissive) · fe36f2c4259802ef · report
sample_dpm_adaptive intuitive-robots/beso/beso/agents/diffusion_agents/k_diffusion/gc_sampling.py community (archive-listed) unverified MIT (permissive) · 3f6adafb3e149eb3 · report
register_corrector identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · a05b1d0cf3f508b4 · report
register_predictor identical code first harvested elsewhere ran · our draft was wrong licence of this copy not recorded · 473066ddf62a075a · report

Tasks

ColorizationDensity EstimationImage GenerationImage InpaintingUnconditional Image Generation

Results from the paper archive 2025-07-28

TaskDatasetModelMetricValueRank at snapshotLeaderboardReport
Density Estimation CIFAR-10 score SDE NLL (bits/dim) 2.99 #8 of 15 Archive leaderboard report

Ranks are positions in the archive's leaderboards as they stood at the 2025-07-28 snapshot. Results published since then are not among these rows, so a rank here is not a current standing.

Methods

Diffusion

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