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 data scientists, and compromises deployment efficiency. In this paper, 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 for customization by unifying simple API design, modular design, and granular training flow abstraction. With only a few lines of code, EasyFL empowers them with many out-of-the-box functionalities to accelerate experimentation and deployment. These practical functionalities are heterogeneity simulation, distributed training optimization, comprehensive tracking, and seamless deployment. They are proposed based on challenges identified in the proposed FL life cycle. Our implementations show that EasyFL requires only three lines of code to build a vanilla FL application, at least 10x lesser than other platforms. Besides, our evaluations demonstrate that EasyFL expedites training by 1.5x. It also improves the efficiency of experiments and deployment. We believe that EasyFL will increase the productivity of data scientists and democratize FL to wider audiences.
翻译:学术界和业界开发了几个平台,以支持公众隐私保护分布式学习方法 -- -- 联邦学习联合会(FL),但这些平台复杂,需要深入理解FL,这给初学者进入FL设置了很高的障碍,限制了数据科学家的生产力,削弱了部署效率。在本文件中,我们提出了第一个低编码FL平台,即FLE, 方便FL, 使拥有不同水平专门知识的用户能够以很少的编码来试验和原型FL应用。我们通过统一简单的API设计、模块设计和颗粒式培训流程的抽象化,在确保客户化方面有很大的灵活性的同时,我们通过统一简单的API设计、模块设计和颗粒式培训流程的抽象化。只有几行代码,便能让FLEF增强他们能力,让他们使用许多非标准功能来加速实验和部署。这些实际功能是异质模拟、分发培训优化、全面跟踪和无缝部署。这些功能是根据拟议FLL生命周期确定的挑战提出的。我们的执行显示,ELL只需要三行代码来构建一个香草 FL应用程序,至少比其他平台少10x。此外,我们的评估表明,EFL将加快更快速的生产率培训将加快到FLIFL的更安全水平。