{"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/robust-training-of-federated-models-with","title":"Robust Training of Federated Models with Extremely Label Deficiency","arxiv_id":"2402.14430","date":"2024-02-22","proceeding":null,"authors":["Yonggang Zhang","Zhiqin Yang","Xinmei Tian","Nannan Wang","Tongliang Liu","Bo Han"],"abstract":"Federated semi-supervised learning (FSSL) has emerged as a powerful paradigm for collaboratively training machine learning models using distributed data with label deficiency. Advanced FSSL methods predominantly focus on training a single model on each client. However, this approach could lead to a discrepancy between the objective functions of labeled and unlabeled data, resulting in gradient conflicts. To alleviate gradient conflict, we propose a novel twin-model paradigm, called Twin-sight, designed to enhance mutual guidance by providing insights from different perspectives of labeled and unlabeled data. In particular, Twin-sight concurrently trains a supervised model with a supervised objective function while training an unsupervised model using an unsupervised objective function. To enhance the synergy between these two models, Twin-sight introduces a neighbourhood-preserving constraint, which encourages the preservation of the neighbourhood relationship among data features extracted by both models. Our comprehensive experiments on four benchmark datasets provide substantial evidence that Twin-sight can significantly outperform state-of-the-art methods across various experimental settings, demonstrating the efficacy of the proposed Twin-sight.","url_abs":"https://arxiv.org/abs/2402.14430v1","url_pdf":"https://arxiv.org/pdf/2402.14430v1.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":"robust-training-of-federated-models-with","repo_url":"https://github.com/tmlr-group/twin-sight","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}},{"paper_slug":"robust-training-of-federated-models-with","repo_url":"https://github.com/visitworld123/Twin-sight","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[],"methods":[{"method_slug":"focus","method_name":"Focus"}],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2402.14430","atlas_url":"https://app.syntology.ai/?focus=2402.14430","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2402.14430"}},"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/tmlr-group/Twin-sight","reach":{"status":"ok","spdx":"MIT"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/visitworld123/Twin-sight","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/tmlr-group/twin-sight","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"ran":11,"ran_draft_wrong":1,"unverified":6},"by_repo_kind":{"official":{"samples":18,"ran":12,"repositories":2}},"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":"c6e7c3451c85404f","entry":"AutoContrast","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"randaugment.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/randaugment.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":"c6e7c3451c85404f"}},{"code_sha256_prefix":"0d1a8d6ce2015fc7","entry":"Brightness","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"randaugment.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/randaugment.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":"0d1a8d6ce2015fc7"}},{"code_sha256_prefix":"32cb3f5760fa593e","entry":"Color","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"randaugment.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/randaugment.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":"32cb3f5760fa593e"}},{"code_sha256_prefix":"dc05a6f71458b31e","entry":"D","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"ssl_model/SimSiam.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/ssl_model/SimSiam.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"dc05a6f71458b31e"}},{"code_sha256_prefix":"47e6829098b5f441","entry":"ResNet18","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"model/SSFL_ResNet18.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/model/SSFL_ResNet18.py","link_basis":"first_harvest_node","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":"47e6829098b5f441"}},{"code_sha256_prefix":"1b648d9508676e89","entry":"ResNet34","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"model/SSFL_ResNet18.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/model/SSFL_ResNet18.py","link_basis":"first_harvest_node","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":"1b648d9508676e89"}},{"code_sha256_prefix":"f6ba97e49fa19762","entry":"ResNet50","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"model/SSFL_ResNet18.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/model/SSFL_ResNet18.py","link_basis":"first_harvest_node","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":"f6ba97e49fa19762"}},{"code_sha256_prefix":"5a4ab382570a4acf","entry":"SemiFed","repo":"tmlr-group/twin-sight","repo_kind":"official","path":"model/SemiFed.py","file_url":"https://github.com/tmlr-group/twin-sight/blob/HEAD/model/SemiFed.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"5a4ab382570a4acf"}},{"code_sha256_prefix":"b0757c8d725098fd","entry":"byol_loss_fn","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"ssl_model/BYOL.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/ssl_model/BYOL.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"b0757c8d725098fd"}},{"code_sha256_prefix":"8647d7081db43caa","entry":"create_data_loaders_from_arrays","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"ssl_model/ssl_utils.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/ssl_model/ssl_utils.py","link_basis":"first_harvest_node","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":"8647d7081db43caa"}},{"code_sha256_prefix":"4aab447e9b17254e","entry":"create_loss","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"loss_fn/build.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/loss_fn/build.py","link_basis":"first_harvest_node","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":"4aab447e9b17254e"}},{"code_sha256_prefix":"973aed3b1cfc39d1","entry":"info_nce_loss","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"ssl_model/ssl_utils.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/ssl_model/ssl_utils.py","link_basis":"first_harvest_node","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":"973aed3b1cfc39d1"}},{"code_sha256_prefix":"5623e1ae3f61cea9","entry":"ce_loss","repo":"visitworld123/Twin-sight","repo_kind":"official","path":"trainers/normal_trainer.py","file_url":"https://github.com/visitworld123/Twin-sight/blob/HEAD/trainers/normal_trainer.py","link_basis":"first_harvest_node","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":"5623e1ae3f61cea9"}},{"code_sha256_prefix":"edfc3ae1e2a6b64f","entry":"consistency_loss_fixmatch","repo":"visitworld123/Twin-sight","repo_kind":"official","path":"trainers/normal_trainer.py","file_url":"https://github.com/visitworld123/Twin-sight/blob/HEAD/trainers/normal_trainer.py","link_basis":"first_harvest_node","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":"edfc3ae1e2a6b64f"}},{"code_sha256_prefix":"9229f6f3c7be844f","entry":"consistency_loss_freematch","repo":"visitworld123/Twin-sight","repo_kind":"official","path":"trainers/normal_trainer.py","file_url":"https://github.com/visitworld123/Twin-sight/blob/HEAD/trainers/normal_trainer.py","link_basis":"first_harvest_node","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":"9229f6f3c7be844f"}},{"code_sha256_prefix":"282e9cf7f7cb5b2b","entry":"inference_by_SSFL_model","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"ssl_model/ssl_utils.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/ssl_model/ssl_utils.py","link_basis":"first_harvest_node","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":"282e9cf7f7cb5b2b"}},{"code_sha256_prefix":"1e5307996bddff3a","entry":"transform_pseudo_label","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"data_aug.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/data_aug.py","link_basis":"first_harvest_node","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":"1e5307996bddff3a"}},{"code_sha256_prefix":"a6df40c07d6e8a99","entry":"transform_pseudo_label_fedConsis","repo":"tmlr-group/Twin-sight","repo_kind":"official","path":"data_aug.py","file_url":"https://github.com/tmlr-group/Twin-sight/blob/HEAD/data_aug.py","link_basis":"first_harvest_node","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":"a6df40c07d6e8a99"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}