Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

Flow: Per-Instance Personalized Federated Learning Through Dynamic Routing

About

Personalization in Federated Learning (FL) aims to modify a collaboratively trained global model according to each client. Current approaches to personalization in FL are at a coarse granularity, i.e. all the input instances of a client use the same personalized model. This ignores the fact that some instances are more accurately handled by the global model due to better generalizability. To address this challenge, this work proposes Flow, a fine-grained stateless personalized FL approach. Flow creates dynamic personalized models by learning a routing mechanism that determines whether an input instance prefers the local parameters or its global counterpart. Thus, Flow introduces per-instance routing in addition to leveraging per-client personalization to improve accuracies at each client. Further, Flow is stateless which makes it unnecessary for a client to retain its personalized state across FL rounds. This makes Flow practical for large-scale FL settings and friendly to newly joined clients. Evaluations on Stackoverflow, Reddit, and EMNIST datasets demonstrate the superiority in prediction accuracy of Flow over state-of-the-art non-personalized and only per-client personalized approaches to FL.

Kunjal Panchal, Sunav Choudhary, Nisarg Parikh, Lijun Zhang, Hui Guan• 2022

Related benchmarks

TaskDatasetResultRank
Image ClassificationCIFAR10 0.1-Dirichlet (test)
Generalized Accuracy (Accg)66.26
38
Next-Character PredictionShakespeare (test)--
31
Image ClassificationEMNIST--
30
Language ModelingShakespeare
Accuracy (Mean)55.9
25
Image ClassificationCIFAR10 0.6-Dirichlet (test)
Client Accp > Accg Ratio99.62
18
Language ModelingStack Overflow
Accuracy29.49
15
Image ClassificationCIFAR10 0.1
Accuracy (Generalized)66.26
11
Image ClassificationCIFAR10 0.6
Accuracy (Generalized)70.88
11
Image ClassificationCIFAR100 0.6
Acc_g39.7
11
Image ClassificationCIFAR100 0.1
Accuracy (Global)34
11
Showing 10 of 16 rows

Other info

Code

Follow for update