Fedstellar: A Platform for Decentralized Federated Learning

被引:29
作者
Beltran, Enrique Tomas Martinez [1 ]
Gomez, angel Luis Perales [2 ]
Feng, Chao [3 ]
Sanchez, Pedro Miguel [1 ]
Bernal, Sergio Lopez [1 ]
Bovet, Gerome [4 ]
Perez, Manuel Gil [1 ]
Perez, Gregorio Martinez [1 ]
Celdran, Alberto Huertas [3 ]
机构
[1] Univ Murcia, Dept Informat & Commun Engn, Murcia 30100, Spain
[2] Univ Murcia, Dept Comp Engn & Technol, Murcia 30100, Spain
[3] Univ Zurich UZH, Dept Informat IfI, Commun Syst Grp CSG, CH-8050 Zurich, Switzerland
[4] Armasuisse Sci & Technol, Cyber Def Campus, CH-3602 Thun, Switzerland
关键词
Decentralized Federated Learning; Deep learning; Collaborative training; Communication mechanisms;
D O I
10.1016/j.eswa.2023.122861
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In 2016, Google proposed Federated Learning (FL) as a novel paradigm to train Machine Learning (ML) models across the participants of a federation while preserving data privacy. Since its birth, Centralized FL (CFL) has been the most used approach, where a central entity aggregates participants' models to create a global one. However, CFL presents limitations such as communication bottlenecks, single point of failure, and reliance on a central server. Decentralized Federated Learning (DFL) addresses these issues by enabling decentralized model aggregation and minimizing dependency on a central entity. Despite these advances, current platforms training DFL models struggle with key issues such as managing heterogeneous federation network topologies, adapting the FL process to virtualized or physical deployments, and using a limited number of metrics to evaluate different federation scenarios for efficient implementation. To overcome these challenges, this paper presents Fedstellar, a novel platform designed to train FL models in a decentralized, semi-decentralized, and centralized fashion across diverse federations of physical or virtualized devices. Fedstellar allows users to create federations by customizing parameters like the number and type of devices training FL models, the network topology connecting them, the machine and deep learning algorithms, or the datasets of each participant, among others. Additionally, it offers real-time monitoring of model and network performance. The Fedstellar implementation encompasses a web application with an interactive graphical interface, a controller for deploying federations of nodes using physical or virtual devices, and a core deployed on each device, which provides the logic needed to train, aggregate, and communicate in the network. The effectiveness of the platform has been demonstrated in two scenarios: a physical deployment involving single-board devices such as Raspberry Pis for detecting cyberattacks and a virtualized deployment comparing various FL approaches in a controlled environment using MNIST and CIFAR-10 datasets. In both scenarios, Fedstellar demonstrated consistent performance and adaptability, achieving F1 scores of 91%, 98%, and 91.2% using DFL for detecting cyberattacks and classifying MNIST and CIFAR-10, respectively, reducing training time by 32% compared to centralized approaches.
引用
收藏
页数:15
相关论文
共 43 条
[1]  
Agafonkin V., 2021, Leaflet
[2]  
Arapakis I, 2023, Arxiv, DOI arXiv:2302.13438
[3]  
Blanchard P, 2017, ADV NEUR IN, V30
[4]  
Bostock M., 2021, D3.js-data-driven documents
[5]   CyberSpec: Behavioral Fingerprinting for Intelligent Attacks Detection on Crowdsensing Spectrum Sensors [J].
Celdran, Alberto Huertas ;
Sanchez, Pedro Miguel Sanchez ;
Bovet, Gerome ;
Perez, Gregorio Martinez ;
Stiller, Burkhard .
IEEE TRANSACTIONS ON DEPENDABLE AND SECURE COMPUTING, 2024, 21 (01) :284-297
[6]   Privacy-Preserving and Syscall-Based Intrusion Detection System for IoT Spectrum Sensors Affected by Data Falsification Attacks [J].
Celdran, Alberto Huertas ;
Sanchez, Pedro Miguel Sanchez ;
Feng, Chao ;
Bovet, Gerome ;
Perez, Gregorio Martinez ;
Stiller, Burkhard .
IEEE INTERNET OF THINGS JOURNAL, 2023, 10 (10) :8408-8415
[7]   DFedSN: Decentralized federated learning based on heterogeneous data in social networks [J].
Chen, Yikuan ;
Liang, Li ;
Gao, Wei .
WORLD WIDE WEB-INTERNET AND WEB INFORMATION SYSTEMS, 2023, 26 (05) :2545-2568
[8]  
Falcon W., 2019, The lightweight PyTorch wrapper for high-performance AI research. Scale your models, DOI 10.5281/zenodo.3828935
[9]   2DF-IDS: Decentralized and differentially private fe derate d learning-based intrusion detection system for industrial IoT [J].
Friha, Othmane ;
Ferrag, Mohamed Amine ;
Benbouzid, Mohamed ;
Berghout, Tarek ;
Kantarci, Burak ;
Choo, Kim-Kwang Raymond .
COMPUTERS & SECURITY, 2023, 127
[10]   Fundamental Technologies in Modern Speech Recognition [J].
Furui, Sadaoki ;
Deng, Li ;
Gales, Mark ;
Ney, Hermann ;
Tokuda, Keiichi .
IEEE SIGNAL PROCESSING MAGAZINE, 2012, 29 (06) :16-17