Although remarkable progress has been made by the existing federated learning (FL) platforms to provide fundamental functionalities for development, these platforms cannot well tackle the challenges brought by the heterogeneity of FL scenarios from both academia and industry. To fill this gap, in this paper, we propose a flexible federated learning platform, named FederatedScope, for handling various types of heterogeneity in FL. Considering both flexibility and extendability, FederatedScope adopts an event-driven architecture to conveniently support asynchronous training protocol in practical FL applications, and abstracts the exchanged information as messages and the behaviors of participants as handling functions. For a new FL application, developers only need to specify the adopted FL algorithm by defining new types of exchanged messages and the corresponding handling functions based on participants' behaviors, which would be automatically executed in an asynchronous way for balancing effectiveness and efficiency in FederatedScope. Meanwhile, towards an easy-to-use platform, FederatedScope provides rich built-in algorithms, including personalization, federated aggregation, privacy protection, and privacy attack, for users to conveniently customize participant-specific training, fusing, aggregating, and protecting. Besides, a federated hyperparameter optimization module is integrated into FederatedScope for users to automatically tune their FL systems for resolving the unstable issues brought by heterogeneity. We conduct a series of experiments on the provided easy-to-use and comprehensive FL benchmarks to validate the correctness and efficiency of FederatedScope. We have released FederatedScope for users on https://github.com/alibaba/FederatedScope to promote research and industrial deployment of federated learning in a variety of real-world applications.
翻译:尽管现有的联邦学习平台(FL)取得了显著进展,为发展提供了基本功能,但现有的联邦学习平台(FL)已经取得了显著进展,这些平台无法很好地应对学术界和行业中FL假设情景的异质性带来的挑战。为了填补这一空白,我们在本文件中提议建立一个灵活的联邦学习平台,名为FreedScope,用于处理FL的各种异质性。考虑到灵活性和可扩展性,FreedScope采用了一种由事件驱动的结构,方便地支持实用FL应用程序中的非同步培训协议,并将所交流的信息作为信息摘要和参与者的行为作为处理功能。对于新的FL应用程序来说,开发者只需通过定义新的交换信息类型和基于参与者行为的相应处理功能来指定FL算法。 为了平衡FreedScope的效益和效率,FreedScope采用一个不固定的方式自动执行。同时,FreedSculate-sopecial comal 提供丰富的内部算法,包括个人化、美化集成、隐私保护和隐私攻击用户的简洁性数据。Sreal-dealalal-deallial-listation Sliflist list