HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Personalized Federated Learning using Hypernetworks

Aviv Shamsian Aviv Navon Ethan Fetaya Gal Chechik

Personalized Federated Learning using Hypernetworks

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. 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.

Code Repositories

AvivSham/pFedHN
Official
pytorch
Mentioned in GitHub
KarhouTam/FL-bench
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
personalized-federated-learning-on-cifar-10pFedHN-PC
ACC@1-100Clients: 88.09
ACC@1-10Clients: 92.47
ACC@1-500Clients: 83.2
ACC@1-50Clients: 90.08
personalized-federated-learning-on-cifar-10pFedHN
ACC@1-100Clients: 87.97
ACC@1-10Clients: 90.83
ACC@1-50Clients: 88.38
personalized-federated-learning-on-cifar-100pFedHN-PC
ACC@1-100Clients: 52.40
ACC@1-10Clients: 68.15
ACC@1-500: 34.1
ACC@1-50Clients: 60.17
personalized-federated-learning-on-cifar-100pFedHN
ACC@1-100Clients: 53.24
ACC@1-10Clients: 65.74
ACC@1-50Clients: 59.46
personalized-federated-learning-on-omniglotpFedHN
ACC@1-50Clients: 72.03
personalized-federated-learning-on-omniglotpFedHN-PC
ACC@1-50Clients: 81.89

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp
Personalized Federated Learning using Hypernetworks | Papers | HyperAI