HyperAIHyperAI

Command Palette

Search for a command to run...

3 months ago

Personalized Federated Learning with Gaussian Processes

Idan Achituve Aviv Shamsian Aviv Navon Gal Chechik Ethan Fetaya

Personalized Federated Learning with Gaussian Processes

Abstract

Federated learning aims to learn a global model that performs well on client devices with limited cross-client communication. Personalized federated learning (PFL) further extends this setup to handle data heterogeneity between clients by learning personalized models. A key challenge in this setting is to learn effectively across clients even though each client has unique data that is often limited in size. Here we present pFedGP, a solution to PFL that is based on Gaussian processes (GPs) with deep kernel learning. GPs are highly expressive models that work well in the low data regime due to their Bayesian nature. However, applying GPs to PFL raises multiple challenges. Mainly, GPs performance depends heavily on access to a good kernel function, and learning a kernel requires a large training set. Therefore, we propose learning a shared kernel function across all clients, parameterized by a neural network, with a personal GP classifier for each client. We further extend pFedGP to include inducing points using two novel methods, the first helps to improve generalization in the low data regime and the second reduces the computational cost. We derive a PAC-Bayes generalization bound on novel clients and empirically show that it gives non-vacuous guarantees. Extensive experiments on standard PFL benchmarks with CIFAR-10, CIFAR-100, and CINIC-10, and on a new setup of learning under input noise show that pFedGP achieves well-calibrated predictions while significantly outperforming baseline methods, reaching up to 21% in accuracy gain.

Code Repositories

IdanAchituve/pFedGP
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
personalized-federated-learning-on-cifar-10pFedGP
ACC@1-100Clients: 88.8
ACC@1-500Clients: 87.6
ACC@1-50Clients: 89.2
personalized-federated-learning-on-cifar-10pFedGP-IP-data
ACC@1-100Clients: 87.4
ACC@1-500Clients: 86.9
ACC@1-50Clients: 88.6
personalized-federated-learning-on-cifar-10pFedGP-IP-compute
ACC@1-100Clients: 88.8
ACC@1-500Clients: 86.8
ACC@1-50Clients: 89.9
personalized-federated-learning-on-cifar-100pFedGP-IP-compute
ACC@1-100Clients: 59.8
ACC@1-500: 49.2
ACC@1-50Clients: 61.2
personalized-federated-learning-on-cifar-100pFedGP-IP-data
ACC@1-100Clients: 58.5
ACC@1-500: 55.7
ACC@1-50Clients: 60.2
personalized-federated-learning-on-cifar-100pFedGP
ACC@1-100Clients: 61.3
ACC@1-500: 50.6
ACC@1-50Clients: 63.3

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 with Gaussian Processes | Papers | HyperAI