{"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/unsupervised-image-to-image-translation-with-3","title":"Unsupervised Image-to-Image Translation with Generative Prior","arxiv_id":"2204.03641","date":"2022-04-07","proceeding":"CVPR 2022 1","authors":["Shuai Yang","Liming Jiang","Ziwei Liu","Chen Change Loy"],"abstract":"Unsupervised image-to-image translation aims to learn the translation between two visual domains without paired data. Despite the recent progress in image translation models, it remains challenging to build mappings between complex domains with drastic visual discrepancies. In this work, we present a novel framework, Generative Prior-guided UNsupervised Image-to-image Translation (GP-UNIT), to improve the overall quality and applicability of the translation algorithm. Our key insight is to leverage the generative prior from pre-trained class-conditional GANs (e.g., BigGAN) to learn rich content correspondences across various domains. We propose a novel coarse-to-fine scheme: we first distill the generative prior to capture a robust coarse-level content representation that can link objects at an abstract semantic level, based on which fine-level content features are adaptively learned for more accurate multi-level content correspondences. Extensive experiments demonstrate the superiority of our versatile framework over state-of-the-art methods in robust, high-quality and diversified translations, even for challenging and distant domains.","url_abs":"https://arxiv.org/abs/2204.03641v1","url_pdf":"https://arxiv.org/pdf/2204.03641v1.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":"unsupervised-image-to-image-translation-with-3","repo_url":"https://github.com/williamyang1991/gp-unit","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"},{"task_slug":"translation","task_name":"Translation"},{"task_slug":"unsupervised-image-to-image-translation","task_name":"Unsupervised Image-To-Image Translation"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2204.03641","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2204.03641"}},"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/williamyang1991/gp-unit","reach":null}],"summary":{"ran":5,"unverified":2},"by_repo_kind":{"official":{"samples":7,"ran":5,"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":7,"samples":[{"code_sha256_prefix":"6734931dcec17cc7","entry":"AdaResnetBlock","repo":"williamyang1991/gp-unit","repo_kind":"official","path":"model/generator.py","file_url":"https://github.com/williamyang1991/gp-unit/blob/HEAD/model/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6734931dcec17cc7"}},{"code_sha256_prefix":"60a96021346554d8","entry":"AdaptiveInstanceNorm","repo":"williamyang1991/gp-unit","repo_kind":"official","path":"model/generator.py","file_url":"https://github.com/williamyang1991/gp-unit/blob/HEAD/model/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"60a96021346554d8"}},{"code_sha256_prefix":"d5c50f47d42cfacb","entry":"BaseNetwork","repo":"williamyang1991/gp-unit","repo_kind":"official","path":"model/generator.py","file_url":"https://github.com/williamyang1991/gp-unit/blob/HEAD/model/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d5c50f47d42cfacb"}},{"code_sha256_prefix":"131798e93acd6349","entry":"DynamicSkipLayer","repo":"williamyang1991/gp-unit","repo_kind":"official","path":"model/generator.py","file_url":"https://github.com/williamyang1991/gp-unit/blob/HEAD/model/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"131798e93acd6349"}},{"code_sha256_prefix":"21bc4b3e823c7055","entry":"StyleEncoder","repo":"williamyang1991/gp-unit","repo_kind":"official","path":"model/generator.py","file_url":"https://github.com/williamyang1991/gp-unit/blob/HEAD/model/generator.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"21bc4b3e823c7055"}},{"code_sha256_prefix":"9563a56285b4b145","entry":"Generator","repo":"williamyang1991/gp-unit","repo_kind":"official","path":"model/generator.py","file_url":"https://github.com/williamyang1991/gp-unit/blob/HEAD/model/generator.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":"9563a56285b4b145"}},{"code_sha256_prefix":"e823197358496168","entry":"GeneratorLayer","repo":"williamyang1991/gp-unit","repo_kind":"official","path":"model/generator.py","file_url":"https://github.com/williamyang1991/gp-unit/blob/HEAD/model/generator.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":"e823197358496168"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}