Chinese Journal on Internet of Things ›› 2022, Vol. 6 ›› Issue (4): 158-168.doi: 10.11959/j.issn.2096-3750.2022.00299

• Theory and Technology • Previous Articles     Next Articles

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)

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

CLC Number: 

No Suggested Reading articles found!