Personalized Federated Learning using Hypernetworks

Aviv Shamsian, Aviv Navon, Ethan Fetaya, Gal Chechik
3/8/2021
508 citations
cs.LG
federated

Official code: AvivSham/pFedHN (199 stars, Python, last commit 2023-02-14).

Abstract

Personalized federated learning is tasked with training machine learning models for multiple clients, each with its own data distribution. The goal is to train personalized models in a collaborative way while accounting for data disparities across clients and reducing communication costs.

Show full abstract

We propose a novel approach to this problem using hypernetworks, termed pFedHN for personalized Federated HyperNetworks. In this approach, a central hypernetwork model is trained to generate a set of models, one model for each client. This architecture provides effective parameter sharing across clients, while maintaining the capacity to generate unique and diverse personal models. Furthermore, since hypernetwork parameters are never transmitted, this approach decouples the communication cost from the trainable model size. We test pFedHN empirically in several personalized federated learning challenges and find that it outperforms previous methods. Finally, since hypernetworks share information across clients we show that pFedHN can generalize better to new clients whose distributions differ from any client observed during training.

View on arXivView PDF

Code Implementations(1)

AvivSham/pFedHNOfficial100%

Official code implementation for "Personalized Federated Learning using Hypernetworks" [ICML 2021]

19932PythonFeb 7, 20213 years ago

Similar Papers

Cite this paper

@article{shamsian2021personalized,
  title  = {Personalized Federated Learning using Hypernetworks},
  author = {Aviv Shamsian and Aviv Navon and Ethan Fetaya and Gal Chechik},
  year   = {2021},
  eprint = {2103.04628},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.04628}
}

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/2103.04628.svg)](https://codeofpaper.com/paper/2103.04628)

Discussion