{"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/fedconceptem-robust-federated-learning-under","title":"FedRC: Tackling Diverse Distribution Shifts Challenge in Federated Learning by Robust Clustering","arxiv_id":"2301.12379","date":"2023-01-29","proceeding":null,"authors":["Yongxin Guo","Xiaoying Tang","Tao Lin"],"abstract":"Federated Learning (FL) is a machine learning paradigm that safeguards privacy by retaining client data on edge devices. However, optimizing FL in practice can be challenging due to the diverse and heterogeneous nature of the learning system. Though recent research has focused on improving the optimization of FL when distribution shifts occur among clients, ensuring global performance when multiple types of distribution shifts occur simultaneously among clients -- such as feature distribution shift, label distribution shift, and concept shift -- remain under-explored. In this paper, we identify the learning challenges posed by the simultaneous occurrence of diverse distribution shifts and propose a clustering principle to overcome these challenges. Through our research, we find that existing methods fail to address the clustering principle. Therefore, we propose a novel clustering algorithm framework, dubbed as FedRC, which adheres to our proposed clustering principle by incorporating a bi-level optimization problem and a novel objective function. Extensive experiments demonstrate that FedRC significantly outperforms other SOTA cluster-based FL methods. Our code is available at \\url{https://github.com/LINs-lab/FedRC}.","url_abs":"https://arxiv.org/abs/2301.12379v4","url_pdf":"https://arxiv.org/pdf/2301.12379v4.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":"fedconceptem-robust-federated-learning-under","repo_url":"https://github.com/lins-lab/fedrc","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"Apache-2.0"}}],"tasks":[{"task_slug":"clustering","task_name":"Clustering"},{"task_slug":"federated-learning","task_name":"Federated Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2301.12379","atlas_url":"https://app.syntology.ai/?focus=2301.12379","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2301.12379"}},"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/LINs-lab/FedRC","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/lins-lab/fedrc","reach":{"status":"ok","spdx":"Apache-2.0"}}],"summary":{"ran_draft_wrong":2,"unverified":3},"by_repo_kind":{"official":{"samples":5,"ran":2,"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":"39c404c051fb3edc","entry":"add_new_learner","repo":"lins-lab/fedrc","repo_kind":"official","path":"aggregator.py","file_url":"https://github.com/lins-lab/fedrc/blob/HEAD/aggregator.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"39c404c051fb3edc"}},{"code_sha256_prefix":"1f7cff88a51f2bb9","entry":"args_to_string","repo":"lins-lab/fedrc","repo_kind":"official","path":"utils/args.py","file_url":"https://github.com/lins-lab/fedrc/blob/HEAD/utils/args.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1f7cff88a51f2bb9"}},{"code_sha256_prefix":"ca3492d95fdd8118","entry":"Aggregator","repo":"lins-lab/fedrc","repo_kind":"official","path":"aggregator.py","file_url":"https://github.com/lins-lab/fedrc/blob/HEAD/aggregator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"ca3492d95fdd8118"}},{"code_sha256_prefix":"1ca40f24804d1b46","entry":"ClusteredAggregator","repo":"lins-lab/fedrc","repo_kind":"official","path":"aggregator.py","file_url":"https://github.com/lins-lab/fedrc/blob/HEAD/aggregator.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"1ca40f24804d1b46"}},{"code_sha256_prefix":"81dffcab091588fc","entry":"parse_args","repo":"lins-lab/fedrc","repo_kind":"official","path":"utils/args.py","file_url":"https://github.com/lins-lab/fedrc/blob/HEAD/utils/args.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"81dffcab091588fc"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}