{"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/arbitrary-steps-image-super-resolution-via","title":"Arbitrary-steps Image Super-resolution via Diffusion Inversion","arxiv_id":"2412.09013","date":"2024-12-12","proceeding":"CVPR 2025 1","authors":["Zongsheng Yue","Kang Liao","Chen Change Loy"],"abstract":"This study presents a new image super-resolution (SR) technique based on diffusion inversion, aiming at harnessing the rich image priors encapsulated in large pre-trained diffusion models to improve SR performance. We design a Partial noise Prediction strategy to construct an intermediate state of the diffusion model, which serves as the starting sampling point. Central to our approach is a deep noise predictor to estimate the optimal noise maps for the forward diffusion process. Once trained, this noise predictor can be used to initialize the sampling process partially along the diffusion trajectory, generating the desirable high-resolution result. Compared to existing approaches, our method offers a flexible and efficient sampling mechanism that supports an arbitrary number of sampling steps, ranging from one to five. Even with a single sampling step, our method demonstrates superior or comparable performance to recent state-of-the-art approaches. The code and model are publicly available at https://github.com/zsyOAOA/InvSR.","url_abs":"https://arxiv.org/abs/2412.09013v1","url_pdf":"https://arxiv.org/pdf/2412.09013v1.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":"arbitrary-steps-image-super-resolution-via","repo_url":"https://github.com/zsyoaoa/invsr","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"NOASSERTION"}}],"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=2412.09013","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2412.09013"}},"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/zsyoaoa/invsr","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran_draft_wrong":1,"ran_fixture":1,"unverified":6},"by_repo_kind":{"official":{"samples":8,"ran":2,"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":8,"samples":[{"code_sha256_prefix":"29e5e72bcd006dcd","entry":"spatial_average","repo":"zsyoaoa/invsr","repo_kind":"official","path":"latent_lpips/lpips.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/latent_lpips/lpips.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"29e5e72bcd006dcd"}},{"code_sha256_prefix":"8cafd18b57a4d171","entry":"upsample","repo":"zsyoaoa/invsr","repo_kind":"official","path":"latent_lpips/lpips.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/latent_lpips/lpips.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"8cafd18b57a4d171"}},{"code_sha256_prefix":"8d03354bf8eaf165","entry":"calculate_parameters","repo":"zsyoaoa/invsr","repo_kind":"official","path":"utils/util_net.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/utils/util_net.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":"8d03354bf8eaf165"}},{"code_sha256_prefix":"f78044b4759582a1","entry":"forward_chop","repo":"zsyoaoa/invsr","repo_kind":"official","path":"utils/util_net.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/utils/util_net.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":"f78044b4759582a1"}},{"code_sha256_prefix":"7e98ca1772763208","entry":"get_torch_dtype","repo":"zsyoaoa/invsr","repo_kind":"official","path":"sampler_invsr.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/sampler_invsr.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":"7e98ca1772763208"}},{"code_sha256_prefix":"a92de87455f59461","entry":"hinge_d_loss","repo":"zsyoaoa/invsr","repo_kind":"official","path":"trainer.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/trainer.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":"a92de87455f59461"}},{"code_sha256_prefix":"15df2c2c65353c11","entry":"normalize_tensor","repo":"zsyoaoa/invsr","repo_kind":"official","path":"latent_lpips/lpips.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/latent_lpips/lpips.py","link_basis":"harvester_set","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":"15df2c2c65353c11"}},{"code_sha256_prefix":"8ae6e822723ccaa0","entry":"pad_input","repo":"zsyoaoa/invsr","repo_kind":"official","path":"utils/util_net.py","file_url":"https://github.com/zsyoaoa/invsr/blob/HEAD/utils/util_net.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":"8ae6e822723ccaa0"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}