{"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/find-your-optimal-assignments-on-the-fly-a","title":"Find Your Optimal Assignments On-the-fly: A Holistic Framework for Clustered Federated Learning","arxiv_id":"2310.05397","date":"2023-10-09","proceeding":null,"authors":["Yongxin Guo","Xiaoying Tang","Tao Lin"],"abstract":"Federated Learning (FL) is an emerging distributed machine learning approach that preserves client privacy by storing data on edge devices. However, data heterogeneity among clients presents challenges in training models that perform well on all local distributions. Recent studies have proposed clustering as a solution to tackle client heterogeneity in FL by grouping clients with distribution shifts into different clusters. However, the diverse learning frameworks used in current clustered FL methods make it challenging to integrate various clustered FL methods, gather their benefits, and make further improvements. To this end, this paper presents a comprehensive investigation into current clustered FL methods and proposes a four-tier framework, namely HCFL, to encompass and extend existing approaches. Based on the HCFL, we identify the remaining challenges associated with current clustering methods in each tier and propose an enhanced clustering method called HCFL+ to address these challenges. Through extensive numerical evaluations, we showcase the effectiveness of our clustering framework and the improved components. Our code will be publicly available.","url_abs":"https://arxiv.org/abs/2310.05397v1","url_pdf":"https://arxiv.org/pdf/2310.05397v1.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":[],"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/2310.05397","atlas_url":"https://app.syntology.ai/?focus=2310.05397","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2310.05397"}},"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/HCFL","reach":{"status":"ok"}}],"summary":{"ran_violates":1,"ran_draft_wrong":3,"ran":4,"unverified":4},"by_repo_kind":{"found_in_text":{"samples":12,"ran":8,"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":"89c2cf3b97685684","entry":"is_image_file","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"create_c/make_imagenet_64_c.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/create_c/make_imagenet_64_c.py","link_basis":"harvester_set","language":"python","status":"ran_violates","verification_level":2,"contract_check":"VIOLATES","metamorphic_tier":"deterministic","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"89c2cf3b97685684"}},{"code_sha256_prefix":"39c404c051fb3edc","entry":"add_new_learner","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"aggregator.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/aggregator.py","link_basis":"plan_row","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"OUTPUT_MISDECLARED","metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"39c404c051fb3edc"}},{"code_sha256_prefix":"69eca8625ab6b1aa","entry":"center_crop","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"create_c/make_imagenet_c_inception.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/create_c/make_imagenet_c_inception.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"69eca8625ab6b1aa"}},{"code_sha256_prefix":"9347fb42c15d6687","entry":"find_classes","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"create_c/make_imagenet_64_c.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/create_c/make_imagenet_64_c.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9347fb42c15d6687"}},{"code_sha256_prefix":"87889f77c597efa2","entry":"make_dataset","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"create_c/make_imagenet_64_c.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/create_c/make_imagenet_64_c.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"87889f77c597efa2"}},{"code_sha256_prefix":"9f2600a99d159cd5","entry":"make_dataset","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"create_c/make_tinyimagenet_c.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/create_c/make_tinyimagenet_c.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"9f2600a99d159cd5"}},{"code_sha256_prefix":"2533a1c44e58bc03","entry":"resize","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"create_c/make_imagenet_c_inception.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/create_c/make_imagenet_c_inception.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2533a1c44e58bc03"}},{"code_sha256_prefix":"2f8a1eddcc64f1fd","entry":"resized_center_crop","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"create_c/make_imagenet_c_inception.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/create_c/make_imagenet_c_inception.py","link_basis":"first_harvest_node","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2f8a1eddcc64f1fd"}},{"code_sha256_prefix":"7f801fe50e913058","entry":"get_mobilenet","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"models.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"7f801fe50e913058"}},{"code_sha256_prefix":"6725864ab93354db","entry":"get_squeezenet","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"models.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"6725864ab93354db"}},{"code_sha256_prefix":"c62118f0aae4e1f5","entry":"get_vgg11","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"models.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/models.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"c62118f0aae4e1f5"}},{"code_sha256_prefix":"b40ccd3ccb5dbe4b","entry":"init_clients","repo":"LINs-lab/HCFL","repo_kind":"found_in_text","path":"run_experiment.py","file_url":"https://github.com/LINs-lab/HCFL/blob/HEAD/run_experiment.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"b40ccd3ccb5dbe4b"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}