{"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/fedzero-leveraging-renewable-excess-energy-in","title":"FedZero: Leveraging Renewable Excess Energy in Federated Learning","arxiv_id":"2305.15092","date":"2023-05-24","proceeding":null,"authors":["Philipp Wiesner","Ramin Khalili","Dennis Grinwald","Pratik Agrawal","Lauritz Thamsen","Odej Kao"],"abstract":"Federated Learning (FL) is an emerging machine learning technique that enables distributed model training across data silos or edge devices without data sharing. Yet, FL inevitably introduces inefficiencies compared to centralized model training, which will further increase the already high energy usage and associated carbon emissions of machine learning in the future. One idea to reduce FL's carbon footprint is to schedule training jobs based on the availability of renewable excess energy that can occur at certain times and places in the grid. However, in the presence of such volatile and unreliable resources, existing FL schedulers cannot always ensure fast, efficient, and fair training. We propose FedZero, an FL system that operates exclusively on renewable excess energy and spare capacity of compute infrastructure to effectively reduce a training's operational carbon emissions to zero. Using energy and load forecasts, FedZero leverages the spatio-temporal availability of excess resources by selecting clients for fast convergence and fair participation. Our evaluation, based on real solar and load traces, shows that FedZero converges significantly faster than existing approaches under the mentioned constraints while consuming less energy. Furthermore, it is robust to forecasting errors and scalable to tens of thousands of clients.","url_abs":"https://arxiv.org/abs/2305.15092v3","url_pdf":"https://arxiv.org/pdf/2305.15092v3.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":"fedzero-leveraging-renewable-excess-energy-in","repo_url":"https://github.com/dos-group/fedzero","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"},{"task_slug":"scheduling","task_name":"Scheduling"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2305.15092","atlas_url":"https://app.syntology.ai/?focus=2305.15092","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2305.15092"}},"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":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/dos-group/fedzero","reach":{"status":"ok","spdx":"MIT"}}],"summary":{"unverified":5},"by_repo_kind":{"official":{"samples":5,"ran":0,"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":"44f275751194cf37","entry":"flwr_get_parameters","repo":"dos-group/fedzero","repo_kind":"official","path":"fedzero/fl_client.py","file_url":"https://github.com/dos-group/fedzero/blob/HEAD/fedzero/fl_client.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"44f275751194cf37"}},{"code_sha256_prefix":"65a0ead47d5e42f9","entry":"load_cifar","repo":"dos-group/fedzero","repo_kind":"official","path":"fedzero/datasets.py","file_url":"https://github.com/dos-group/fedzero/blob/HEAD/fedzero/datasets.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"65a0ead47d5e42f9"}},{"code_sha256_prefix":"e39194d4cb4ad04c","entry":"load_shakespeare","repo":"dos-group/fedzero","repo_kind":"official","path":"fedzero/datasets.py","file_url":"https://github.com/dos-group/fedzero/blob/HEAD/fedzero/datasets.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"e39194d4cb4ad04c"}},{"code_sha256_prefix":"43cead92e4058be8","entry":"statistical_utility","repo":"dos-group/fedzero","repo_kind":"official","path":"fedzero/fl_client.py","file_url":"https://github.com/dos-group/fedzero/blob/HEAD/fedzero/fl_client.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"43cead92e4058be8"}},{"code_sha256_prefix":"f18aca6e44a4c590","entry":"train","repo":"dos-group/fedzero","repo_kind":"official","path":"fedzero/fl_client.py","file_url":"https://github.com/dos-group/fedzero/blob/HEAD/fedzero/fl_client.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"MIT","inline_ok":true,"mcp_get_code":{"code_sha256":"f18aca6e44a4c590"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}