{"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/revisiting-ensembling-in-one-shot-federated","title":"Revisiting Ensembling in One-Shot Federated Learning","arxiv_id":"2411.07182","date":"2024-11-11","proceeding":null,"authors":["Youssef Allouah","Akash Dhasade","Rachid Guerraoui","Nirupam Gupta","Anne-Marie Kermarrec","Rafael Pinot","Rafael Pires","Rishi Sharma"],"abstract":"Federated learning (FL) is an appealing approach to training machine learning models without sharing raw data. However, standard FL algorithms are iterative and thus induce a significant communication cost. One-shot federated learning (OFL) trades the iterative exchange of models between clients and the server with a single round of communication, thereby saving substantially on communication costs. Not surprisingly, OFL exhibits a performance gap in terms of accuracy with respect to FL, especially under high data heterogeneity. We introduce FENS, a novel federated ensembling scheme that approaches the accuracy of FL with the communication efficiency of OFL. Learning in FENS proceeds in two phases: first, clients train models locally and send them to the server, similar to OFL; second, clients collaboratively train a lightweight prediction aggregator model using FL. We showcase the effectiveness of FENS through exhaustive experiments spanning several datasets and heterogeneity levels. In the particular case of heterogeneously distributed CIFAR-10 dataset, FENS achieves up to a 26.9% higher accuracy over state-of-the-art (SOTA) OFL, being only 3.1% lower than FL. At the same time, FENS incurs at most 4.3x more communication than OFL, whereas FL is at least 10.9x more communication-intensive than FENS.","url_abs":"https://arxiv.org/abs/2411.07182v1","url_pdf":"https://arxiv.org/pdf/2411.07182v1.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":"revisiting-ensembling-in-one-shot-federated","repo_url":"https://github.com/sacs-epfl/fens","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":0,"framework":"pytorch","reach":null}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2411.07182","atlas_url":"https://app.syntology.ai/?focus=2411.07182","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2411.07182"}},"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/sacs-epfl/fens","reach":null}],"summary":{"ran":1,"ran_honours":3,"ran_draft_wrong":3,"ran_fixture":1,"unverified":2},"by_repo_kind":{"official":{"samples":10,"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":10,"samples":[{"code_sha256_prefix":"5208240b1cd6c19b","entry":"Meter","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.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":"5208240b1cd6c19b"}},{"code_sha256_prefix":"93f4d96f2278b93b","entry":"_evaluate","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"93f4d96f2278b93b"}},{"code_sha256_prefix":"d72787a1daa64a40","entry":"_one_hot","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.py","link_basis":"first_harvest_node","language":"python","status":"ran_draft_wrong","verification_level":1,"contract_check":"MISDECLARED","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"d72787a1daa64a40"}},{"code_sha256_prefix":"2ca89b3fc6a05a88","entry":"_train_and_evaluate","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.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":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2ca89b3fc6a05a88"}},{"code_sha256_prefix":"08b050ad57b64351","entry":"comp_accuracy","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.py","link_basis":"first_harvest_node","language":"python","status":"ran_fixture","verification_level":1,"contract_check":"RAISES","metamorphic_tier":"invariant","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"08b050ad57b64351"}},{"code_sha256_prefix":"05787e35341c7132","entry":"evaluate_competencies_v2","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"05787e35341c7132"}},{"code_sha256_prefix":"2509af88160cc0c7","entry":"get_num_classes","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.py","link_basis":"first_harvest_node","language":"python","status":"ran_honours","verification_level":1,"contract_check":"HONOURS","metamorphic_tier":"well_formed","behaviour_fingerprint":false,"licence":"NONE","inline_ok":false,"mcp_get_code":{"code_sha256":"2509af88160cc0c7"}},{"code_sha256_prefix":"8b6e33bdae2b5151","entry":"get_prediction_using_competency","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.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":"8b6e33bdae2b5151"}},{"code_sha256_prefix":"aafeb8a55133cbcc","entry":"_check_accuracy","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.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":"aafeb8a55133cbcc"}},{"code_sha256_prefix":"6dea375bb6e99c59","entry":"evaluate_all_aggregations","repo":"sacs-epfl/fens","repo_kind":"official","path":"aggregations.py","file_url":"https://github.com/sacs-epfl/fens/blob/HEAD/aggregations.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":"6dea375bb6e99c59"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}