A Tutorial on Federated Learning from Theory to Practice: Foundations, Software Frameworks, Exemplary Use Cases, and Selected Trends

Research Projects
Organizational Units
Journal Issue
Abstract
When data privacy is imposed as a necessity, Federated learning (FL) emerges as a relevant artificial intelligence field for developing machine learning (ML) models in a distributed and decentralized environment. FL allows ML models to be trained on local devices without any need for centralized data transfer, thereby reducing both the exposure of sensitive data and the possibility of data interception by malicious third parties. This paradigm has gained momentum in the last few years, spurred by the plethora of real-world applications that have leveraged its ability to improve the efficiency of distributed learning and to accommodate numerous participants with their data sources. By virtue of FL, models can be learned from all such distributed data sources while preserving data privacy. The aim of this paper is to provide a practical tutorial on FL, including a short methodology and a systematic analysis of existing software frameworks. Furthermore, our tutorial provides exemplary cases of study from three complementary perspectives: i) Foundations of FL, describing the main components of FL, from key elements to FL categories; ii) Implementation guidelines and exemplary cases of study, by systematically examining the functionalities provided by existing software frameworks for FL deployment, devising a methodology to design a FL scenario, and providing exemplary cases of study with source code for different ML approaches; and iii) Trends, shortly reviewing a non-exhaustive list of research directions that are under active investigation in the current FL landscape. The ultimate purpose of this work is to establish itself as a referential work for researchers, developers, and data scientists willing to explore the capabilities of FL in practical applications.
Description
Publisher Copyright: © 2014 Chinese Association of Automation.
Citation
Victoria Luzon , M , Rodriguez-Barroso , N , Argente-Garrido , A , Jimenez-Lopez , D , Moyano , J M , Del Ser , J , Ding , W & Herrera , F 2024 , ' A Tutorial on Federated Learning from Theory to Practice : Foundations, Software Frameworks, Exemplary Use Cases, and Selected Trends ' , IEEE/CAA Journal of Automatica Sinica , vol. 11 , no. 4 , pp. 824-850 . https://doi.org/10.1109/JAS.2024.124215