{"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/fedml-a-research-library-and-benchmark-for","title":"FedML: A Research Library and Benchmark for Federated Machine Learning","arxiv_id":"2007.13518","date":"2020-07-27","proceeding":null,"authors":["Chaoyang He","Songze Li","Jinhyun So","Xiao Zeng","Mi Zhang","Hongyi Wang","Xiaoyang Wang","Praneeth Vepakomma","Abhishek Singh","Hang Qiu","Xinghua Zhu","Jianzong Wang","Li Shen","Peilin Zhao","Yan Kang","Yang Liu","Ramesh Raskar","Qiang Yang","Murali Annavaram","Salman Avestimehr"],"abstract":"Federated learning (FL) is a rapidly growing research field in machine learning. However, existing FL libraries cannot adequately support diverse algorithmic development; inconsistent dataset and model usage make fair algorithm comparison challenging. In this work, we introduce FedML, an open research library and benchmark to facilitate FL algorithm development and fair performance comparison. FedML supports three computing paradigms: on-device training for edge devices, distributed computing, and single-machine simulation. FedML also promotes diverse algorithmic research with flexible and generic API design and comprehensive reference baseline implementations (optimizer, models, and datasets). We hope FedML could provide an efficient and reproducible means for developing and evaluating FL algorithms that would benefit the FL research community. We maintain the source code, documents, and user community at https://fedml.ai.","url_abs":"https://arxiv.org/abs/2007.13518v4","url_pdf":"https://arxiv.org/pdf/2007.13518v4.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":"fedml-a-research-library-and-benchmark-for","repo_url":"https://github.com/chaoyanghe/Awesome-Federated-Learning","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"none","reach":{"status":"ok"}},{"paper_slug":"fedml-a-research-library-and-benchmark-for","repo_url":"https://github.com/fedmlai/fedml","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"jax","reach":{"status":"ok","spdx":"Apache-2.0"}},{"paper_slug":"fedml-a-research-library-and-benchmark-for","repo_url":"https://github.com/orienfish/fedml","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":null},{"paper_slug":"fedml-a-research-library-and-benchmark-for","repo_url":"https://github.com/sugaruncle/FedML_Local","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}},{"paper_slug":"fedml-a-research-library-and-benchmark-for","repo_url":"https://github.com/yukizhao1998/FineFL","is_official":0,"mentioned_in_paper":0,"mentioned_in_github":1,"framework":"pytorch","reach":{"status":"ok","spdx":"GPL-3.0"}}],"tasks":[{"task_slug":"machine-learning","task_name":"BIG-bench Machine Learning"},{"task_slug":"distributed-computing","task_name":"Distributed Computing"},{"task_slug":"federated-learning","task_name":"Federated Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"syntology_url":"https://syntology.ai/paper/2007.13518","atlas_url":"https://app.syntology.ai/?focus=2007.13518","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"2007.13518"}},"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/fedmlai/fedml","reach":{"status":"ok","spdx":"Apache-2.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/yukizhao1998/FineFL","reach":{"status":"ok","spdx":"GPL-3.0"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/chaoyanghe/Awesome-Federated-Learning","reach":{"status":"ok"}},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/orienfish/fedml","reach":null},{"provenance":"external:paperswithcode_snapshot_2025-07-28","url":"https://github.com/sugaruncle/FedML_Local","reach":{"status":"ok","spdx":"GPL-3.0"}}],"summary":{"ran":3,"unverified":2},"by_repo_kind":{"listed":{"samples":5,"ran":3,"repositories":2}},"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":1,"samples":[{"code_sha256_prefix":"443938d9ecd165f7","entry":"get_weights","repo":"fedmlai/fedml","repo_kind":"listed","path":"python/fedml/utils/model_utils.py","file_url":"https://github.com/fedmlai/fedml/blob/HEAD/python/fedml/utils/model_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"443938d9ecd165f7"}},{"code_sha256_prefix":"e80a141054e3bf40","entry":"move_to_cpu","repo":"fedmlai/fedml","repo_kind":"listed","path":"python/fedml/utils/model_utils.py","file_url":"https://github.com/fedmlai/fedml/blob/HEAD/python/fedml/utils/model_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"e80a141054e3bf40"}},{"code_sha256_prefix":"a279848b3acf1a92","entry":"move_to_gpu","repo":"fedmlai/fedml","repo_kind":"listed","path":"python/fedml/utils/model_utils.py","file_url":"https://github.com/fedmlai/fedml/blob/HEAD/python/fedml/utils/model_utils.py","link_basis":"harvester_set","language":"python","status":"ran","verification_level":1,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"Apache-2.0","inline_ok":true,"mcp_get_code":{"code_sha256":"a279848b3acf1a92"}},{"code_sha256_prefix":"3c0eb3f98387a1fc","entry":"add_args","repo":"orienfish/fedml","repo_kind":"listed","path":"fedml_experiments/distributed/fedavg/main_fedavg.py","file_url":"https://github.com/orienfish/fedml/blob/HEAD/fedml_experiments/distributed/fedavg/main_fedavg.py","link_basis":"first_harvest_node","language":"python","status":"unverified","verification_level":0,"contract_check":null,"metamorphic_tier":null,"behaviour_fingerprint":false,"licence":"GPL-3.0","inline_ok":false,"mcp_get_code":{"code_sha256":"3c0eb3f98387a1fc"}},{"code_sha256_prefix":"9347667d190263e8","entry":"load_arguments","repo":"fedmlai/fedml","repo_kind":"listed","path":"python/fedml/arguments.py","file_url":"https://github.com/fedmlai/fedml/blob/HEAD/python/fedml/arguments.py","link_basis":"harvester_set","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":"9347667d190263e8"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}