{"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/score-identity-distillation-exponentially","title":"Score identity Distillation: Exponentially Fast Distillation of Pretrained Diffusion Models for One-Step Generation","arxiv_id":"2404.04057","date":"2024-04-05","proceeding":null,"authors":["Mingyuan Zhou","Huangjie Zheng","Zhendong Wang","Mingzhang Yin","Hai Huang"],"abstract":"We introduce Score identity Distillation (SiD), an innovative data-free method that distills the generative capabilities of pretrained diffusion models into a single-step generator. SiD not only facilitates an exponentially fast reduction in Fr\\'echet inception distance (FID) during distillation but also approaches or even exceeds the FID performance of the original teacher diffusion models. By reformulating forward diffusion processes as semi-implicit distributions, we leverage three score-related identities to create an innovative loss mechanism. This mechanism achieves rapid FID reduction by training the generator using its own synthesized images, eliminating the need for real data or reverse-diffusion-based generation, all accomplished within significantly shortened generation time. Upon evaluation across four benchmark datasets, the SiD algorithm demonstrates high iteration efficiency during distillation and surpasses competing distillation approaches, whether they are one-step or few-step, data-free, or dependent on training data, in terms of generation quality. This achievement not only redefines the benchmarks for efficiency and effectiveness in diffusion distillation but also in the broader field of diffusion-based generation. The PyTorch implementation is available at https://github.com/mingyuanzhou/SiD","url_abs":"https://arxiv.org/abs/2404.04057v3","url_pdf":"https://arxiv.org/pdf/2404.04057v3.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":"score-identity-distillation-exponentially","repo_url":"https://github.com/mingyuanzhou/sid","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"score-identity-distillation-exponentially","repo_url":"https://github.com/mingyuanzhou/sid-lsg","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"image-generation","task_name":"Image Generation"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"}],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/image-generation-on-afhq-v2-64x64","task":"Image Generation","dataset":"AFHQ-v2 64x64","model":"SiD","rank_in_archive_order":2,"of":2,"metrics":{"FID":"1.711","NFE":"1"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-cifar-10","task":"Image Generation","dataset":"CIFAR-10","model":"SiD","rank_in_archive_order":8,"of":78,"metrics":{"FID":"1.71","NFE":"1"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-ffhq-64x64","task":"Image Generation","dataset":"FFHQ 64x64","model":"SiD","rank_in_archive_order":2,"of":2,"metrics":{"FID":"1.55","NFE":"1"},"uses_additional_data":false},{"leaderboard":"/sota/image-generation-on-imagenet-64x64","task":"Image Generation","dataset":"ImageNet 64x64","model":"SiD","rank_in_archive_order":13,"of":65,"metrics":{"FID":"1.524","NFE":"1"},"uses_additional_data":false}],"syntology":{"syntology_url":"https://syntology.ai/paper/2404.04057","atlas_url":"https://app.syntology.ai/?focus=2404.04057","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2404.04057"}},"developers":"https://syntology.ai/developers","read_at":"2026-09-25T09:33:49+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/mingyuanzhou/SiD","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mingyuanzhou/sid-lsg","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/mingyuanzhou/sid","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_honours":3,"ran":5,"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"official":{"samples":15,"ran":9,"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":"68b5e143931956cf","entry":"calculate_fid_from_inception_stats","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"sid_generate.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/sid_generate.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"68b5e143931956cf"}},{"code_sha256_prefix":"790b320b90341326","entry":"compute_distances","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_precision_recall.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_precision_recall.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"790b320b90341326"}},{"code_sha256_prefix":"a2b45afa097b55b6","entry":"file_ext","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"dataset_tool.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/dataset_tool.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":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a2b45afa097b55b6"}},{"code_sha256_prefix":"147acc22e758c8e5","entry":"is_valid_metric","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_metric_main.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_metric_main.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"147acc22e758c8e5"}},{"code_sha256_prefix":"dd1dc700e87f36cc","entry":"maybe_min","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"dataset_tool.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/dataset_tool.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":true,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"dd1dc700e87f36cc"}},{"code_sha256_prefix":"cacd4f6ec202d9b4","entry":"parse_int_list","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"sid_metrics.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/sid_metrics.py","link_basis":"plan_row","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"cacd4f6ec202d9b4"}},{"code_sha256_prefix":"07b21b35ecb4815c","entry":"parse_tuple","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"dataset_tool.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/dataset_tool.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"07b21b35ecb4815c"}},{"code_sha256_prefix":"e574c21e7f007b61","entry":"register_metric","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_metric_main.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_metric_main.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e574c21e7f007b61"}},{"code_sha256_prefix":"41d0a46d745163d4","entry":"setup_snapshot_image_grid","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"training/sid_training_loop.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/training/sid_training_loop.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"41d0a46d745163d4"}},{"code_sha256_prefix":"a7058b1ccaa13516","entry":"compute_fid","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_frechet_inception_distance.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_frechet_inception_distance.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a7058b1ccaa13516"}},{"code_sha256_prefix":"47c7a1249e324f74","entry":"compute_is","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_inception_score.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_inception_score.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"47c7a1249e324f74"}},{"code_sha256_prefix":"5dd3f075a53b2c58","entry":"compute_kid","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_kernel_inception_distance.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_kernel_inception_distance.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"5dd3f075a53b2c58"}},{"code_sha256_prefix":"b657531c701b1786","entry":"compute_pr","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_precision_recall.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_precision_recall.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"b657531c701b1786"}},{"code_sha256_prefix":"c127dc46d6966547","entry":"get_feature_detector_name","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"metrics/sid_metric_utils.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/metrics/sid_metric_utils.py","link_basis":"harvester_set","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"c127dc46d6966547"}},{"code_sha256_prefix":"4c9c2d2ca6c238d8","entry":"sid_sampler","repo":"mingyuanzhou/SiD","repo_kind":"official","path":"sid_generate.py","file_url":"https://github.com/mingyuanzhou/SiD/blob/HEAD/sid_generate.py","link_basis":"plan_row","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"4c9c2d2ca6c238d8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}