{"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/exploiting-diffusion-prior-for-generalizable","title":"Exploiting Diffusion Prior for Generalizable Dense Prediction","arxiv_id":"2311.18832","date":"2023-11-30","proceeding":"CVPR 2024 1","authors":["Hung-Yu Tseng","Hsin-Ying Lee","Ming-Hsuan Yang"],"abstract":"Contents generated by recent advanced Text-to-Image (T2I) diffusion models are sometimes too imaginative for existing off-the-shelf dense predictors to estimate due to the immitigable domain gap. We introduce DMP, a pipeline utilizing pre-trained T2I models as a prior for dense prediction tasks. To address the misalignment between deterministic prediction tasks and stochastic T2I models, we reformulate the diffusion process through a sequence of interpolations, establishing a deterministic mapping between input RGB images and output prediction distributions. To preserve generalizability, we use low-rank adaptation to fine-tune pre-trained models. Extensive experiments across five tasks, including 3D property estimation, semantic segmentation, and intrinsic image decomposition, showcase the efficacy of the proposed method. Despite limited-domain training data, the approach yields faithful estimations for arbitrary images, surpassing existing state-of-the-art algorithms.","url_abs":"https://arxiv.org/abs/2311.18832v2","url_pdf":"https://arxiv.org/pdf/2311.18832v2.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":"exploiting-diffusion-prior-for-generalizable","repo_url":"https://github.com/shinying/dmp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"exploiting-diffusion-prior-for-generalizable","repo_url":"https://github.com/shinying/dest","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"intrinsic-image-decomposition","task_name":"Intrinsic Image Decomposition"},{"task_slug":"prediction","task_name":"Prediction"},{"task_slug":"semantic-segmentation","task_name":"Semantic Segmentation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2311.18832","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2311.18832"}},"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/shinying/dest","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/shinying/dmp","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_honours":1,"ran":3,"unverified":1},"by_repo_kind":{"official":{"samples":4,"ran":4,"repositories":1},"listed":{"samples":1,"ran":0,"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":"f1e3f7493aad4745","entry":"betas_for_alpha_bar","repo":"shinying/dmp","repo_kind":"official","path":"ddim.py","file_url":"https://github.com/shinying/dmp/blob/HEAD/ddim.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"f1e3f7493aad4745"}},{"code_sha256_prefix":"7247c2ed5c50d884","entry":"compute_snr","repo":"shinying/dmp","repo_kind":"official","path":"utils.py","file_url":"https://github.com/shinying/dmp/blob/HEAD/utils.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"7247c2ed5c50d884"}},{"code_sha256_prefix":"6b47c0cd573d42ff","entry":"rescale_zero_terminal_snr","repo":"shinying/dmp","repo_kind":"official","path":"ddim.py","file_url":"https://github.com/shinying/dmp/blob/HEAD/ddim.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"6b47c0cd573d42ff"}},{"code_sha256_prefix":"e0633ffacad5c98a","entry":"tokenize_caption","repo":"shinying/dmp","repo_kind":"official","path":"data.py","file_url":"https://github.com/shinying/dmp/blob/HEAD/data.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e0633ffacad5c98a"}},{"code_sha256_prefix":"57a540dd0e7dc627","entry":"get_pretrained_tokenizer","repo":"shinying/dest","repo_kind":"listed","path":"src/datamodules/datamodule_base.py","file_url":"https://github.com/shinying/dest/blob/HEAD/src/datamodules/datamodule_base.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":"57a540dd0e7dc627"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}