{"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/learning-diffusion-priors-from-observations","title":"Learning Diffusion Priors from Observations by Expectation Maximization","arxiv_id":"2405.13712","date":"2024-05-22","proceeding":null,"authors":["François Rozet","Gérôme Andry","François Lanusse","Gilles Louppe"],"abstract":"Diffusion models recently proved to be remarkable priors for Bayesian inverse problems. However, training these models typically requires access to large amounts of clean data, which could prove difficult in some settings. In this work, we present a novel method based on the expectation-maximization algorithm for training diffusion models from incomplete and noisy observations only. Unlike previous works, our method leads to proper diffusion models, which is crucial for downstream tasks. As part of our method, we propose and motivate an improved posterior sampling scheme for unconditional diffusion models. We present empirical evidence supporting the effectiveness of our method.","url_abs":"https://arxiv.org/abs/2405.13712v4","url_pdf":"https://arxiv.org/pdf/2405.13712v4.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":"learning-diffusion-priors-from-observations","repo_url":"https://github.com/francois-rozet/diffusion-priors","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"learning-diffusion-priors-from-observations","repo_url":"https://github.com/francois-rozet/mmps-benchmark","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"learning-diffusion-priors-from-observations","repo_url":"https://github.com/probabilists/azula","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2405.13712","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2405.13712"}},"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/francois-rozet/mmps-benchmark","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/probabilists/azula","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/francois-rozet/diffusion-priors","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":3,"unverified":4},"by_repo_kind":{"official":{"samples":7,"ran":3,"repositories":1}},"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":"16054a7e9332b4ef","entry":"flatten","repo":"francois-rozet/diffusion-priors","repo_kind":"official","path":"diem/image.py","file_url":"https://github.com/francois-rozet/diffusion-priors/blob/HEAD/diem/image.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":"16054a7e9332b4ef"}},{"code_sha256_prefix":"370542997ffdf9af","entry":"from_pil","repo":"francois-rozet/diffusion-priors","repo_kind":"official","path":"diem/image.py","file_url":"https://github.com/francois-rozet/diffusion-priors/blob/HEAD/diem/image.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":"370542997ffdf9af"}},{"code_sha256_prefix":"d253b2b50caf68a2","entry":"unflatten","repo":"francois-rozet/diffusion-priors","repo_kind":"official","path":"diem/image.py","file_url":"https://github.com/francois-rozet/diffusion-priors/blob/HEAD/diem/image.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":"d253b2b50caf68a2"}},{"code_sha256_prefix":"76f870f8a9c8973f","entry":"complex2real","repo":"francois-rozet/diffusion-priors","repo_kind":"official","path":"experiments/fastmri/utils.py","file_url":"https://github.com/francois-rozet/diffusion-priors/blob/HEAD/experiments/fastmri/utils.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":"76f870f8a9c8973f"}},{"code_sha256_prefix":"14a7655fed5a9863","entry":"fft2c","repo":"francois-rozet/diffusion-priors","repo_kind":"official","path":"experiments/fastmri/utils.py","file_url":"https://github.com/francois-rozet/diffusion-priors/blob/HEAD/experiments/fastmri/utils.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":"14a7655fed5a9863"}},{"code_sha256_prefix":"7f433faec69e336f","entry":"measure","repo":"francois-rozet/diffusion-priors","repo_kind":"official","path":"experiments/cifar/utils.py","file_url":"https://github.com/francois-rozet/diffusion-priors/blob/HEAD/experiments/cifar/utils.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":"7f433faec69e336f"}},{"code_sha256_prefix":"2515c9851eed0df9","entry":"real2complex","repo":"francois-rozet/diffusion-priors","repo_kind":"official","path":"experiments/fastmri/utils.py","file_url":"https://github.com/francois-rozet/diffusion-priors/blob/HEAD/experiments/fastmri/utils.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":"2515c9851eed0df9"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}