Flow: Per-Instance Personalized Federated Learning Through Dynamic Routing

Kunjal Panchal, Sunav Choudhary, Nisarg Parikh, Lijun Zhang, Hui Guan
11/28/2022
cs.LG
federated

Official code: Astuary/Flow (9 stars, Python, last commit 2023-09-25).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

Astuary/FlowOfficial100%

Code for "Flow: Per-Instance Personalized Federated Learning" (NeurIPS 2023). Flow addresses the challenge of statistical heterogeneity in federated learning through creating a dynamic personalized model for each input instance through a routing mechanism.

90PythonSep 25, 20233 years ago

Similar Papers

Cite this paper

@article{panchal2022flow,
  title  = {Flow: Per-Instance Personalized Federated Learning Through Dynamic Routing},
  author = {Kunjal Panchal and Sunav Choudhary and Nisarg Parikh and Lijun Zhang and Hui Guan},
  year   = {2022},
  eprint = {2211.15281},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.15281}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.15281.svg)](https://codeofpaper.com/paper/2211.15281)

Discussion