Papers › Diffusion Models are Evolutionary Algorithms

Diffusion Models are Evolutionary Algorithms

3 Oct 2024arXiv:2410.02543archive 2025-07-28

Yanbo Zhang, Benedikt Hartl, Hananel Hazan, Michael Levin

In a convergence of machine learning and biology, we reveal that diffusion models are evolutionary algorithms. By considering evolution as a denoising process and reversed evolution as diffusion, we mathematically demonstrate that diffusion models inherently perform evolutionary algorithms, naturally encompassing selection, mutation, and reproductive isolation. Building on this equivalence, we propose the Diffusion Evolution method: an evolutionary algorithm utilizing iterative denoising -- as originally introduced in the context of diffusion models -- to heuristically refine solutions in parameter spaces. Unlike traditional approaches, Diffusion Evolution efficiently identifies multiple optimal solutions and outperforms prominent mainstream evolutionary algorithms. Furthermore, leveraging advanced concepts from diffusion models, namely latent space diffusion and accelerated sampling, we introduce Latent Space Diffusion Evolution, which finds solutions for evolutionary tasks in high-dimensional complex parameter space while significantly reducing computational steps. This parallel between diffusion and evolution not only bridges two different fields but also opens new avenues for mutual enhancement, raising questions about open-ended evolution and potentially utilizing non-Gaussian or discrete diffusion models in the context of Diffusion Evolution.

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="2410.02543")

Code

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

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

Zhangyanbo/diffusion-evolution 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

11 samples harvested; 10 ran; 2 honoured the contract we drafted; 1 has 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
1ran · violated contract
2ran · our draft was wrong
1ran · fixture could not drive it
4ran
1unverified

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 Zhangyanbo/diffusion-evolution. “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.

BayesianEstimator Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran · metamorphic tier: deterministic fingerprinted licence not identified · pointer only · 8ba778ff16d2c4f7 · report
BayesianGenerator Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran licence not identified · pointer only · 8b585a04523c0a9d · report
DDIMScheduler Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran licence not identified · pointer only · a61f6693c4182262 · report
Identity Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran licence not identified · pointer only · 5e3a40fa59c113e0 · report
KDE Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · 0e279a90e8f567ef · report
calculate_dim zhangyanbo/diffusion-evolution/experiments/RL/diffRL/experiments.py official repository ran · violated contract fingerprinted licence not identified · pointer only · 0e088813836b4325 · report
ddim_step Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran · fixture could not drive it fingerprinted licence not identified · pointer only · fe659543339f194c · report
ddpm_sigma Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran · honoured contract licence not identified · pointer only · 0fa9c93146146013 · report
distance_matrix Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository ran · honoured contract fingerprinted licence not identified · pointer only · 809084a9f4de7e1f · report
project_to_1d Zhangyanbo/diffusion-evolution/experiments/2d_models/experiment.py official repository ran · our draft was wrong fingerprinted licence not identified · pointer only · cedb8b3d8057d15d · report
DiffEvo Zhangyanbo/diffusion-evolution/diffevo/optimizer.py official repository unverified licence not identified · pointer only · 007d6f984a8b1791 · report

Tasks

DenoisingEvolutionary Algorithms

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

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