{"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/idiff-face-synthetic-based-face-recognition","title":"IDiff-Face: Synthetic-based Face Recognition through Fizzy Identity-Conditioned Diffusion Models","arxiv_id":"2308.04995","date":"2023-08-09","proceeding":null,"authors":["Fadi Boutros","Jonas Henry Grebe","Arjan Kuijper","Naser Damer"],"abstract":"The availability of large-scale authentic face databases has been crucial to the significant advances made in face recognition research over the past decade. However, legal and ethical concerns led to the recent retraction of many of these databases by their creators, raising questions about the continuity of future face recognition research without one of its key resources. Synthetic datasets have emerged as a promising alternative to privacy-sensitive authentic data for face recognition development. However, recent synthetic datasets that are used to train face recognition models suffer either from limitations in intra-class diversity or cross-class (identity) discrimination, leading to less optimal accuracies, far away from the accuracies achieved by models trained on authentic data. This paper targets this issue by proposing IDiff-Face, a novel approach based on conditional latent diffusion models for synthetic identity generation with realistic identity variations for face recognition training. Through extensive evaluations, our proposed synthetic-based face recognition approach pushed the limits of state-of-the-art performances, achieving, for example, 98.00% accuracy on the Labeled Faces in the Wild (LFW) benchmark, far ahead from the recent synthetic-based face recognition solutions with 95.40% and bridging the gap to authentic-based face recognition with 99.82% accuracy.","url_abs":"https://arxiv.org/abs/2308.04995v2","url_pdf":"https://arxiv.org/pdf/2308.04995v2.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":"idiff-face-synthetic-based-face-recognition","repo_url":"https://github.com/fdbtrs/IDiff-Face","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok"}}],"tasks":[{"task_slug":"face-recognition","task_name":"Face Recognition"},{"task_slug":"synthetic-face-recognition","task_name":"Synthetic Face Recognition"}],"methods":[{"method_slug":"diffusion","method_name":"Diffusion"},{"method_slug":"elasticface","method_name":"ElasticFace"},{"method_slug":"latent-diffusion-model","method_name":"Latent Diffusion Model"}],"datasets_introduced":[{"slug":"idifface","name":"IDiff-Face","full_name":""}],"methods_introduced":[],"results":[{"leaderboard":"/sota/synthetic-face-recognition-on-agedb-30","task":"Synthetic Face Recognition","dataset":"AgeDB-30","model":"IDiff-Face","rank_in_archive_order":2,"of":3,"metrics":{"Accuracy":"0.8643"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-calfw","task":"Synthetic Face Recognition","dataset":"CALFW","model":"IDiff-Face","rank_in_archive_order":2,"of":3,"metrics":{"Accuracy":"0.9065"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-cfp-fp","task":"Synthetic Face Recognition","dataset":"CFP-FP","model":"IDiff-Face","rank_in_archive_order":3,"of":3,"metrics":{"Accuracy":"0.8547"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-cplfw","task":"Synthetic Face Recognition","dataset":"CPLFW","model":"IDiff-Face","rank_in_archive_order":3,"of":3,"metrics":{"Accuracy":"0.8045"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-lfw","task":"Synthetic Face Recognition","dataset":"LFW","model":"IDiff-Face","rank_in_archive_order":2,"of":3,"metrics":{"Accuracy":"0.98"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2308.04995","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2308.04995"}},"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/fdbtrs/IDiff-Face","reach":{"status":"ok"}}],"summary":{"ran":15,"ran_draft_wrong":3,"ran_honours":1,"unverified":2},"by_repo_kind":{"official":{"samples":21,"ran":19,"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":21,"samples":[{"code_sha256_prefix":"08aa093fe6257c67","entry":"ShearX","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/utils/FAA_policy.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/utils/FAA_policy.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":"08aa093fe6257c67"}},{"code_sha256_prefix":"37111f89a7fe93fa","entry":"ShearY","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/utils/FAA_policy.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/utils/FAA_policy.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":"37111f89a7fe93fa"}},{"code_sha256_prefix":"695b655d8de6ed26","entry":"TranslateX","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/utils/FAA_policy.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/utils/FAA_policy.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":"695b655d8de6ed26"}},{"code_sha256_prefix":"605d9b3167169c2e","entry":"check_for_folder_structure","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/moco/data_utils.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/moco/data_utils.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":"605d9b3167169c2e"}},{"code_sha256_prefix":"158bf4c3a5f11f04","entry":"conv1x1","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/backbones/iresnet.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/backbones/iresnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"158bf4c3a5f11f04"}},{"code_sha256_prefix":"9fd654ad680f6c6e","entry":"conv1x1","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/backbones/utils.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/backbones/utils.py","link_basis":"harvester_set","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":"9fd654ad680f6c6e"}},{"code_sha256_prefix":"29df79c9fdb0cee8","entry":"conv3x3","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/backbones/iresnet.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/backbones/iresnet.py","link_basis":"harvester_set","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"29df79c9fdb0cee8"}},{"code_sha256_prefix":"be7e40142c49c8be","entry":"conv3x3","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/backbones/utils.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/backbones/utils.py","link_basis":"harvester_set","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":"be7e40142c49c8be"}},{"code_sha256_prefix":"2829b5bb7396d631","entry":"find_classes_with_limited_width","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/limited_image_folder_dataset.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/limited_image_folder_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":"2829b5bb7396d631"}},{"code_sha256_prefix":"4c9000726845f1ba","entry":"get_activation_layer","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/backbones/activation.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/backbones/activation.py","link_basis":"harvester_set","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":"4c9000726845f1ba"}},{"code_sha256_prefix":"c54fea429589425d","entry":"l2_norm","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/utils/losses.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/utils/losses.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":"c54fea429589425d"}},{"code_sha256_prefix":"b88b129a2a5573a0","entry":"load_folder_morphing_paths","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/moco/data_utils.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/moco/data_utils.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":"b88b129a2a5573a0"}},{"code_sha256_prefix":"16e292649a23697f","entry":"load_img_paths","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"extract_face_embeddings_from_dir.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/extract_face_embeddings_from_dir.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":"16e292649a23697f"}},{"code_sha256_prefix":"eafe630ea558977d","entry":"load_syn_mophing_paths","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/moco/data_utils.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/moco/data_utils.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":"eafe630ea558977d"}},{"code_sha256_prefix":"01343ad27376586e","entry":"lr_step_func","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/config/config.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/config/config.py","link_basis":"first_harvest_node","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":"01343ad27376586e"}},{"code_sha256_prefix":"b6b73254ed2be118","entry":"make_dataset_with_limited_Depth","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/limited_image_folder_dataset.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/limited_image_folder_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":"b6b73254ed2be118"}},{"code_sha256_prefix":"f6be833ba409926f","entry":"pil_loader","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/limited_image_folder_dataset.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/limited_image_folder_dataset.py","link_basis":"harvester_set","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"f6be833ba409926f"}},{"code_sha256_prefix":"dd12981b28dec323","entry":"round_channels","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/backbones/utils.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/backbones/utils.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":"dd12981b28dec323"}},{"code_sha256_prefix":"a3986dc0bf43991e","entry":"sim_matrix","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/moco/builder.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/moco/builder.py","link_basis":"first_harvest_node","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":"a3986dc0bf43991e"}},{"code_sha256_prefix":"73cecca9f3575f09","entry":"concat_all_gather","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/moco/builder.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/moco/builder.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":"73cecca9f3575f09"}},{"code_sha256_prefix":"318ed28c665f6714","entry":"iresnet18","repo":"fdbtrs/IDiff-Face","repo_kind":"official","path":"face_recognition_training/backbones/iresnet.py","file_url":"https://github.com/fdbtrs/IDiff-Face/blob/HEAD/face_recognition_training/backbones/iresnet.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":"318ed28c665f6714"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}