FedAH: Aggregated Head for Personalized Federated Learning

Pengzhan Zhou, Yuepeng He, Yijun Zhai, Kaixin Gao, Chao Chen +3 more
12/2/2024
cs.LGcs.AIcs.DC

Official code: heyuepeng/FedAH (6 stars, GPL-2.0, last commit 2024-07-16).

Abstract

Recently, Federated Learning (FL) has gained popularity for its privacy-preserving and collaborative learning capabilities. Personalized Federated Learning (PFL), building upon FL, aims to address the issue of statistical heterogeneity and achieve personalization. Personalized-head-based PFL is a common and effective PFL method that splits the model into a feature extractor and a head, where the feature extractor is collaboratively trained and shared, while the head is locally trained and not shared. However, retaining the head locally, although achieving personalization, prevents the model from learning global knowledge in the head, thus affecting the performance of the personalized model. To solve this problem, we propose a novel PFL method called Federated Learning with Aggregated Head (FedAH), which initializes the head with an Aggregated Head at each iteration. The key feature of FedAH is to perform element-level aggregation between the local model head and the global model head to introduce global information from the global model head. To evaluate the effectiveness of FedAH, we conduct extensive experiments on five benchmark datasets in the fields of computer vision and natural language processing. FedAH outperforms ten state-of-the-art FL methods in terms of test accuracy by 2.87%. Additionally, FedAH maintains its advantage even in scenarios where some clients drop out unexpectedly. Our code is open-accessed at https://github.com/heyuepeng/FedAH.

View on arXivView PDF

Code Implementations(1)

heyuepeng/FedAHOfficial100%
GPL-2.0

We propose a novel PFL method called Federated Learning with Aggregated Head (FedAH), which initializes the head with an Aggregated Head at each iteration.

61Shell, PythonJul 16, 20242 years agoGPL-2.0
federated-learning

Similar Papers

Cite this paper

@article{zhou2024fedah,
  title  = {FedAH: Aggregated Head for Personalized Federated Learning},
  author = {Pengzhan Zhou and Yuepeng He and Yijun Zhai and Kaixin Gao and Chao Chen and Zhida Qin and Chong Zhang and Songtao Guo},
  year   = {2024},
  eprint = {2412.01295},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.01295v1}
}

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

Discussion