{"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/rscfed-random-sampling-consensus-federated","title":"RSCFed: Random Sampling Consensus Federated Semi-supervised Learning","arxiv_id":"2203.13993","date":"2022-03-26","proceeding":"CVPR 2022 1","authors":["Xiaoxiao Liang","Yiqun Lin","Huazhu Fu","Lei Zhu","Xiaomeng Li"],"abstract":"Federated semi-supervised learning (FSSL) aims to derive a global model by training fully-labeled and fully-unlabeled clients or training partially labeled clients. The existing approaches work well when local clients have independent and identically distributed (IID) data but fail to generalize to a more practical FSSL setting, i.e., Non-IID setting. In this paper, we present a Random Sampling Consensus Federated learning, namely RSCFed, by considering the uneven reliability among models from fully-labeled clients, fully-unlabeled clients or partially labeled clients. Our key motivation is that given models with large deviations from either labeled clients or unlabeled clients, the consensus could be reached by performing random sub-sampling over clients. To achieve it, instead of directly aggregating local models, we first distill several sub-consensus models by random sub-sampling over clients and then aggregating the sub-consensus models to the global model. To enhance the robustness of sub-consensus models, we also develop a novel distance-reweighted model aggregation method. Experimental results show that our method outperforms state-of-the-art methods on three benchmarked datasets, including both natural and medical images. The code is available at https://github.com/XMed-Lab/RSCFed.","url_abs":"https://arxiv.org/abs/2203.13993v1","url_pdf":"https://arxiv.org/pdf/2203.13993v1.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":"rscfed-random-sampling-consensus-federated","repo_url":"https://github.com/xmed-lab/rscfed","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"NOASSERTION"}}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":null,"atlas_url":"https://app.syntology.ai/?focus=2203.13993","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2203.13993"}},"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/xmed-lab/rscfed","reach":{"status":"ok","spdx":"NOASSERTION"}},{"provenance":"deterministic:regex_extraction","url":"https://github.com/XMed-Lab/RSCFed","reach":{"status":"ok","spdx":"NOASSERTION"}}],"summary":{"ran":4,"ran_draft_wrong":1,"ran_honours":1,"unverified":6},"by_repo_kind":{"official":{"samples":12,"ran":6,"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":12,"samples":[{"code_sha256_prefix":"d1351ded2993a927","entry":"BasicBlock","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d1351ded2993a927"}},{"code_sha256_prefix":"02bba6787a28973f","entry":"Bottleneck","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"02bba6787a28973f"}},{"code_sha256_prefix":"4e635291624b696f","entry":"LinearRampUp","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"4e635291624b696f"}},{"code_sha256_prefix":"eed23db510458f1b","entry":"SimpleCNN_header","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"eed23db510458f1b"}},{"code_sha256_prefix":"ddbc5dedffcefa67","entry":"label_guessing","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ddbc5dedffcefa67"}},{"code_sha256_prefix":"82fe0a0d909496fc","entry":"sharpen","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":null,"behaviour_fingerprint":true,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"82fe0a0d909496fc"}},{"code_sha256_prefix":"ba76c90e88ad594f","entry":"ModelFedCon","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"ba76c90e88ad594f"}},{"code_sha256_prefix":"d4c2365a239520fe","entry":"RampUp","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"d4c2365a239520fe"}},{"code_sha256_prefix":"e54c58ffaab6776c","entry":"ResNet18_cifar10","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"e54c58ffaab6776c"}},{"code_sha256_prefix":"6a8a528761c8c999","entry":"ResNetCifar10","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"6a8a528761c8c999"}},{"code_sha256_prefix":"c1c4a43f799c222f","entry":"UnsupervisedLocalUpdate","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"c1c4a43f799c222f"}},{"code_sha256_prefix":"142c27603591df9b","entry":"update_ema_variables","repo":"XMed-Lab/RSCFed","repo_kind":"official","path":"local_unsupervised.py","file_url":"https://github.com/XMed-Lab/RSCFed/blob/HEAD/local_unsupervised.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NOASSERTION","inline_ok":false,"mcp_get_code":{"code_sha256":"142c27603591df9b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}