物联网学报 ›› 2022, Vol. 6 ›› Issue (4): 158-168.doi: 10.11959/j.issn.2096-3750.2022.00299

• 理论与技术 • 上一篇    下一篇

基于背包模型的联邦学习客户端选择方法

郭佳慧1, 陈卓越1, 高玮1, 王玺钧1, 孙兴华1, 高林2   

  1. 1 中山大学,广东 广州 510006
    2 哈尔滨工业大学(深圳),广东 深圳 518055
  • 修回日期:2022-09-12 出版日期:2022-12-30 发布日期:2022-12-01
  • 作者简介:郭佳慧(2000- ),女,中山大学电子与通信工程学院在读,主要研究方向为联邦学习等
    陈卓越(2000- ),男,中山大学电子与通信工程学院硕士生,主要研究方向为拥塞控制、在线学习、联邦学习等
    高玮(1999- ),男,中山大学电子秘通信工程学院硕士生,主要研究方向为联邦学习、无人机集群、目标跟踪等
    王玺钧(1984- ),男,博士,中山大学电子与信息工程学院副教授,主要研究方向为信息年龄、强化学习等
    孙兴华(1985- ),男,博士,中山大学电子与通信工程学院副教授,主要研究方向为下一代无线通信网络、智能通信等
    高林(1980- ),男,博士,哈尔滨工业大学(深圳)电子与信息工程学院副教授,主要研究方向为移动边缘计算、群智计算、群体智能、博弈论、强化学习、联邦学习等
  • 基金资助:
    国家重点研发计划(2021YFB2900300);国家自然科学基金资助项目(62271513);国家自然科学基金资助项目(61972113);广东省基础与应用基础研究基金资助项目(2021A1515012631);深圳市科技研发基金资助项目(JCYJ20190806112215116);深圳市科技研发基金资助项目(KQTD20190929172545139);深圳市科技研发基金资助项目(ZDSYS20210623091808025)

Clients selection method based on knapsack model in federated learning

Jiahui GUO1, Zhuoyue CHEN1, Wei GAO1, Xijun WANG1, Xinghua SUN1, Lin GAO2   

  1. 1 Sun Yat-sen University, Guangzhou 510006, China
    2 Harbin Institute of Technology (Shenzhen), Shenzhen 518055, China
  • Revised:2022-09-12 Online:2022-12-30 Published:2022-12-01
  • Supported by:
    The National Key Research and Development Program of China(2021YFB2900300);The National Natural Science Foundation of China(62271513);The National Natural Science Foundation of China(61972113);Guangdong Basic and Applied Basic Research Foundation(2021A1515012631);The Shenzhen Science and Technology Program(JCYJ20190806112215116);The Shenzhen Science and Technology Program(KQTD20190929172545139);The Shenzhen Science and Technology Program(ZDSYS20210623091808025)

摘要:

近年来,为了打破数据“壁垒”,联邦学习被广泛关注。联邦学习不需要客户端上传原始数据就能完成模型训练,保护了用户的隐私。针对客户端设备具有异构性的问题,考虑各个客户端对加速全局模型收敛的贡献程度和系统的通信开销,以最大化客户端在本地训练模型的权重变化量为优化目标,解决在一定系统训练周期下的联邦学习中的客户端选择优化问题。由此,提出了两个基于背包模型的联邦学习协议,分别是OfflineKP-FL协议和OnlineKP-FL协议。OfflineKP-FL协议基于离线背包模型选择合适的客户端参与全局模型的聚合更新。为了降低OfflineKP-FL协议的复杂度,进一步基于在线背包模型选择用户提出了OnlineKP-FL协议。通过仿真发现,在特定情况下OfflineKP-FL协议有更高的收敛速度,优于之前提出的方法。而与OfflineKP-FL协议和FedCS协议相比,OnlineKP-FL协议下,系统不仅每轮选择更少的用户,而且能够在FedCS协议所需时间的64.1%内完成模型训练,使全局模型达到相同精度。

关键词: 联邦学习, 客户端选择, 背包模型

Abstract:

In recent years, to break down data barriers, federated learning (FL) has received extensive attention.In FL, clientscan complete the model training without uploading the raw data, which protects the user’s data privacy.For the issue of clients’ heterogeneity, the contribution of each client to accelerating convergence of the global model as well as the communication cost in the system was considered, aiming at maximizing the weight change of the client's local training model, a client selection optimization problem in FL under theconstraint ofthe delay foreach training round was solved.Subsequently, two federated learning protocols based on the knapsack model were proposed, namely OfflineKP-FL protocol and OnlineKP-FL protocol.OfflineKP-FL protocol was based on the offline knapsack model to select appropriate clients to participate in the aggregation and update of the global model.In order to reduce the complexity of the OfflineKP-FL protocol, OnlineKP-FL protocol based on the online knapsack model to select clients was proposed.Through simulations, it is found that OfflineKP-FL protocol converges faster than the previously proposed methods in certain cases.Furthermore, compared with OfflineKP-FL protocol and FedCS protocol, underthe proposed OnlineKP-FL protocol, not only does the system select fewer clients per round, but also it can complete the model training in 64.1% of the time required by FedCS protocol to achieve the same accuracy for the global model.

Key words: federated learning, client selection, knapsack model

中图分类号: 

No Suggested Reading articles found!