Papers › Flow: Per-Instance Personalized Federated Learning Through Dynamic Routing

Flow: Per-Instance Personalized Federated Learning Through Dynamic Routing

28 Nov 2022arXiv:2211.15281archive 2025-07-28

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

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.

PaperPDFCodeCode Syntology ran

In Syntology Open this paper in Syntology's Atlas, the map of the papers in Syntology's graph and their citations.

For agents, Syntology's MCP tool lists every function and class Syntology harvested from this paper and whether it ran (how to connect): get_harvested_code_for_paper(arxiv_id="2211.15281")

Code

Syntology Ran 8 of 11 code samples harvested from 1 repository linked to this paper; 3 have no recorded run. Of those that ran: 1 ran · honoured contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it; 5 ran with no contract checked.

By repository: official repository: 11 samples from 1 repository, 8 ran. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

astuary/flow officialmentioned in paperpytorch report

Repository list and official/mentioned flags are the archive's, frozen 2025-07-28. Reachability, where shown, is from one Syntology probe window (2026-09-16 to 2026-09-18); repositories not probed show nothing. GitHub stars are not tracked.

Code Syntology ran Syntology

11 samples harvested; 8 ran; 1 honoured the contract we drafted; 3 have no recorded run. Read from Syntology's graph 2026-09-24; that is when this build read the record, not when the samples ran.

1ran · honoured contract
1ran · our draft was wrong
1ran · fixture could not drive it
5ran
3unverified

Licence: 11 of the 11 samples are pointer only, meaning Syntology does not serve that copy's text. This page shows no code text for any sample; each one links to its file in the repository.

Harvested from astuary/flow. “Ran” means the sample executed on a synthesized input. It does not mean the output is correct, and nothing here reproduces the paper's results. “Honoured” and “violated” refer to a contract Syntology drafted from the code itself; “our draft was wrong” and “fixture could not drive it” are failures of Syntology's instrument, not of the code.

Each sample ends with its code_sha256, Syntology's identity for that exact code. An agent fetches the stored sample with Syntology's MCP tool get_code(code_sha256="…") (how to connect); click an identity to copy that call.

Repository labels, per sample. official repository: The archive marks this repository official for the paper. named in the paper: The archive records that the paper mentions this repository; it is not marked official. community (archive-listed): In the archive's code links for this paper, not marked official and not recorded as mentioned in the paper. found in paper text by Syntology: Syntology found this repository in the paper's own text; whether it is the authors' implementation is not asserted. community: Not in the archive's code links for this paper; a community repository Syntology harvested. Samples from a repository marked official are listed first. Licence labels name the repository's licence as recorded at harvest. “Pointer only” means Syntology does not serve that copy's text, for one of four reasons: no licence file was found; the licence was not identified; the licence is recorded as permissive but that copy's record is not marked cleared; or the licence is outside the permissive list Syntology serves text under (MIT, Apache-2.0, BSD and similar). Some licences outside that list permit redistribution, such as WTFPL, and GPL-3.0 under its conditions; they are simply not on the list. Hover a licence label for the reason. File links open the file on GitHub at the default branch, which may have changed since the harvest.

BasicBlock astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · b24a313500d1d24a · report
Bottleneck astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 78fb875f53098754 · report
GroupNorm2d astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository ran · metamorphic tier: deterministic fingerprinted no licence file found · pointer only · 307bc4eec118e459 · report
PolicyNet astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · ae51b48b5947e98a · report
_GroupNorm astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository ran · metamorphic tier: deterministic no licence file found · pointer only · 81de0bb66e2b8ec3 · report
group_norm astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository ran · fixture could not drive it fingerprinted no licence file found · pointer only · df538da77a5d06bd · report
norm2d astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository ran · our draft was wrong no licence file found · pointer only · 8f0eb9488f0856c6 · report
stackoverflow_nwp_test astuary/flow/./trainers/client_flow.py official repository ran · honoured contract no licence file found · pointer only · e109738f362d8887 · report
ResNet astuary/flow/models/cifar100_resnet_dynamic_v6.py official repository unverified no licence file found · pointer only · 29a171bb76b8353c · report
stackoverflow_nwp_generalized_test astuary/flow/./trainers/client_flow.py official repository unverified no licence file found · pointer only · e66ac870ca2663a6 · report
stackoverflow_nwp_train astuary/flow/./trainers/client_flow.py official repository unverified no licence file found · pointer only · f8cb5299897edc6a · report

Tasks

Federated LearningPersonalized Federated Learning

Results from the paper archive 2025-07-28

No leaderboard rows for this paper in the archive.

Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections