EasyFL: a low-code federated learning platform for dummies

Academia and industry have developed several platforms to support the popular privacy-preserving distributed learning method—federated learning (FL). However, these platforms are complex to use and require a deep understanding of FL, which imposes high barriers to entry for beginners, limits the pro...

Full description

Saved in:
Bibliographic Details
Main Authors: Zhuang, Weiming, Gan, Xin, Wen, Yonggang, Zhang, Shuai
Other Authors: School of Computer Science and Engineering
Format: Article
Language:English
Published: 2023
Subjects:
Online Access:https://hdl.handle.net/10356/164445
Tags: Add Tag
No Tags, Be the first to tag this record!
Institution: Nanyang Technological University
Language: English
id sg-ntu-dr.10356-164445
record_format dspace
spelling sg-ntu-dr.10356-1644452023-01-25T06:43:38Z EasyFL: a low-code federated learning platform for dummies Zhuang, Weiming Gan, Xin Wen, Yonggang Zhang, Shuai School of Computer Science and Engineering S-Lab Engineering::Computer science and engineering Distributed Training Federated Learning Academia and industry have developed several platforms to support the popular privacy-preserving distributed learning method—federated learning (FL). However, these platforms are complex to use and require a deep understanding of FL, which imposes high barriers to entry for beginners, limits the productivity of researchers, and compromises deployment efficiency. In this article, we propose the first low-code FL platform, EasyFL, to enable users with various levels of expertise to experiment and prototype FL applications with little coding. We achieve this goal while ensuring great flexibility and extensibility for customization by unifying simple API design, modular design, and granular training flow abstraction. With only a few lines of code (LOC), EasyFL empowers them with many out-of-the-box functionalities to accelerate experimentation and deployment. These practical functionalities are heterogeneity simulation, comprehensive tracking, distributed training optimization, and seamless deployment. They are proposed based on challenges identified in the proposed FL life cycle. Compared with other platforms, EasyFL not only requires just three LOC (at least 10× lesser) to build a vanilla FL application but also incurs lower training overhead. Besides, our evaluations demonstrate that EasyFL expedites distributed training by 1.5×. It also improves the efficiency of deployment. We believe that EasyFL will increase the productivity of researchers and democratize FL to wider audiences. Energy Market Authority (EMA) Ministry of Education (MOE) National Research Foundation (NRF) This work was supported in part by the RIE2020 Industry Alignment Fund—Industry Collaboration Projects (IAF-ICP) Funding Initiative, as well as cash and in-kind contribution from the industry partner(s); in part by the National Research Foundation, Singapore, and the Energy Market Authority, under its Energy Programme (EP) under Award NRF2017EWT-EP003-023; and in part by the Singapore MOE under its Tier 1 Grant Call, Reference number RG96/20. 2023-01-25T06:43:38Z 2023-01-25T06:43:38Z 2022 Journal Article Zhuang, W., Gan, X., Wen, Y. & Zhang, S. (2022). EasyFL: a low-code federated learning platform for dummies. IEEE Internet of Things Journal, 9(15), 13740-13754. https://dx.doi.org/10.1109/JIOT.2022.3143842 2327-4662 https://hdl.handle.net/10356/164445 10.1109/JIOT.2022.3143842 2-s2.0-85123378048 15 9 13740 13754 en NRF2017EWT-EP003-023 RG96/20 IEEE Internet of Things Journal © 2022 IEEE. All rights reserved.
institution Nanyang Technological University
building NTU Library
continent Asia
country Singapore
Singapore
content_provider NTU Library
collection DR-NTU
language English
topic Engineering::Computer science and engineering
Distributed Training
Federated Learning
spellingShingle Engineering::Computer science and engineering
Distributed Training
Federated Learning
Zhuang, Weiming
Gan, Xin
Wen, Yonggang
Zhang, Shuai
EasyFL: a low-code federated learning platform for dummies
description Academia and industry have developed several platforms to support the popular privacy-preserving distributed learning method—federated learning (FL). However, these platforms are complex to use and require a deep understanding of FL, which imposes high barriers to entry for beginners, limits the productivity of researchers, and compromises deployment efficiency. In this article, we propose the first low-code FL platform, EasyFL, to enable users with various levels of expertise to experiment and prototype FL applications with little coding. We achieve this goal while ensuring great flexibility and extensibility for customization by unifying simple API design, modular design, and granular training flow abstraction. With only a few lines of code (LOC), EasyFL empowers them with many out-of-the-box functionalities to accelerate experimentation and deployment. These practical functionalities are heterogeneity simulation, comprehensive tracking, distributed training optimization, and seamless deployment. They are proposed based on challenges identified in the proposed FL life cycle. Compared with other platforms, EasyFL not only requires just three LOC (at least 10× lesser) to build a vanilla FL application but also incurs lower training overhead. Besides, our evaluations demonstrate that EasyFL expedites distributed training by 1.5×. It also improves the efficiency of deployment. We believe that EasyFL will increase the productivity of researchers and democratize FL to wider audiences.
author2 School of Computer Science and Engineering
author_facet School of Computer Science and Engineering
Zhuang, Weiming
Gan, Xin
Wen, Yonggang
Zhang, Shuai
format Article
author Zhuang, Weiming
Gan, Xin
Wen, Yonggang
Zhang, Shuai
author_sort Zhuang, Weiming
title EasyFL: a low-code federated learning platform for dummies
title_short EasyFL: a low-code federated learning platform for dummies
title_full EasyFL: a low-code federated learning platform for dummies
title_fullStr EasyFL: a low-code federated learning platform for dummies
title_full_unstemmed EasyFL: a low-code federated learning platform for dummies
title_sort easyfl: a low-code federated learning platform for dummies
publishDate 2023
url https://hdl.handle.net/10356/164445
_version_ 1756370571578310656