Skip to main content
QUICK REVIEW

[Paper Review] Personalized Federated Learning using Hypernetworks

Aviv Shamsian, Aviv Navon|arXiv (Cornell University)|Mar 8, 2021
Privacy-Preserving Technologies in DataComputer Science48 references32 citations
TL;DR

The paper presents pFedHN, a hypernetwork-based approach that generates personalized client models in federated learning, enabling shared learning with per-client customization and scalable communication.

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.

Motivation & Objective

  • Address data heterogeneity across clients in federated learning by enabling personalized models.
  • Reduce communication costs while sharing information across clients.
  • Enable flexible client-specific model sizes and architectures.
  • Generalize to novel clients and different client resource budgets.

Proposed method

  • Use a central hypernetwork to generate each client’s model weights from a client embedding.
  • Optimize hypernetwork parameters and client embeddings jointly via server-client updates.
  • Clients perform several local updates to compute a delta, which guides hypernetwork parameter updates.
  • Optionally use a personal classifier per client by disentangling feature extractor and classifier parameters.
  • Provide a theoretical generalization analysis for the hypernetwork setup.
  • Describe a practical training algorithm (Alg. 1) for distributed optimization.

Experimental results

Research questions

  • RQ1Can a hypernetwork generate effective personalized models for each client in a federated setting?
  • RQ2Does sharing hypernetwork parameters improve performance and generalization across heterogeneous client distributions?
  • RQ3How does pFedHN perform under resource heterogeneity and when new clients with unseen distributions join the federation?
  • RQ4What are the theoretical generalization guarantees of pFedHN in a multi-client, personalized setting?

Key findings

  • pFedHN outperforms baseline FL and leading PFL methods on CIFAR10, CIFAR100, and Omniglot under heterogeneous client settings.
  • pFedHN with personalized classifier (pFedHN-PC) further improves performance in several scenarios, including tasks with disjoint label spaces.
  • The approach adapts to varying client computational budgets by producing target networks of different sizes while maintaining high accuracy.
  • pFedHN demonstrates better generalization to novel clients not seen during training compared to baselines.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.