P2PFL: A Modular Framework for Decentralized Federated Learning

UDC.coleccionInvestigación
UDC.departamentoCiencias da Computación e Tecnoloxías da Información
UDC.grupoInvRedes de Neuronas Artificiais e Sistemas Adaptativos -Informática Médica e Diagnóstico Radiolóxico (RNASA - IMEDIR)
UDC.institutoCentroCITIC - Centro de Investigación de Tecnoloxías da Información e da Comunicación
UDC.journalTitleArray
UDC.startPage101235
UDC.volume32
dc.contributor.authorGuijas Bravo, Pedro
dc.contributor.authorAlawadi, Sadi
dc.contributor.authorRivero, Daniel
dc.contributor.authorFernández-Blanco, Enrique
dc.date.accessioned2026-10-09T06:59:15Z
dc.date.available2026-10-09T06:59:15Z
dc.date.issued2026-12
dc.descriptionThe P2PFL framework is publicly available at https://p2pfl.com. Source code is available at https://github.com/p2pfl/p2pfl. The datasets used (MNIST, CIFAR-10) are publicly available standard benchmarks. The CASA dataset is available from the original publication.
dc.description.abstract[Abstract] Decentralized Federated Learning (DFL) offers a promising paradigm for collaborative machine learning training without centralized coordination, addressing critical limitations of centralized federated learning such as single points of failure, communication bottlenecks, and scalability constraints. However, the adoption of DFL has been hindered by the lack of robust, flexible, and user-friendly frameworks. This paper introduces P2PFL, an open-source framework that enables broader adoption of DFL through a highly modular and extensible architecture. P2PFL decouples communication protocols, learning modules, aggregation algorithms, and orchestration workflows into independent, interchangeable components. This modularity enables researchers and practitioners to efficiently prototype and deploy federated learning systems tailored to their specific requirements. A key contribution is the introduction of optimized gossip-based protocols with incremental partial aggregation whose equivalence to centralized federated learning is formally proven, with communication savings that scale with network size, achieving up to 88% reduction in model data transfer at 128 nodes. We demonstrate P2PFL’s effectiveness through functional validation on standard benchmarks (MNIST and CIFAR-10) under various network topologies and data heterogeneity settings, a scalability analysis from 8 to 128 nodes quantifying communication overhead and round duration across topologies, and a real-world deployment on the CASA IoT dataset across 10 logical nodes over geographically distributed machines. The results reveal that topology selection directly affects control overhead, while the model data itself remains independent of the selected topology, confirming that the benefits of partial aggregation scale with network size. By providing flexible deployment interfaces and integrated monitoring capabilities, P2PFL bridges the gap between DFL theory and practice, accelerating research and facilitating the deployment of privacy-preserving, decentralized machine learning systems.
dc.description.urihttps://github.com/p2pfl/p2pfl
dc.identifier.citationP. Guijas Bravo, S. Alawadi, D. Rivero Cebrián, and E. Fernández Blanco, "P2PFL: A Modular Framework for Decentralized Federated Learning", Array, Vol. 32, 101235, Dec. 2026, https://doi.org/10.1016/j.array.2026.101235
dc.identifier.doi10.1016/j.array.2026.101235
dc.identifier.issn2590-0056
dc.identifier.urihttps://hdl.handle.net/2183/49658
dc.language.isoeng
dc.publisherElsevier
dc.relation.isbasedonSourcecode
dc.relation.urihttps://doi.org/10.1016/j.array.2026.101235
dc.rightsAttribution 4.0 Internationalen
dc.rights.accessRightsopen access
dc.rights.urihttp://creativecommons.org/licenses/by/4.0/
dc.subjectDistributed training
dc.subjectData privacy
dc.subjectFederated learning
dc.subjectMachine learning
dc.subjectTraining parallelization
dc.subjectPeer-to-peer gossip protocol
dc.subjectDecentralized protocols
dc.titleP2PFL: A Modular Framework for Decentralized Federated Learning
dc.typejournal article
dc.type.hasVersionVoR
dspace.entity.typePublication
relation.isAuthorOfPublicationd8e10433-ea19-4a35-8cc6-0c7b9f143a6d
relation.isAuthorOfPublication244a6828-de1c-45f3-86b6-69bb81250814
relation.isAuthorOfPublication.latestForDiscoveryd8e10433-ea19-4a35-8cc6-0c7b9f143a6d

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Rivero_Daniel_2026_P2PFL.pdf
Size:
3.07 MB
Format:
Adobe Portable Document Format