Papers › Federated Multi-Task Learning under a Mixture of Distributions

Federated Multi-Task Learning under a Mixture of Distributions

23 Aug 2021NeurIPS 2021 12arXiv:2108.10252archive 2025-07-28

Othmane Marfoq, Giovanni Neglia, Aurélien Bellet, Laetitia Kameni, Richard Vidal

The increasing size of data generated by smartphones and IoT devices motivated the development of Federated Learning (FL), a framework for on-device collaborative training of machine learning models. First efforts in FL focused on learning a single global model with good average performance across clients, but the global model may be arbitrarily bad for a given client, due to the inherent heterogeneity of local data distributions. Federated multi-task learning (MTL) approaches can learn personalized models by formulating an opportune penalized optimization problem. The penalization term can capture complex relations among personalized models, but eschews clear statistical assumptions about local data distributions. In this work, we propose to study federated MTL under the flexible assumption that each local data distribution is a mixture of unknown underlying distributions. This assumption encompasses most of the existing personalized FL approaches and leads to federated EM-like algorithms for both client-server and fully decentralized settings. Moreover, it provides a principled way to serve personalized models to clients not seen at training time. The algorithms' convergence is analyzed through a novel federated surrogate optimization framework, which can be of general interest. Experimental results on FL benchmarks show that our approach provides models with higher accuracy and fairness than state-of-the-art methods.

PaperPDFConference PDFCodeCode 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="2108.10252")

Code

Syntology Ran 3 of 17 code samples harvested from 2 repositories linked to this paper; 14 have no recorded run. Of those that ran: 1 ran · violated contract; 1 ran · our draft was wrong; 1 ran · fixture could not drive it.

By repository: official repository: 14 samples from 1 repository, 0 ran; community (archive-listed): 2 samples from 1 repository, 2 ran; 1 identical to code first harvested elsewhere. The run record, sample by sample. “Ran” means executed on a synthesized input, not that the code is correct or reproduces the paper.

omarfoq/fedem officialmentioned in papermentioned on GitHubpytorchApache-2.0 report
KarhouTam/FL-bench mentioned on GitHubpytorchGPL-3.0 report
bdemo/pfedbred_public mentioned on GitHubpytorch report
tj-kim/pfeddef_v1 mentioned on GitHubpytorch report
yixinyang69/newfedem mentioned on GitHubpytorch 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

17 samples harvested; 3 ran; 0 honoured the contract we drafted; 14 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 · violated contract
1ran · our draft was wrong
1ran · fixture could not drive it
14unverified

Licence: 1 of the 17 samples is 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 2 repositories linked to this paper, official or community; each sample names its own and says which. Some samples are identical code Syntology first harvested from another repository; for those, this paper's copy is not located and its licence is not recorded. “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.

accuracy omarfoq/FedEM/utils/metrics.py official repository unverified Apache-2.0 (permissive) · 1484765c5a875320 · report
args_to_string omarfoq/FedEM/utils/args.py official repository unverified Apache-2.0 (permissive) · 2aa9eaee30e6f00f · report
binary_accuracy omarfoq/FedEM/utils/metrics.py official repository unverified Apache-2.0 (permissive) · d86b1b7917839f9d · report
compute_mixing_matrix omarfoq/FedEM/utils/decentralized.py official repository unverified Apache-2.0 (permissive) · 063c0646ab2e0dd5 · report
get_communication_graph omarfoq/FedEM/utils/decentralized.py official repository unverified Apache-2.0 (permissive) · 90e04d573188fcbd · report
get_lr_scheduler omarfoq/FedEM/utils/optim.py official repository unverified Apache-2.0 (permissive) · 2581454f884675e8 · report
get_mixing_matrix omarfoq/FedEM/utils/decentralized.py official repository unverified Apache-2.0 (permissive) · b7accb5913464f4a · report
get_mobilenet omarfoq/FedEM/models.py official repository unverified Apache-2.0 (permissive) · 9c1e58d7bca6b6c9 · report
get_optimizer omarfoq/FedEM/utils/optim.py official repository unverified Apache-2.0 (permissive) · 2131ebbda92151a1 · report
get_squeezenet omarfoq/FedEM/models.py official repository unverified Apache-2.0 (permissive) · 3a84a16cfdc372ba · report
get_vgg11 omarfoq/FedEM/models.py official repository unverified Apache-2.0 (permissive) · 2d5ef5672e97f155 · report
init_clients omarfoq/FedEM/run_experiment.py official repository unverified Apache-2.0 (permissive) · 825bbd029f466ff8 · report
mse omarfoq/FedEM/utils/metrics.py official repository unverified Apache-2.0 (permissive) · e5d7e349519111ef · report
parse_args omarfoq/FedEM/utils/args.py official repository unverified Apache-2.0 (permissive) · 214218b6675ec25e · report
cuda tj-kim/pfeddef_v1/transfer_attacks/TA_utils.py community (archive-listed) ran · fixture could not drive it fingerprinted Apache-2.0 (permissive) · 558fdb5c17a3a411 · report
where tj-kim/pfeddef_v1/transfer_attacks/TA_utils.py community (archive-listed) ran · our draft was wrong fingerprinted Apache-2.0 (permissive) · f5f8985f740c045e · report
str2bool identical code first harvested elsewhere ran · violated contract licence of this copy not recorded · f017532fc389cbfe · report

Tasks

FairnessFederated LearningMulti-Task 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