{"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/hybrid-fl-algorithms-and-implementation","title":"Hybrid Federated Learning: Algorithms and Implementation","arxiv_id":"2012.12420","date":"2020-12-22","proceeding":null,"authors":["Xinwei Zhang","Wotao Yin","Mingyi Hong","Tianyi Chen"],"abstract":"Federated learning (FL) is a recently proposed distributed machine learning paradigm dealing with distributed and private data sets. Based on the data partition pattern, FL is often categorized into horizontal, vertical, and hybrid settings. Despite the fact that many works have been developed for the first two approaches, the hybrid FL setting (which deals with partially overlapped feature space and sample space) remains less explored, though this setting is extremely important in practice. In this paper, we first set up a new model-matching-based problem formulation for hybrid FL, then propose an efficient algorithm that can collaboratively train the global and local models to deal with full and partial featured data. We conduct numerical experiments on the multi-view ModelNet40 data set to validate the performance of the proposed algorithm. To the best of our knowledge, this is the first formulation and algorithm developed for the hybrid FL.","url_abs":"https://arxiv.org/abs/2012.12420v3","url_pdf":"https://arxiv.org/pdf/2012.12420v3.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":"hybrid-fl-algorithms-and-implementation","repo_url":"https://github.com/564612540/Hybrid-Federated-Learning","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=2012.12420","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2012.12420"}},"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/564612540/Hybrid-Federated-Learning","reach":null}],"summary":{"ran_draft_wrong":2,"ran_honours":1,"unverified":2},"by_repo_kind":{"listed":{"samples":5,"ran":3,"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":5,"samples":[{"code_sha256_prefix":"091d6fe9d593c99e","entry":"compute_global_accuracy","repo":"564612540/Hybrid-Federated-Learning","repo_kind":"listed","path":"algorithms/train_model.py","file_url":"https://github.com/564612540/Hybrid-Federated-Learning/blob/HEAD/algorithms/train_model.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"091d6fe9d593c99e"}},{"code_sha256_prefix":"36425490409cbe36","entry":"compute_local_accuracy","repo":"564612540/Hybrid-Federated-Learning","repo_kind":"listed","path":"algorithms/train_model.py","file_url":"https://github.com/564612540/Hybrid-Federated-Learning/blob/HEAD/algorithms/train_model.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"36425490409cbe36"}},{"code_sha256_prefix":"a82dc322f37f1b3a","entry":"row_param_cost_simplified","repo":"564612540/Hybrid-Federated-Learning","repo_kind":"listed","path":"model_matching/model_matching.py","file_url":"https://github.com/564612540/Hybrid-Federated-Learning/blob/HEAD/model_matching/model_matching.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"a82dc322f37f1b3a"}},{"code_sha256_prefix":"8dd003cffc884698","entry":"compute_cost","repo":"564612540/Hybrid-Federated-Learning","repo_kind":"listed","path":"model_matching/model_matching.py","file_url":"https://github.com/564612540/Hybrid-Federated-Learning/blob/HEAD/model_matching/model_matching.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":"8dd003cffc884698"}},{"code_sha256_prefix":"1c749ec9432e85d4","entry":"train_local","repo":"564612540/Hybrid-Federated-Learning","repo_kind":"listed","path":"algorithms/train_model.py","file_url":"https://github.com/564612540/Hybrid-Federated-Learning/blob/HEAD/algorithms/train_model.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":"1c749ec9432e85d4"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}