{"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/synthdistill-face-recognition-with-knowledge","title":"SynthDistill: Face Recognition with Knowledge Distillation from Synthetic Data","arxiv_id":"2308.14852","date":"2023-08-28","proceeding":null,"authors":["Hatef Otroshi Shahreza","Anjith George","Sébastien Marcel"],"abstract":"State-of-the-art face recognition networks are often computationally expensive and cannot be used for mobile applications. Training lightweight face recognition models also requires large identity-labeled datasets. Meanwhile, there are privacy and ethical concerns with collecting and using large face recognition datasets. While generating synthetic datasets for training face recognition models is an alternative option, it is challenging to generate synthetic data with sufficient intra-class variations. In addition, there is still a considerable gap between the performance of models trained on real and synthetic data. In this paper, we propose a new framework (named SynthDistill) to train lightweight face recognition models by distilling the knowledge of a pretrained teacher face recognition model using synthetic data. We use a pretrained face generator network to generate synthetic face images and use the synthesized images to learn a lightweight student network. We use synthetic face images without identity labels, mitigating the problems in the intra-class variation generation of synthetic datasets. Instead, we propose a novel dynamic sampling strategy from the intermediate latent space of the face generator network to include new variations of the challenging images while further exploring new face images in the training batch. The results on five different face recognition datasets demonstrate the superiority of our lightweight model compared to models trained on previous synthetic datasets, achieving a verification accuracy of 99.52% on the LFW dataset with a lightweight network. The results also show that our proposed framework significantly reduces the gap between training with real and synthetic data. The source code for replicating the experiments is publicly released.","url_abs":"https://arxiv.org/abs/2308.14852v1","url_pdf":"https://arxiv.org/pdf/2308.14852v1.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":"synthdistill-face-recognition-with-knowledge","repo_url":"https://github.com/otroshi/synthdistill","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"synthdistill-face-recognition-with-knowledge","repo_url":"https://gitlab.idiap.ch/bob/bob.paper.ijcb2023_synthdistill","is_official":1,"mentioned_in_paper":0,"mentioned_in_github":0,"framework":"none","reach":null}],"tasks":[{"task_slug":"face-recognition","task_name":"Face Recognition"},{"task_slug":"knowledge-distillation","task_name":"Knowledge Distillation"},{"task_slug":"lightweight-face-recognition","task_name":"Lightweight Face Recognition"},{"task_slug":"synthetic-face-recognition","task_name":"Synthetic Face Recognition"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[{"leaderboard":"/sota/synthetic-face-recognition-on-agedb-30","task":"Synthetic Face Recognition","dataset":"AgeDB-30","model":"SynthDistill","rank_in_archive_order":1,"of":3,"metrics":{"Accuracy":"0.9493"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-calfw","task":"Synthetic Face Recognition","dataset":"CALFW","model":"SynthDistill","rank_in_archive_order":1,"of":3,"metrics":{"Accuracy":"0.9457"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-cfp-fp","task":"Synthetic Face Recognition","dataset":"CFP-FP","model":"SynthDistill","rank_in_archive_order":1,"of":3,"metrics":{"Accuracy":"0.9089"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-cplfw","task":"Synthetic Face Recognition","dataset":"CPLFW","model":"SynthDistill","rank_in_archive_order":1,"of":3,"metrics":{"Accuracy":"0.8700"},"uses_additional_data":false},{"leaderboard":"/sota/synthetic-face-recognition-on-lfw","task":"Synthetic Face Recognition","dataset":"LFW","model":"SynthDistill","rank_in_archive_order":1,"of":3,"metrics":{"Accuracy":"0.9952"},"uses_additional_data":false}],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2308.14852","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2308.14852"}},"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/otroshi/synthdistill","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://gitlab.idiap.ch/bob/bob.paper.ijcb2023_synthdistill","reach":null}],"summary":{"ran":1},"by_repo_kind":{"official":{"samples":1,"ran":1,"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":1,"samples":[{"code_sha256_prefix":"56dd7685a7fb6929","entry":"Crop_and_resize","repo":"otroshi/synthdistill","repo_kind":"official","path":"src/Crop.py","file_url":"https://github.com/otroshi/synthdistill/blob/HEAD/src/Crop.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"56dd7685a7fb6929"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}