{"about":{"site":"https://codewithpapers.app","non_affiliation":"Code with Papers and Syntology are not affiliated with, endorsed by, or sponsored by Papers with Code, Meta, or the pwc-archive mirror.","licence":"CC BY-SA 4.0","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","attribution":"https://codewithpapers.app/attribution","modified":"archive material modified by Syntology; see the attribution page"},"url":"/paper/deep-unsupervised-learning-using","title":"Deep Unsupervised Learning using Nonequilibrium Thermodynamics","arxiv_id":"1503.03585","date":"2015-03-12","proceeding":null,"authors":["Jascha Sohl-Dickstein","Eric A. Weiss","Niru Maheswaranathan","Surya Ganguli"],"abstract":"A central problem in machine learning involves modeling complex data-sets\nusing highly flexible families of probability distributions in which learning,\nsampling, inference, and evaluation are still analytically or computationally\ntractable. Here, we develop an approach that simultaneously achieves both\nflexibility and tractability. The essential idea, inspired by non-equilibrium\nstatistical physics, is to systematically and slowly destroy structure in a\ndata distribution through an iterative forward diffusion process. We then learn\na reverse diffusion process that restores structure in data, yielding a highly\nflexible and tractable generative model of the data. This approach allows us to\nrapidly learn, sample from, and evaluate probabilities in deep generative\nmodels with thousands of layers or time steps, as well as to compute\nconditional and posterior probabilities under the learned model. We\nadditionally release an open source reference implementation of the algorithm.","url_abs":"http://arxiv.org/abs/1503.03585v8","url_pdf":"http://arxiv.org/pdf/1503.03585v8.pdf","source":{"archive":"pwc-archive (Hugging Face), CC BY-SA 4.0","snapshot":"2025-07-28","licence_url":"https://creativecommons.org/licenses/by-sa/4.0/legalcode","row_kind":"abstracts"},"code_links":[{"paper_slug":"deep-unsupervised-learning-using","repo_url":"https://github.com/Sohl-Dickstein/Diffusion-Probabilistic-Models","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"deep-unsupervised-learning-using","repo_url":"https://github.com/HUJI-Deep/Diffusion-Probabilistic-Models","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"deep-unsupervised-learning-using","repo_url":"https://github.com/acids-ircam/diffusion_models","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}},{"paper_slug":"deep-unsupervised-learning-using","repo_url":"https://github.com/albarji/toy-diffusion","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"unanswered"}},{"paper_slug":"deep-unsupervised-learning-using","repo_url":"https://github.com/horenbergerb/BernoulliDiffusion","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"deep-unsupervised-learning-using","repo_url":"https://github.com/kpandey008/DiffuseVAE","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":null},{"paper_slug":"deep-unsupervised-learning-using","repo_url":"https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code/tree/main/Deep_Unsupervised_Learning_using_Nonequilibrium_Thermodynamics","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1503.03585","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1503.03585"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-24T18:15:14+00:00","read_at_is":"when the build read Syntology's graph, not when any sample ran","claim":"Per-sample execution status on synthesized fixtures; not a correctness claim about the paper. Samples come from repositories linked to the paper, official or community; repo_kind says which.","repos":[{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/HUJI-Deep/Diffusion-Probabilistic-Models","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code/tree/main/Deep_Unsupervised_Learning_using_Nonequilibrium_Thermodynamics","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/acids-ircam/diffusion_models","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/albarji/toy-diffusion","reach":{"status":"unanswered"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/horenbergerb/BernoulliDiffusion","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/kpandey008/DiffuseVAE","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/Sohl-Dickstein/Diffusion-Probabilistic-Models","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":4,"ran_honours":2,"ran_draft_wrong":1,"unverified":4},"by_repo_kind":{"official":{"samples":3,"ran":0,"repositories":1},"listed":{"samples":8,"ran":7,"repositories":4}},"repo_kind_vocabulary":{"official":"The archive marks this repository official for the paper","named_in_paper":"The archive records that the paper mentions this repository; it is not marked official","listed":"In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper","found_in_text":"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"},"n_pointer_only_for_licence":0,"samples":[{"code_sha256_prefix":"1a6a63f698fcb2e8","entry":"BernoulliDiffusionModel","repo":"horenbergerb/BernoulliDiffusion","repo_kind":"listed","path":"BernoulliDiffusion/diffusion_model.py","file_url":"https://github.com/horenbergerb/BernoulliDiffusion/blob/HEAD/BernoulliDiffusion/diffusion_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"1a6a63f698fcb2e8"}},{"code_sha256_prefix":"6621cc6096241569","entry":"DDPM","repo":"kpandey008/DiffuseVAE","repo_kind":"listed","path":"main/models/diffusion/ddpm.py","file_url":"https://github.com/kpandey008/DiffuseVAE/blob/HEAD/main/models/diffusion/ddpm.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6621cc6096241569"}},{"code_sha256_prefix":"52bd310372d63401","entry":"DiffusionModel","repo":"MaximeVandegar/Papers-in-100-Lines-of-Code","repo_kind":"listed","path":"Deep_Unsupervised_Learning_using_Nonequilibrium_Thermodynamics/diffusion_models.py","file_url":"https://github.com/MaximeVandegar/Papers-in-100-Lines-of-Code/blob/HEAD/Deep_Unsupervised_Learning_using_Nonequilibrium_Thermodynamics/diffusion_models.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"52bd310372d63401"}},{"code_sha256_prefix":"0039aa07f7513577","entry":"ReverseModel","repo":"horenbergerb/BernoulliDiffusion","repo_kind":"listed","path":"BernoulliDiffusion/diffusion_model.py","file_url":"https://github.com/horenbergerb/BernoulliDiffusion/blob/HEAD/BernoulliDiffusion/diffusion_model.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0039aa07f7513577"}},{"code_sha256_prefix":"e99a47873ccecb7b","entry":"entropy_of_prior","repo":"horenbergerb/BernoulliDiffusion","repo_kind":"listed","path":"BernoulliDiffusion/diffusion_model.py","file_url":"https://github.com/horenbergerb/BernoulliDiffusion/blob/HEAD/BernoulliDiffusion/diffusion_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e99a47873ccecb7b"}},{"code_sha256_prefix":"15a79efb54e1e559","entry":"entropy_of_q_conditional","repo":"horenbergerb/BernoulliDiffusion","repo_kind":"listed","path":"BernoulliDiffusion/diffusion_model.py","file_url":"https://github.com/horenbergerb/BernoulliDiffusion/blob/HEAD/BernoulliDiffusion/diffusion_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"15a79efb54e1e559"}},{"code_sha256_prefix":"e14a27c300c7ad9e","entry":"kl_div","repo":"horenbergerb/BernoulliDiffusion","repo_kind":"listed","path":"BernoulliDiffusion/diffusion_model.py","file_url":"https://github.com/horenbergerb/BernoulliDiffusion/blob/HEAD/BernoulliDiffusion/diffusion_model.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e14a27c300c7ad9e"}},{"code_sha256_prefix":"c08473571e4bbb41","entry":"create_log_dir","repo":"Sohl-Dickstein/Diffusion-Probabilistic-Models","repo_kind":"official","path":"util.py","file_url":"https://github.com/Sohl-Dickstein/Diffusion-Probabilistic-Models/blob/HEAD/util.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"c08473571e4bbb41"}},{"code_sha256_prefix":"698d45232f9e1612","entry":"diffusion_step","repo":"Sohl-Dickstein/Diffusion-Probabilistic-Models","repo_kind":"official","path":"sampler.py","file_url":"https://github.com/Sohl-Dickstein/Diffusion-Probabilistic-Models/blob/HEAD/sampler.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"698d45232f9e1612"}},{"code_sha256_prefix":"250a02207fa026d1","entry":"generate_inpaint_mask","repo":"Sohl-Dickstein/Diffusion-Probabilistic-Models","repo_kind":"official","path":"sampler.py","file_url":"https://github.com/Sohl-Dickstein/Diffusion-Probabilistic-Models/blob/HEAD/sampler.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"250a02207fa026d1"}},{"code_sha256_prefix":"b886c3714b17d9c0","entry":"inpaint_masked_samples","repo":"HUJI-Deep/Diffusion-Probabilistic-Models","repo_kind":"listed","path":"sampler.py","file_url":"https://github.com/HUJI-Deep/Diffusion-Probabilistic-Models/blob/HEAD/sampler.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b886c3714b17d9c0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}