{"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/federated-learning-with-cooperating-devices-a","title":"Federated Learning with Cooperating Devices: A Consensus Approach for Massive IoT Networks","arxiv_id":"1912.13163","date":"2019-12-27","proceeding":null,"authors":["Stefano Savazzi","Monica Nicoli","Vittorio Rampa"],"abstract":"Federated learning (FL) is emerging as a new paradigm to train machine learning models in distributed systems. Rather than sharing, and disclosing, the training dataset with the server, the model parameters (e.g. neural networks weights and biases) are optimized collectively by large populations of interconnected devices, acting as local learners. FL can be applied to power-constrained IoT devices with slow and sporadic connections. In addition, it does not need data to be exported to third parties, preserving privacy. Despite these benefits, a main limit of existing approaches is the centralized optimization which relies on a server for aggregation and fusion of local parameters; this has the drawback of a single point of failure and scaling issues for increasing network size. The paper proposes a fully distributed (or server-less) learning approach: the proposed FL algorithms leverage the cooperation of devices that perform data operations inside the network by iterating local computations and mutual interactions via consensus-based methods. The approach lays the groundwork for integration of FL within 5G and beyond networks characterized by decentralized connectivity and computing, with intelligence distributed over the end-devices. The proposed methodology is verified by experimental datasets collected inside an industrial IoT environment.","url_abs":"https://arxiv.org/abs/1912.13163v1","url_pdf":"https://arxiv.org/pdf/1912.13163v1.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":"federated-learning-with-cooperating-devices-a","repo_url":"https://github.com/labRadioVision/federated","is_official":1,"mentioned_in_paper":1,"mentioned_in_github":1,"framework":"tf","reach":{"status":"ok","spdx":"MIT"}}],"tasks":[{"task_slug":"federated-learning","task_name":"Federated Learning"}],"methods":[],"datasets_introduced":[],"methods_introduced":[],"results":[],"syntology":{"atlas_url":"https://app.syntology.ai/?focus=1912.13163","mcp":{"get_harvested_code_for_paper":{"arxiv_id":"1912.13163"}},"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/labRadioVision/federated","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":"7e6f6769469edc1a","entry":"conv1d","repo":"labRadioVision/federated","repo_kind":"official","path":"tensorflow1_implementations/federated_onraspberry_CNN_realtime.py","file_url":"https://github.com/labRadioVision/federated/blob/HEAD/tensorflow1_implementations/federated_onraspberry_CNN_realtime.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":"7e6f6769469edc1a"}},{"code_sha256_prefix":"eae7a87c998d5871","entry":"conv1d","repo":"labRadioVision/federated","repo_kind":"official","path":"tensorflow1_implementations/federated_sample_2NN_CFA-GE.py","file_url":"https://github.com/labRadioVision/federated/blob/HEAD/tensorflow1_implementations/federated_sample_2NN_CFA-GE.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":"eae7a87c998d5871"}},{"code_sha256_prefix":"731286ea3e1dd0c1","entry":"conv1d","repo":"labRadioVision/federated","repo_kind":"official","path":"tensorflow1_implementations/federated_sample_CNN_CFA-GE.py","file_url":"https://github.com/labRadioVision/federated/blob/HEAD/tensorflow1_implementations/federated_sample_CNN_CFA-GE.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":"731286ea3e1dd0c1"}},{"code_sha256_prefix":"c84ce4c7bcc64b4d","entry":"federated_weights_computing2","repo":"labRadioVision/federated","repo_kind":"official","path":"tensorflow1_implementations/federated_onraspberry_2NN_realtime.py","file_url":"https://github.com/labRadioVision/federated/blob/HEAD/tensorflow1_implementations/federated_onraspberry_2NN_realtime.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":"c84ce4c7bcc64b4d"}},{"code_sha256_prefix":"6b8562059e066088","entry":"get_connectivity","repo":"labRadioVision/federated","repo_kind":"official","path":"tensorflow1_implementations/federated_onraspberry_2NN_realtime.py","file_url":"https://github.com/labRadioVision/federated/blob/HEAD/tensorflow1_implementations/federated_onraspberry_2NN_realtime.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":"6b8562059e066088"}}]},"arxiv_metadata":null,"syntology_extracted_results":null}