Papers › Diffusion Models as Stochastic Quantization in Lattice Field Theory

Diffusion Models as Stochastic Quantization in Lattice Field Theory

29 Sep 2023arXiv:2309.17082archive 2025-07-28

Lingxiao Wang, Gert Aarts, Kai Zhou

In this work, we establish a direct connection between generative diffusion models (DMs) and stochastic quantization (SQ). The DM is realized by approximating the reversal of a stochastic process dictated by the Langevin equation, generating samples from a prior distribution to effectively mimic the target distribution. Using numerical simulations, we demonstrate that the DM can serve as a global sampler for generating quantum lattice field configurations in two-dimensional ϕ⁴ theory. We demonstrate that DMs can notably reduce autocorrelation times in the Markov chain, especially in the critical region where standard Markov Chain Monte-Carlo (MCMC) algorithms experience critical slowing down. The findings can potentially inspire further advancements in lattice field theory simulations, in particular in cases where it is expensive to generate large ensembles.

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

Code

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

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

anguswlx/dmassq officialmentioned in papermentioned on GitHubpytorchMIT 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

15 samples harvested; 13 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.

13ran
2unverified

Licence: 0 of the 15 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 anguswlx/dmassq. “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.

Euler_Maruyama_sampler anguswlx/dmassq/sampler.py official repository ran MIT (permissive) · 98e8305408831b32 · report
action anguswlx/dmassq/mc.py official repository ran MIT (permissive) · 295164393b62f041 · report
diffusion_coeff anguswlx/dmassq/sde.py official repository ran MIT (permissive) · c1965c68ebd4e36a · report
get_abs_mag anguswlx/dmassq/observable.py official repository ran MIT (permissive) · b010a164fe10282d · report
get_action anguswlx/dmassq/mc.py official repository ran MIT (permissive) · 3e3c5437e484e594 · report
get_drift anguswlx/dmassq/mc.py official repository ran fingerprinted MIT (permissive) · 11ac00a92305076c · report
get_mag anguswlx/dmassq/observable.py official repository ran MIT (permissive) · 2fb8f7549fd6da95 · report
grab anguswlx/dmassq/plot_sample.py official repository ran MIT (permissive) · a7d4fba206cac9de · report
jackknife anguswlx/dmassq/observable.py official repository ran fingerprinted MIT (permissive) · 3eb7d08565f61611 · report
loss_fn anguswlx/dmassq/loss.py official repository ran MIT (permissive) · 73ec3b826b113561 · report
marginal_prob_std anguswlx/dmassq/sde.py official repository ran MIT (permissive) · 725b17e24eba5db7 · report
ode_likelihood anguswlx/dmassq/likelihood.py official repository ran MIT (permissive) · 979ca6bfb895133d · report
pc_sampler anguswlx/dmassq/sampler.py official repository ran MIT (permissive) · 912afada37c424b9 · report
ode_sampler anguswlx/dmassq/sampler.py official repository unverified MIT (permissive) · 87b6c1b754a69d7f · report
prior_likelihood anguswlx/dmassq/likelihood.py official repository unverified MIT (permissive) · 5d1e48c8db4f7dcd · report

Tasks

Quantization

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