{"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/knowledge-distillation-meets-open-set-semi","title":"Knowledge Distillation Meets Open-Set Semi-Supervised Learning","arxiv_id":"2205.06701","date":"2022-05-13","proceeding":null,"authors":["Jing Yang","Xiatian Zhu","Adrian Bulat","Brais Martinez","Georgios Tzimiropoulos"],"abstract":"Existing knowledge distillation methods mostly focus on distillation of teacher's prediction and intermediate activation. However, the structured representation, which arguably is one of the most critical ingredients of deep models, is largely overlooked. In this work, we propose a novel {\\em \\modelname{}} ({\\bf\\em \\shortname{})} method dedicated for distilling representational knowledge semantically from a pretrained teacher to a target student. The key idea is that we leverage the teacher's classifier as a semantic critic for evaluating the representations of both teacher and student and distilling the semantic knowledge with high-order structured information over all feature dimensions. This is accomplished by introducing a notion of cross-network logit computed through passing student's representation into teacher's classifier. Further, considering the set of seen classes as a basis for the semantic space in a combinatorial perspective, we scale \\shortname{} to unseen classes for enabling effective exploitation of largely available, arbitrary unlabeled training data. At the problem level, this establishes an interesting connection between knowledge distillation with open-set semi-supervised learning (SSL). Extensive experiments show that our \\shortname{} outperforms significantly previous state-of-the-art knowledge distillation methods on both coarse object classification and fine face recognition tasks, as well as less studied yet practically crucial binary network distillation. Under more realistic open-set SSL settings we introduce, we reveal that knowledge distillation is generally more effective than existing Out-Of-Distribution (OOD) sample detection, and our proposed \\shortname{} is superior over both previous distillation and SSL competitors. The source code is available at \\url{https://github.com/jingyang2017/SRD\\_ossl}.","url_abs":"https://arxiv.org/abs/2205.06701v2","url_pdf":"https://arxiv.org/pdf/2205.06701v2.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":"knowledge-distillation-meets-open-set-semi","repo_url":"https://github.com/jingyang2017/srd_ossl","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"face-recognition","task_name":"Face Recognition"},{"task_slug":"knowledge-distillation","task_name":"Knowledge Distillation"}],"methods":[{"method_slug":"knowledge-distillation","method_name":"Knowledge Distillation"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2205.06701","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2205.06701"}},"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/jingyang2017/srd_ossl","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran_fixture":1,"ran_draft_wrong":2,"ran":1,"unverified":2},"by_repo_kind":{"official":{"samples":6,"ran":4,"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":"38eaf8511dc7bc9c","entry":"calc_mean_std","repo":"jingyang2017/srd_ossl","repo_kind":"official","path":"models/util.py","file_url":"https://github.com/jingyang2017/srd_ossl/blob/HEAD/models/util.py","link_basis":"harvester_set","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"38eaf8511dc7bc9c"}},{"code_sha256_prefix":"fac5364e2f53c6db","entry":"conv3x3","repo":"jingyang2017/srd_ossl","repo_kind":"official","path":"models/resnet.py","file_url":"https://github.com/jingyang2017/srd_ossl/blob/HEAD/models/resnet.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"fac5364e2f53c6db"}},{"code_sha256_prefix":"7765583b9e540679","entry":"conv_1x1_bn","repo":"jingyang2017/srd_ossl","repo_kind":"official","path":"models/mobilenetv2.py","file_url":"https://github.com/jingyang2017/srd_ossl/blob/HEAD/models/mobilenetv2.py","link_basis":"harvester_set","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":"7765583b9e540679"}},{"code_sha256_prefix":"2f7853ff01cbbc29","entry":"conv_bn","repo":"jingyang2017/srd_ossl","repo_kind":"official","path":"models/mobilenetv2.py","file_url":"https://github.com/jingyang2017/srd_ossl/blob/HEAD/models/mobilenetv2.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":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"2f7853ff01cbbc29"}},{"code_sha256_prefix":"d69d2d92b7a5d844","entry":"adaptive_channel","repo":"jingyang2017/srd_ossl","repo_kind":"official","path":"models/util.py","file_url":"https://github.com/jingyang2017/srd_ossl/blob/HEAD/models/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":"d69d2d92b7a5d844"}},{"code_sha256_prefix":"a49a13ec809c4b35","entry":"mobilenetv2_T_w","repo":"jingyang2017/srd_ossl","repo_kind":"official","path":"models/mobilenetv2.py","file_url":"https://github.com/jingyang2017/srd_ossl/blob/HEAD/models/mobilenetv2.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":"a49a13ec809c4b35"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}