{"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/target-driven-distillation-consistency","title":"Target-Driven Distillation: Consistency Distillation with Target Timestep Selection and Decoupled Guidance","arxiv_id":"2409.01347","date":"2024-09-02","proceeding":null,"authors":["Cunzheng Wang","Ziyuan Guo","Yuxuan Duan","Huaxia Li","Nemo Chen","Xu Tang","Yao Hu"],"abstract":"Consistency distillation methods have demonstrated significant success in accelerating generative tasks of diffusion models. However, since previous consistency distillation methods use simple and straightforward strategies in selecting target timesteps, they usually struggle with blurs and detail losses in generated images. To address these limitations, we introduce Target-Driven Distillation (TDD), which (1) adopts a delicate selection strategy of target timesteps, increasing the training efficiency; (2) utilizes decoupled guidances during training, making TDD open to post-tuning on guidance scale during inference periods; (3) can be optionally equipped with non-equidistant sampling and x0 clipping, enabling a more flexible and accurate way for image sampling. Experiments verify that TDD achieves state-of-the-art performance in few-step generation, offering a better choice among consistency distillation models.","url_abs":"https://arxiv.org/abs/2409.01347v1","url_pdf":"https://arxiv.org/pdf/2409.01347v1.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":"target-driven-distillation-consistency","repo_url":"https://github.com/RedAIGC/Target-Driven-Distillation","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2409.01347","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2409.01347"}},"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/RedAIGC/Target-Driven-Distillation","reach":{"status":"ok"}}],"summary":{"ran_fixture":1,"ran_honours":1,"ran_draft_wrong":2,"ran":2,"unverified":5},"by_repo_kind":{"official":{"samples":11,"ran":6,"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":11,"samples":[{"code_sha256_prefix":"30befb7e4327e615","entry":"append_dims","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/SD15/train_tdd.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/SD15/train_tdd.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":2,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"30befb7e4327e615"}},{"code_sha256_prefix":"f1e3f7493aad4745","entry":"betas_for_alpha_bar","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/SD15/pcm_scheduling_ddpm_modified.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/SD15/pcm_scheduling_ddpm_modified.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f1e3f7493aad4745"}},{"code_sha256_prefix":"a15cfd7932844ef9","entry":"extract_into_tensor","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/FLUX/train_tdd.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/FLUX/train_tdd.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a15cfd7932844ef9"}},{"code_sha256_prefix":"d81c3ca69afe5db9","entry":"filter_keys","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/FLUX/dataset.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/FLUX/dataset.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d81c3ca69afe5db9"}},{"code_sha256_prefix":"6b47c0cd573d42ff","entry":"rescale_zero_terminal_snr","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/SD15/pcm_scheduling_ddpm_modified.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/SD15/pcm_scheduling_ddpm_modified.py","link_basis":"harvester_set","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":"6b47c0cd573d42ff"}},{"code_sha256_prefix":"de1d0a58cd58879a","entry":"resolve_interpolation_mode","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/FLUX/dataset.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/FLUX/dataset.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":"de1d0a58cd58879a"}},{"code_sha256_prefix":"4c7c3edd706a5541","entry":"get_module_kohya_state_dict","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/SD15/train_tdd.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/SD15/train_tdd.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":"4c7c3edd706a5541"}},{"code_sha256_prefix":"42bc8e5feeabed25","entry":"load_text_encoders","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/FLUX/train_tdd.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/FLUX/train_tdd.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":"42bc8e5feeabed25"}},{"code_sha256_prefix":"b9f150262f5c69ea","entry":"log_validation","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/FLUX/train_tdd.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/FLUX/train_tdd.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":"b9f150262f5c69ea"}},{"code_sha256_prefix":"64cf7be3b1068e77","entry":"log_validation","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/FLUX/train_tdd_adv.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/FLUX/train_tdd_adv.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":"64cf7be3b1068e77"}},{"code_sha256_prefix":"ce96308d2be7b73f","entry":"modified_forward","repo":"RedAIGC/Target-Driven-Distillation","repo_kind":"official","path":"train/FLUX/pcm_discriminator_flux.py","file_url":"https://github.com/RedAIGC/Target-Driven-Distillation/blob/HEAD/train/FLUX/pcm_discriminator_flux.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":"ce96308d2be7b73f"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}