{"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/arxiv-2510-07343","title":"Local MAP Sampling for Diffusion Models","arxiv_id":"2510.07343","date":"2025-10-07","proceeding":"ICML","authors":["Shaorong Zhang","Rob Brekelmans","Greg Ver Steeg"],"abstract":"Diffusion Posterior Sampling (DPS) provides a principled Bayesian approach to inverse problems by sampling from $p(x_0 \\mid y)$. While posterior sampling is valuable for capturing uncertainty and multi-modality, many classical and practical inverse problem settings ultimately prioritize accurate point estimation -- most notably the MAP estimator, which has long served as a standard reconstruction objective in imaging and scientific applications. We introduce Local MAP Sampling (LMAPS), a new inference framework that iteratively solves local MAP subproblems along the diffusion trajectory. This perspective clarifies their connection to global MAP and DPS, offering a unified probabilistic interpretation for optimization-based methods. Building on this foundation, we develop practical algorithms with a covariance approximation motivated by a Gaussian prior assumption, and a reformulated objective for stability and interpretability. Across a broad set of image restoration and scientific tasks, LMAPS achieves state-of-the-art performance.","url_abs":"https://arxiv.org/abs/2510.07343","url_pdf":"https://arxiv.org/pdf/2510.07343","source":{"archive":null,"snapshot":"2025-07-28","note":"not in the Papers with Code archive (frozen at the snapshot)","row_kind":"graph","title_abstract_authors_date":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)"},"code_links":[],"tasks":[],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2510.07343","atlas_url":"https://app.syntology.ai/?focus=2510.07343","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2510.07343"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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":[{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/NVlabs/ffhq-dataset","reach":{"status":"ok","spdx":"NOASSERTION"}},{"mentioned_in_github":null,"is_official":null,"provenance":"deterministic:regex_extraction","mentioned_in_paper":null,"url":"https://github.com/szhan311/lmaps","reach":null}],"summary":{"ran":2,"ran_draft_wrong":1,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":7,"ran":3,"repositories":2}},"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":2,"samples":[{"code_sha256_prefix":"d63b0ad54157347d","entry":"DiffusionSampler","repo":"szhan311/lmaps","repo_kind":"found_in_text","path":"algo/lmaps.py","file_url":"https://github.com/szhan311/lmaps/blob/HEAD/algo/lmaps.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":"d63b0ad54157347d"}},{"code_sha256_prefix":"f7be343c247d4d21","entry":"Scheduler","repo":"szhan311/lmaps","repo_kind":"found_in_text","path":"algo/lmaps.py","file_url":"https://github.com/szhan311/lmaps/blob/HEAD/algo/lmaps.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":"f7be343c247d4d21"}},{"code_sha256_prefix":"11e947cd55c389b9","entry":"lmaps","repo":"szhan311/lmaps","repo_kind":"found_in_text","path":"algo/lmaps.py","file_url":"https://github.com/szhan311/lmaps/blob/HEAD/algo/lmaps.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"11e947cd55c389b9"}},{"code_sha256_prefix":"c2edba7bb220dc45","entry":"Algo","repo":"szhan311/lmaps","repo_kind":"found_in_text","path":"algo/lmaps.py","file_url":"https://github.com/szhan311/lmaps/blob/HEAD/algo/lmaps.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":"c2edba7bb220dc45"}},{"code_sha256_prefix":"4e2f73bdb5596b16","entry":"LMAPS","repo":"szhan311/lmaps","repo_kind":"found_in_text","path":"algo/lmaps.py","file_url":"https://github.com/szhan311/lmaps/blob/HEAD/algo/lmaps.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":"4e2f73bdb5596b16"}},{"code_sha256_prefix":"7498d9df51caac8b","entry":"choose_bytes_unit","repo":"NVlabs/ffhq-dataset","repo_kind":"found_in_text","path":"download_ffhq.py","file_url":"https://github.com/NVlabs/ffhq-dataset/blob/HEAD/download_ffhq.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":"7498d9df51caac8b"}},{"code_sha256_prefix":"15468ee07dd1a1d9","entry":"format_time","repo":"NVlabs/ffhq-dataset","repo_kind":"found_in_text","path":"download_ffhq.py","file_url":"https://github.com/NVlabs/ffhq-dataset/blob/HEAD/download_ffhq.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":"15468ee07dd1a1d9"}}]},"arxiv_metadata":{"licence":"arXiv metadata, CC0 1.0 (https://info.arxiv.org/help/license)","fields":["title","abstract","authors","date"],"primary_category":"cs.GR","source":"arxiv_api"},"syntology_extracted_results":null}