{"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/towards-a-mechanistic-explanation-of","title":"Towards a Mechanistic Explanation of Diffusion Model Generalization","arxiv_id":"2411.19339","date":"2024-11-28","proceeding":null,"authors":["Matthew Niedoba","Berend Zwartsenberg","Kevin Murphy","Frank Wood"],"abstract":"We propose a mechanism for diffusion generalization based on local denoising operations. Through analysis of network and empirical denoisers, we identify local inductive biases in diffusion models. We demonstrate that local denoising operations can be used to approximate the optimal diffusion denoiser. Using a collection of patch-based, local empirical denoisers, we construct a denoiser which approximates the generalization behaviour of diffusion model denoisers over forward and reverse diffusion processes.","url_abs":"https://arxiv.org/abs/2411.19339v1","url_pdf":"https://arxiv.org/pdf/2411.19339v1.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":[],"tasks":[{"task_slug":"denoising","task_name":"Denoising"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2411.19339","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.19339"}},"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":"deterministic:regex_extraction","url":"https://github.com/plai-group/pspc","reach":null}],"summary":{"ran":2,"ran_draft_wrong":5,"ran_honours":1,"unverified":7},"by_repo_kind":{"found_in_text":{"samples":15,"ran":8,"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":15,"samples":[{"code_sha256_prefix":"671703cffbd3bcf8","entry":"AttributeDict","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"671703cffbd3bcf8"}},{"code_sha256_prefix":"eb9bc2f6d4a0b703","entry":"Dataset","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"eb9bc2f6d4a0b703"}},{"code_sha256_prefix":"c206f8250e6c38ef","entry":"default_preprocess_fn","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.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":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c206f8250e6c38ef"}},{"code_sha256_prefix":"6d594e3c9e3867d5","entry":"edm_t_schedule","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6d594e3c9e3867d5"}},{"code_sha256_prefix":"c067dc8bc7ce4100","entry":"empirical_pmean","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c067dc8bc7ce4100"}},{"code_sha256_prefix":"eeadc0c4d1f385ed","entry":"mask_from_heatmap","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"eeadc0c4d1f385ed"}},{"code_sha256_prefix":"d2167331251a6013","entry":"masked_crop","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d2167331251a6013"}},{"code_sha256_prefix":"cbfa55c15994f341","entry":"masked_uncrop","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"cbfa55c15994f341"}},{"code_sha256_prefix":"4582401459927827","entry":"EmpiricalDenoiser","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4582401459927827"}},{"code_sha256_prefix":"1f987566d017a39a","entry":"GaussianDenoiser","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"1f987566d017a39a"}},{"code_sha256_prefix":"b5d71b5dfa5b86de","entry":"ImageFolderDataset","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"b5d71b5dfa5b86de"}},{"code_sha256_prefix":"17892f9791b90833","entry":"NetworkDenoiser","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"17892f9791b90833"}},{"code_sha256_prefix":"72d0325f987c4d62","entry":"PSPCFlexDenoiser","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"72d0325f987c4d62"}},{"code_sha256_prefix":"86a800aeba98b037","entry":"PSPCSquareDenoiser","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"86a800aeba98b037"}},{"code_sha256_prefix":"09b1e18a21874696","entry":"imgs_from_dataset","repo":"plai-group/pspc","repo_kind":"found_in_text","path":"pspc/denoisers.py","file_url":"https://github.com/plai-group/pspc/blob/HEAD/pspc/denoisers.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"09b1e18a21874696"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}