{"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/efficient-conditional-diffusion-model-with","title":"Efficient Conditional Diffusion Model with Probability Flow Sampling for Image Super-resolution","arxiv_id":"2404.10688","date":"2024-04-16","proceeding":null,"authors":["Yutao Yuan","Chun Yuan"],"abstract":"Image super-resolution is a fundamentally ill-posed problem because multiple valid high-resolution images exist for one low-resolution image. Super-resolution methods based on diffusion probabilistic models can deal with the ill-posed nature by learning the distribution of high-resolution images conditioned on low-resolution images, avoiding the problem of blurry images in PSNR-oriented methods. However, existing diffusion-based super-resolution methods have high time consumption with the use of iterative sampling, while the quality and consistency of generated images are less than ideal due to problems like color shifting. In this paper, we propose Efficient Conditional Diffusion Model with Probability Flow Sampling (ECDP) for image super-resolution. To reduce the time consumption, we design a continuous-time conditional diffusion model for image super-resolution, which enables the use of probability flow sampling for efficient generation. Additionally, to improve the consistency of generated images, we propose a hybrid parametrization for the denoiser network, which interpolates between the data-predicting parametrization and the noise-predicting parametrization for different noise scales. Moreover, we design an image quality loss as a complement to the score matching loss of diffusion models, further improving the consistency and quality of super-resolution. Extensive experiments on DIV2K, ImageNet, and CelebA demonstrate that our method achieves higher super-resolution quality than existing diffusion-based image super-resolution methods while having lower time consumption. Our code is available at https://github.com/Yuan-Yutao/ECDP.","url_abs":"https://arxiv.org/abs/2404.10688v1","url_pdf":"https://arxiv.org/pdf/2404.10688v1.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":"efficient-conditional-diffusion-model-with","repo_url":"https://github.com/yuan-yutao/ecdp","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-super-resolution","task_name":"Image Super-Resolution"},{"task_slug":"super-resolution","task_name":"Super-Resolution"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2404.10688","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.10688"}},"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/Yuan-Yutao/ECDP","reach":null}],"summary":{"ran":8,"ran_fixture":2,"ran_draft_wrong":1,"unverified":5},"by_repo_kind":{"official":{"samples":16,"ran":11,"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":16,"samples":[{"code_sha256_prefix":"2cd19342f659e6e4","entry":"Down","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2cd19342f659e6e4"}},{"code_sha256_prefix":"c9c1c679af5a07a3","entry":"ImageSizeMixin","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c9c1c679af5a07a3"}},{"code_sha256_prefix":"5027f7a4b4a5b5ba","entry":"LambdaModule","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5027f7a4b4a5b5ba"}},{"code_sha256_prefix":"473d640d3bf7db22","entry":"RRDBBlock","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"473d640d3bf7db22"}},{"code_sha256_prefix":"3da3f850aaa97045","entry":"RRDBEncoder","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3da3f850aaa97045"}},{"code_sha256_prefix":"6debad50ac5c8086","entry":"ResidualDenseBlock","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6debad50ac5c8086"}},{"code_sha256_prefix":"2c3e4f8ff1be77ee","entry":"ResnetBlock","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2c3e4f8ff1be77ee"}},{"code_sha256_prefix":"5ca993fddefc8e0f","entry":"Up","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"5ca993fddefc8e0f"}},{"code_sha256_prefix":"7fa14c14a6bd9c3d","entry":"concat","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7fa14c14a6bd9c3d"}},{"code_sha256_prefix":"6cbe3b992895f25f","entry":"make_embed","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6cbe3b992895f25f"}},{"code_sha256_prefix":"e30f8106b9af2a9a","entry":"make_rand_like","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"e30f8106b9af2a9a"}},{"code_sha256_prefix":"2716ca1085de9966","entry":"Diffusion","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2716ca1085de9966"}},{"code_sha256_prefix":"8063efbd788d043e","entry":"ECDP","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8063efbd788d043e"}},{"code_sha256_prefix":"7b146110b2a63b9a","entry":"MyConv2d","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7b146110b2a63b9a"}},{"code_sha256_prefix":"63298da102bd4a07","entry":"RRDBNet","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"63298da102bd4a07"}},{"code_sha256_prefix":"3333d8b172b7be15","entry":"UNet","repo":"Yuan-Yutao/ECDP","repo_kind":"official","path":"lib/model/ecdp.py","file_url":"https://github.com/Yuan-Yutao/ECDP/blob/HEAD/lib/model/ecdp.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"3333d8b172b7be15"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}