SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2212.01448 · 2022

PGFed: Personalize Each Client's Global Objective for Federated Learning

arXiv · PDF · Open in the Atlas

Code that ran

We lifted 5 functions out of this paper's own repositories and ran 2 of them in a sandbox. "Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results.

RepositoryRoleRan
ljaiverson/pgfed canonical 2 of 5
FunctionStatusWhere it lives
dirichletSplit Ran ljaiverson/pgfed/dataset/generate_office_home.py
code served (permissive licence) · get_code("4473995646aaf2e4")
split_data Ran ljaiverson/pgfed/dataset/utils/dataset_utils.py
code served (permissive licence) · get_code("17a3a3728f7be3ee")
isNegligible Not yet run ljaiverson/pgfed/dataset/generate_office_home.py
code served (permissive licence) · get_code("133610e5c90dc056")
separate_data Not yet run ljaiverson/pgfed/dataset/utils/dataset_utils.py
code served (permissive licence) · get_code("288f5a55e5f3cf3a")
split2clientsofficehome Not yet run ljaiverson/pgfed/dataset/generate_office_home.py
code served (permissive licence) · get_code("eadcb12921822fc2")

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

Personalized federated learning has received an upsurge of attention due to the mediocre performance of conventional federated learning (FL) over heterogeneous data. Unlike conventional FL which trains a single global consensus model, personalized FL allows different models for different clients. However, existing personalized FL algorithms only implicitly transfer the collaborative knowledge across the federation by embedding the knowledge into the aggregated model or regularization. We observed that this implicit knowledge transfer fails to maximize the potential of each client's empirical risk toward other clients. Based on our observation, in this work, we propose Personalized Global Federated Learning (PGFed), a novel personalized FL framework that enables each client to personalize its own global objective by explicitly and adaptively aggregating the empirical risks of itself and other clients. To avoid massive (O(N^2)) communication overhead and potential privacy leakage while achieving this, each client's risk is estimated through a first-order approximation for other clients' adaptive risk aggregation. On top of PGFed, we develop a momentum upgrade, dubbed PGFedMo, to more efficiently utilize clients' empirical risks. Our extensive experiments on four datasets under different federated settings show consistent improvements of PGFed over previous state-of-the-art methods. The code is publicly available at https://github.com/ljaiverson/pgfed.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2212.01448")
get_code_for_paper("2212.01448")
have("2212.01448")

Connect an agent — have() is free.