{"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/generalized-consistency-trajectory-models-for","title":"Generalized Consistency Trajectory Models for Image Manipulation","arxiv_id":"2403.12510","date":"2024-03-19","proceeding":null,"authors":["Beomsu Kim","JaeMin Kim","Jeongsol Kim","Jong Chul Ye"],"abstract":"Diffusion models (DMs) excel in unconditional generation, as well as on applications such as image editing and restoration. The success of DMs lies in the iterative nature of diffusion: diffusion breaks down the complex process of mapping noise to data into a sequence of simple denoising tasks. Moreover, we are able to exert fine-grained control over the generation process by injecting guidance terms into each denoising step. However, the iterative process is also computationally intensive, often taking from tens up to thousands of function evaluations. Although consistency trajectory models (CTMs) enable traversal between any time points along the probability flow ODE (PFODE) and score inference with a single function evaluation, CTMs only allow translation from Gaussian noise to data. This work aims to unlock the full potential of CTMs by proposing generalized CTMs (GCTMs), which translate between arbitrary distributions via ODEs. We discuss the design space of GCTMs and demonstrate their efficacy in various image manipulation tasks such as image-to-image translation, restoration, and editing.","url_abs":"https://arxiv.org/abs/2403.12510v3","url_pdf":"https://arxiv.org/pdf/2403.12510v3.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":"generalized-consistency-trajectory-models-for","repo_url":"https://github.com/1202kbs/gctm","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"denoising","task_name":"Denoising"},{"task_slug":"image-manipulation","task_name":"Image Manipulation"},{"task_slug":"image-to-image-translation","task_name":"Image-to-Image Translation"},{"task_slug":"translation","task_name":"Translation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2403.12510","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2403.12510"}},"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/1202kbs/gctm","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_draft_wrong":2,"ran":7,"ran_fixture":1,"unverified":5},"by_repo_kind":{"official":{"samples":15,"ran":10,"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":"674eca7b9e1b6439","entry":"format_time","repo":"1202kbs/gctm","repo_kind":"official","path":"dnnlib/util.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/dnnlib/util.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"674eca7b9e1b6439"}},{"code_sha256_prefix":"32af001972a0699f","entry":"format_time_brief","repo":"1202kbs/gctm","repo_kind":"official","path":"dnnlib/util.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/dnnlib/util.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"32af001972a0699f"}},{"code_sha256_prefix":"6cebe476fe7e6252","entry":"get_2d_loader","repo":"1202kbs/gctm","repo_kind":"official","path":"data.py","file_url":"https://github.com/1202kbs/gctm/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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"6cebe476fe7e6252"}},{"code_sha256_prefix":"0ffee88e5ef7fa6b","entry":"get_distance","repo":"1202kbs/gctm","repo_kind":"official","path":"distances.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/distances.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":"0ffee88e5ef7fa6b"}},{"code_sha256_prefix":"7846a5e49340ef42","entry":"get_img_loader","repo":"1202kbs/gctm","repo_kind":"official","path":"data.py","file_url":"https://github.com/1202kbs/gctm/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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"7846a5e49340ef42"}},{"code_sha256_prefix":"c052db53a84ba714","entry":"l1_loss","repo":"1202kbs/gctm","repo_kind":"official","path":"distances.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/distances.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":"c052db53a84ba714"}},{"code_sha256_prefix":"ec457ac053538c68","entry":"l2_loss","repo":"1202kbs/gctm","repo_kind":"official","path":"distances.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/distances.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"ec457ac053538c68"}},{"code_sha256_prefix":"07478fee0bdf4ca1","entry":"register_coupling","repo":"1202kbs/gctm","repo_kind":"official","path":"couplings.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/couplings.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":"07478fee0bdf4ca1"}},{"code_sha256_prefix":"e040fea4d52c6de0","entry":"toy_generator","repo":"1202kbs/gctm","repo_kind":"official","path":"data.py","file_url":"https://github.com/1202kbs/gctm/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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e040fea4d52c6de0"}},{"code_sha256_prefix":"d41a4250066bce93","entry":"weight_init","repo":"1202kbs/gctm","repo_kind":"official","path":"networks.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/networks.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"d41a4250066bce93"}},{"code_sha256_prefix":"9d31d2c4cd16bb2d","entry":"ask_yes_no","repo":"1202kbs/gctm","repo_kind":"official","path":"dnnlib/util.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/dnnlib/util.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":"9d31d2c4cd16bb2d"}},{"code_sha256_prefix":"446d62bdb74670fd","entry":"calculate_activation_statistics","repo":"1202kbs/gctm","repo_kind":"official","path":"pytorch_fid/fid_score.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/pytorch_fid/fid_score.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":"446d62bdb74670fd"}},{"code_sha256_prefix":"0def50a351111624","entry":"calculate_frechet_distance","repo":"1202kbs/gctm","repo_kind":"official","path":"pytorch_fid/fid_score.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/pytorch_fid/fid_score.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":"RAISES","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"0def50a351111624"}},{"code_sha256_prefix":"df6ccabbf9e086c5","entry":"get_activations","repo":"1202kbs/gctm","repo_kind":"official","path":"pytorch_fid/fid_score.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/pytorch_fid/fid_score.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":"df6ccabbf9e086c5"}},{"code_sha256_prefix":"e122d5ef4b3d420e","entry":"get_coupling","repo":"1202kbs/gctm","repo_kind":"official","path":"couplings.py","file_url":"https://github.com/1202kbs/gctm/blob/HEAD/couplings.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":"e122d5ef4b3d420e"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}